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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xa0]
cmp eax, dword [ecx + 8]
jbe 0x4ab2d7
sub esp, 0x120
lea edi, [esp + 0x12c]
xor eax, eax
call fcn.0045ebb3
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov ecx, dword [esp + 0x124]
mov dword [esp + 0xc0], ecx
lea edi, [esp + 0xd0]
call fcn.0045ebb9
lea edi, [esp + 0xec]
call fcn.0045ebb3
lea ecx, [esp + 0xec]
mov dword [esp + 0xdc], ecx
call fcn.0044c2b0
mov ecx, dword [esp]
mov dword [esp + 0xd8], ecx
mov eax, 1
lea ecx, [esp + 0xc0]
mov edx, 1
xor ebx, ebx
lea ebp, [esp + 0x3c]
xor esi, esi
xor edi, edi
jmp 0x4aab99
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x5c]
mov ecx, eax
mov edx, ebx
mov ebx, dword [esp + 0x5c]
mov eax, ebp
mov ebp, dword [esp + 0x98]
test eax, eax
je 0x4aabd7
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x88], esi
mov dword [esp + 0x80], eax
xor eax, eax
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0xbc], eax
xor eax, eax
mov dword [esp + 0x40], eax
jmp 0x4aac04
xchg edi, eax
test al, al
xchg edi, eax
je 0x4aab7d
xchg edi, eax
mov byte [esp + 0x160], al
xchg edi, eax
add esp, 0x120
ret
mov edx, dword [esp + 0xb8]
add edx, 0x10
mov dword [esp + 0x74], ecx
mov dword [esp + 0xbc], esi
mov dword [esp + 0x40], ebp
mov ebp, eax
mov ecx, edx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x8c], ebp
xchg edi, eax
mov byte [esp + 0x3f], al
xchg edi, eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x70], eax
mov edx, dword [ecx + 4]
mov dword [esp + 0xb4], edx
mov esi, dword [ecx]
mov dword [esp + 0xb0], esi
lea edx, [0x60de00]
mov dword [esp], edx
lea eax, [esp + 0xd0]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.0040de30
mov eax, dword [esp + 0xc]
movzx eax, byte [eax]
test al, al
je 0x4aac7b
movzx edi, byte [esp + 0x3f]
mov esi, dword [esp + 0xbc]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x8c]
jmp 0x4aace6
lea eax, [0x60de00]
mov dword [esp], eax
lea ecx, [esp + 0xd0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xb0]
mov dword [esp + 8], edx
call fcn.0040e3c0
mov eax, dword [esp + 0xc]
mov byte [eax], 1
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0xbc]
movzx edi, byte [esp + 0x3f]
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x78]
jmp 0x4aad16
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x74]
inc ecx
mov edx, dword [esp + 0x58]
cmp edx, ecx
jg 0x4aabe7
jmp 0x4aabd1
inc edi
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x50], edi
mov edi, edx
mov edx, ebx
mov ebx, esi
mov esi, ebp
mov ebp, ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x50]
cmp edx, ecx
jge 0x4aacdf
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov ebx, dword [eax + 0x24]
mov ebp, dword [eax + 0x28]
cmp edx, ebp
jae 0x4ab2cd
mov dword [esp + 0xac], ebx
mov dword [esp + 0xa8], esi
xchg edi, eax
mov byte [esp + 0x3e], al
xchg edi, eax
lea eax, [edx + edx*2]
mov dword [esp + 0x60], eax
mov ecx, dword [ebx + eax*4]
mov dword [esp], ecx
call fcn.004a90f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0xac]
mov ebp, dword [ebx + edx*4 + 8]
test ebp, 1
je 0x4aadc7
mov ebx, dword [ebx + edx*4 + 4]
movzx ebp, byte [ebx + 0xf]
and ebp, 0x1f
cmp ebp, 0x16
jne 0x4aadc9
mov dword [esp + 0x54], ecx
mov dword [esp + 0x94], eax
mov dword [esp], ebx
call fcn.004a9d60
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov eax, dword [eax + 0x84]
mov dword [esp], ecx
call eax
mov ebx, dword [esp + 4]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x54]
jmp 0x4aadc9
xor ebx, ebx
mov dword [esp + 0xa4], ebx
mov edx, dword [esp + 0x128]
mov ebp, dword [edx]
mov dword [esp], eax
mov dword [esp + 4], ecx
call ebp
movzx eax, byte [esp + 8]
test al, al
jne 0x4ab117
movzx edx, byte [esp + 0x3e]
test dl, dl
jne 0x4ab0f4
mov ebx, dword [esp + 0xa4]
test ebx, ebx
je 0x4ab0f4
movzx ebp, byte [ebx + 0xf]
and ebp, 0x1f
cmp ebp, 0x19
jne 0x4ab0f4
lea ecx, [0x60de40]
mov dword [esp], ecx
mov edx, dword [esp + 0xa8]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0040de30
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
jg 0x4ab09e
mov eax, dword [esp + 0xa8]
test eax, eax
jne 0x4aae5b
call fcn.0040be50
mov esi, dword [esp]
mov eax, esi
mov dword [esp + 0xbc], eax
lea ecx, [0x60de40]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [esp + 0xa4]
mov dword [esp + 8], edx
call fcn.0040e3c0
mov eax, dword [esp + 0xc]
mov dword [eax], 1
mov eax, dword [esp + 0xb0]
lea edx, [0x60de40]
mov dword [esp], edx
mov ebx, dword [esp + 0x88]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0040de30
mov eax, dword [esp + 0xc]
cmp dword [eax], 1
jle 0x4aaee4
lea eax, [0x60de40]
mov dword [esp], eax
mov ecx, dword [esp + 0xbc]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xa4]
mov dword [esp + 8], edx
call fcn.0040e3c0
mov eax, dword [esp + 0xc]
mov dword [eax], 2
mov eax, dword [esp + 0x70]
test eax, eax
ja 0x4aaef2
xor ecx, ecx
xor edx, edx
jmp 0x4aaf2a
lea ecx, [0x60c040]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
call fcn.00447e40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x60], ecx
mov dword [esp + 0xa0], edx
mov dword [esp], edx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 4], ebx
shl eax, 2
mov dword [esp + 8], eax
call fcn.0045f2b0
mov eax, dword [esp + 0x70]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x60]
cmp edx, ecx
jb 0x4aaf67
mov ebx, dword [esp + 0xa0]
jmp 0x4aafa3
lea ebx, [0x60c040]
mov dword [esp], ebx
mov ebp, dword [esp + 0xa0]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.00447e40
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
inc eax
mov ebx, edx
mov edx, ecx
mov ecx, eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x90], ebx
mov ebp, dword [esp + 0x50]
mov dword [ebx + eax*4], ebp
mov esi, dword [esp + 0x68]
mov edi, ebp
lea ebp, [esi + 1]
mov ebx, dword [esp + 0x64]
cmp ebx, ebp
jae 0x4ab019
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
lea eax, [0x61ae20]
mov dword [esp], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00447e40
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x44], ebx
shl esi, 4
mov ebx, dword [esp + 0x8c]
mov dword [ebx + esi + 8], ecx
mov dword [ebx + esi + 0xc], edx
mov edx, dword [0x84c5a0]
mov ecx, ebp
lea ebp, [ebx + esi]
mov dword [esp + 0x9c], ebp
lea ebp, [ebx + esi + 4]
test edx, edx
jne 0x4ab060
mov edx, dword [esp + 0xa4]
mov dword [ebx + esi], edx
mov edx, dword [esp + 0x90]
mov dword [ebx + esi + 4], edx
jmp 0x4ab089
mov edx, edi
mov edi, dword [esp + 0x9c]
mov esi, eax
mov eax, dword [esp + 0xa4]
call fcn.0045e940
mov edi, ebp
mov eax, dword [esp + 0x90]
call fcn.0045e940
mov eax, esi
mov edi, edx
movzx edx, byte [esp + 0x3e]
mov ebp, dword [esp + 0xbc]
mov esi, dword [esp + 0x44]
jmp 0x4aacfc
lea eax, [0x60de40]
mov dword [esp], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xa4]
mov dword [esp + 8], edx
call fcn.0040e3c0
mov eax, dword [esp + 0xc]
mov dword [eax], 2
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x50]
movzx edx, byte [esp + 0x3e]
mov ebp, dword [esp + 0xa8]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x8c]
jmp 0x4aacfc
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x50]
mov ebp, dword [esp + 0xa8]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x8c]
jmp 0x4aacfc
mov eax, dword [esp + 0xb0]
lea edx, [0x60de40]
mov dword [esp], edx
mov ebx, dword [esp + 0x88]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0040de30
mov eax, dword [esp + 0xc]
cmp dword [eax], 1
jg 0x4ab2b0
movzx ecx, byte [esp + 0x3e]
test cl, cl
jne 0x4ab2b0
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
call fcn.004aa960
lea edi, [esp + 0x12c]
lea esi, [esp + 8]
call fcn.0045f04e
mov dword [esp + 0x150], 0
mov dword [esp + 0x154], 0
mov dword [esp + 0x158], 0
mov eax, dword [esp + 0x70]
test eax, eax
ja 0x4ab1ab
xor ecx, ecx
xor edx, edx
jmp 0x4ab1e5
lea ecx, [0x60c040]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
call fcn.00447e40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, ecx
mov ecx, eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x60], edx
mov dword [esp + 0xa0], ecx
mov dword [esp], ecx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 4], ebx
shl eax, 2
mov dword [esp + 8], eax
call fcn.0045f2b0
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x150], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x154], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x158], edx
lea ebx, [ecx + 1]
cmp edx, ebx
jb 0x4ab239
mov edx, ecx
jmp 0x4ab27b
lea ebp, [0x60c040]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.00447e40
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x158], edx
mov dword [esp + 0x150], ecx
mov edx, dword [esp + 0x70]
mov ebx, ecx
mov ecx, eax
mov eax, ebx
lea ebx, [ecx + 1]
mov dword [esp + 0x154], ebx
mov ebx, dword [esp + 0x50]
mov dword [eax + ecx*4], ebx
mov eax, edx
mov edi, ebx
mov edx, 1
mov ebp, dword [esp + 0xa8]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x8c]
jmp 0x4aacfc
lea edi, [esp + 0x12c]
xor eax, eax
call fcn.0045ebb3
mov byte [esp + 0x160], 0
add esp, 0x120
ret
mov eax, edx
mov ecx, ebp
call fcn.0045e9c0
nop
call fcn.0045d530
jmp fcn.004aaac0