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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x374
mov eax, dword [0x6540f630]
xor eax, esp
mov dword [esp + 0x370], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0x44], ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x18], edi
sub ecx, 1
je 0x65070b58
sub ecx, 1
je 0x65070b36
sub ecx, 1
jne 0x65070b36
lea eax, [esp + 0x30]
mov ecx, edx
push eax
call dword [0x652b33b8]
mov esi, eax
push 0
push 6
mov ecx, esi
call dword [0x652b33c8]
test al, al
je 0x65070a28
push esi
lea ecx, [esp + 0x24]
call dword [0x652b36fc]
jmp 0x65070a39
push 0
push 6
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call dword [0x652b33cc]
mov edi, dword [0x652b3a70]
lea ecx, [esp + 0x30]
call edi
mov ecx, dword [esp + 0x18]
push 0xc
push 0
add ecx, 0x24
call dword [0x652b32fc]
sub esp, 8
mov ecx, dword [eax]
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x70]
movq xmm0, qword [eax + 4]
movq qword [esp + 0x74], xmm0
mov ax, word [eax + 0xc]
movsd xmm0, qword [0x652c6758]
mov word [esp + 0x7c], ax
movsd qword [esp], xmm0
call dword [0x652b3aac]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
call dword [0x652b39bc]
push 9
lea ecx, [esp + 0x18]
call dword [0x652b39a8]
lea ecx, [esp + 0x20]
call dword [0x652b33d8]
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
mov esi, eax
mov dword [esp + 0x34], 0
call dword [0x652b33dc]
dec eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], eax
lea eax, [esi - 1]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x34]
push eax
call dword [0x652b3964]
lea ecx, [esp + 0x14]
call dword [0x652b39b0]
push ecx
mov eax, esp
mov dword [eax], 0
lea eax, [esp + 0x24]
push eax
push ebx
call dword [0x652b3444]
add esp, 0xc
lea ecx, [esp + 0x14]
call dword [0x652b39b8]
lea ecx, [esp + 0x20]
call edi
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x370]
xor ecx, esp
call fcn.652ae9bb
mov esp, ebp
pop ebp
ret 0x10
push edx
mov ecx, ebx
call dword [0x652b3a5c]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x370]
xor ecx, esp
call fcn.652ae9bb
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0x30]
mov ecx, edx
push eax
call dword [0x652b33b8]
mov esi, eax
push 0
push 5
mov ecx, esi
call dword [0x652b33c8]
test al, al
je 0x65070b84
push esi
lea ecx, [esp + 0x24]
call dword [0x652b36fc]
jmp 0x65070b95
push 0
push 5
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call dword [0x652b33cc]
lea ecx, [esp + 0x30]
call dword [0x652b3a70]
push 0xa
push 1
lea ecx, [edi + 0x24]
call dword [0x652b32fc]
mov ecx, dword [eax]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x68]
movq xmm0, qword [eax + 4]
movq qword [esp + 0x6c], xmm0
mov ax, word [eax + 0xc]
mov word [esp + 0x74], ax
call dword [0x652b340c]
mov esi, eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x14], esi
movd xmm0, esi
pshufd xmm0, xmm0, 0
movaps xmmword [esp + 0x30], xmm0
call dword [0x652b3408]
mov edi, eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x1c], edi
movd xmm0, edi
pshufd xmm0, xmm0, 0
movups xmmword [esp + 0x50], xmm0
call dword [0x652b3404]
mov ebx, eax
xor edx, edx
cmp dword [0x6541545c], 2
mov dword [esp + 0x18], ebx
movd xmm0, ebx
pshufd xmm7, xmm0, 0
jl 0x65070da0
movaps xmm3, xmmword [0x652c6820]
mov eax, 1
movaps xmm5, xmmword [esp + 0x30]
xor ecx, ecx
movups xmm6, xmmword [esp + 0x50]
movd xmm4, eax
mov eax, 8
movd xmm2, eax
nop
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm1, xmm0, 0
paddd xmm1, xmm3
pslld xmm1, xmm4
movaps xmm0, xmm1
pmulld xmm0, xmm5
psrad xmm0, xmm2
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm0, xmm0, 0xd8
pand xmm0, xmmword [0x652c6830]
packuswb xmm0, xmm0
movd dword [esp + ecx + 0x78], xmm0
movaps xmm0, xmm1
pmulld xmm0, xmm6
psrad xmm0, xmm2
pmulld xmm1, xmm7
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm0, xmm0, 0xd8
pand xmm0, xmmword [0x652c6830]
packuswb xmm0, xmm0
movd dword [esp + ecx + 0x178], xmm0
psrad xmm1, xmm2
pshuflw xmm0, xmm1, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm0, xmm0, 0xd8
pand xmm0, xmmword [0x652c6830]
packuswb xmm0, xmm0
movd dword [esp + ecx + 0x278], xmm0
movd xmm0, eax
pshufd xmm1, xmm0, 0
paddd xmm1, xmm3
pslld xmm1, xmm4
movaps xmm0, xmm1
pmulld xmm0, xmm5
psrad xmm0, xmm2
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm0, xmm0, 0xd8
pand xmm0, xmmword [0x652c6830]
packuswb xmm0, xmm0
movd dword [esp + ecx + 0x7c], xmm0
movaps xmm0, xmm1
pmulld xmm0, xmm6
psrad xmm0, xmm2
pmulld xmm1, xmm7
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm0, xmm0, 0xd8
pand xmm0, xmmword [0x652c6830]
packuswb xmm0, xmm0
movd dword [esp + ecx + 0x17c], xmm0
psrad xmm1, xmm2
pshuflw xmm0, xmm1, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm0, xmm0, 0xd8
pand xmm0, xmmword [0x652c6830]
packuswb xmm0, xmm0
movd dword [esp + ecx + 0x27c], xmm0
add ecx, 8
cmp ecx, 0x80
jl 0x65070c50
jmp 0x65070dd4
lea ecx, [edx + edx]
mov eax, ecx
imul eax, esi
sar eax, 8
mov byte [esp + edx + 0x78], al
mov eax, ecx
imul eax, edi
imul ecx, ebx
sar eax, 8
sar ecx, 8
mov byte [esp + edx + 0x178], al
mov byte [esp + edx + 0x278], cl
inc edx
cmp edx, 0x80
jl 0x65070da0
mov eax, dword [esp + 0x14]
xor esi, esi
sub eax, edi
mov ebx, edi
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
sub eax, edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x48], eax
mov eax, 0xff
lea ecx, [edi + ebx]
mov edx, eax
movzx eax, cl
cmp ecx, edx
cmovl edx, eax
movzx eax, bl
mov byte [esp + esi + 0xf8], dl
mov edx, 0xff
mov ecx, edx
cmp ebx, ecx
cmovl ecx, eax
mov byte [esp + esi + 0x1f8], cl
mov ecx, dword [esp + 0x48]
add ecx, ebx
cmp ecx, edx
movzx eax, cl
cmovl edx, eax
add ebx, 2
mov byte [esp + esi + 0x2f8], dl
inc esi
cmp esi, 0x80
jl 0x65070df0
mov edi, dword [esp + 0x1c]
imul eax, dword [esp + 0x14], 0x4d
mov ebx, dword [esp + 0x18]
imul ecx, edi, 0x96
add ecx, eax
lea eax, [ebx*8]
sub eax, ebx
lea ecx, [ecx + eax*4]
mov eax, 0x80808081
mul ecx
mov eax, dword [esp + 0x14]
mov esi, edx
shr esi, 7
mov dword [esp + 0x18], esi
lea ecx, [eax - 0xbf]
cmp ecx, edi
jle 0x65070e83
cmp ecx, ebx
jg 0x65070e9f
lea ecx, [edi - 0xbf]
cmp ecx, eax
jle 0x65070e91
cmp ecx, ebx
jg 0x65070e9f
add ebx, 0xffffff41
cmp ebx, eax
jle 0x65070eb7
cmp ebx, edi
jle 0x65070eb7
lea eax, [esi + 0x5b]
mov ecx, eax
cmp eax, 0xff
mov eax, 0xff
cmovg ecx, eax
mov dword [esp + 0x18], ecx
jmp 0x65070ec6
cmp esi, 0x80
jg 0x65070ec6
sub esi, 0x33
mov dword [esp + 0x18], esi
xor ebx, ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], ebx
call dword [0x652b33d8]
test eax, eax
jle 0x65070fa1
nop
push ebx
lea ecx, [esp + 0x24]
call dword [0x652b33d4]
lea ecx, [esp + 0x20]
mov esi, eax
xor edi, edi
call dword [0x652b33dc]
test eax, eax
jle 0x65070f8a
mov eax, 0x55555556
imul dword [esp + 0x18]
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x1c], eax
mov ebx, dword [esi]
lea esi, [esi + 4]
mov eax, ebx
inc edi
shr eax, 0x10
movzx eax, al
imul ecx, eax, 0xb
mov eax, ebx
shr eax, 8
movzx eax, al
shl eax, 4
add ecx, eax
movzx eax, bl
and ebx, 0xff000000
lea eax, [eax + eax*4]
add ecx, eax
mov eax, 0xaaaaaaab
shr ecx, 5
mul ecx
shr edx, 1
sub edx, dword [esp + 0x1c]
movzx ecx, byte [esp + edx + 0xfa]
movzx eax, byte [esp + edx + 0x1fa]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + edx + 0x2fa]
shl ecx, 8
or ecx, eax
or ecx, ebx
mov dword [esi - 4], ecx
lea ecx, [esp + 0x20]
call dword [0x652b33dc]
cmp edi, eax
jl 0x65070f15
mov ebx, dword [esp + 0x14]
inc ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], ebx
call dword [0x652b33d8]
cmp ebx, eax
jl 0x65070ee0
mov esi, dword [esp + 0x4c]
push ecx
mov eax, esp
mov dword [eax], 0
lea eax, [esp + 0x24]
push eax
push esi
call dword [0x652b3444]
add esp, 0xc
lea ecx, [esp + 0x20]
call dword [0x652b3a70]
mov ecx, dword [esp + 0x37c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.652ae9bb
mov esp, ebp
pop ebp
ret 0x10