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

Disassembly:
mov ecx, dword [0x5b8348]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a792b
sub esp, 0x64
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x4a76aa
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x4a76aa
mov edx, dword [ecx + 4]
test edx, edx
je 0x4a76aa
mov eax, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004a9e50
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4a7659
mov ecx, dword [esp + 0x7c]
jmp 0x4a76aa
lea ecx, [0x505194]
cmp eax, ecx
jne 0x4a790e
mov eax, dword [esp + 0x14]
mov dword [eax + 4], 5
mov edx, dword [0x5b8448]
test edx, edx
je 0x4a7685
mov edx, dword [eax]
call fcn.0046e540
mov dword [edi], edx
lea edx, [0x4dc579]
mov dword [eax], edx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x64
ret
mov edx, dword [ecx + 0x20]
lea edi, [esp + 0x40]
xor eax, eax
call fcn.0046e727
mov ecx, dword [esp + 0x7c]
mov ebx, dword [ecx]
mov ebp, dword [ecx + 4]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 0xc]
mov esi, dword [ecx + 0x10]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x60], edx
test ebx, ebx
jne 0x4a7716
mov dword [esp], edx
call fcn.004a6ac0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x48], ecx
test eax, eax
jne 0x4a7765
mov ecx, dword [esp + 0x7c]
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x34], eax
lea edx, [0x4c8980]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call fcn.00469530
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], 0
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x34], edx
xor ebx, ebx
jmp 0x4a778f
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ebp
add esp, 0x64
ret
mov dword [esp + 0x58], edi
mov dword [eax + edi*4 - 4], ebp
inc ebx
mov eax, dword [esp + 0x7c]
cmp ebx, edx
jge 0x4a780b
mov ebp, dword [ecx + ebx*4]
test ebp, ebp
je 0x4a77a2
mov ebp, dword [ebp]
mov ebp, dword [ebp + 0x10]
jmp 0x4a77a7
mov ebp, 0xffffffff
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x58]
inc edi
mov eax, dword [esp + 0x54]
cmp esi, edi
jae 0x4a7782
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], ebp
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x4c8980]
mov dword [esp + 0x10], eax
call fcn.004695e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x28]
jmp 0x4a7782
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x10], edx
lea edx, [esp + 0x40]
mov dword [esp + 0x14], edx
call fcn.0048f620
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
test eax, eax
je 0x4a78dd
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], eax
lea eax, [0x4cf080]
mov dword [esp], eax
call fcn.0040b850
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x4dcc26]
mov dword [eax], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5b8448]
test ecx, ecx
jne 0x4a789b
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x38]
jmp 0x4a78ad
call fcn.0046e550
mov ecx, dword [esp + 0x68]
mov dword [edi], ecx
mov edx, dword [esp + 0x38]
mov dword [edi + 4], edx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov dword [esp + 0x80], 0
lea ecx, [0x505194]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x64
ret
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004a7180
mov eax, dword [esp + 8]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x64
ret
mov ecx, dword [0x505198]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x4cb000]
mov dword [esp + 8], eax
call fcn.00409990
nop
call fcn.0046d140
jmp fcn.004a7610