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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x4ab78b
sub esp, 0xb0
mov eax, 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x60]
test ecx, ecx
jne 0x4ab715
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, dword [eax + 0x20]
mov ebp, dword [eax + 0x24]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004aab80
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
test eax, eax
jne 0x4ab69c
mov eax, dword [esp + 0xb4]
mov dword [eax + 4], ecx
mov ecx, dword [0x5d3b70]
test ecx, ecx
jne 0x4ab684
mov dword [eax], edx
mov ecx, dword [eax + 0x50]
lea ebx, [eax + 0x50]
test ecx, ecx
jne 0x4ab622
mov dword [esp + 0x74], ebx
mov ecx, dword [eax + 0x5c]
mov ebp, dword [eax + 0x58]
test ebp, ebp
jne 0x4ab56f
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea ecx, [0x52b5cc]
mov dword [esp + 0x80], ecx
lea ecx, [0x52b5d0]
mov dword [esp + 0x84], ecx
lea ecx, [0x52b5c8]
mov dword [esp + 0x88], ecx
xor ecx, ecx
jmp 0x4aaf97
mov ebp, dword [esp + 0x38]
lea ecx, [ebp + 1]
mov ebx, dword [esp + 0x74]
cmp ecx, 3
jge 0x4ab114
mov dword [esp + 0x38], ecx
lea ebx, [esp + 0x80]
mov edx, dword [ebx + ecx*4]
mov dword [esp], eax
mov ebp, dword [edx]
call ebp
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 4]
test ecx, ecx
jne 0x4ab09b
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x6c]
mov ebp, dword [eax + 0x70]
mov esi, dword [eax + 0x74]
lea edi, [eax + 0x6c]
mov edx, edi
lea edi, [ebp + 1]
cmp edi, esi
jg 0x4ab015
lea esi, [ebp + 1]
mov dword [eax + 0x70], esi
lea esi, [ecx + ebp*4]
mov edi, dword [0x5d3b70]
test edi, edi
jne 0x4aaffd
mov dword [ecx + ebp*4], ebx
jmp 0x4aaf8c
mov dword [esp], esi
mov dword [esp + 4], ebx
call fcn.0040d8c0
mov eax, dword [esp + 0xb4]
jmp 0x4aaf8c
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x70], edx
lea eax, [0x51a980]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
call fcn.00436d70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xb4]
mov dword [ebx + 0x74], edx
mov edx, dword [0x5d3b70]
test edx, edx
jne 0x4ab072
mov dword [ebx + 0x6c], eax
mov ebx, dword [esp + 0x3c]
mov ebp, ecx
mov ecx, eax
mov eax, dword [esp + 0xb4]
jmp 0x4aafe5
mov dword [esp + 0x6c], eax
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040d8c0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0xb4]
jmp 0x4ab05e
mov dword [esp + 0x54], eax
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x80]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x78]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call fcn.004aab30
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x88]
mov edx, dword [eax + 0x84]
mov ebx, dword [eax + 0x8c]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call fcn.004aab30
mov eax, dword [esp + 0x48]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xbc], eax
add esp, 0xb0
ret
mov ecx, dword [eax + 0x70]
mov edx, dword [eax + 0x44]
lea ebp, [ecx + edx]
mov dword [esp + 0x38], ebp
mov esi, dword [eax + 0x74]
mov edi, dword [eax + 0x6c]
lea ebx, [eax + 0x6c]
mov dword [esp + 0x68], ebx
mov ebx, dword [eax + 0x40]
mov eax, dword [eax + 0x48]
cmp ebp, esi
ja 0x4ab520
cmp ebp, esi
ja 0x4ab784
cmp ecx, ebp
ja 0x4ab784
mov dword [esp + 0x34], esi
mov dword [esp + 0x64], edi
sub esi, ecx
mov dword [esp + 0x30], esi
xchg esi, ebx
neg ebx
xchg esi, ebx
shl ecx, 2
sar esi, 0x1f
and ecx, esi
add ecx, edi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
lea ecx, [0x51a980]
mov dword [esp], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
call fcn.0040dc20
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xb4]
mov dword [ecx + 0x70], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 0x74], eax
mov eax, dword [0x5d3b70]
test eax, eax
jne 0x4ab500
mov eax, dword [esp + 0x64]
mov dword [ecx + 0x6c], eax
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 0x10]
test edx, edx
jle 0x4ab4d0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x64], eax
mov dword [esp], ecx
call fcn.004a9fb0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004ab7a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x14]
lea edi, [esp + 0x8c]
mov ebx, eax
xor eax, eax
call fcn.0044a117
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x20]
mov ebp, dword [eax + 0x24]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ebp
mov ecx, dword [eax + 0x6c]
mov ebp, dword [eax + 0x70]
mov esi, dword [eax + 0x74]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], esi
mov dword [esp + 0x94], ebx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0xac], ecx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x14], ecx
call fcn.0047ed90
mov eax, dword [0x5d3b70]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x4c], ebx
test eax, eax
jne 0x4ab4ac
mov eax, dword [esp + 0xb4]
mov dword [eax + 0x50], ecx
test edx, edx
jne 0x4ab442
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x80]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call fcn.004aab30
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x94]
lea edx, [0x4fa120]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00402cc0
mov eax, dword [0x5d3b70]
mov ecx, dword [esp + 0xb4]
lea edx, [ecx + 0x9c]
mov ebx, dword [esp + 8]
test eax, eax
jne 0x4ab42a
mov dword [ecx + 0x9c], ebx
mov eax, dword [ecx + 0x90]
mov dword [esp + 0x60], eax
mov edx, dword [ecx + 0x94]
mov dword [esp + 0x38], edx
xor ebx, ebx
jmp 0x4ab39a
mov dword [esp + 0x34], ebx
mov edx, dword [eax + ebx*4]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp], 8
lea edx, [0x52b5c0]
mov dword [esp + 4], edx
call fcn.0042d610
mov eax, dword [esp + 0x34]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x38]
cmp ebx, edx
jl 0x4ab35f
mov eax, dword [ecx + 0x58]
test eax, eax
jne 0x4ab3c2
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
add esp, 0xb0
ret
lea eax, [0x4fa1e0]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00402cc0
mov eax, dword [0x5d3b70]
mov ecx, dword [esp + 0xb4]
lea edx, [ecx + 0xa0]
mov ebx, dword [esp + 8]
test eax, eax
jne 0x4ab415
mov dword [ecx + 0xa0], ebx
mov dword [esp + 8], ecx
mov dword [esp], 4
lea eax, [0x52b5c4]
mov dword [esp + 4], eax
call fcn.0042d610
jmp 0x4ab3a5
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.0040d8c0
mov ecx, dword [esp + 0xb4]
jmp 0x4ab3f9
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.0040d8c0
mov ecx, dword [esp + 0xb4]
jmp 0x4ab347
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x80]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call fcn.004aab30
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x84]
mov edx, dword [eax + 0x88]
mov ebx, dword [eax + 0x8c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call fcn.004aab30
mov eax, dword [esp + 0x40]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xbc], eax
add esp, 0xb0
ret
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040d8c0
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x4c]
jmp 0x4ab2db
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov ebp, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], esi
mov ebx, 1
mov edx, 1
lea eax, [esp + 0x78]
jmp 0x4ab1cf
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
call fcn.0040d8c0
mov ecx, dword [esp + 0xb4]
jmp 0x4ab1be
mov dword [esp + 0x34], edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
lea eax, [0x51a980]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.00436d70
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x38]
jmp 0x4ab13c
mov eax, dword [ebp + 0x14]
mov dword [esp], ecx
call eax
mov dword [esp], 0
call fcn.00404290
movzx eax, byte [esp + 8]
test al, al
jne 0x4ab59c
mov eax, dword [esp + 0xb4]
mov ebx, dword [esp + 0x74]
jmp 0x4aaf40
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x80]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x78]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call fcn.004aab30
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x88]
mov edx, dword [eax + 0x84]
mov ebx, dword [eax + 0x8c]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call fcn.004aab30
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x58]
mov eax, dword [eax + 0x5c]
mov ecx, dword [ecx + 0x18]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
add esp, 0xb0
ret
lea eax, [0x505880]
mov dword [esp], eax
call fcn.0040d050
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x15
mov ecx, dword [0x5d3b70]
test ecx, ecx
jne 0x4ab668
lea ecx, [0x52456b]
mov dword [eax], ecx
lea ecx, [0x53b3c0]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add esp, 0xb0
ret
mov dword [esp + 0x58], eax
mov dword [esp], eax
lea ecx, [0x52456b]
mov dword [esp + 4], ecx
call fcn.0040d8c0
mov eax, dword [esp + 0x58]
jmp 0x4ab64d
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0040d8c0
mov eax, dword [esp + 0xb4]
jmp 0x4aaf20
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x80]
mov edx, dword [eax + 0x78]
mov ebx, dword [eax + 0x7c]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call fcn.004aab30
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x8c]
mov edx, dword [eax + 0x84]
mov ebx, dword [eax + 0x88]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call fcn.004aab30
mov eax, dword [esp + 0x44]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xbc], eax
add esp, 0xb0
ret
mov ecx, dword [eax + 0x80]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x78]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call fcn.004aab30
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x8c]
mov edx, dword [eax + 0x88]
mov ebx, dword [eax + 0x84]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call fcn.004aab30
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x64]
mov eax, dword [eax + 0x60]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
add esp, 0xb0
ret
call fcn.004243c0
ud2
call fcn.004486e0
jmp fcn.004aae90