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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a8d10
sub esp, 0x70
lea eax, [0x4e2020]
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 0x4a858f
inc ebx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x44], eax
cmp ecx, ebx
jle 0x4a871c
lea edi, [edx + ebx*8]
mov edx, dword [edi + 4]
mov edi, dword [edi]
test edx, edx
je 0x4a8587
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x34], 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 0x4a865f
mov edx, dword [esp + 0x24]
inc edx
mov ebx, dword [esp + 0x28]
cmp ebx, edx
jb 0x4a85f2
mov ecx, dword [esp + 0x44]
jmp 0x4a8630
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x4e2020]
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 + 0x54]
mov ebp, dword [0x5af9a0]
lea edi, [ecx + edx*4 - 4]
test ebp, ebp
jne 0x4a8644
mov dword [ecx + edx*4 - 4], eax
jmp 0x4a8649
call fcn.00452b40
mov ebp, edx
mov esi, ebx
mov eax, ecx
mov ecx, dword [esp + 0x9c]
mov ebx, dword [esp + 0x3c]
jmp 0x4a8587
mov dword [esp + 0x5c], edx
mov dword [esp + 0x50], 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 + 0x34]
mov dword [esp + 4], eax
call fcn.00408b80
mov eax, dword [esp + 8]
lea ecx, [0x4e6920]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4a86bb
mov edx, dword [eax + 4]
jmp 0x4a86bd
mov edx, eax
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x6c], eax
lea eax, [0x502acb]
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.004a7ab0
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 0x4a872b
xor ecx, ecx
jmp 0x4a8760
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 0x4a8c43
mov ebp, dword [esp + 0x24]
mov ecx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x94]
test edx, edx
jne 0x4a8773
xor edx, edx
jmp 0x4a87ac
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 0x4a8b80
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x24]
mov edx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x7c]
test ebx, ebx
jne 0x4a87bc
xor ebx, ebx
jmp 0x4a87f6
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 0x4a8ac3
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov ebx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x38], ebx
mov esi, dword [esp + 0x8c]
test esi, esi
jne 0x4a8809
xor esi, esi
jmp 0x4a884a
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 0x4a8a00
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x24]
mov esi, eax
mov eax, dword [esp + 0x44]
test ebp, ebp
jbe 0x4a8d06
mov dword [esp + 0x2c], esi
mov dword [esp + 0x58], eax
mov eax, dword [0x4cf860]
mov dword [esp + 0x48], eax
lea ecx, [0x4eee40]
mov dword [esp], ecx
call fcn.0040ae80
mov eax, dword [esp + 4]
mov ecx, dword [0x5af9a0]
test ecx, ecx
jne 0x4a8889
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x10], ecx
jmp 0x4a8899
lea edi, [eax + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x48]
call fcn.00452b40
mov eax, ecx
mov dword [esp + 0x40], eax
mov dword [eax + 4], 0x12
lea ecx, [0x4fccd6]
mov dword [eax], ecx
lea edx, [0x4e4fe0]
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 + 0x38]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x20]
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 0x4a89df
mov dword [esp + 0x50], 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, [0x4fccd6]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.00408b80
mov eax, dword [esp + 8]
lea ecx, [0x4e6920]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4a8980
mov eax, dword [eax + 4]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x6c], eax
lea eax, [0x4fa6f4]
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.004a7ab0
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 + 0x50], 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, [0x4e6920]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4a8a62
mov edx, dword [eax + 4]
jmp 0x4a8a64
mov edx, eax
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x6c], eax
lea eax, [0x502acb]
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.004a7ab0
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 + 0x50], 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, [0x4e6920]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4a8b1f
mov edx, dword [eax + 4]
jmp 0x4a8b21
mov edx, eax
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x6c], eax
lea eax, [0x502acb]
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.004a7ab0
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 + 0x50], 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, [0x4e6920]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4a8be2
mov edx, dword [eax + 4]
jmp 0x4a8be4
mov edx, eax
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x6c], eax
lea eax, [0x502acb]
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.004a7ab0
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 + 0x50], 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, [0x4e6920]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4a8ca5
mov edx, dword [eax + 4]
jmp 0x4a8ca7
mov edx, eax
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x6c], eax
lea eax, [0x502acb]
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.004a7ab0
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.004a8530