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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
movaps xmm5, xmm3
push esi
push edi
mov edi, edx
movss dword [esp + 0x14], xmm5
movss xmm3, dword [ebx + 0x14]
movaps xmm2, xmm3
mov dword [esp + 0x18], ecx
movaps xmm1, xmm2
mov eax, dword [edi + 0x34]
push dword [eax + 4]
push dword [eax]
call fcn.005a7d4d
mov edx, dword [edi]
lea esi, [ebx + 0xc]
add esp, 8
movss dword [edi + 0x14], xmm0
mov dword [esp + 0x10], esi
xorps xmm6, xmm6
test dl, 8
je 0x59f7b7
mov eax, dword [ebx + 0x34]
xorps xmm3, xmm3
movss xmm2, dword [esi]
movaps xmm1, xmm0
push dword [eax + 0x7c]
push dword [eax + 0x78]
call fcn.005a7d4d
add esp, 8
jmp 0x59f7be
xorps xmm0, xmm0
mov dword [esp + 0x10], esi
mov eax, dword [ebx + 0x34]
and dl, 0x30
movss dword [esp + 0xc], xmm0
mov esi, dword [eax + 0x80]
shr esi, 5
and esi, 3
mov dword [esp + 0x24], esi
cmp dl, 0x10
jne 0x59f7f2
test esi, esi
jne 0x59f7e6
inc esi
jmp 0x59f7ee
xor eax, eax
cmp esi, 1
cmove esi, eax
mov dword [esp + 0x24], esi
cmp dword [edi + 0x24], 0
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
movss xmm0, dword [ebx + 0x10]
mov eax, dword [esp + 0x10]
movss dword [edi + 8], xmm0
mov eax, dword [eax]
mov dword [edi + 0xc], eax
movss dword [edi + 0x10], xmm0
je 0x59fb46
mov edx, dword [edi + 0x1c]
test edx, edx
je 0x59f828
push edi
call fcn.0059f6f8
pop ecx
mov ebx, dword [edi + 0x24]
test ebx, ebx
je 0x59fa4d
mov esi, dword [ebp + 8]
mov dword [esp + 0x2c], 0x60
and dword [ebx], 0xffffffef
mov eax, dword [ebx]
and eax, 7
cmp al, 3
jne 0x59fa26
movss xmm0, dword [0xed0468]
movaps xmm3, xmm6
movaps xmm4, xmm6
movss dword [esp + 0x28], xmm0
movaps xmm7, xmm0
mov eax, edi
mov ecx, dword [eax]
and ecx, 7
je 0x59f87d
cmp ecx, 3
je 0x59f87d
cmp ecx, 4
je 0x59f87d
cmp ecx, 5
jne 0x59f8c9
movss xmm1, dword [eax + 0x48]
addss xmm1, dword [eax + 0x38]
movss xmm0, dword [eax + 0x50]
addss xmm0, dword [eax + 0x40]
addss xmm1, dword [eax + 0x58]
addss xmm0, dword [eax + 0x60]
addss xmm4, xmm1
movss xmm1, dword [eax + 0x54]
addss xmm1, dword [eax + 0x44]
addss xmm4, xmm0
movss xmm0, dword [eax + 0x4c]
addss xmm1, dword [eax + 0x64]
addss xmm0, dword [eax + 0x3c]
addss xmm3, xmm1
addss xmm0, dword [eax + 0x5c]
addss xmm3, xmm0
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x59f867
mov eax, dword [esp + 0x10]
movaps xmm2, xmm5
mov ecx, dword [ebx + 0x20]
subss xmm2, xmm4
push 0x60
movss xmm0, dword [eax]
imul eax, dword [ecx + 0xc], 0x48
subss xmm0, xmm3
movss dword [esp + 0x34], xmm2
cdq
idiv dword [esp + 0x30]
movss dword [esp + 0x38], xmm0
movd xmm4, eax
cvtdq2ps xmm4, xmm4
movss dword [ebx + 0x10], xmm4
movaps xmm0, xmm4
imul eax, dword [ecx + 0x10], 0x48
pop ecx
cdq
idiv ecx
mov ecx, dword [ebx + 0x18]
movd xmm5, eax
cvtdq2ps xmm5, xmm5
divss xmm0, xmm5
movss dword [ebx + 0x14], xmm5
mov edx, dword [ecx + 0x34]
movss dword [esp + 0x20], xmm0
cmp dword [edx + 0xc], 0x61
je 0x59f96e
mov eax, dword [esp + 0x10]
push dword [edx + 0xc]
movss xmm1, dword [esi + 0x14]
push dword [edx + 8]
movss xmm2, dword [eax]
subss xmm2, xmm3
movaps xmm3, xmm4
call fcn.005a7d4d
movss xmm2, dword [esp + 0x38]
movaps xmm4, xmm0
add esp, 8
movss dword [ebx + 0x10], xmm4
movss dword [esp + 0x1c], xmm0
jmp 0x59f974
movss dword [esp + 0x1c], xmm4
mov eax, dword [ecx + 0x34]
cmp dword [eax + 0x14], 0x61
je 0x59f99b
push dword [eax + 0x14]
movss xmm1, dword [esi + 0x14]
movaps xmm3, xmm5
push dword [eax + 0x10]
call fcn.005a7d4d
movaps xmm5, xmm0
add esp, 8
movss dword [ebx + 0x14], xmm5
mov eax, dword [ecx + 0x34]
movss xmm0, dword [esp + 0x1c]
movss xmm1, dword [esp + 0x20]
cmp dword [eax + 0xc], 0x61
jne 0x59f9c5
cmp dword [eax + 0x14], 0x61
je 0x59f9c5
movaps xmm4, xmm5
mulss xmm4, xmm1
movss dword [ebx + 0x10], xmm4
movaps xmm0, xmm4
mov eax, dword [ecx + 0x34]
cmp dword [eax + 0xc], 0x61
je 0x59f9de
cmp dword [eax + 0x14], 0x61
jne 0x59f9de
movaps xmm5, xmm0
movaps xmm4, xmm0
divss xmm5, xmm1
movss xmm0, dword [esp + 0x34]
comiss xmm0, xmm6
jbe 0x59f9f5
comiss xmm4, xmm0
jbe 0x59f9f5
movaps xmm7, xmm0
divss xmm7, xmm4
comiss xmm2, xmm6
jbe 0x59fa08
comiss xmm5, xmm2
jbe 0x59fa08
movaps xmm0, xmm2
divss xmm0, xmm5
jmp 0x59fa0e
movss xmm0, dword [esp + 0x28]
minss xmm7, xmm0
mulss xmm4, xmm7
mulss xmm5, xmm7
movss dword [ebx + 0x10], xmm4
movss dword [ebx + 0x14], xmm5
jmp 0x59fa38
push dword [ebp + 0xc]
mov ecx, dword [esp + 0x1c]
mov edx, ebx
call fcn.0059f221
pop ecx
xorps xmm6, xmm6
mov ebx, dword [ebx + 0x1c]
movss xmm5, dword [esp + 0x14]
test ebx, ebx
jne 0x59f83e
mov esi, dword [esp + 0x24]
mov ecx, dword [edi + 0x24]
xor ebx, ebx
movss xmm0, dword [esp + 0xc]
movaps xmm4, xmm6
mov dword [esp + 0x24], ecx
movaps xmm1, xmm0
test ecx, ecx
je 0x59fb46
mov edx, dword [ecx]
and edx, 7
mov eax, edx
sub eax, 0
je 0x59fa9b
sub eax, 1
je 0x59fb4d
sub eax, 1
je 0x59faa5
sub eax, 1
je 0x59fa9b
sub eax, 1
je 0x59fb4d
sub eax, 1
je 0x59fb4d
movss xmm3, dword [ecx + 0x10]
jmp 0x59fb86
mov ebx, ecx
movaps xmm4, xmm1
or dword [ebx], 0x10
mov eax, dword [ebx]
and al, 7
cmp al, 2
mov eax, esi
jne 0x59fabf
xor ecx, ecx
cmp esi, 3
cmove eax, ecx
push dword [ebx + 0x1c]
movss xmm3, dword [edi + 0xc]
movaps xmm2, xmm5
push dword [esp + 0x28]
mov edx, edi
push ecx
movss dword [esp], xmm0
push eax
push ecx
mov ecx, dword [esp + 0x2c]
movss dword [esp], xmm4
call fcn.0059f5a3
mov ecx, dword [ebx + 0x1c]
xorps xmm0, xmm0
mov eax, ecx
movss dword [esp + 0x20], xmm0
add esp, 0x14
mov dword [esp + 0x24], eax
xor ebx, ebx
xorps xmm6, xmm6
xorps xmm4, xmm4
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x14]
test ecx, ecx
jne 0x59fa6a
test eax, eax
je 0x59fb46
movss xmm3, dword [edi + 0xc]
movaps xmm2, xmm5
push 0
push eax
xor eax, eax
mov edx, edi
push ecx
cmp esi, 3
movss dword [esp], xmm0
cmove esi, eax
push esi
push ecx
mov ecx, dword [esp + 0x2c]
movss dword [esp], xmm1
call fcn.0059f5a3
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movaps xmm2, xmm6
movaps xmm3, xmm6
cmp edx, 1
jne 0x59fb5f
movss xmm3, dword [ecx + 0x10]
jmp 0x59fb69
cmp edx, 5
jne 0x59fb69
movss xmm2, dword [ecx + 0x10]
movss xmm0, dword [edi + 0xc]
addss xmm2, xmm1
comiss xmm0, xmm2
jae 0x59fb7b
test ebx, ebx
jne 0x59fb80
mov ebx, ecx
movaps xmm4, xmm2
movss xmm0, dword [esp + 0xc]
cmp edx, 2
je 0x59faaa
addss xmm1, xmm3
comiss xmm1, dword [edi + 0xc]
jbe 0x59fba1
test ebx, ebx
jne 0x59faaa
mov ecx, dword [ecx + 0x1c]
mov eax, dword [esp + 0x24]
jmp 0x59fb06