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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a8df0
sub esp, 0x70
lea eax, [0x4e2360]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0043f8f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
xor ebx, ebx
mov ebp, 1
mov esi, 1
jmp 0x4a866f
inc ebx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x50], eax
cmp ecx, ebx
jle 0x4a87fc
lea edi, [edx + ebx*8]
mov edx, dword [edi + 4]
mov edi, dword [edi]
test edx, edx
je 0x4a8667
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x4c], edi
mov dword [esp], edi
mov dword [esp + 4], edx
call fcn.0048b3c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test ecx, ecx
jne 0x4a873f
mov edx, dword [esp + 0x30]
inc edx
mov ebx, dword [esp + 0x34]
cmp ebx, edx
jb 0x4a86d2
mov ecx, dword [esp + 0x50]
jmp 0x4a8710
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x4e2360]
mov dword [esp + 0x10], eax
call fcn.0043fa70
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ecx, eax
mov ebx, esi
mov eax, dword [esp + 0x48]
mov ebp, dword [0x5af9a0]
lea edi, [ecx + edx*4 - 4]
test ebp, ebp
jne 0x4a8724
mov dword [ecx + edx*4 - 4], eax
jmp 0x4a8729
call fcn.00452b40
mov ebp, edx
mov esi, ebx
mov eax, ecx
mov ecx, dword [esp + 0x9c]
mov ebx, dword [esp + 0x3c]
jmp 0x4a8667
mov dword [esp + 0x5c], edx
mov dword [esp + 0x44], ebx
nop
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00408b80
mov eax, dword [esp + 8]
lea ecx, [0x4e69c0]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4a879b
mov edx, dword [eax + 4]
jmp 0x4a879d
mov edx, eax
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x6c], eax
lea eax, [0x502b2b]
mov dword [esp], eax
mov dword [esp + 4], 0x28
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004a7b90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
add esp, 0x70
ret
mov edx, dword [esp + 0x84]
test edx, edx
jne 0x4a880b
xor ecx, ecx
jmp 0x4a8840
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0048b3c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test ecx, ecx
jne 0x4a8d23
mov ebp, dword [esp + 0x30]
mov ecx, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x94]
test edx, edx
jne 0x4a8853
xor edx, edx
jmp 0x4a888c
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0048b3c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test ecx, ecx
jne 0x4a8c60
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov edx, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0x7c]
test ebx, ebx
jne 0x4a889c
xor ebx, ebx
jmp 0x4a88d6
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.0048b3c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test ecx, ecx
jne 0x4a8ba3
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x30]
mov ebx, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x28], ebx
mov esi, dword [esp + 0x8c]
test esi, esi
jne 0x4a88e9
xor esi, esi
jmp 0x4a892a
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.0048b3c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test ecx, ecx
jne 0x4a8ae0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x30]
mov esi, eax
mov eax, dword [esp + 0x50]
test ebp, ebp
jbe 0x4a8de6
mov dword [esp + 0x20], esi
mov dword [esp + 0x58], eax
mov eax, dword [0x4cf838]
mov dword [esp + 0x54], eax
lea ecx, [0x4eefa0]
mov dword [esp], ecx
call fcn.0040ae80
mov eax, dword [esp + 4]
mov ecx, dword [0x5af9a0]
test ecx, ecx
jne 0x4a8969
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x10], ecx
jmp 0x4a8979
lea edi, [eax + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x54]
call fcn.00452b40
mov eax, ecx
mov dword [esp + 0x40], eax
mov dword [eax + 4], 0x12
lea ecx, [0x4fcd36]
mov dword [eax], ecx
lea edx, [0x4e5080]
mov dword [esp], edx
call fcn.0040ae80
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x74]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0xa4]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 7
mov dword [esp + 0xc], 7
call fcn.0048ad20
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
test edx, edx
jne 0x4a8abf
mov dword [esp + 0x44], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea eax, [0x4fcd36]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.00408b80
mov eax, dword [esp + 8]
lea ecx, [0x4e69c0]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4a8a60
mov eax, dword [eax + 4]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x6c], eax
lea eax, [0x4fa754]
mov dword [esp], eax
mov dword [esp + 4], 6
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004a7b90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
add esp, 0x70
ret
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0x70
ret
mov dword [esp + 0x44], ebx
mov dword [esp + 0x5c], edx
nop
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
call fcn.00408b80
mov eax, dword [esp + 8]
lea ecx, [0x4e69c0]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4a8b42
mov edx, dword [eax + 4]
jmp 0x4a8b44
mov edx, eax
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x6c], eax
lea eax, [0x502b2b]
mov dword [esp], eax
mov dword [esp + 4], 0x28
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004a7b90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
add esp, 0x70
ret
mov dword [esp + 0x44], ebx
mov dword [esp + 0x5c], edx
nop
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.00408b80
mov eax, dword [esp + 8]
lea ecx, [0x4e69c0]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4a8bff
mov edx, dword [eax + 4]
jmp 0x4a8c01
mov edx, eax
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x6c], eax
lea eax, [0x502b2b]
mov dword [esp], eax
mov dword [esp + 4], 0x28
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004a7b90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
add esp, 0x70
ret
mov dword [esp + 0x44], ebx
mov dword [esp + 0x5c], edx
nop
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 4], eax
call fcn.00408b80
mov eax, dword [esp + 8]
lea ecx, [0x4e69c0]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4a8cc2
mov edx, dword [eax + 4]
jmp 0x4a8cc4
mov edx, eax
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x6c], eax
lea eax, [0x502b2b]
mov dword [esp], eax
mov dword [esp + 4], 0x28
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004a7b90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
add esp, 0x70
ret
mov dword [esp + 0x44], ebx
mov dword [esp + 0x5c], edx
nop
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
call fcn.00408b80
mov eax, dword [esp + 8]
lea ecx, [0x4e69c0]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4a8d85
mov edx, dword [eax + 4]
jmp 0x4a8d87
mov edx, eax
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x6c], eax
lea eax, [0x502b2b]
mov dword [esp], eax
mov dword [esp + 4], 0x28
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004a7b90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
add esp, 0x70
ret
xor eax, eax
mov ecx, eax
call fcn.00452bc0
nop
call fcn.00451710
jmp fcn.004a8610