Function at 0x471cc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
cmp byte [ebx + 0x36], 0
jne 0x471da8
cmp byte [ebx + 0x39], 0xfc
jne 0x471da8
mov al, 1
cmp byte [ebx + 0x3b], 0xa
je 0x4720f5
mov esi, 1
mov eax, 0x3b
cmp byte [ebx + 0x3c], 0xa
je 0x471ff2
mov esi, 2
cmp byte [ebx + 0x3d], 0xa
je 0x471ff2
mov esi, 3
cmp byte [ebx + 0x3e], 0xa
je 0x471ff2
mov esi, 4
cmp byte [ebx + 0x3f], 0xa
je 0x471ff2
mov esi, 5
cmp byte [ebx + 0x40], 0xa
je 0x471ff2
mov esi, 6
cmp byte [ebx + 0x41], 0xa
je 0x471ff2
mov esi, 7
cmp byte [ebx + 0x42], 0xa
je 0x471ff2
mov esi, 8
cmp byte [ebx + 0x43], 0xa
je 0x471ff2
mov esi, 9
cmp byte [ebx + 0x44], 0xa
je 0x471ff2
mov esi, 0xa
cmp byte [ebx + 0x45], 0xa
je 0x471ff2
mov esi, 0xb
cmp byte [ebx + 0x46], 0xa
je 0x471ff2
mov esi, 0xc
cmp byte [ebx + 0x47], 0xa
je 0x471ff2
cmp byte [ebx + 0x48], 0
jne 0x471e7c
cmp byte [ebx + 0x4b], 0xfc
jne 0x471e7c
mov al, 1
cmp byte [ebx + 0x4d], 0xa
je 0x4720f5
mov esi, 1
mov eax, 0x4d
cmp byte [ebx + 0x4e], 0xa
je 0x471ff2
mov esi, 2
cmp byte [ebx + 0x4f], 0xa
je 0x471ff2
mov esi, 3
cmp byte [ebx + 0x50], 0xa
je 0x471ff2
mov esi, 4
cmp byte [ebx + 0x51], 0xa
je 0x471ff2
mov esi, 5
cmp byte [ebx + 0x52], 0xa
je 0x471ff2
mov esi, 6
cmp byte [ebx + 0x53], 0xa
je 0x471ff2
mov esi, 7
cmp byte [ebx + 0x54], 0xa
je 0x471ff2
mov esi, 8
cmp byte [ebx + 0x55], 0xa
je 0x471ff2
mov esi, 9
cmp byte [ebx + 0x56], 0xa
je 0x471ff2
mov esi, 0xa
cmp byte [ebx + 0x57], 0xa
je 0x471ff2
cmp byte [ebx + 0x58], 0xa
je 0x471fed
mov esi, 0xc
cmp byte [ebx + 0x59], 0xa
je 0x471ff2
cmp byte [ebx + 0x5a], 0
jne 0x471f50
cmp byte [ebx + 0x5d], 0xfc
jne 0x471f50
mov al, 1
cmp byte [ebx + 0x5f], 0xa
je 0x4720f5
mov esi, 1
mov eax, 0x5f
cmp byte [ebx + 0x60], 0xa
je 0x471ff2
mov esi, 2
cmp byte [ebx + 0x61], 0xa
je 0x471ff2
mov esi, 3
cmp byte [ebx + 0x62], 0xa
je 0x471ff2
mov esi, 4
cmp byte [ebx + 0x63], 0xa
je 0x471ff2
mov esi, 5
cmp byte [ebx + 0x64], 0xa
je 0x471ff2
mov esi, 6
cmp byte [ebx + 0x65], 0xa
je 0x471ff2
mov esi, 7
cmp byte [ebx + 0x66], 0xa
je 0x471ff2
mov esi, 8
cmp byte [ebx + 0x67], 0xa
je 0x471ff2
mov esi, 9
cmp byte [ebx + 0x68], 0xa
je 0x471ff2
mov esi, 0xa
cmp byte [ebx + 0x69], 0xa
je 0x471ff2
cmp byte [ebx + 0x6a], 0xa
je 0x471fed
mov esi, 0xc
cmp byte [ebx + 0x6b], 0xa
je 0x471ff2
cmp byte [ebx + 0x6c], 0
jne 0x4720b6
cmp byte [ebx + 0x6f], 0xfc
jne 0x4720b6
mov al, 1
cmp byte [ebx + 0x71], 0xa
je 0x4720f5
mov esi, 1
mov eax, 0x71
cmp byte [ebx + 0x72], 0xa
je 0x471ff2
mov esi, 2
cmp byte [ebx + 0x73], 0xa
je 0x471ff2
mov esi, 3
cmp byte [ebx + 0x74], 0xa
je 0x471ff2
mov esi, 4
cmp byte [ebx + 0x75], 0xa
je 0x471ff2
mov esi, 5
cmp byte [ebx + 0x76], 0xa
je 0x471ff2
mov esi, 6
cmp byte [ebx + 0x77], 0xa
je 0x471ff2
mov esi, 7
cmp byte [ebx + 0x78], 0xa
je 0x471ff2
mov esi, 8
cmp byte [ebx + 0x79], 0xa
je 0x471ff2
mov esi, 9
cmp byte [ebx + 0x7a], 0xa
je 0x471ff2
mov esi, 0xa
cmp byte [ebx + 0x7b], 0xa
je 0x471ff2
cmp byte [ebx + 0x7c], 0xa
jne 0x4720a7
mov esi, 0xb
add ebx, eax
mov eax, dword [ebp]
mov edi, dword [ebp + 4]
test eax, eax
je 0x472008
mov ecx, edi
not ecx
add ecx, eax
cmp ecx, esi
jae 0x472048
cmp eax, 2
mov ecx, 0x20
cmovae ecx, eax
lea edx, [edi + 1]
mov dword [esp], edx
lea edx, [edi + esi]
inc edx
nop dword [eax]
mov ebp, ecx
add ecx, ecx
cmp edx, ebp
ja 0x472020
test eax, eax
mov dword [esp + 4], esi
je 0x47204d
push ebp
mov esi, dword [esp + 0x24]
push dword [esi + 8]
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
add esp, 8
mov dword [esi + 8], eax
mov edi, dword [esi + 4]
jmp 0x472081
mov eax, dword [ebp + 8]
jmp 0x472089
push ebp
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
test edi, edi
je 0x472077
push dword [esp]
mov esi, dword [esp + 0x24]
push dword [esi + 8]
push eax
mov dword [esp + 0xc], eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov eax, dword [esp + 0xc]
add esp, 0xc
jmp 0x47207e
mov byte [eax], 0
mov esi, dword [esp + 0x20]
mov dword [esi + 8], eax
mov dword [esi], ebp
mov ebp, esi
mov esi, dword [esp + 4]
add edi, eax
push esi
push ebx
push edi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
add esi, dword [ebp + 4]
mov dword [ebp + 4], esi
mov eax, dword [ebp + 8]
mov byte [eax + esi], 0
mov al, 1
jmp 0x4720f5
mov esi, 0xc
cmp byte [ebx + 0x7d], 0xa
je 0x471ff2
movzx ecx, byte [ebx + 8]
mov eax, ecx
shr eax, 2
and eax, 0x1f
or eax, 0x40
and ecx, 3
movzx edx, byte [ebx + 9]
mov esi, edx
shr esi, 5
lea ecx, [esi + ecx*8]
add ecx, 0x40
and edx, 0x1f
or edx, 0x40
movzx esi, word [ebx + 0xa]
push esi
push edx
push ecx
push eax
push str._c_c_c_04X
push ebp
call fcn.00472860
add esp, 0x18
xor eax, eax
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret