Function at 0x4ad600
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 0x4ae0d0
sub esp, 0xd8
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
call fcn.004a94a0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
je 0x4ad6c7
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
test ecx, ecx
je 0x4ad660
mov ecx, dword [ecx + 4]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
lea eax, [0x4ffbf3]
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.004a7ab0
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.004ae8c0
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 0x4adb09
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 + 0x80], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], 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 0x4ad846
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 + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.00408b80
mov eax, dword [esp + 8]
lea ecx, [0x4e6920]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xbc]
test eax, eax
je 0x4ad7d6
mov ecx, dword [eax + 4]
jmp 0x4ad7d8
mov ecx, eax
mov dword [esp + 0xd0], ecx
mov eax, dword [esp + 0x94]
mov dword [esp + 0xd4], eax
lea eax, [0x4fdfbd]
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.004a7ab0
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 + 0x4c], ebx
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
mov dword [esp + 4], 0x14
mov dword [esp + 8], 0
call fcn.004ae8c0
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 0x4adae9
test ebx, ebx
jne 0x4ad896
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x2c]
jmp 0x4ad8d7
mov dword [esp], 0
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
lea eax, [0x51d008]
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 + 0x2c], ecx
mov dword [esp + 0x80], eax
mov edx, dword [esp + 0xdc]
mov dword [esp], edx
call fcn.004ae0e0
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0xdc]
mov dword [esp], edx
call fcn.004ae2d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], 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 0x4adac9
mov dword [esp + 0x28], edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x90], edi
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
call fcn.004aeaa0
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 0x4adaa9
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0xb8], ebp
mov dword [esp + 0x8c], ebx
lea eax, [0x4f2b40]
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 0x4ad9cc
mov ecx, dword [esp + 0x8c]
mov dword [eax + 4], ecx
jmp 0x4ad9df
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x8c]
call fcn.00452b40
mov eax, ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x14], ecx
mov ecx, dword [0x5af9a0]
test ecx, ecx
jne 0x4ada00
mov ecx, dword [esp + 0x74]
mov dword [eax + 0x1c], ecx
jmp 0x4ada10
lea edi, [eax + 0x1c]
mov ecx, eax
mov eax, dword [esp + 0x74]
call fcn.00452b40
mov eax, ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x24], ecx
mov ecx, dword [0x5af9a0]
test ecx, ecx
jne 0x4ada2d
mov ecx, dword [esp + 0x90]
mov dword [eax + 0x20], ecx
jmp 0x4ada40
lea edi, [eax + 0x20]
mov ecx, eax
mov eax, dword [esp + 0x90]
call fcn.00452b40
mov eax, ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x34], ecx
mov ecx, dword [0x5af9a0]
test ecx, ecx
jne 0x4ada6b
mov ecx, dword [esp + 0x80]
mov dword [eax + 0x30], ecx
jmp 0x4ada7e
lea edi, [eax + 0x30]
mov ecx, eax
mov eax, dword [esp + 0x80]
call fcn.00452b40
mov eax, ecx
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x4c]
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 0x4adb36
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 0x4add5b
mov dword [esp + 0x5c], ebx
mov ebp, dword [edx + ebx*4]
mov dword [esp + 0x7c], 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 0x4ae067
mov ebx, dword [esp + 0x84]
mov edx, dword [ebx + 0x10]
mov ecx, dword [ebx + 0xc]
mov ebp, dword [ebx + 8]
mov esi, dword [esp + 0x48]
cmp esi, edx
ja 0x4ae0c8
lea eax, [esi + 1]
cmp ecx, eax
jb 0x4ae0c3
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 0x4adc11
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, [0x4e0460]
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, [0x4e0460]
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 + 0x84]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 0x10], eax
mov eax, dword [0x5af9a0]
test eax, eax
jne 0x4adc94
mov edx, dword [esp + 0x98]
mov dword [ecx + 8], edx
mov edi, dword [esp + 0xb0]
jmp 0x4adca7
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 + 0x7c]
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 0x4add2b
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x4e0460]
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 + 0x84]
mov dword [ebx + 0x10], edx
mov edx, dword [0x5af9a0]
test edx, edx
jne 0x4add0a
mov dword [ebx + 8], eax
jmp 0x4add16
mov edi, dword [esp + 0xb0]
call fcn.00452b40
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x7c]
mov edi, dword [esp + 0x70]
mov edx, eax
mov eax, dword [esp + 0x84]
mov dword [eax + 0xc], ecx
mov esi, dword [0x5af9a0]
lea ebx, [edx + ecx*4 - 4]
test esi, esi
jne 0x4add45
mov dword [edx + ecx*4 - 4], ebp
jmp 0x4adb29
mov ecx, edi
mov edi, ebx
mov edx, eax
mov eax, ebp
call fcn.00452b40
mov eax, edx
mov edi, ecx
jmp 0x4adb29
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x88]
xor ebx, ebx
jmp 0x4add77
mov ebp, dword [esp + 0x5c]
lea ebx, [ebp + 1]
mov ecx, dword [esp + 0x30]
mov edx, edi
cmp ebx, ecx
jge 0x4adfa2
mov dword [esp + 0x5c], ebx
mov ebp, dword [edx + ebx*4]
mov dword [esp + 0x78], 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 0x4adfe1
mov ebx, dword [esp + 0x84]
mov edx, dword [ebx + 0x10]
mov ecx, dword [ebx + 0xc]
mov ebp, dword [ebx + 8]
mov esi, dword [esp + 0x44]
cmp esi, edx
ja 0x4ae045
lea eax, [esi + 1]
cmp ecx, eax
jb 0x4ae040
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 0x4ade52
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, [0x4e0460]
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, [0x4e0460]
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 + 0x84]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [ecx + 0x10], eax
mov eax, dword [0x5af9a0]
test eax, eax
jne 0x4aded5
mov edx, dword [esp + 0xa0]
mov dword [ecx + 8], edx
mov edi, dword [esp + 0xa8]
jmp 0x4adee8
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 + 0x78]
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 0x4adf72
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x4e0460]
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 + 0x84]
mov dword [ebx + 0x10], edx
mov edx, dword [0x5af9a0]
test edx, edx
jne 0x4adf4e
mov dword [ebx + 8], eax
jmp 0x4adf5a
mov edi, dword [esp + 0xa8]
call fcn.00452b40
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x78]
mov edi, dword [esp + 0x88]
mov edx, eax
mov eax, dword [esp + 0x84]
mov dword [eax + 0xc], ecx
mov esi, dword [0x5af9a0]
lea ebx, [edx + ecx*4 - 4]
test esi, esi
jne 0x4adf8c
mov dword [edx + ecx*4 - 4], ebp
jmp 0x4add6a
mov ecx, edi
mov edi, ebx
mov edx, eax
mov eax, ebp
call fcn.00452b40
mov eax, edx
mov edi, ecx
jmp 0x4add6a
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 + 0x78]
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 0x4adef9
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 0x4adfc6
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 0x4addba
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x88]
jmp 0x4adfc6
call fcn.00452c20
mov ecx, esi
call fcn.00452c00
inc ecx
mov ebp, dword [esp + 0x7c]
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 0x4adcb5
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 0x4ae04c
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 0x4adb79
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x70]
jmp 0x4ae04c
call fcn.00452c20
mov ecx, esi
call fcn.00452c00
nop
call fcn.00451710
jmp fcn.004ad600