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

Disassembly:
push edi
lea edi, [esp + 8]
and esp, 0xfffffff0
push dword [edi - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7c
mov ebx, dword [edi]
mov eax, dword [edi + 4]
mov edx, dword [ebx + 0x5c]
cmp eax, 1
je 0x6647fc38
mov esi, ecx
cmp eax, 0xa
je 0x6647fd30
test eax, eax
je 0x6647fc58
xor eax, eax
xor edx, edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret 8
test byte [ebx + 0x54], 0x10
je 0x6647fc20
mov eax, dword [ebx + 0x40]
mov edx, dword [ebx + 0x44]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret 8
test byte [ebx + 0x54], 8
je 0x6647fc20
lea edi, [ebp - 0x38]
mov dword [ebp - 0x5c], edx
mov ecx, edi
call dword [0x66a20b54]
movzx eax, byte [ebp - 0x37]
lea ecx, [ebp - 0x4c]
mov dword [esp + 8], 0
and eax, 0xfffffff0
or eax, 1
mov byte [ebp - 0x37], al
lea eax, [ebx + 0x48]
mov dword [esp + 4], eax
lea eax, [ebx + 0x78]
mov dword [esp], eax
call dword [0x66a20b3c]
lea ecx, [ebp - 0x4c]
sub esp, 0xc
mov dword [esp], edi
call dword [0x66a20b1c]
mov eax, dword [ebx + 0x54]
mov ecx, dword [esi + 0x34]
mov edx, dword [ebp - 0x5c]
sub esp, 4
and eax, 1
mov dword [ebp - 0x60], eax
mov eax, dword [ecx]
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], 0x44
call dword [eax + 0x70]
mov ecx, dword [ebx + 0x10]
mov edx, eax
mov eax, dword [ebx + 0x14]
sub esp, 0xc
lea edx, [edx + edx + 2]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x64], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 0x3c]
cmp eax, 1
jbe 0x6647fd90
sub eax, 2
cmp eax, 1
ja 0x6647fed0
mov eax, dword [ebp - 0x60]
mov edx, 0x7fffff
test eax, eax
je 0x6647fde9
cmp ecx, dword [ebp - 0x64]
jg 0x6647fd26
mov edx, dword [ebp - 0x6c]
cmp dword [ebp - 0x68], edx
jge 0x6647fedd
mov edx, dword [ebx + 0x40]
jmp 0x6647fdb9
test byte [ebx + 0x54], 4
je 0x6647fc20
mov ecx, dword [ecx + 0x34]
mov dword [ebp - 0x5c], edx
mov eax, dword [ecx]
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], 0x26
call dword [eax + 0x70]
mov ecx, dword [esi + 0x34]
mov edx, dword [ebp - 0x5c]
mov edi, eax
sub esp, 0xc
mov eax, dword [ecx]
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], 0x25
call dword [eax + 0x70]
mov edx, edi
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret 8
mov edx, dword [ebp - 0x6c]
cmp dword [ebp - 0x68], edx
setge dl
cmp ecx, dword [ebp - 0x64]
setle al
test dl, al
je 0x6647fdad
cmp byte [ebp - 0x60], 0
jne 0x6647feed
mov edx, 0x7fffff
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x6647fde9
mov eax, dword [ebx + 0x54]
test al, 4
je 0x6647fde9
mov ecx, dword [esi + 0x34]
mov dword [ebp - 0x60], edx
mov eax, dword [ecx]
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], 0x25
call dword [eax + 0x70]
mov edx, dword [ebp - 0x60]
sub esp, 0xc
sub edx, eax
sub edx, dword [ebp - 0x5c]
mov dword [esp + 4], 0
mov ecx, edx
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x4c]
mov dword [esp], 0xffffffff
call fcn.6647b9d0
movsd xmm2, qword [ebp - 0x40]
movq xmm0, qword [0x6680f4a0]
movsd xmm3, qword [0x6680f498]
movapd xmm1, xmm2
movapd xmm4, xmm0
andpd xmm1, xmm0
ucomisd xmm3, xmm1
ja 0x6647fea0
movsd xmm4, qword [ebp - 0x48]
movapd xmm1, xmm4
andpd xmm1, xmm0
ucomisd xmm3, xmm1
ja 0x6647fe70
cvttsd2si edx, xmm2
lea ecx, [ebp - 0x4c]
cvttsd2si eax, xmm4
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
call dword [0x66a20b44]
mov ecx, edi
call dword [0x66a20b58]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x60]
jmp 0x6647fc24
addsd xmm1, xmm3
andnpd xmm0, xmm4
movsd xmm6, qword [0x6680f478]
subsd xmm1, xmm3
orpd xmm1, xmm0
cmpnlesd xmm4, xmm1
andpd xmm4, xmm6
addsd xmm1, xmm4
movapd xmm4, xmm1
orpd xmm4, xmm0
jmp 0x6647fe3f
addsd xmm1, xmm3
andnpd xmm4, xmm2
movsd xmm5, qword [0x6680f478]
subsd xmm1, xmm3
orpd xmm1, xmm4
cmpnlesd xmm2, xmm1
andpd xmm2, xmm5
addsd xmm2, xmm1
orpd xmm2, xmm4
jmp 0x6647fe2c
mov edx, dword [ebp - 0x64]
sub edx, ecx
add edx, 1
jmp 0x6647fdb2
mov edx, dword [ebp - 0x64]
sub edx, ecx
add edx, 1
sub edx, dword [ebp - 0x5c]
jmp 0x6647fdb9
mov edx, dword [ebp - 0x64]
mov eax, dword [ebx + 0x54]
sub edx, ecx
mov ecx, dword [ebp - 0x5c]
add edx, 1
sub edx, ecx
test al, 0x10
je 0x6647fdbc
add ecx, dword [ebx + 0x40]
sub edx, ecx
jmp 0x6647fdbc