Function at 0x4ad690
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 0x4ae163
sub esp, 0xd8
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
call fcn.004a9530
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
je 0x4ad757
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
test ecx, ecx
je 0x4ad6f0
mov ecx, dword [ecx + 4]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
lea eax, [0x4ffd53]
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.004a7b40
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.004ae950
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 0x4adb90
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 + 0x94], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], 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 0x4ad8d0
mov dword [esp + 0x78], 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 + 0x94]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.00408b80
mov eax, dword [esp + 8]
lea ecx, [0x4e69e0]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xbc]
test eax, eax
je 0x4ad863
mov ecx, dword [eax + 4]
jmp 0x4ad865
mov ecx, eax
mov dword [esp + 0xd0], ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 0xd4], eax
lea eax, [0x4fe11d]
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.004a7b40
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.004ae950
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 0x4adb70
test ebx, ebx
jne 0x4ad920
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x4c]
jmp 0x4ad961
mov dword [esp], 0
mov eax, dword [esp + 0x94]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
lea eax, [0x51d16c]
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 + 0x4c], ecx
mov dword [esp + 0x94], eax
mov edx, dword [esp + 0xdc]
mov dword [esp], edx
call fcn.004ae170
mov eax, dword [esp + 4]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0xdc]
mov dword [esp], edx
call fcn.004ae360
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], 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 0x4adb50
mov dword [esp + 0x48], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x7c], edi
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
call fcn.004aeb30
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 0x4adb30
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], esi
mov dword [esp + 0xb8], ebp
mov dword [esp + 0x80], ebx
lea eax, [0x4f2ca0]
mov dword [esp], eax
call fcn.0040ae80
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xb8]
mov dword [eax], ecx
mov ecx, dword [0x5af9b0]
test ecx, ecx
jne 0x4ada53
mov ecx, dword [esp + 0x80]
mov dword [eax + 4], ecx
jmp 0x4ada66
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x80]
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 [0x5af9b0]
test ecx, ecx
jne 0x4ada8a
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0x1c], ecx
jmp 0x4ada9d
lea edi, [eax + 0x1c]
mov ecx, eax
mov eax, dword [esp + 0x8c]
call fcn.00452b40
mov eax, ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x24], ecx
mov ecx, dword [0x5af9b0]
test ecx, ecx
jne 0x4adab7
mov ecx, dword [esp + 0x7c]
mov dword [eax + 0x20], ecx
jmp 0x4adac7
lea edi, [eax + 0x20]
mov ecx, eax
mov eax, dword [esp + 0x7c]
call fcn.00452b40
mov eax, ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x34], ecx
mov ecx, dword [0x5af9b0]
test ecx, ecx
jne 0x4adaf2
mov ecx, dword [esp + 0x94]
mov dword [eax + 0x30], ecx
jmp 0x4adb05
lea edi, [eax + 0x30]
mov ecx, eax
mov eax, dword [esp + 0x94]
call fcn.00452b40
mov eax, ecx
mov dword [esp + 0x90], 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 0x4adbbd
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 0x4addeb
mov dword [esp + 0x5c], ebx
mov ebp, dword [edx + ebx*4]
mov dword [esp + 0x88], 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 + 0x44], eax
mov eax, dword [esp + 0x60]
jmp 0x4ae0fa
mov ebx, dword [esp + 0x90]
mov edx, dword [ebx + 0x10]
mov ecx, dword [ebx + 0xc]
mov ebp, dword [ebx + 8]
mov esi, dword [esp + 0x44]
cmp esi, edx
ja 0x4ae15b
lea eax, [esi + 1]
cmp ecx, eax
jb 0x4ae156
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 0x4adc9b
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, [0x4e05e0]
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, [0x4e05e0]
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 + 0x90]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 0x10], eax
mov eax, dword [0x5af9b0]
test eax, eax
jne 0x4add1e
mov edx, dword [esp + 0x98]
mov dword [ecx + 8], edx
mov edi, dword [esp + 0xb0]
jmp 0x4add31
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 + 0x88]
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 0x4addbb
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x4e05e0]
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 + 0x90]
mov dword [ebx + 0x10], edx
mov edx, dword [0x5af9b0]
test edx, edx
jne 0x4add97
mov dword [ebx + 8], eax
jmp 0x4adda3
mov edi, dword [esp + 0xb0]
call fcn.00452b40
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x88]
mov edi, dword [esp + 0x70]
mov edx, eax
mov eax, dword [esp + 0x90]
mov dword [eax + 0xc], ecx
mov esi, dword [0x5af9b0]
lea ebx, [edx + ecx*4 - 4]
test esi, esi
jne 0x4addd5
mov dword [edx + ecx*4 - 4], ebp
jmp 0x4adbb0
mov ecx, edi
mov edi, ebx
mov edx, eax
mov eax, ebp
call fcn.00452b40
mov eax, edx
mov edi, ecx
jmp 0x4adbb0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x74]
xor ebx, ebx
jmp 0x4ade04
mov ebp, dword [esp + 0x5c]
lea ebx, [ebp + 1]
mov ecx, dword [esp + 0x28]
mov edx, edi
cmp ebx, ecx
jge 0x4ae032
mov dword [esp + 0x5c], ebx
mov ebp, dword [edx + ebx*4]
mov dword [esp + 0x84], 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 + 0x40], eax
mov eax, dword [esp + 0x68]
jmp 0x4ae074
mov ebx, dword [esp + 0x90]
mov edx, dword [ebx + 0x10]
mov ecx, dword [ebx + 0xc]
mov ebp, dword [ebx + 8]
mov esi, dword [esp + 0x40]
cmp esi, edx
ja 0x4ae0d5
lea eax, [esi + 1]
cmp ecx, eax
jb 0x4ae0d0
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 0x4adee2
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, [0x4e05e0]
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, [0x4e05e0]
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 + 0x90]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [ecx + 0x10], eax
mov eax, dword [0x5af9b0]
test eax, eax
jne 0x4adf65
mov edx, dword [esp + 0xa0]
mov dword [ecx + 8], edx
mov edi, dword [esp + 0xa8]
jmp 0x4adf78
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 + 0x84]
mov edi, dword [esp + 0x74]
mov ecx, dword [eax + 0xc]
inc ecx
mov edx, dword [eax + 8]
mov esi, dword [eax + 0x10]
cmp esi, ecx
jae 0x4ae002
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x4e05e0]
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 + 0x90]
mov dword [ebx + 0x10], edx
mov edx, dword [0x5af9b0]
test edx, edx
jne 0x4adfde
mov dword [ebx + 8], eax
jmp 0x4adfea
mov edi, dword [esp + 0xa8]
call fcn.00452b40
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x84]
mov edi, dword [esp + 0x74]
mov edx, eax
mov eax, dword [esp + 0x90]
mov dword [eax + 0xc], ecx
mov esi, dword [0x5af9b0]
lea ebx, [edx + ecx*4 - 4]
test esi, esi
jne 0x4ae01c
mov dword [edx + ecx*4 - 4], ebp
jmp 0x4addf7
mov ecx, edi
mov edi, ebx
mov edx, eax
mov eax, ebp
call fcn.00452b40
mov eax, edx
mov edi, ecx
jmp 0x4addf7
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 + 0x84]
mov esi, dword [esp + 0xac]
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0xa8]
mov ecx, dword [esp + 0x40]
cmp ecx, edx
jge 0x4adf89
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 0x4ae056
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 0x4ade4a
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x74]
jmp 0x4ae056
call fcn.00452c20
mov ecx, esi
call fcn.00452c00
inc ecx
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0xb4]
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0xb0]
mov ecx, dword [esp + 0x44]
cmp ecx, edx
jge 0x4add42
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 0x4ae0dc
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 0x4adc03
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x70]
jmp 0x4ae0dc
call fcn.00452c20
mov ecx, esi
call fcn.00452c00
nop
call fcn.00451710
jmp fcn.004ad690