mov rdi, rax ; s
mov [rbp+var_740], r8
mov [rbp+stream], rax
call _strlen
mov rdi, [rbp+stream]
mov ecx, 20h ; ' '
mov rdx, r12
mov rsi, rax
call sub_2CB0
movzx eax, byte ptr [r12]
movzx ecx, byte ptr [r12+1]
lea r10, [rbp+var_420]
mov r8, [rbp+var_740]
lea r9, [rbp+var_4E0+4]
mov edx, eax
and eax, 0Fh
movzx r11d, byte ptr [rbx+rax]
mov eax, ecx
shr dl, 4
and ecx, 0Fh
shr al, 4
and edx, 0Fh
and eax, 0Fh
movzx edi, byte ptr [rbx+rdx]
movzx edx, byte ptr [rbx+rcx]
movzx esi, byte ptr [rbx+rax]
mov [r8], dil
mov byte ptr [rbp+var_4E0+2], sil
mov byte ptr [rbp+var_4E0+3], dl
mov byte ptr [rbp+var_4E0+1], r11b
lea r11, [r12+2]
loc_1BF2:
movzx ecx, byte ptr [r11]
movzx edx, byte ptr [r11+1]
add r9, 0Ah
add r11, 5
mov edi, ecx
and ecx, 0Fh
movzx esi, byte ptr [rbx+rcx]
shr dil, 4
mov ecx, edx
and edx, 0Fh
and edi, 0Fh
shr cl, 4
movzx eax, byte ptr [rbx+rdi]
mov [r9-9], sil
and ecx, 0Fh
movzx esi, byte ptr [r11-3]
movzx edi, byte ptr [rbx+rcx]
mov [r9-0Ah], al
movzx eax, byte ptr [rbx+rdx]
mov edx, esi
and esi, 0Fh
mov [r9-8], dil
shr dl, 4
mov [r9-7], al
movzx eax, byte ptr [r11-2]
and edx, 0Fh
movzx edi, byte ptr [rbx+rsi]
movzx ecx, byte ptr [rbx+rdx]
mov esi, eax
and eax, 0Fh
mov [r9-5], dil
shr sil, 4
mov [r9-6], cl
movzx ecx, byte ptr [rbx+rax]
and esi, 0Fh
movzx eax, byte ptr [r11-1]
movzx edx, byte ptr [rbx+rsi]
mov [r9-3], cl
mov edi, eax
mov [r9-4], dl
and eax, 0Fh
shr dil, 4
movzx edx, byte ptr [rbx+rax]
and edi, 0Fh
movzx esi, byte ptr [rbx+rdi]
mov [r9-2], sil
mov [r9-1], dl
cmp r11, r10
jnz loc_1BF2