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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x28]
cmp eax, dword [ecx + 8]
jbe 0x4aaea3
sub esp, 0xa8
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0x58]
mov edx, dword [eax + 0x5c]
mov ecx, dword [ecx + 0x14]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x88], ecx
lea edx, [esp + 0x6c]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], eax
lea eax, [esp + 0x88]
mov dword [esp], eax
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
mov byte [esp + 0x14], 1
call fcn.004458d0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4aadc6
mov eax, dword [esp + 0xac]
mov edx, dword [eax + 0x68]
test edx, edx
jne 0x4aaa64
xor ecx, ecx
xor edx, edx
jmp 0x4aab56
mov eax, dword [edx]
call eax
mov eax, dword [esp]
mov ecx, dword [esp]
mov ebx, dword [esp + 4]
test eax, eax
je 0x4aab2e
mov dword [esp + 0x58], ecx
mov dword [esp + 0x44], ebx
mov eax, dword [0x611158]
mov ecx, dword [0x61115c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.00464dc0
movzx eax, byte [esp + 0x10]
test al, al
je 0x4aaaad
xor eax, eax
xor ecx, ecx
jmp 0x4aab4b
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea eax, [0x4cb273]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0x13
mov eax, dword [esp + 0x58]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xa4], eax
lea eax, [0x4c01c0]
mov dword [esp], eax
lea ecx, [esp + 0x98]
mov dword [esp + 4], ecx
call fcn.00409120
mov eax, dword [esp + 8]
mov ecx, eax
lea eax, [0x4eace0]
jmp 0x4aab4b
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0x58]
mov edx, dword [eax + 0x5c]
mov ecx, dword [ecx + 0x18]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, ecx
mov ecx, eax
mov eax, dword [esp + 0xac]
mov ebx, dword [eax + 0x6c]
test ebx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov esi, dword [eax + 0x70]
test esi, esi
xchg edi, ebx
sete bl
xchg edi, ebx
and edi, ebp
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4aad98
mov dword [esp + 0x20], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00475ea0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
mov eax, dword [eax]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0x78], ebx
lea ebp, [esp + 0x6c]
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], eax
lea eax, [esp + 0x78]
mov dword [esp], eax
lea eax, [esp + 0x34]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
mov byte [esp + 0x14], 1
call fcn.004458d0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4aad91
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0x50]
nop
mov edx, dword [0x611160]
mov ebx, dword [0x611164]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.00495ce0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
test eax, eax
jne 0x4aac75
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x48]
jmp 0x4aad01
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], edx
mov eax, dword [0x611158]
mov ebx, dword [0x61115c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.00464dc0
movzx eax, byte [esp + 0x10]
test al, al
je 0x4aacb0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x48]
jmp 0x4aad01
lea eax, [0x4ca8c0]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0x11
mov eax, dword [esp + 0x58]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xa4], eax
lea eax, [0x4c01c0]
mov dword [esp], eax
lea eax, [esp + 0x98]
mov dword [esp + 4], eax
call fcn.00409120
mov edx, dword [esp + 8]
lea eax, [0x4eace0]
mov ecx, dword [esp + 0xac]
mov ebx, dword [ecx + 0x98]
test ebx, ebx
je 0x4aae00
mov dword [esp + 0x50], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
lea eax, [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.00405ec0
movzx eax, byte [esp + 8]
test al, al
jne 0x4aad69
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0x80]
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 0x84]
mov dword [esp + 0x24], edx
xor ebx, ebx
jmp 0x4aae58
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x4aad81
mov ecx, ebx
mov edx, dword [esp + 0x50]
jmp 0x4aadcd
mov ebp, dword [esp + 0x30]
test ebp, ebp
jne 0x4aadcd
mov ecx, ebx
mov edx, dword [esp + 0x50]
jmp 0x4aadcd
add esp, 0xa8
ret
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], 0
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.00404c50
add esp, 0xa8
ret
add esp, 0xa8
ret
mov ebx, dword [0x63b0a0]
test ebx, ebx
jne 0x4aadea
mov eax, dword [esp + 0xac]
mov dword [eax + 0x98], 0
jmp 0x4aadfe
mov ebx, dword [esp + 0xac]
lea edi, [ebx + 0x98]
xor eax, eax
call fcn.00460510
mov eax, ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], 0
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.00404c50
add esp, 0xa8
ret
mov dword [esp + 0x28], ebx
lea eax, [ecx + ebx*8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [edx + 0x10]
mov dword [esp], eax
call edx
mov eax, dword [esp + 0x28]
lea ebx, [eax + 1]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x24]
cmp ebx, edx
jl 0x4aae2e
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov ecx, dword [eax + 0x98]
mov dword [esp], ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 4], ecx
call fcn.004056a0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4aae90
mov edx, dword [esp + 0x50]
jmp 0x4aae9c
mov eax, dword [0x611190]
mov edx, dword [0x611194]
mov ecx, eax
jmp 0x4aadcd
call fcn.0045f100
jmp fcn.004aa970