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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [ebp + 0xc]
test eax, eax
push esi
push edi
jne 0x50dafb
mov ecx, dword [ebp + 0x10]
mov esi, dword [ecx]
mov eax, dword [ebp + 8]
mov edx, eax
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ecx + 8]
mov dword [edx + 8], esi
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 1
jne 0x50db48
movss xmm0, dword [ebx]
mov eax, dword [ebp + 8]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [ebx + 4]
mov ecx, dword [esp + 0x10]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [ebx + 8]
mov edx, eax
mov dword [edx], ecx
mov ecx, dword [esp + 0x14]
mov dword [edx + 4], ecx
movss dword [esp + 0x18], xmm0
mov ecx, dword [esp + 0x18]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x1c]
mov dword [edx + 0xc], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
movss xmm0, dword [0x738ac8]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [ebx]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [ebx + 4]
mov edx, dword [esp + 0x10]
movss dword [esp + 0x14], xmm0
mov ecx, dword [esp + 0x14]
movss xmm0, dword [ebx + 8]
lea esi, [ebx + 8]
movss dword [esp + 0x18], xmm0
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x1c]
xor edi, edi
test eax, eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
jle 0x50df17
jmp 0x50dbb0
movss xmm0, dword [esi - 8]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esi - 4]
mov edx, dword [esp + 0x80]
movss dword [esp + 0x84], xmm0
mov eax, dword [esp + 0x84]
movss xmm0, dword [esi]
mov dword [esp + 0xb4], eax
movss dword [esp + 0x88], xmm0
mov ecx, dword [esp + 0x88]
lea eax, [esp + 0xb0]
mov dword [esp + 0xb0], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0xb8], ecx
mov ecx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc0], edx
call fcn.0050bc00
movss xmm1, dword [esp + 0x4c]
comiss xmm1, xmm0
jbe 0x50dc75
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esi - 8]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esi - 4]
mov ecx, dword [esp + 0x60]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esi]
mov edx, dword [esp + 0x64]
movss dword [esp + 0x68], xmm0
mov eax, dword [esp + 0x68]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
movss xmm0, dword [esi - 8]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esi - 4]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x7c]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esi]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], edx
movss dword [esp + 0x78], xmm0
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x58], ecx
lea ecx, [edi + 1]
mov eax, ecx
cdq
idiv dword [ebp + 0xc]
shl edx, 4
movss xmm0, dword [edx + ebx]
add edx, ebx
movss dword [esp + 0x20], xmm0
movss xmm0, dword [edx + 4]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
movss xmm4, dword [esp + 0x10]
subss xmm4, dword [esp + 0x50]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [edx + 8]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x2c]
movss dword [esp + 0x28], xmm0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
movss xmm5, dword [esp + 0x18]
subss xmm5, dword [esp + 0x58]
mov dword [esp + 0x1c], edx
mov edx, dword [eax]
mov dword [esp + 0xa0], edx
mov edx, dword [eax + 4]
movss xmm2, dword [esp + 0xa0]
mov dword [esp + 0xa4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0xa8], edx
mov edx, dword [ebp + 0x14]
movss xmm1, dword [esp + 0xa8]
mov dword [esp + 0xac], eax
mov eax, dword [edx]
mov dword [esp + 0x90], eax
mov eax, dword [edx + 4]
movss xmm6, dword [esp + 0x90]
mov dword [esp + 0x94], eax
mov eax, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x98], eax
movss xmm3, dword [esp + 0x98]
subss xmm6, xmm2
subss xmm3, xmm1
movaps xmm7, xmm4
movaps xmm0, xmm6
mulss xmm7, xmm3
mulss xmm0, xmm5
subss xmm7, xmm0
ucomiss xmm7, dword [0x738a54]
lahf
test ah, 0x44
mov dword [esp + 0x9c], edx
jnp 0x50de40
movss xmm0, dword [esp + 0x58]
subss xmm0, xmm1
movss xmm1, dword [esp + 0x50]
subss xmm1, xmm2
movaps xmm2, xmm0
mulss xmm2, xmm6
movaps xmm6, xmm1
mulss xmm0, xmm4
xorps xmm4, xmm4
mulss xmm6, xmm3
subss xmm2, xmm6
comiss xmm4, xmm2
mulss xmm1, xmm5
subss xmm0, xmm1
jbe 0x50de02
movaps xmm1, xmm4
subss xmm1, xmm2
jmp 0x50de05
movaps xmm1, xmm2
movss xmm3, dword [0x738cac]
comiss xmm3, xmm1
ja 0x50de55
movss xmm5, dword [0x7389bc]
movaps xmm1, xmm5
divss xmm1, xmm7
movaps xmm3, xmm1
mulss xmm3, xmm2
comiss xmm3, xmm4
mulss xmm1, xmm0
jb 0x50de40
comiss xmm5, xmm3
jb 0x50de40
comiss xmm1, xmm4
jb 0x50de40
comiss xmm5, xmm1
jae 0x50de9d
mov eax, dword [ebp + 0xc]
mov edi, ecx
add esi, 0x10
cmp edi, eax
jl 0x50dbb0
jmp 0x50df17
shl edi, 4
movss xmm0, dword [edi + ebx]
add edi, ebx
movss dword [esp + 0x20], xmm0
movss xmm0, dword [edi + 4]
mov eax, dword [esp + 0x20]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [edi + 8]
mov ecx, dword [esp + 0x24]
movss dword [esp + 0x28], xmm0
mov edx, dword [esp + 0x28]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
jmp 0x50df17
movss xmm5, dword [esp + 0x50]
movss xmm1, dword [esp + 0x10]
movss xmm4, dword [esp + 0x54]
movss xmm6, dword [esp + 0x58]
movss xmm0, dword [esp + 0x14]
movss xmm2, dword [esp + 0x18]
subss xmm1, xmm5
mulss xmm1, xmm3
subss xmm0, xmm4
subss xmm2, xmm6
addss xmm1, xmm5
movss dword [esp + 0x20], xmm1
mov ecx, dword [esp + 0x20]
mulss xmm0, xmm3
mulss xmm2, xmm3
addss xmm0, xmm4
addss xmm2, xmm6
movss dword [esp + 0x24], xmm0
mov edx, dword [esp + 0x24]
movss dword [esp + 0x28], xmm2
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x30]
mov edx, eax
mov dword [edx], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x3c]
pop edi
mov dword [edx + 0xc], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10