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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x58]
cmp eax, dword [ecx + 8]
jbe 0x4ae192
sub esp, 0xd8
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
call fcn.004a9580
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
je 0x4ad7a7
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
test ecx, ecx
je 0x4ad740
mov ecx, dword [ecx + 4]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
lea eax, [0x4ffc53]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
lea eax, [esp + 0xc0]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a7b90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], ecx
add esp, 0xd8
ret
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
mov dword [esp + 4], 0x13
mov dword [esp + 8], 0
call fcn.004ae980
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xc]
test eax, eax
jne 0x4adbd1
mov dword [esp], 0
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.004428f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0x40
call fcn.00466d00
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
test eax, eax
je 0x4ad920
mov dword [esp + 0x94], edx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.00408b80
mov eax, dword [esp + 8]
lea ecx, [0x4e69c0]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xbc]
test eax, eax
je 0x4ad8b0
mov ecx, dword [eax + 4]
jmp 0x4ad8b2
mov ecx, eax
mov dword [esp + 0xd0], ecx
mov eax, dword [esp + 0x94]
mov dword [esp + 0xd4], eax
lea eax, [0x4fe01d]
mov dword [esp], eax
mov dword [esp + 4], 0x15
lea eax, [esp + 0xc8]
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 + 0xe4], 0
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], ecx
add esp, 0xd8
ret
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
mov dword [esp + 4], 0x14
mov dword [esp + 8], 0
call fcn.004ae980
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xc]
test eax, eax
jne 0x4adbb1
test ebx, ebx
jne 0x4ad96d
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x28]
jmp 0x4ad9ab
mov dword [esp], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
lea eax, [0x51d064]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebx
call fcn.004426e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x74], eax
mov edx, dword [esp + 0xdc]
mov dword [esp], edx
call fcn.004ae1a0
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0xdc]
mov dword [esp], edx
call fcn.004ae390
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 4]
mov ecx, dword [esp + 8]
test ebx, ebx
jne 0x4adb91
mov dword [esp + 0x2c], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x90], edi
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
call fcn.004aeb60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 4]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x4adb71
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], esi
mov dword [esp + 0xb8], ebp
mov dword [esp + 0x7c], ebx
lea eax, [0x4f2de0]
mov dword [esp], eax
call fcn.0040ae80
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xb8]
mov dword [eax], ecx
mov ecx, dword [0x5af9a0]
test ecx, ecx
jne 0x4ada9a
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
jmp 0x4adaaa
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x7c]
call fcn.00452b40
mov eax, ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x14], ecx
mov ecx, dword [0x5af9a0]
test ecx, ecx
jne 0x4adace
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0x1c], ecx
jmp 0x4adae1
lea edi, [eax + 0x1c]
mov ecx, eax
mov eax, dword [esp + 0x8c]
call fcn.00452b40
mov eax, ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x24], ecx
mov ecx, dword [0x5af9a0]
test ecx, ecx
jne 0x4adafe
mov ecx, dword [esp + 0x90]
mov dword [eax + 0x20], ecx
jmp 0x4adb11
lea edi, [eax + 0x20]
mov ecx, eax
mov eax, dword [esp + 0x90]
call fcn.00452b40
mov eax, ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x34], ecx
mov ecx, dword [0x5af9a0]
test ecx, ecx
jne 0x4adb39
mov ecx, dword [esp + 0x74]
mov dword [eax + 0x30], ecx
jmp 0x4adb49
lea edi, [eax + 0x30]
mov ecx, eax
mov eax, dword [esp + 0x74]
call fcn.00452b40
mov eax, ecx
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x38], ecx
nop
mov ecx, dword [esp + 0xe0]
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x70], edx
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x24], ecx
xor ebx, ebx
jmp 0x4adbfe
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], edx
add esp, 0xd8
ret
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], ebp
mov dword [esp + 0xec], esi
add esp, 0xd8
ret
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], edx
add esp, 0xd8
ret
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], edx
add esp, 0xd8
ret
mov ebp, dword [esp + 0x5c]
lea ebx, [ebp + 1]
mov ecx, dword [esp + 0x24]
mov edx, edi
cmp ebx, ecx
jge 0x4ade20
mov dword [esp + 0x5c], ebx
mov ebp, dword [edx + ebx*4]
mov dword [esp + 0x84], ebp
mov esi, dword [eax + 8]
mov dword [esp + 0xb4], esi
mov edi, edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x58], edx
lea ecx, [eax + 8]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x60]
jmp 0x4ae12c
mov ebx, dword [esp + 0x78]
mov edx, dword [ebx + 0x10]
mov ecx, dword [ebx + 0xc]
mov ebp, dword [ebx + 8]
mov esi, dword [esp + 0x48]
cmp esi, edx
ja 0x4ae18a
lea eax, [esi + 1]
cmp ecx, eax
jb 0x4ae185
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], edx
lea edi, [ecx - 1]
sub ecx, esi
sub edx, esi
dec edx
neg edx
shl eax, 2
sar edx, 0x1f
and eax, edx
add eax, ebp
lea edx, [ecx - 1]
mov esi, dword [esp + 0x54]
cmp esi, edi
jae 0x4adcd9
mov dword [esp + 0x54], edx
mov dword [esp + 0x9c], eax
mov dword [esp + 0x50], ecx
mov dword [esp], ebp
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
lea eax, [0x4e2860]
mov dword [esp + 0x10], eax
call fcn.0043fa70
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x50]
mov esi, edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x98], ebp
lea ebx, [0x4e2860]
mov dword [esp], ebx
mov ebx, dword [esp + 0x58]
sub ebx, ecx
mov dword [esp + 0x58], ebx
sub esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
shl ebx, 2
sar esi, 0x1f
and esi, ebx
lea ebx, [ebp + esi]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x58]
sub edi, ebx
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.0040ef80
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x78]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 0x10], eax
mov eax, dword [0x5af9a0]
test eax, eax
jne 0x4add59
mov edx, dword [esp + 0x98]
mov dword [ecx + 8], edx
mov edi, dword [esp + 0xb0]
jmp 0x4add6c
mov edi, dword [esp + 0xb0]
mov eax, dword [esp + 0x98]
call fcn.00452b40
mov eax, ecx
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x84]
mov edi, dword [esp + 0x70]
mov ecx, dword [eax + 0xc]
inc ecx
mov edx, dword [eax + 8]
mov esi, dword [eax + 0x10]
cmp esi, ecx
jae 0x4addf0
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x4e2860]
mov dword [esp + 0x10], eax
call fcn.0043fa70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x78]
mov dword [ebx + 0x10], edx
mov edx, dword [0x5af9a0]
test edx, edx
jne 0x4addcf
mov dword [ebx + 8], eax
jmp 0x4adddb
mov edi, dword [esp + 0xb0]
call fcn.00452b40
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x84]
mov edi, dword [esp + 0x70]
mov edx, eax
mov eax, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
mov esi, dword [0x5af9a0]
lea ebx, [edx + ecx*4 - 4]
test esi, esi
jne 0x4ade0a
mov dword [edx + ecx*4 - 4], ebp
jmp 0x4adbf1
mov ecx, edi
mov edi, ebx
mov edx, eax
mov eax, ebp
call fcn.00452b40
mov eax, edx
mov edi, ecx
jmp 0x4adbf1
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x88]
xor ebx, ebx
jmp 0x4ade3c
mov ebp, dword [esp + 0x5c]
lea ebx, [ebp + 1]
mov ecx, dword [esp + 0x38]
mov edx, edi
cmp ebx, ecx
jge 0x4ae064
mov dword [esp + 0x5c], ebx
mov ebp, dword [edx + ebx*4]
mov dword [esp + 0x80], ebp
mov esi, dword [eax + 8]
mov dword [esp + 0xac], esi
mov edi, edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x58], edx
lea ecx, [eax + 8]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x68]
jmp 0x4ae0a6
mov ebx, dword [esp + 0x78]
mov edx, dword [ebx + 0x10]
mov ecx, dword [ebx + 0xc]
mov ebp, dword [ebx + 8]
mov esi, dword [esp + 0x44]
cmp esi, edx
ja 0x4ae107
lea eax, [esi + 1]
cmp ecx, eax
jb 0x4ae102
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], edx
lea edi, [ecx - 1]
sub ecx, esi
sub edx, esi
dec edx
neg edx
shl eax, 2
sar edx, 0x1f
and eax, edx
add eax, ebp
lea edx, [ecx - 1]
mov esi, dword [esp + 0x54]
cmp esi, edi
jae 0x4adf17
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0xa4], eax
mov dword [esp], ebp
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
lea eax, [0x4e2860]
mov dword [esp + 0x10], eax
call fcn.0043fa70
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x54]
mov esi, edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], esi
mov dword [esp + 0xa0], ebp
lea ebx, [0x4e2860]
mov dword [esp], ebx
mov ebx, dword [esp + 0x58]
sub ebx, ecx
mov dword [esp + 0x58], ebx
sub esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
shl ebx, 2
sar esi, 0x1f
and esi, ebx
lea ebx, [ebp + esi]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x58]
sub edi, ebx
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.0040ef80
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x78]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [ecx + 0x10], eax
mov eax, dword [0x5af9a0]
test eax, eax
jne 0x4adf97
mov edx, dword [esp + 0xa0]
mov dword [ecx + 8], edx
mov edi, dword [esp + 0xa8]
jmp 0x4adfaa
mov edi, dword [esp + 0xa8]
mov eax, dword [esp + 0xa0]
call fcn.00452b40
mov eax, ecx
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x80]
mov edi, dword [esp + 0x88]
mov ecx, dword [eax + 0xc]
inc ecx
mov edx, dword [eax + 8]
mov esi, dword [eax + 0x10]
cmp esi, ecx
jae 0x4ae034
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x4e2860]
mov dword [esp + 0x10], eax
call fcn.0043fa70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x78]
mov dword [ebx + 0x10], edx
mov edx, dword [0x5af9a0]
test edx, edx
jne 0x4ae010
mov dword [ebx + 8], eax
jmp 0x4ae01c
mov edi, dword [esp + 0xa8]
call fcn.00452b40
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x80]
mov edi, dword [esp + 0x88]
mov edx, eax
mov eax, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
mov esi, dword [0x5af9a0]
lea ebx, [edx + ecx*4 - 4]
test esi, esi
jne 0x4ae04e
mov dword [edx + ecx*4 - 4], ebp
jmp 0x4ade2f
mov ecx, edi
mov edi, ebx
mov edx, eax
mov eax, ebp
call fcn.00452b40
mov eax, edx
mov edi, ecx
jmp 0x4ade2f
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
add esp, 0xd8
ret
inc ecx
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0xac]
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0xa8]
mov ecx, dword [esp + 0x44]
cmp ecx, edx
jge 0x4adfbe
mov ebx, dword [esi + ecx*4]
mov esi, dword [ebp + 4]
mov ebp, dword [ebp]
mov dword [esp + 0xb8], ebp
mov ebp, dword [ebx]
cmp dword [ebx + 4], esi
jne 0x4ae088
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.00402f20
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4ade82
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x88]
jmp 0x4ae088
call fcn.00452c20
mov ecx, esi
call fcn.00452c00
inc ecx
mov ebp, dword [esp + 0x84]
mov esi, dword [esp + 0xb4]
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0xb0]
mov ecx, dword [esp + 0x48]
cmp ecx, edx
jge 0x4add7d
mov ebx, dword [esi + ecx*4]
mov esi, dword [ebp + 4]
mov ebp, dword [ebp]
mov dword [esp + 0xb8], ebp
mov ebp, dword [ebx]
cmp dword [ebx + 4], esi
jne 0x4ae10e
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.00402f20
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4adc44
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x70]
jmp 0x4ae10e
call fcn.00452c20
mov ecx, esi
call fcn.00452c00
nop
call fcn.00451710
jmp fcn.004ad6e0