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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov cl, byte [ebp + 0x18]
push esi
xor esi, esi
and cl, 0xf0
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], esi
mov byte [esp + 0x13], cl
je 0x5664e1
movss xmm0, dword [ebp + 0x10]
lea eax, [esp + 0x30]
push eax
push ecx
movss dword [esp], xmm0
lea eax, [esp + 0x2c]
push dword [ebp + 0xc]
push eax
lea eax, [esp + 0x28]
push eax
push edi
call fcn.005669a0
mov cl, byte [esp + 0x2b]
mov esi, eax
mov eax, dword [esp + 0x3c]
add esp, 0x18
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
jmp 0x5664e7
xor eax, eax
mov dword [esp + 0xc], eax
movzx edx, byte [ebp + 0x18]
mov dword [esp + 0x54], eax
mov eax, dword [edi]
add eax, 3
and eax, 0xfffffffc
mov dword [edi], eax
test dl, 1
je 0x566599
movss xmm5, dword [eax]
add eax, 4
mov dword [edi], eax
movss xmm7, dword [esp + 0x30]
movss xmm3, dword [esp + 0x30]
test dl, 2
je 0x5665bf
mov eax, dword [edi]
movss xmm0, dword [eax]
add eax, 4
mov dword [edi], eax
movss xmm1, dword [esp + 0x34]
movss xmm4, dword [esp + 0x34]
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x28], xmm1
test dl, 4
je 0x5665e7
mov eax, dword [edi]
movss xmm1, dword [eax]
add eax, 4
mov dword [edi], eax
movss xmm6, dword [esp + 0x38]
movss xmm2, dword [esp + 0x38]
movss dword [esp + 0x18], xmm1
test cl, cl
jne 0x56667a
mov esi, dword [ebp + 0x20]
mov eax, edx
not edx
and eax, 0xf
mov ecx, edx
mov dword [esp + 0xc], eax
sar ecx, 4
and ecx, edx
mov edx, dword [ebp + 0x24]
and ecx, 0xf
test al, 1
je 0x56660f
movss dword [edx], xmm5
jmp 0x56661c
movss xmm5, dword [esp + 0x30]
test dl, 0x10
je 0x56650b
movss xmm3, dword [eax]
add eax, 4
mov dword [edi], eax
movss xmm7, dword [eax]
add eax, 4
mov dword [edi], eax
jmp 0x566517
movss xmm0, dword [esp + 0x34]
test dl, 0x20
je 0x56652b
mov eax, dword [edi]
movss xmm4, dword [eax]
add eax, 4
mov dword [edi], eax
movss xmm1, dword [eax]
add eax, 4
mov dword [edi], eax
jmp 0x566537
movss xmm1, dword [esp + 0x38]
test dl, 0x40
je 0x566557
mov eax, dword [edi]
movss xmm2, dword [eax]
add eax, 4
mov dword [edi], eax
movss xmm6, dword [eax]
add eax, 4
mov dword [edi], eax
jmp 0x566563
test cl, 1
je 0x56661c
mov eax, dword [esi]
mov dword [edx], eax
mov eax, dword [esp + 0xc]
test al, 2
je 0x566627
movss dword [edx + 4], xmm0
jmp 0x566636
test cl, 2
je 0x566636
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov eax, dword [esp + 0xc]
test al, 4
je 0x566641
movss dword [edx + 8], xmm1
jmp 0x566650
test cl, 4
je 0x566650
mov eax, dword [esi + 8]
mov dword [edx + 8], eax
mov eax, dword [esp + 0xc]
test al, 8
je 0x566665
movss xmm0, dword [esp + 0x3c]
movss dword [edx + 0xc], xmm0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test cl, 8
je 0x5668c6
mov eax, dword [esi + 0xc]
mov dword [edx + 0xc], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x1c]
mov ecx, dword [edi]
inc ecx
and ecx, 0xfffffffe
mov eax, dword [eax*4 + 0x78c780]
mov dword [esp + 0x58], eax
mov eax, edx
shr eax, 4
and eax, 7
mov dword [edi], ecx
mov eax, dword [eax*4 + 0x78c9e4]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xc]
sub esi, eax
imul esi, dword [esp + 0x58]
imul esi, dword [esp + 0x5c]
add esi, ecx
test eax, eax
js 0x566890
mov edi, dword [ebp + 0x20]
mov eax, edx
and eax, 0x10
mov ecx, edx
mov dword [esp + 0x60], eax
and ecx, 0xf
mov eax, edx
mov dword [esp + 0x24], ecx
and eax, 0x20
and ecx, 1
mov dword [esp + 0x64], eax
mov eax, edx
and eax, 0x40
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], eax
lea ecx, [esp + 0x78]
not edx
mov eax, edx
sar eax, 4
and eax, edx
lea edx, [esp + 0x74]
and eax, 0xf
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0x50], eax
nop dword [eax]
cmp dword [esp + 0x60], 0
je 0x56675d
cmp dword [ebp + 0x1c], 0
movaps xmm1, xmm7
subss xmm1, xmm3
jne 0x56673b
mov al, byte [esi]
inc esi
movzx eax, al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x727dc8]
jmp 0x566750
movzx eax, word [esi]
add esi, 2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x77fe18]
mulss xmm1, xmm0
addss xmm1, xmm3
movss dword [edx - 4], xmm1
cmp dword [esp + 0x64], 0
je 0x5667ac
cmp dword [ebp + 0x1c], 0
movss xmm1, dword [esp + 0x28]
subss xmm1, xmm4
jne 0x56678b
mov al, byte [esi]
inc esi
movzx eax, al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x727dc8]
jmp 0x5667a0
movzx eax, word [esi]
add esi, 2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x77fe18]
mulss xmm1, xmm0
addss xmm1, xmm4
movss dword [edx], xmm1
cmp dword [esp + 0x68], 0
je 0x5667f9
cmp dword [ebp + 0x1c], 0
movaps xmm1, xmm6
subss xmm1, xmm2
jne 0x5667d7
mov al, byte [esi]
inc esi
movzx eax, al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x727dc8]
jmp 0x5667ec
movzx eax, word [esi]
add esi, 2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x77fe18]
mulss xmm1, xmm0
addss xmm1, xmm2
movss dword [edx + 4], xmm1
cmp dword [esp + 0x6c], 0
mov eax, dword [esp + 0x14]
je 0x56680b
movss dword [ecx - 8], xmm5
jmp 0x566818
test al, 1
je 0x566818
mov eax, dword [edi]
mov dword [ecx - 8], eax
mov eax, dword [esp + 0x14]
test byte [esp + 0x24], 2
je 0x56682c
movss xmm0, dword [esp + 0x2c]
movss dword [ecx - 4], xmm0
jmp 0x566836
test al, 2
je 0x566836
mov eax, dword [edi + 4]
mov dword [ecx - 4], eax
test byte [esp + 0x24], 4
mov eax, dword [esp + 0x14]
je 0x56684d
movss xmm1, dword [esp + 0x18]
movss dword [ecx], xmm1
jmp 0x56685a
test al, 4
je 0x56685a
mov eax, dword [edi + 8]
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
test byte [esp + 0x24], 8
je 0x56686e
movss xmm0, dword [esp + 0x3c]
movss dword [ecx + 4], xmm0
jmp 0x566878
test al, 8
je 0x566878
mov eax, dword [edi + 0xc]
mov dword [ecx + 4], eax
add edx, 0x10
add ecx, 0x10
sub dword [esp + 0x50], 1
jne 0x566710
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0xc]
push dword [ebp + 0x24]
movss xmm0, dword [ebp + 0x14]
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x38]
push ecx
push eax
mov eax, dword [eax*4 + 0x8756d0]
push ecx
movss dword [esp], xmm0
call eax
mov eax, dword [esp + 0x68]
add esp, 0x14
inc eax
imul eax, dword [esp + 0x58]
imul eax, dword [esp + 0x5c]
add dword [edi], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret