Function at 0x4a7c60
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 0x4a7f7b
sub esp, 0x64
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x4a7cfa
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x4a7cfa
mov edx, dword [ecx + 4]
test edx, edx
je 0x4a7cfa
mov eax, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004aa4a0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4a7ca9
mov ecx, dword [esp + 0x7c]
jmp 0x4a7cfa
lea ecx, [0x506564]
cmp eax, ecx
jne 0x4a7f5e
mov eax, dword [esp + 0x14]
mov dword [eax + 4], 5
mov edx, dword [0x5b8448]
test edx, edx
je 0x4a7cd5
mov edx, dword [eax]
call fcn.0046e8e0
mov dword [edi], edx
lea edx, [0x4dd694]
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.0046eac7
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 0x4a7d66
mov dword [esp], edx
call fcn.004a7110
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 0x4a7db5
mov ecx, dword [esp + 0x7c]
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x34], eax
lea edx, [0x4c99c0]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call fcn.004698d0
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 0x4a7ddf
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 0x4a7e5b
mov ebp, dword [ecx + ebx*4]
test ebp, ebp
je 0x4a7df2
mov ebp, dword [ebp]
mov ebp, dword [ebp + 0x10]
jmp 0x4a7df7
mov ebp, 0xffffffff
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x58]
inc edi
mov eax, dword [esp + 0x54]
cmp esi, edi
jae 0x4a7dd2
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, [0x4c99c0]
mov dword [esp + 0x10], eax
call fcn.00469980
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 0x4a7dd2
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.0048fc70
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
test eax, eax
je 0x4a7f2d
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], eax
lea eax, [0x4d01a0]
mov dword [esp], eax
call fcn.0040b850
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x4ddd51]
mov dword [eax], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5b8448]
test ecx, ecx
jne 0x4a7eeb
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x38]
jmp 0x4a7efd
call fcn.0046e8f0
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, [0x506564]
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.004a77d0
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 [0x506568]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x4cc040]
mov dword [esp + 8], eax
call fcn.00409990
nop
call fcn.0046d4e0
jmp fcn.004a7c60