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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov esi, ecx
sub esp, 0x5c
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [esp], 0x98
call fcn.006e98d0
mov dword [eax + 0xc], 0
mov dword [eax], 0x75c620
mov ebx, eax
mov dword [eax + 4], 0x75c648
mov dword [eax + 8], 0x75c664
lea eax, [eax + 0x10]
mov ecx, eax
mov dword [ebp - 0x4c], eax
call fcn.00472910
lea eax, [ebx + 0x20]
mov ecx, eax
mov dword [ebp - 0x50], eax
call fcn.004b4bb0
lea ecx, [ebx + 0x48]
call fcn.00472910
lea edi, [ebx + 0x5c]
mov byte [ebx + 0x58], 0
mov ecx, edi
call fcn.00472910
mov eax, dword [ebx]
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x78], 0
mov eax, dword [eax + 4]
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x90], 0
cmp eax, 0x6066b0
mov dword [ebx + 0x94], 0
jne 0x4a62d1
add dword [ebx + 0xc], 1
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x48]
mov dword [ebx + 0x90], eax
call fcn.00472910
lea ecx, [ebp - 0x3c]
call fcn.00472910
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
test edx, edx
je 0x4a61c2
mov eax, dword [ebx]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
mov edx, dword [ecx + 0x48]
cmp eax, 0x606680
jne 0x4a62c0
mov dword [esp], edx
mov ecx, edi
mov byte [ebx + 0x58], 1
call fcn.00472ad0
sub esp, 4
mov eax, dword [ebp + 8]
mov ecx, esi
mov dword [eax + 0x38], ebx
mov dword [eax + 0x3c], ebx
mov dword [esp], eax
call fcn.004a3e70
mov edi, eax
movzx eax, byte [ebx + 0x8c]
sub esp, 4
test edi, edi
mov byte [esi + 0x21], al
jne 0x4a6083
mov edx, dword [ebx + 0x78]
test edx, edx
jne 0x4a6142
xor edi, edi
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4a6092
mov dword [esp], eax
call fcn.006e9860
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x4a60a1
mov dword [esp], eax
call fcn.006e9860
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 8]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + edi*4]
mov dword [esp + 8], eax
lea eax, [ebp - 0x48]
mov dword [esp + 4], eax
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.00472710
mov dword [esp], 0xc
call fcn.006e98d0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x4c], eax
mov dword [esp], ecx
mov ecx, eax
call fcn.00472a10
sub esp, 4
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x14]
je 0x4a6150
mov edx, dword [esi + 0xc]
mov ecx, dword [ebp - 0x4c]
mov dword [edx + eax*4], ecx
add eax, 1
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4a6121
mov dword [esp], eax
call fcn.006e9860
mov eax, dword [ebx + 0x80]
mov edx, dword [eax + edi*8 + 4]
mov eax, dword [eax + edi*8]
add dword [esi + 0x18], eax
adc dword [esi + 0x1c], edx
mov edx, dword [ebx + 0x78]
add edi, 1
cmp edi, edx
jae 0x4a6081
mov eax, dword [ebx + 0x74]
cmp byte [eax + edi], 0
je 0x4a6137
jmp 0x4a60c0
mov edx, eax
shr edx, 2
lea eax, [eax + edx + 1]
cmp eax, 0x1fffffff
mov dword [ebp - 0x50], eax
ja 0x4a6391
shl eax, 2
mov dword [esp], eax
call fcn.006e98b0
mov edx, eax
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
test eax, eax
jne 0x4a61a1
test ecx, ecx
je 0x4a6193
mov dword [esp], ecx
mov dword [ebp - 0x54], edx
call fcn.006e9860
mov eax, dword [esi + 0x10]
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
mov dword [esi + 0xc], edx
mov dword [esi + 0x14], ecx
jmp 0x4a6106
shl eax, 2
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], edx
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
jmp 0x4a6182
cmp byte [eax + 0x44], 0
jne 0x4a6029
lea eax, [ebp - 0x3c]
mov dword [esp + 8], eax
lea eax, [ebp - 0x48]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
mov dword [esp], eax
call fcn.004b3f40
mov edi, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov ecx, edi
call fcn.00472b80
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x3c]
sub esp, 4
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp], eax
call fcn.00472710
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x50]
mov dword [esp], eax
call fcn.004b4c20
mov edx, dword [ebp - 0x24]
sub esp, 4
test edx, edx
je 0x4a6238
mov dword [esp], edx
mov byte [ebp - 0x4c], al
call fcn.006e9860
movzx eax, byte [ebp - 0x4c]
test al, al
je 0x4a63a3
mov edi, dword [ebx + 0x6c]
test edi, edi
je 0x4a628e
lea eax, [edi*4 - 4]
mov dword [ebp - 0x50], esi
mov esi, eax
mov eax, dword [ebx + 0x68]
sub edi, 1
mov eax, dword [eax + esi]
test eax, eax
mov dword [ebp - 0x4c], eax
je 0x4a6284
mov edx, dword [eax]
test edx, edx
je 0x4a6274
mov dword [esp], edx
call fcn.006e9860
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], 0xc
mov dword [esp], eax
call fcn.006e98a0
sub esi, 4
test edi, edi
jne 0x4a6253
mov esi, dword [ebp - 0x50]
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x84], 0
mov byte [ebx + 0x58], 0
mov byte [ebx + 0x8c], 0
jmp 0x4a6050
mov dword [esp + 4], edx
mov dword [esp], ebx
call eax
sub esp, 8
jmp 0x4a6050
mov dword [esp], ebx
call eax
sub esp, 4
jmp 0x4a6002
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4a62fe
mov dword [esp], eax
call fcn.006e9860
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x4a630d
mov dword [esp], eax
call fcn.006e9860
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 8]
sub esp, 4
mov dword [esp], esi
call fcn.005d5ce0
mov esi, eax
jmp 0x4a62ef
call fcn.005d5ce0
mov esi, eax
jmp 0x4a630d
call fcn.006ea1c0
cmp edx, 0xffffffff
mov dword [esp], eax
jne 0x4a6379
call fcn.006e9b80
call fcn.006ec3c0
nop
lea esi, [esi]