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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x6ae9e3
sub esp, 0x90
mov eax, dword [esp + 0xa0]
test eax, eax
jne 0x6ae9cd
mov eax, 3
lea ecx, [0x9cab70]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], ecx
test eax, eax
jg 0x6ae99d
xor edx, edx
test dl, dl
je 0x6ae919
mov ebx, dword [esp + 0x94]
test ebx, ebx
je 0x6ae8d2
mov edx, dword [0xe70e40]
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test ecx, ecx
jne 0x6ae8b2
mov dword [esp + 0x30], eax
lea eax, [0x94d2a0]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xb0]
mov dword [esp + 8], ecx
call fcn.00408b40
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0x10]
test cl, cl
je 0x6ae861
mov dword [esp + 0x3c], edx
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x30]
mov ebx, dword [ecx + 0x18]
mov ebp, dword [ecx + 0x14]
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.006abb50
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x30]
mov dword [edx + 0x18], eax
mov eax, dword [0xe8ff30]
test eax, eax
jne 0x6ae852
mov dword [edx + 0x14], ecx
call fcn.0040ba50
mov eax, dword [esp]
mov dword [esp + 0x50], eax
lea ecx, [0x9b3ec0]
mov dword [esp], ecx
call fcn.0040af00
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x94]
mov dword [edi + 0x78], eax
mov eax, dword [0xe8ff30]
test eax, eax
jne 0x6ae836
mov edx, dword [esp + 0x98]
mov dword [edi + 0x7c], edx
mov edx, dword [esp + 0x1c]
mov dword [edi + 4], edx
mov edx, dword [0xe8ff30]
test edx, edx
jne 0x6ae812
mov edx, dword [esp + 0x34]
mov dword [edi], edx
mov edx, dword [esp + 0x30]
mov dword [edi + 8], edx
mov dword [edi + 0x10], 8
mov ebx, dword [0xe8ff30]
test ebx, ebx
jne 0x6ae7f7
lea ebx, [0x9cf592]
mov dword [edi + 0xc], ebx
mov dword [edi + 0x14], 1
mov dword [edi + 0x18], 1
mov ebx, dword [0xe8ff30]
test ebx, ebx
jne 0x6ae7de
mov ebx, dword [esp + 0x50]
mov dword [edi + 0x1c], ebx
mov ebx, dword [esp + 0x20]
mov dword [edi + 0x20], ebx
mov ebx, dword [0xe8ff30]
lea ebp, [edi + 0x24]
test ebx, ebx
jne 0x6ae7c8
mov ebx, dword [esp + 0x3c]
mov dword [edi + 0x24], ebx
mov ebx, dword [edx + 0x18]
mov eax, dword [edx + 0x14]
mov dword [edi + 0x48], ebx
mov edx, dword [0xe8ff30]
test edx, edx
jne 0x6ae7b5
mov dword [edi + 0x44], eax
mov edx, dword [esp + 0xac]
test edx, edx
je 0x6ae7ae
mov dword [esp + 0x4c], ebp
je 0x6ae7aa
mov dword [esp + 0x38], edi
mov ebx, dword [edx + 8]
cmp ebx, 0x4128187d
jne 0x6ae7a3
mov eax, ebp
lea ebp, [0xaa58b0]
cmp ebp, edx
jne 0x6ae799
mov ecx, dword [esp + 0xb0]
jne 0x6ae5c9
mov edx, dword [ecx + 4]
mov dword [esp + 0x28], edx
mov ebx, dword [ecx + 8]
cmp ebx, edx
xchg ebp, ebx
setae bl
xchg ebp, ebx
mov eax, dword [ecx + 0xc]
sar edx, 0x1f
cmp eax, edx
sete al
setg dl
and eax, ebp
or edx, eax
test dl, dl
je 0x6ae5bc
xor eax, eax
mov dword [edi + 0x2c], eax
sar eax, 0x1f
mov dword [edi + 0x30], eax
lea edi, [esp + 0x64]
mov esi, ecx
call fcn.0045725e
lea ecx, [0x947280]
mov dword [esp], ecx
call fcn.0040af00
mov eax, dword [esp + 4]
lea ecx, [0x6d48e0]
mov dword [eax], ecx
mov ecx, dword [0xe8ff30]
lea edi, [eax + 4]
test ecx, ecx
jne 0x6ae589
lea esi, [esp + 0x64]
call fcn.0045725e
mov ecx, dword [esp + 0x38]
mov dword [ecx + 0x28], eax
mov edx, dword [ecx + 0x28]
test edx, edx
je 0x6ae546
mov edx, dword [ecx + 0x2c]
test edx, edx
sete dl
mov ebx, dword [ecx + 0x30]
test ebx, ebx
sete bl
and ebx, edx
test bl, bl
je 0x6ae546
lea edx, [0xaa9bd0]
mov dword [ecx + 0x20], edx
mov edx, dword [0xe8ff30]
test edx, edx
jne 0x6ae56a
lea eax, [0xe8fc44]
mov dword [ecx + 0x24], eax
lea eax, [0x9ff68c]
mov dword [ecx + 0x28], eax
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
add esp, 0x90
ret
mov edi, dword [esp + 0x4c]
lea eax, [0xe8fc44]
call fcn.00456ab0
lea edi, [ecx + 0x28]
lea eax, [0x9ff68c]
call fcn.00456ab0
jmp 0x6ae546
mov dword [esp + 0x48], eax
lea eax, [0x970460]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
call fcn.00411120
mov ecx, dword [esp + 0x38]
lea edi, [ecx + 0x28]
mov eax, dword [esp + 0x48]
call fcn.00456ab0
jmp 0x6ae504
mov edx, dword [esp + 0x28]
sub edx, ebx
mov eax, edx
jmp 0x6ae4b5
cmp ebx, 0xa5164854
jne 0x6ae6af
lea ebp, [0xaa49b0]
cmp ebp, edx
jne 0x6ae78f
mov ecx, dword [esp + 0xb0]
jne 0x6ae6af
mov edx, dword [ecx + 4]
mov dword [esp + 0x28], edx
mov ebx, dword [ecx + 0xc]
cmp ebx, edx
xchg ebp, ebx
setae bl
xchg ebp, ebx
mov eax, dword [ecx + 0x10]
sar edx, 0x1f
cmp eax, edx
setg al
sete dl
and edx, ebp
or eax, edx
test al, al
je 0x6ae6a2
xor eax, eax
mov dword [edi + 0x2c], eax
sar eax, 0x1f
mov dword [edi + 0x30], eax
lea edi, [esp + 0x78]
mov esi, ecx
call fcn.00457254
lea ecx, [0x947220]
mov dword [esp], ecx
call fcn.0040af00
mov eax, dword [esp + 4]
lea ecx, [0x6d4810]
mov dword [eax], ecx
mov ecx, dword [0xe8ff30]
lea edi, [eax + 4]
test ecx, ecx
jne 0x6ae66f
lea esi, [esp + 0x78]
call fcn.00457254
mov ecx, dword [esp + 0x38]
mov dword [ecx + 0x28], eax
jmp 0x6ae504
mov dword [esp + 0x44], eax
lea eax, [0x96a8e0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
call fcn.00411120
mov ecx, dword [esp + 0x38]
lea edi, [ecx + 0x28]
mov eax, dword [esp + 0x44]
call fcn.00456ab0
jmp 0x6ae504
mov edx, dword [esp + 0x28]
sub edx, ebx
mov eax, edx
jmp 0x6ae61f
cmp ebx, 0xe763bb76
jne 0x6ae77e
lea ebx, [0xaa4950]
cmp ebx, edx
jne 0x6ae785
mov ecx, dword [esp + 0xb0]
jne 0x6ae77e
mov edx, dword [ecx + 4]
sub edx, dword [ecx + 0xc]
mov dword [edi + 0x2c], edx
sar edx, 0x1f
mov dword [edi + 0x30], edx
nop
mov edx, dword [ecx + 4]
mov ebx, dword [ecx]
mov ebp, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
cmp esi, edx
ja 0x6ae9d9
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x2c], ebp
lea eax, [0x946ce0]
mov dword [esp], eax
call fcn.0040af00
mov eax, dword [esp + 4]
lea ecx, [0x6d4730]
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
sub ecx, edx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2c]
sub ecx, edx
mov dword [eax + 0xc], ecx
mov ebx, dword [0xe8ff30]
neg ecx
sar ecx, 0x1f
and edx, ecx
mov ecx, dword [esp + 0x40]
add ecx, edx
test ebx, ebx
jne 0x6ae75f
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [ecx + 0x28], eax
jmp 0x6ae504
lea edi, [eax + 4]
mov edx, eax
mov eax, ecx
call fcn.00456ab0
mov ecx, dword [esp + 0x38]
lea edi, [ecx + 0x28]
mov eax, edx
call fcn.00456ab0
jmp 0x6ae504
mov ecx, edi
jmp 0x6ae504
mov ecx, 0
jmp 0x6ae6d0
mov ecx, 0
jmp 0x6ae5ea
mov ecx, 0
jmp 0x6ae480
mov eax, ebp
jmp 0x6ae5c9
mov eax, ebp
jmp 0x6ae77e
mov ecx, edi
jmp 0x6ae546
lea edx, [edi + 0x44]
mov ecx, edi
mov edi, edx
call fcn.00456ab0
mov edi, ecx
jmp 0x6ae43d
mov eax, edi
mov edi, ebp
mov ecx, eax
mov eax, dword [esp + 0x3c]
call fcn.00456ab0
mov edi, ecx
jmp 0x6ae423
lea ebx, [edi + 0x1c]
mov eax, edi
mov edi, ebx
mov ecx, eax
mov eax, dword [esp + 0x50]
call fcn.00456ab0
mov edi, ecx
jmp 0x6ae404
lea ebx, [edi + 0xc]
mov eax, edi
mov edi, ebx
mov ecx, eax
lea eax, [0x9cf592]
call fcn.00456ab0
mov edi, ecx
jmp 0x6ae3e1
mov eax, dword [esp + 0x34]
call fcn.00456ab0
lea ebx, [edi + 8]
mov eax, edi
mov edi, ebx
mov ecx, eax
mov eax, dword [esp + 0x30]
call fcn.00456ab0
mov edx, eax
mov edi, ecx
jmp 0x6ae3c3
lea edx, [edi + 0x7c]
mov eax, edi
mov edi, edx
mov ecx, eax
mov eax, dword [esp + 0x98]
call fcn.00456ab0
mov edi, ecx
jmp 0x6ae3a1
lea edi, [edx + 0x14]
mov eax, ecx
call fcn.00456ab0
jmp 0x6ae361
mov ecx, dword [esp + 0xac]
test ecx, ecx
je 0x6ae323
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x58], eax
lea edx, [0xaa9a10]
mov dword [esp], edx
lea edx, [esp + 0x54]
mov dword [esp + 4], edx
call fcn.00408900
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
jmp 0x6ae323
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], ebx
add esp, 0x90
ret
lea eax, [0x94a0a0]
mov dword [esp], eax
call fcn.0040af00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x15
lea ecx, [0x9da79f]
mov dword [eax], ecx
mov dword [esp + 0xb4], 0
lea ecx, [0xaa4cf0]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add esp, 0x90
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00408790
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea ecx, [0x92c840]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
lea eax, [0x9df742]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004d7200
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
add esp, 0x90
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x9ff718]
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.00543890
cmp dword [esp + 0x10], 0xffffffff
sete dl
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
jmp 0x6ae29c
mov ecx, dword [esp + 0x9c]
jmp 0x6ae28a
mov eax, esi
mov ecx, edx
call fcn.00456b90
nop
call fcn.00455270
jmp fcn.006ae250