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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x5aecce
sub esp, 0x84
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.005ae1f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x5ae6cd
mov ecx, dword [esp + 0x88]
jmp 0x5ae6f2
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x5ae6e3
mov ecx, dword [esp + 0x88]
mov dword [ecx + 0x20], eax
jmp 0x5ae6f2
mov ecx, dword [esp + 0x88]
lea edi, [ecx + 0x20]
call fcn.0045e5d0
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.005ae1f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x5ae719
mov ecx, dword [esp + 0x88]
jmp 0x5ae73e
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x5ae72f
mov ecx, dword [esp + 0x88]
mov dword [ecx + 0x1c], eax
jmp 0x5ae73e
mov ecx, dword [esp + 0x88]
lea edi, [ecx + 0x1c]
call fcn.0045e5d0
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [0x63c32a]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.004be2b0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x5ae795
mov ebx, dword [esp + 0x3c]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
jge 0x5aecb1
mov dword [esp + 0x3c], edx
lea ecx, [eax + edx*8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.004bf600
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004bede0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x5ae7e4
mov ecx, dword [esp + 0x88]
lea esi, [0x69fc30]
jmp 0x5ae786
cmp eax, 1
jne 0x5ae7f2
cmp byte [ecx], 0x2a
je 0x5aec0c
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], eax
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004ced70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x5ae8b7
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x28]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0x24]
mov esi, dword [ecx + 0x2c]
cmp esi, ebx
jae 0x5ae886
mov dword [esp + 0x4c], eax
lea eax, [0x614fe0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.004476d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x88]
mov dword [ebx + 0x2c], edx
mov edx, dword [0x816df0]
test edx, edx
jne 0x5ae874
mov dword [ebx + 0x24], eax
jmp 0x5ae87c
lea edi, [ebx + 0x24]
call fcn.0045e5d0
mov edx, ecx
mov ebp, eax
mov eax, dword [esp + 0x4c]
mov ecx, ebx
lea ebx, [edx + 1]
mov dword [ecx + 0x28], ebx
lea ebx, [ebp + edx*8]
lea esi, [0x69fc30]
mov dword [ebx], esi
mov ebx, dword [0x816df0]
lea edi, [ebp + edx*8 + 4]
test ebx, ebx
jne 0x5ae8ad
mov dword [edi], eax
jmp 0x5ae786
call fcn.0045e5d0
jmp 0x5ae786
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
call fcn.004d0010
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x48], ebx
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x30], ebp
test eax, eax
jne 0x5ae930
test ecx, ecx
jne 0x5ae901
mov ecx, dword [esp + 0x88]
lea esi, [0x69fc30]
jmp 0x5ae786
cmp byte [edx], 0x5b
jne 0x5ae92c
lea esi, [ecx + edx - 1]
cmp byte [esi], 0x5d
jne 0x5ae92c
lea esi, [ecx - 1]
cmp esi, 1
jb 0x5aecc1
add ecx, 0xfffffffe
mov eax, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
add edx, ecx
jmp 0x5ae938
mov eax, ecx
jmp 0x5ae938
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], edx
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.004cebb0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
jne 0x5aeb0d
mov edx, dword [esp + 0x2c]
test edx, edx
jne 0x5ae97a
mov ecx, dword [esp + 0x88]
lea esi, [0x69fc30]
jmp 0x5ae786
cmp edx, 2
jge 0x5ae983
xor eax, eax
jmp 0x5ae9aa
mov eax, dword [esp + 0x44]
mov dword [esp], eax
lea ecx, [0x63c35d]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.00402800
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x2c]
test al, al
je 0x5ae9c5
lea eax, [edx - 1]
mov ebx, eax
neg eax
sar eax, 0x1f
and eax, 1
mov ebp, dword [esp + 0x44]
lea edx, [ebp + eax]
jmp 0x5ae9cb
mov ebx, edx
mov edx, dword [esp + 0x44]
test ebx, ebx
jbe 0x5aecb8
movzx ecx, byte [edx]
cmp cl, 0x2e
je 0x5aea15
mov byte [esp + 0x27], cl
mov dword [esp], 0
lea eax, [0x63c32c]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.0044aa10
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
movzx eax, byte [esp + 0x27]
cmp al, 0x2e
lea edi, [esp + 0x5c]
mov eax, 0
call fcn.0045e87b
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ebx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x68], ecx
setne cl
mov byte [esp + 0x6c], cl
lea ecx, [0x69fc44]
mov dword [esp], ecx
lea edx, [esp + 0x5c]
mov dword [esp + 4], edx
call fcn.00409020
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x34]
mov eax, dword [esp + 0xc]
mov ebx, dword [ecx + 0x30]
mov ebp, dword [ecx + 0x38]
mov esi, dword [esp + 8]
mov edi, esi
lea esi, [edx + 1]
cmp ebp, esi
jae 0x5aeadf
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], edi
lea eax, [0x614fe0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
call fcn.004476d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x88]
mov dword [ebx + 0x38], edx
mov edx, dword [0x816df0]
test edx, edx
jne 0x5aeac4
mov dword [ebx + 0x30], eax
jmp 0x5aeacc
lea edi, [ebx + 0x30]
call fcn.0045e5d0
mov edi, dword [esp + 0x54]
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x88]
lea ebp, [edx + 1]
mov dword [ecx + 0x34], ebp
lea ebp, [ebx + edx*8]
mov dword [ebp], edi
mov ebp, dword [0x816df0]
lea edi, [ebx + edx*8 + 4]
test ebp, ebp
jne 0x5aeafd
mov dword [edi], eax
jmp 0x5aeb02
call fcn.0045e5d0
lea esi, [0x69fc30]
jmp 0x5ae786
mov dword [esp + 0x34], ecx
lea edi, [esp + 0x70]
mov ebx, eax
xor eax, eax
call fcn.0045e87b
mov dword [esp + 0x70], ebx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x80], ecx
lea ecx, [0x69fc58]
mov dword [esp], ecx
lea edx, [esp + 0x70]
mov dword [esp + 4], edx
call fcn.00409020
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x28]
mov eax, dword [esp + 0xc]
mov ebx, dword [ecx + 0x24]
mov ebp, dword [ecx + 0x2c]
mov esi, dword [esp + 8]
mov edi, esi
lea esi, [edx + 1]
cmp ebp, esi
jae 0x5aebde
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], eax
lea eax, [0x614fe0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
call fcn.004476d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x88]
mov dword [ebx + 0x2c], edx
mov edx, dword [0x816df0]
test edx, edx
jne 0x5aebc3
mov dword [ebx + 0x24], eax
jmp 0x5aebcb
lea edi, [ebx + 0x24]
call fcn.0045e5d0
mov edi, dword [esp + 0x58]
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x88]
lea ebp, [edx + 1]
mov dword [ecx + 0x28], ebp
lea ebp, [ebx + edx*8]
mov dword [ebp], edi
mov ebp, dword [0x816df0]
lea edi, [ebx + edx*8 + 4]
test ebp, ebp
jne 0x5aebfc
mov dword [edi], eax
jmp 0x5aec01
call fcn.0045e5d0
lea esi, [0x69fc30]
jmp 0x5ae786
lea eax, [0x609500]
mov dword [esp], eax
call fcn.0040b5f0
mov eax, dword [esp + 4]
lea ecx, [0x69fc1c]
mov dword [eax], ecx
lea edx, [0x816bf0]
mov dword [eax + 4], edx
mov ebx, dword [esp + 0x88]
mov dword [ebx + 0x28], 1
mov dword [ebx + 0x2c], 1
mov ebp, dword [0x816df0]
test ebp, ebp
jne 0x5aec53
mov dword [ebx + 0x24], eax
jmp 0x5aec5b
lea edi, [ebx + 0x24]
call fcn.0045e5d0
lea eax, [0x609500]
mov dword [esp], eax
call fcn.0040b5f0
mov eax, dword [esp + 4]
lea ecx, [0x69fc1c]
mov dword [eax], ecx
lea ecx, [0x816bf0]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x88]
mov dword [ecx + 0x34], 1
mov dword [ecx + 0x38], 1
mov edx, dword [0x816df0]
test edx, edx
jne 0x5aeca2
mov dword [ecx + 0x30], eax
jmp 0x5aecaa
lea edi, [ecx + 0x30]
call fcn.0045e5d0
add esp, 0x84
ret
add esp, 0x84
ret
xor eax, eax
mov ecx, ebx
call fcn.0045e650
mov eax, 1
mov ecx, esi
call fcn.0045e6b0
nop
call fcn.0045d190
jmp fcn.005ae680