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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x64ae6a46
sub esp, 0x74
mov ebx, dword [esp + 0x78]
test byte [ebx], al
mov ebp, dword [esp + 0x80]
shl ebp, 0xd
mov eax, dword [esp + 0x7c]
lea ebp, [ebp + eax - 1]
mov dword [esp + 0x38], ebp
nop
nop
mov esi, eax
shr eax, 0x16
mov dword [esp + 0x4c], eax
mov edi, ebp
shr ebp, 0x16
cmp ebp, eax
je 0x64ae66f5
mov dword [esp + 0x5c], ebp
mov ecx, edi
movzx edi, byte [esp + 0x84]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x64ae6636
mov edi, dword [ebx + 0x24]
mov dword [esp + 0x68], edi
mov edx, esi
mov esi, dword [ebx + 0x28]
mov dword [esp + 0x24], esi
jmp 0x64ae69fd
mov edx, dword [ebx + 0x30]
test byte [edx], al
mov edi, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x28]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x6c], edi
shl eax, 7
add eax, edx
mov dword [esp], eax
call fcn.64ae97d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x4c]
cmp edx, ebx
jbe 0x64ae69c9
mov ebp, dword [esp + 0x6c]
lea esi, [ebp + ebx*8 + 4]
mov dword [esi], eax
lea esi, [ebp + ebx*8]
mov dword [esi], ecx
mov esi, dword [esp + 0x78]
mov edi, dword [esi + 0x2c]
mov eax, ebp
mov ebp, dword [esi + 0x24]
mov ecx, dword [esp + 0x5c]
cmp edi, ecx
jb 0x64ae69c2
lea edx, [ebx + 1]
cmp ecx, edx
jb 0x64ae69bb
sub edi, ebx
dec edi
xchg edi, ebx
neg ebx
xchg edi, ebx
shl edx, 3
sar edi, 0x1f
and edi, edx
lea edx, [edi + ebp]
mov ebp, ecx
sub ecx, ebx
dec ecx
movzx ebx, byte [esp + 0x85]
test bl, bl
jne 0x64ae66cd
xor ebx, ebx
jmp 0x64ae69ae
test ecx, ecx
je 0x64ae6952
mov dword [esp], edx
shl ecx, 3
mov dword [esp + 4], ecx
call fcn.64b1bd40
mov eax, dword [esp + 0x6c]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x78]
jmp 0x64ae6952
mov ecx, dword [ebx + 0x28]
mov edx, dword [ebx + 0x24]
cmp ecx, eax
jbe 0x64ae694d
mov ecx, dword [ebx + 0x30]
test byte [ecx], al
lea edx, [edx + eax*8]
mov ebp, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ebp
shl eax, 7
add eax, ecx
mov dword [esp], eax
call fcn.64ae97d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
sete cl
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x20]
cmp edx, ebx
sete bl
and ebx, ecx
test bl, bl
jne 0x64ae676a
mov ebx, dword [esp + 0x78]
mov ebp, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x28]
mov esi, dword [esp + 0x4c]
cmp ecx, esi
jbe 0x64ae6946
lea edi, [ebp + esi*8 + 4]
mov dword [edi], edx
lea ebp, [ebp + esi*8]
mov dword [ebp], eax
jmp 0x64ae676e
add esp, 0x74
ret
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x38]
mov eax, 2
mov ecx, 1
jmp 0x64ae6794
dec eax
mov ebp, dword [esp + 0x7c]
movzx edi, byte [esp + 0x1b]
mov ebx, ecx
mov esi, dword [esp + 0x38]
mov ecx, edi
test eax, eax
jl 0x64ae680b
test cl, cl
je 0x64ae680b
lea edi, [eax + 1]
cmp edi, 4
jae 0x64ae693a
lea edi, [0x64b476a0]
mov edi, dword [edi + eax*4 + 4]
lea ebx, [0x64b476b0]
mov ebx, dword [ebx + eax*4 + 4]
nop
cmp eax, 4
jae 0x64ae6930
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov edx, ebx
lea ebx, [0x64b476c0]
mov ebx, dword [ebx + eax*4]
cmp ebx, 0x20
sbb edi, edi
mov ecx, ebx
shr ebp, cl
and ebp, edi
mov ebx, esi
shr esi, cl
and esi, edi
inc esi
mov dword [esp + 0x44], esi
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x60], eax
xor eax, eax
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0x60]
jmp 0x64ae6831
add esp, 0x74
ret
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x50]
mov edx, ebx
mov ebx, dword [esp + 0x38]
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0x3c]
cmp ebp, esi
jge 0x64ae6782
mov dword [esp + 0x40], ebp
cmp edi, 0x20
sbb ebx, ebx
mov dword [esp + 0x58], ebx
lea esi, [eax + eax*2]
mov dword [esp + 0x54], esi
mov ebx, dword [ecx + esi*4 + 0xc]
mov dword [esp + 0x70], ebx
mov esi, dword [ecx + esi*4 + 0x14]
mov ecx, edi
shl ebp, cl
mov ebx, dword [esp + 0x58]
and ebp, ebx
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0x40]
inc ebp
mov dword [esp + 0x50], ebp
shl ebp, cl
and ebp, ebx
cmp esi, ebp
jb 0x64ae6927
mov ebx, dword [esp + 0x58]
cmp ebp, ebx
jb 0x64ae691e
sub esi, ebx
mov eax, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
mov ecx, ebx
shl ebx, 3
sar esi, 0x1f
and esi, ebx
mov ebx, dword [esp + 0x70]
add ebx, esi
mov dword [esp], ebx
sub ebp, ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.64ae7f60
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + eax*4 + 4]
mov eax, dword [ecx + eax*4]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x40]
cmp esi, edx
jae 0x64ae6915
mov dword [esp + 0x2c], ebp
lea edi, [eax + esi*8]
cmp dword [edi + 4], ebx
mov edx, ebx
setne bl
cmp dword [edi], ebp
xchg ebp, ebx
setne bl
xchg ebp, ebx
or ebx, ebp
test bl, bl
je 0x64ae690b
lea ebx, [eax + esi*8 + 4]
mov dword [ebx], edx
mov ebx, dword [esp + 0x2c]
mov dword [edi], ebx
mov eax, 1
jmp 0x64ae680f
movzx eax, byte [esp + 0x1b]
jmp 0x64ae680f
mov eax, esi
mov ecx, edx
call fcn.64b1b6e0
mov eax, ebx
mov ecx, ebp
call fcn.64b1b740
mov ecx, ebp
mov edx, esi
call fcn.64b1b720
mov ecx, 4
call fcn.64b1b6e0
mov eax, edi
mov ecx, 4
call fcn.64b1b6e0
mov eax, esi
call fcn.64b1b6f0
call fcn.64b1b6f0
mov ecx, dword [esi + 0x30]
test byte [ecx], al
shl ebp, 7
add ecx, ebp
mov dword [esp], ecx
call fcn.64ae97d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x5c]
cmp edx, ebx
jbe 0x64ae6991
mov ebp, dword [esp + 0x6c]
lea esi, [ebp + ebx*8 + 4]
mov dword [esi], eax
lea ebx, [ebp + ebx*8]
mov dword [ebx], ecx
mov ebx, dword [esp + 0x78]
jmp 0x64ae676e
mov eax, ebx
mov ecx, edx
call fcn.64b1b6f0
lea edi, [edx + ebx*8]
mov dword [edi], 0x8000200
lea edi, [edx + ebx*8 + 4]
mov dword [edi], 0x2000
inc ebx
cmp ebx, ecx
jge 0x64ae6952
jb 0x64ae699a
mov eax, ebx
call fcn.64b1b6e0
mov eax, edx
call fcn.64b1b750
mov edx, edi
call fcn.64b1b730
mov eax, ebx
mov ecx, edx
call fcn.64b1b6f0
mov edi, dword [esp + 0x68]
lea ebp, [edi + edx*8 + 4]
mov dword [ebp], eax
lea eax, [edi + edx*8]
mov dword [eax], ecx
lea eax, [edx + 1]
mov ebp, dword [esp + 0x5c]
mov ecx, dword [esp + 0x78]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x78]
mov esi, dword [esp + 0x24]
cmp eax, ebp
ja 0x64ae6988
mov edx, dword [ebx + 0x30]
test byte [edx], al
cmp eax, 0x400
jae 0x64ae6a3b
mov dword [esp + 0x48], eax
shl eax, 7
add eax, edx
mov dword [esp], eax
call fcn.64ae97d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x24]
cmp edx, ebx
jb 0x64ae69d2
mov eax, edx
mov ecx, ebx
call fcn.64b1b6f0
mov ecx, 0x400
call fcn.64b1b6f0
nop
call fcn.64b1a240
jmp fcn.64ae65c0