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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov edx, ecx
sub edx, eax
je 0x474cf2
movsx edi, byte [eax]
cmp edi, 0x4a
je 0x474d00
cmp edi, 0x4c
je 0x474db4
cmp edi, 0x58
jne 0x474cf2
add eax, 1
mov dword [esi], eax
mov ecx, esi
call fcn.004773e0
mov ecx, eax
xor eax, eax
test ecx, ecx
je 0x474e72
mov edx, dword [esi]
cmp edx, dword [esi + 4]
je 0x474e72
cmp byte [edx], 0x45
jne 0x474e72
add edx, 1
mov dword [esi], edx
mov eax, ecx
jmp 0x474e72
mov ecx, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00472fd0
add eax, 1
mov dword [esi], eax
mov edx, dword [esi + 0xc]
sub edx, dword [esi + 8]
sar edx, 2
mov dword [esp], edx
lea edx, [esi + 0x14]
mov dword [esp + 8], edx
jmp 0x474d55
push eax
push ecx
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
add esp, 8
mov ebx, eax
mov dword [esi + 8], eax
test eax, eax
je 0x474e7a
mov eax, ebp
sar eax, 2
sar ebp, 1
lea ecx, [ebx + ebp*4]
lea ebp, [ebx + eax*4]
mov dword [esi + 0x10], ecx
lea eax, [ebp + 4]
mov dword [esi + 0xc], eax
mov dword [ebp], edi
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x474d62
cmp byte [eax], 0x45
je 0x474de5
mov ecx, esi
call fcn.00474c90
test eax, eax
je 0x474dde
mov edi, eax
mov ebp, dword [esi + 0xc]
cmp ebp, dword [esi + 0x10]
jne 0x474d47
mov ecx, dword [esi + 8]
sub ebp, ecx
mov eax, ebp
add eax, ebp
cmp ecx, dword [esp + 8]
jne 0x474d20
mov dword [esp + 4], ecx
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
test eax, eax
je 0x474e7a
mov ebx, eax
test ebp, ebp
je 0x474daf
push ebp
push dword [esp + 8]
push ebx
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
add esp, 0xc
mov dword [esi + 8], ebx
jmp 0x474d37
cmp edx, 2
jb 0x474dd0
cmp byte [eax + 1], 0x5a
jne 0x474dd0
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.004725f0
jmp 0x474cc6
mov ecx, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
jmp 0x478610
xor eax, eax
jmp 0x474e72
add eax, 1
mov dword [esi], eax
mov ebp, dword [esp]
shl ebp, 2
mov edx, dword [esi + 8]
add edx, ebp
mov ecx, esi
push dword [esi + 0xc]
call fcn.0047d000
add esp, 4
mov edi, eax
mov ebx, edx
add ebp, dword [esi + 8]
mov dword [esi + 0xc], ebp
mov ebp, dword [esi + 0x116c]
mov ecx, dword [ebp + 4]
lea eax, [ecx - 0xfe8]
cmp eax, 0xfffff007
ja 0x474e46
push 0x1000
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
test eax, eax
je 0x474e7a
mov dword [eax], ebp
mov dword [eax + 4], 0
mov dword [esi + 0x116c], eax
xor ecx, ecx
mov ebp, eax
add ecx, 0x10
mov dword [ebp + 4], ecx
mov ecx, dword [esi + 0x116c]
mov edx, dword [ecx + 4]
lea eax, [ecx + edx]
add eax, 0xfffffff8
mov dword [ecx + edx - 4], 0x101011c
mov dword [ecx + edx - 8], 0x4b1304
mov dword [ecx + edx + 4], ebx
mov dword [ecx + edx], edi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.0045d390
nop
push ebp
push ebx
push edi
push esi
sub esp, 0x8c
mov ebx, dword [ecx]
mov ebp, dword [ecx + 4]
xor edi, edi
cmp ebx, ebp
je case.0x47864a.84
cmp byte [ebx], 0x4c
jne case.0x47864a.84
mov esi, ecx
lea eax, [ebx + 1]
mov dword [ecx], eax
mov ecx, ebp
sub ecx, eax
je case.0x47864a.85
movsx eax, byte [eax]
lea edx, [eax - 0x54]
cmp edx, 0x25
ja case.0x47864a.85
jmp dword [edx*4 + 0x4aef8c]
cmp ecx, 2
jb case.0x47864a.84
cmp al, 0x5f
jne case.0x47864a.84
cmp byte [ebx + 2], 0x5a
jne case.0x47864a.84
add ebx, 3
mov dword [esi], ebx
mov ecx, esi
call fcn.004725f0
test eax, eax
je case.0x47864a.84
mov ecx, dword [esi]
cmp ecx, dword [esi + 4]
jne 0x47871f
jmp case.0x47864a.84
mov ecx, esi
call fcn.00472fd0
mov dword [esp + 0x18], eax
test eax, eax
je 0x4786d9
mov ecx, dword [esi]
mov edx, dword [esi + 4]
cmp edx, ecx
je 0x4786dd
movsx ebx, byte [ecx]
add ebx, 0xffffffd0
xor edi, edi
cmp ebx, 9
ja 0x4786df
lea edi, [ecx + 1]
nop dword [eax + eax]
mov dword [esi], edi
cmp edi, edx
je 0x4786e3
movsx ebx, byte [edi]
add ebx, 0xffffffd0
add edi, 1
cmp ebx, 0xa
jb 0x4786c0
add edi, 0xffffffff
jmp 0x4786e5
xor edi, edi
jmp case.0x47864a.84
xor edi, edi
xor ebx, ebx
jmp 0x4786e9
mov edi, edx
mov ebx, ecx
mov ecx, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebx
cmp edi, ebx
je 0x478719
xor edi, edi
cmp ecx, edx
je case.0x47864a.84
cmp byte [ecx], 0x45
jne case.0x47864a.84
add ecx, 1
mov dword [esi], ecx
lea eax, [esp + 0x10]
mov dword [esp], eax
lea edx, [esp + 0x18]
mov ecx, esi
call fcn.0047b4a0
jmp 0x478729
xor edi, edi
cmp ecx, edx
je case.0x47864a.84
cmp byte [ecx], 0x45
jne case.0x47864a.84
add ecx, 1
mov dword [esi], ecx
mov edi, eax
mov eax, edi
add esp, 0x8c
pop esi
pop edi
pop ebx
pop ebp
ret
add ebx, 2
mov dword [esi], ebx
mov dword [esp + 0x34], 0x4afc0c
mov dword [esp + 0x38], 0x4afc0e
movsd xmm0, qword [esp + 0x34]
jmp 0x478ec3
add ebx, 2
mov dword [esi], ebx
mov dword [esp + 0x24], str.__int128
mov dword [esp + 0x28], 0x4afc1b
movsd xmm0, qword [esp + 0x24]
jmp 0x478ec3
add ebx, 2
mov dword [esi], ebx
mov dword [esp + 0x4c], 0x4afc05
mov dword [esp + 0x50], 0x4afc06
movsd xmm0, qword [esp + 0x4c]
jmp 0x478ec3
add ebx, 2
mov dword [esi], ebx
mov dword [esp + 0x3c], 0x4afc09
mov dword [esp + 0x40], 0x4afc0b
movsd xmm0, qword [esp + 0x3c]
jmp 0x478ec3
add ebx, 2
mov dword [esi], ebx
mov dword [esp + 0x74], str.signed_char
mov dword [esp + 0x78], 0x4afbe0
movsd xmm0, qword [esp + 0x74]
jmp 0x478ec3
add ebx, 2
mov dword [esi], ebx
mov dword [esp + 0x2c], 0x4afc0f
mov dword [esp + 0x30], 0x4afc12
movsd xmm0, qword [esp + 0x2c]
jmp 0x478ec3
lea ecx, [ebx + 2]
mov dword [esi], ecx
mov eax, ebp
sub eax, ecx
cmp eax, 0x11
jb case.0x47864a.84
mov dword [esp + 0xc], ecx
movsx eax, byte [ebx + 2]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 3]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 4]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 5]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 6]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 7]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 8]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 9]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 0xa]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 0xb]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 0xc]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 0xd]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 0xe]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 0xf]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 0x10]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 0x11]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
lea eax, [ebx + 0x12]
mov dword [esi], eax
mov dword [esp + 8], eax
cmp eax, ebp
je case.0x47864a.84
mov eax, dword [esp + 8]
cmp byte [eax], 0x45
jne case.0x47864a.84
add ebx, 0x13
mov dword [esi], ebx
mov edi, dword [esi + 0x116c]
mov ecx, dword [edi + 4]
lea eax, [ecx - 0xfe8]
cmp eax, 0xfffff007
ja 0x4789be
mov dword [esp], 0x1000
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
test eax, eax
je 0x478efb
mov dword [eax], edi
mov dword [eax + 4], 0
mov dword [esi + 0x116c], eax
xor ecx, ecx
mov edi, eax
add ecx, 0x10
mov dword [edi + 4], ecx
mov eax, dword [esi + 0x116c]
mov ecx, dword [eax + 4]
lea edi, [eax + ecx]
add edi, 0xfffffff8
mov dword [eax + ecx - 4], 0x101013f
mov dword [eax + ecx - 8], 0x4afd88
mov edx, dword [esp + 0xc]
mov dword [eax + ecx], edx
mov edx, dword [esp + 8]
mov dword [eax + ecx + 4], edx
jmp case.0x47864a.84
add ebx, 2
mov dword [esi], ebx
mov dword [esp + 0x44], 0x4afc07
mov dword [esp + 0x48], 0x4afc08
movsd xmm0, qword [esp + 0x44]
jmp 0x478ec3
lea ecx, [ebx + 2]
mov dword [esi], ecx
mov eax, ebp
sub eax, ecx
cmp eax, 0x15
jb case.0x47864a.84
mov dword [esp + 0xc], ecx
movsx eax, byte [ebx + 2]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 3]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 4]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 5]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 6]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 7]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 8]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 9]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 0xa]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 0xb]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 0xc]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 0xd]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 0xe]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 0xf]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 0x10]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 0x11]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 0x12]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 0x13]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 0x14]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 0x15]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
lea eax, [ebx + 0x16]
mov dword [esi], eax
mov dword [esp + 8], eax
cmp eax, ebp
je case.0x47864a.84
mov eax, dword [esp + 8]
cmp byte [eax], 0x45
jne case.0x47864a.84
add ebx, 0x17
mov dword [esi], ebx
mov edi, dword [esi + 0x116c]
mov ecx, dword [edi + 4]
lea eax, [ecx - 0xfe8]
cmp eax, 0xfffff007
ja 0x478c31
mov dword [esp], 0x1000
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
test eax, eax
je 0x478efb
mov dword [eax], edi
mov dword [eax + 4], 0
mov dword [esi + 0x116c], eax
xor ecx, ecx
mov edi, eax
add ecx, 0x10
mov dword [edi + 4], ecx
mov eax, dword [esi + 0x116c]
mov ecx, dword [eax + 4]
lea edi, [eax + ecx]
add edi, 0xfffffff8
mov dword [eax + ecx - 4], 0x1010140
mov dword [eax + ecx - 8], 0x4afdfc
jmp 0x4789e3
lea ecx, [ebx + 2]
mov dword [esi], ecx
mov eax, ebp
sub eax, ecx
cmp eax, 9
jb case.0x47864a.84
mov dword [esp + 0xc], ecx
movsx eax, byte [ebx + 2]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 3]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 4]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 5]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 6]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 7]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 8]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
movsx eax, byte [ebx + 9]
mov dword [esp], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
je case.0x47864a.84
lea eax, [ebx + 0xa]
mov dword [esi], eax
cmp eax, ebp
je case.0x47864a.84
cmp byte [eax], 0x45
jne case.0x47864a.84
mov ebp, eax
add ebx, 0xb
mov dword [esi], ebx
mov edi, dword [esi + 0x116c]
mov ecx, dword [edi + 4]
lea eax, [ecx - 0xfe8]
cmp eax, 0xfffff007
ja 0x478d73
mov dword [esp], 0x1000
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
test eax, eax
je 0x478efb
mov dword [eax], edi
mov dword [eax + 4], 0
mov dword [esi + 0x116c], eax
xor ecx, ecx
mov edi, eax
add ecx, 0x10
mov dword [edi + 4], ecx
mov eax, dword [esi + 0x116c]
mov ecx, dword [eax + 4]
lea edi, [eax + ecx]
add edi, 0xfffffff8
mov dword [eax + ecx - 4], 0x101013e
mov dword [eax + ecx - 8], 0x4afd14
mov edx, dword [esp + 0xc]
mov dword [eax + ecx], edx
mov dword [eax + ecx + 4], ebp
jmp case.0x47864a.84
add ebx, 2
mov dword [esi], ebx
mov dword [esp + 0x1c], str.unsigned___int128
mov dword [esp + 0x20], 0x4afc2d
movsd xmm0, qword [esp + 0x1c]
jmp 0x478ec3
add ebx, 2
mov dword [esi], ebx
mov dword [esp + 0x64], str.short
mov dword [esp + 0x68], 0x4afbf4
movsd xmm0, qword [esp + 0x64]
jmp 0x478ec3
cmp ecx, 3
jb case.0x47864a.84
cmp al, 0x62
jne case.0x47864a.84
mov al, byte [ebx + 2]
cmp al, 0x31
je 0x478ed4
cmp al, 0x30
jne case.0x47864a.84
cmp byte [ebx + 3], 0x45
jne case.0x47864a.84
add ebx, 4
mov dword [esi], ebx
mov dword [esp + 0x10], 0
jmp 0x478eeb
add ebx, 2
mov dword [esi], ebx
mov dword [esp + 0x7c], str.char
mov dword [esp + 0x80], 0x4afbd4
movsd xmm0, qword [esp + 0x7c]
jmp 0x478ec3
add ebx, 2
mov dword [esi], ebx
mov dword [esp + 0x54], 0x4afc04
mov dword [esp + 0x58], 0x4afc04
movsd xmm0, qword [esp + 0x54]
jmp 0x478ec3
add ebx, 2
mov dword [esi], ebx
mov dword [esp + 0x6c], str.unsigned_char
mov dword [esp + 0x70], 0x4afbee
movsd xmm0, qword [esp + 0x6c]
jmp 0x478ec3
add ebx, 2
mov dword [esi], ebx
mov dword [esp + 0x84], str.wchar_t
mov dword [esp + 0x88], 0x4afbcf
movsd xmm0, qword [esp + 0x84]
jmp 0x478ec3
add ebx, 2
mov dword [esi], ebx
mov dword [esp + 0x5c], str.unsigned_short
mov dword [esp + 0x60], 0x4afc03
movsd xmm0, qword [esp + 0x5c]
movsd qword [esp], xmm0
mov ecx, esi
call fcn.0047b300
jmp 0x47872d
cmp byte [ebx + 3], 0x45
jne case.0x47864a.84
add ebx, 4
mov dword [esi], ebx
mov dword [esp + 0x10], 1
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.0047b420
jmp 0x478729
call fcn.0045d390