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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1a4
movss xmm3, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, ebx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x60], ecx
mov ecx, dword [eax]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 4]
push esi
mov esi, dword [ebp + 0x10]
movss xmm2, dword [esi]
movss xmm0, dword [esi + 4]
movss xmm1, dword [esi + 8]
mov dword [esp + 0x15c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x160], edx
mov edx, dword [eax + 0xc]
mulss xmm2, xmm3
movss dword [esp + 0x3c], xmm2
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
push edi
mov edi, dword [ebp + 8]
mulss xmm0, xmm3
mulss xmm1, xmm3
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x4c]
test eax, eax
movss dword [esp + 0x44], xmm0
movss dword [esp + 0x48], xmm1
mov dword [esp + 0x168], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x16c], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x5c], 3
mov dword [edi + 0x30], 0
jne 0x51aa2c
movss xmm3, dword [ebx]
addss xmm3, xmm2
movss dword [ebx], xmm3
addss xmm0, dword [ebx + 4]
movss dword [ebx + 4], xmm0
addss xmm1, dword [ebx + 8]
movss dword [ebx + 8], xmm1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
movss xmm1, dword [esp + 0x14]
movss xmm0, dword [esp + 0x18]
movaps xmm2, xmm1
mulss xmm2, xmm1
movaps xmm1, xmm0
mulss xmm1, xmm0
movss xmm0, dword [esp + 0x10]
addss xmm2, xmm1
movaps xmm1, xmm0
mulss xmm1, xmm0
movss xmm0, dword [0x738b10]
addss xmm2, xmm1
comiss xmm0, xmm2
ja 0x51b6dc
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
push ecx
push edx
mov ecx, 0x8d68e0
call fcn.004013f0
mov dword [esp + 0x70], eax
jmp 0x51aa90
movss xmm1, dword [esp + 0x18]
movss xmm3, dword [esp + 0x14]
mov eax, dword [esp + 0x5c]
movaps xmm0, xmm3
mulss xmm0, xmm0
movaps xmm2, xmm1
mulss xmm2, xmm1
addss xmm0, xmm2
movss xmm2, dword [esp + 0x10]
movaps xmm4, xmm2
mulss xmm4, xmm2
addss xmm0, xmm4
movss xmm4, dword [0x738b10]
dec eax
comiss xmm4, xmm0
mov dword [esp + 0x5c], eax
movss dword [esp + 0xac], xmm0
ja 0x51b5e5
fld dword [esp + 0xac]
movss xmm0, dword [ebx]
fsqrt
addss xmm3, dword [ebx + 4]
addss xmm1, dword [ebx + 8]
mov eax, ebx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x150], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x154], edx
mov edx, dword [eax + 0xc]
mov eax, dword [edi + 0x1c]
push eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x15c], ecx
mov ecx, dword [edi + 0x14]
push ecx
mov ecx, dword [edi + 8]
mov dword [esp + 0x164], edx
lea edx, [esp + 0x158]
push edx
push eax
addss xmm0, xmm2
push ecx
lea eax, [esp + 0x1a4]
mov esi, 0x918b30
movss dword [esp + 0x1a4], xmm0
movss dword [esp + 0x1a8], xmm3
movss dword [esp + 0x1ac], xmm1
fstp dword [esp + 0x90]
call fcn.005066c0
cmp dword [0x919b34], 0x20
mov eax, dword [edi + 0x28]
jle 0x51ab82
mov eax, 0x20
mov dword [0x919b34], eax
mov edx, dword [edi + 0x150]
lea ecx, [edi + 0x110]
mov eax, 0x918b30
call fcn.0050a790
mov edx, dword [edi + 0xa0]
or edx, dword [edi + 0xa4]
je 0x51abd6
mov eax, dword [edi + 0xa0]
mov ecx, dword [0x91a108]
mov dword [ecx*8 + 0x91a008], eax
mov eax, dword [0x91a108]
mov edx, dword [edi + 0xa4]
mov dword [eax*8 + 0x91a00c], edx
inc dword [0x91a108]
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 8]
mov dword [esp + 0x14c], ecx
xor ecx, ecx
cmp eax, 0xffffffff
jne 0x51ac06
test ecx, ecx
jne 0x51ac06
mov edx, dword [edi + 0xc]
mov ecx, dword [0x916514]
push edx
push eax
call fcn.00467180
mov esi, dword [0x916514]
jmp 0x51ac33
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
push ecx
push edx
mov eax, 0x8d68e0
call fcn.0043b2d0
cmp eax, 0xffffffff
je 0x51ac6e
mov ecx, dword [0x8d68e8]
lea eax, [eax + eax*2]
mov eax, dword [ecx + eax*8 + 8]
shl eax, 5
mov esi, dword [eax + 0x8d725c]
test esi, esi
je 0x51ac6e
call fcn.0042fab0
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x148], eax
call dword [edx + 0x1c]
mov edx, dword [esp + 0x148]
cmp eax, edx
je 0x51ac62
mov ecx, dword [eax + 4]
cmp eax, ecx
je 0x51ac6e
mov eax, ecx
cmp eax, edx
jne 0x51ac55
push 0x10800
push 0x800000
jmp 0x51ac78
push 0x10800
push 0x1000000
mov ecx, 0x918b30
push 0xffffffffffffffff
call fcn.005059c0
mov eax, dword [0x919b30]
test eax, eax
je 0x51b5fc
mov esi, dword [esp + 0x70]
test esi, esi
mov dword [edi + 0x30], 1
je 0x51acc3
mov eax, dword [0x918b94]
mov ecx, dword [0x918b90]
push eax
push ecx
mov ecx, 0x8d68e0
call fcn.004013f0
test eax, eax
je 0x51acc3
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 0x38]
movss xmm0, dword [edi + 0x50]
divss xmm0, dword [esp + 0x7c]
movss xmm2, dword [0x918b30]
subss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
ja 0x51acef
movss xmm0, dword [0x7389bc]
comiss xmm2, xmm0
jbe 0x51acf2
movaps xmm2, xmm0
movss xmm6, dword [esp + 0x10]
movss xmm7, dword [ebx]
movss xmm4, dword [esp + 0x14]
movss xmm3, dword [esp + 0x18]
movaps xmm5, xmm6
mulss xmm5, xmm2
movaps xmm0, xmm4
addss xmm7, xmm5
movss dword [ebx], xmm7
mulss xmm0, xmm2
addss xmm0, dword [ebx + 4]
movss dword [ebx + 4], xmm0
movss xmm0, dword [0x7389bc]
movaps xmm1, xmm3
mulss xmm1, xmm2
addss xmm1, dword [ebx + 8]
movss dword [ebx + 8], xmm1
mov edx, dword [0x918b58]
mov eax, dword [0x918b54]
mov ecx, dword [0x918b50]
movss xmm5, dword [0x918b78]
subss xmm0, xmm2
mov dword [esp + 0x38], edx
mulss xmm6, xmm0
mov dword [esp + 0x34], eax
mov eax, dword [0x918b5c]
movss dword [esp + 0x10], xmm6
mov edx, dword [esp + 0x10]
mulss xmm3, xmm0
mulss xmm4, xmm0
movaps xmm1, xmm3
movss xmm3, dword [0x918b74]
movaps xmm7, xmm4
movss xmm4, dword [0x918b70]
mov dword [esp + 0x100], edx
movss dword [esp + 0x18], xmm1
mov edx, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
movss dword [esp + 0x14], xmm7
mov eax, dword [esp + 0x14]
mov dword [esp + 0x108], edx
cmp dword [esp + 0x5c], 1
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x10c], eax
jne 0x51b198
movss xmm0, dword [esp + 0x174]
movss xmm2, dword [esp + 0x178]
mulss xmm2, xmm5
mulss xmm0, xmm3
addss xmm0, xmm2
movss xmm2, dword [esp + 0x170]
mulss xmm2, xmm4
addss xmm0, xmm2
xorps xmm2, xmm2
comiss xmm2, xmm0
jb 0x51b198
movss xmm0, dword [esp + 0x178]
movss xmm1, dword [esp + 0x174]
movaps xmm6, xmm0
movaps xmm2, xmm1
mulss xmm6, xmm3
mulss xmm2, xmm5
subss xmm2, xmm6
movss dword [esp + 0xd0], xmm2
mov edx, dword [esp + 0xd0]
movaps xmm2, xmm0
movss xmm0, dword [esp + 0x170]
movaps xmm6, xmm0
mulss xmm6, xmm5
mulss xmm0, xmm3
mulss xmm2, xmm4
subss xmm2, xmm6
mov dword [esp + 0x20], edx
movss xmm3, dword [esp + 0x20]
mulss xmm1, xmm4
subss xmm0, xmm1
movss dword [esp + 0xd4], xmm2
mov edx, dword [esp + 0xd4]
movss dword [esp + 0xd8], xmm0
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0xd8]
mov dword [esp + 0x28], edx
movss xmm2, dword [esp + 0x28]
mov edx, dword [esp + 0xdc]
movaps xmm0, xmm3
mulss xmm0, xmm3
movaps xmm1, xmm2
mulss xmm1, xmm2
addss xmm0, xmm1
movss xmm1, dword [esp + 0x24]
movaps xmm6, xmm1
mulss xmm6, xmm1
addss xmm0, xmm6
comiss xmm0, dword [0x738d48]
movss dword [esp + 0xa8], xmm0
jbe 0x51af29
fld dword [esp + 0xa8]
fsqrt
fdivr dword [0x7389bc]
fld dword [esp + 0x20]
fmul st(1)
fstp dword [esp + 0x20]
movss xmm3, dword [esp + 0x20]
fld dword [esp + 0x24]
fmul st(1)
fstp dword [esp + 0x24]
movss xmm1, dword [esp + 0x24]
fld dword [esp + 0x28]
fmul st(1)
fstp dword [esp + 0x28]
movss xmm2, dword [esp + 0x28]
fstp st(0)
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0x18]
movaps xmm6, xmm1
mulss xmm6, xmm7
addss xmm0, xmm6
movss xmm6, dword [esp + 0x10]
movaps xmm7, xmm3
mulss xmm7, xmm6
addss xmm0, xmm7
mulss xmm3, xmm0
mulss xmm1, xmm0
mulss xmm2, xmm0
movss xmm0, dword [esp + 0x170]
addss xmm0, xmm4
movss dword [esp + 0xb0], xmm0
mov esi, dword [esp + 0xb0]
movss xmm0, dword [esp + 0x174]
movaps xmm7, xmm3
movss xmm3, dword [0x918b74]
addss xmm0, xmm3
movss dword [esp + 0xb4], xmm0
movss xmm0, dword [esp + 0x178]
addss xmm0, xmm5
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0xb4]
movss dword [esp + 0xb8], xmm0
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0xb8]
movss xmm4, dword [esp + 0x34]
mov dword [esp + 0x38], esi
movss xmm0, dword [esp + 0x38]
mov esi, dword [esp + 0xbc]
movaps xmm5, xmm4
mulss xmm5, xmm4
movss xmm4, dword [esp + 0x30]
mulss xmm0, xmm0
addss xmm0, xmm5
movaps xmm5, xmm4
mulss xmm5, xmm4
addss xmm0, xmm5
comiss xmm0, dword [0x738d48]
movss dword [esp + 0x20], xmm7
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x28], xmm2
mov dword [esp + 0x3c], esi
movss dword [esp + 0x78], xmm0
jbe 0x51b04c
fld dword [esp + 0x78]
fsqrt
fdivr dword [0x7389bc]
fld dword [esp + 0x30]
fmul st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fmul st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fmul st(1)
fstp dword [esp + 0x38]
fstp st(0)
movaps xmm4, xmm7
mulss xmm4, xmm7
movaps xmm0, xmm1
mulss xmm0, xmm1
addss xmm4, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm4, xmm0
movss xmm0, dword [esp + 0x14]
movaps xmm5, xmm0
mulss xmm5, xmm0
movss xmm0, dword [esp + 0x18]
movaps xmm7, xmm0
mulss xmm7, xmm0
addss xmm5, xmm7
movaps xmm0, xmm6
mulss xmm0, xmm6
addss xmm5, xmm0
addss xmm5, dword [0x738ab4]
comiss xmm5, xmm4
jae 0x51b0e7
mov edx, dword [esp + 0x10]
mov esi, dword [0x918b54]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x34], esi
mov esi, dword [0x918b58]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x18]
movss xmm1, dword [esp + 0x24]
mov dword [esp + 0x38], esi
mov esi, dword [0x918b5c]
mov dword [esp + 0x28], edx
movss xmm2, dword [esp + 0x28]
mov edx, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], esi
movss xmm0, dword [esp + 0x20]
movaps xmm4, xmm0
mulss xmm4, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
addss xmm4, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm4, xmm0
movss xmm0, dword [esp + 0x104]
movaps xmm5, xmm0
mulss xmm5, xmm0
movss xmm0, dword [esp + 0x108]
movaps xmm7, xmm0
mulss xmm7, xmm0
movss xmm0, dword [esp + 0x100]
addss xmm5, xmm7
movaps xmm7, xmm0
mulss xmm7, xmm0
addss xmm5, xmm7
addss xmm5, dword [0x738ab4]
comiss xmm5, xmm4
movss xmm7, dword [esp + 0x14]
jae 0x51b2a0
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x28], edx
mov edx, eax
mov eax, dword [0x918b54]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x918b58]
mov dword [esp + 0x34], eax
mov eax, dword [0x918b5c]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
jmp 0x51b294
movaps xmm2, xmm1
mulss xmm2, xmm5
movaps xmm0, xmm7
mulss xmm0, xmm3
addss xmm0, xmm2
movaps xmm2, xmm6
mulss xmm2, xmm4
addss xmm0, xmm2
movaps xmm2, xmm0
mulss xmm2, xmm4
movss dword [esp + 0xe0], xmm2
movaps xmm2, xmm0
mulss xmm0, xmm5
mov ecx, 8
mov esi, 0x918b70
lea edi, [esp + 0x170]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xe0]
mov edi, dword [ebp + 8]
movss dword [esp + 0xe8], xmm0
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x120], ecx
mov ecx, dword [esp + 0xec]
mulss xmm2, xmm3
movss dword [esp + 0xe4], xmm2
mov edx, dword [esp + 0xe4]
movaps xmm0, xmm6
subss xmm0, dword [esp + 0x120]
movss dword [esp + 0x130], xmm0
mov dword [esp + 0x124], edx
mov edx, dword [esp + 0x130]
mov dword [esp + 0x128], eax
subss xmm1, dword [esp + 0x128]
movaps xmm0, xmm7
subss xmm0, dword [esp + 0x124]
mov dword [esp + 0x12c], ecx
movss dword [esp + 0x134], xmm0
mov eax, dword [esp + 0x134]
movss dword [esp + 0x138], xmm1
mov ecx, dword [esp + 0x138]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x13c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
movss xmm1, dword [esp + 0x24]
movss xmm2, dword [esp + 0x28]
xorps xmm0, xmm0
comiss xmm3, xmm0
jb 0x51b51c
comiss xmm1, xmm0
jbe 0x51b51c
movss xmm4, dword [ebp + 0x1c]
comiss xmm4, xmm3
jbe 0x51b51c
mov ecx, 8
mov esi, 0x918b70
lea edi, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
movss xmm3, dword [esp + 0x84]
comiss xmm3, xmm0
jbe 0x51b2f0
movaps xmm3, xmm0
movss dword [esp + 0x84], xmm3
movss xmm0, dword [esp + 0x88]
mulss xmm0, xmm0
movaps xmm4, xmm3
mulss xmm4, xmm3
addss xmm0, xmm4
movss xmm4, dword [esp + 0x80]
movaps xmm5, xmm4
mulss xmm5, xmm4
addss xmm0, xmm5
comiss xmm0, dword [0x738d48]
movss dword [esp + 0x74], xmm0
jbe 0x51b37b
fld dword [esp + 0x74]
fsqrt
fdivr dword [0x7389bc]
fld dword [esp + 0x80]
fmul st(1)
fstp dword [esp + 0x80]
movss xmm4, dword [esp + 0x80]
fld dword [esp + 0x84]
fmul st(1)
fstp dword [esp + 0x84]
movss xmm3, dword [esp + 0x84]
fld dword [esp + 0x88]
fmul st(1)
fstp dword [esp + 0x88]
fstp st(0)
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
xorps xmm0, xmm0
comiss xmm0, xmm1
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], edx
movss dword [esp + 0xf4], xmm0
ja 0x51b3bd
movss dword [esp + 0xf4], xmm1
movss xmm0, dword [esp + 0x88]
mulss xmm0, dword [esp + 0x18]
movaps xmm5, xmm3
mulss xmm5, xmm7
addss xmm0, xmm5
movaps xmm5, xmm4
mulss xmm5, xmm6
xorps xmm6, xmm6
addss xmm0, xmm5
comiss xmm6, xmm0
jbe 0x51b519
mov eax, dword [ebp + 8]
movss xmm5, dword [esp + 0x88]
lea ecx, [eax + 0x160]
mov edx, dword [ecx]
mov dword [esp + 0x40], edx
mov edx, dword [ecx + 4]
movss xmm7, dword [esp + 0x40]
mov dword [esp + 0x44], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x48], edx
movss xmm0, dword [esp + 0x48]
mulss xmm7, xmm4
mulss xmm0, xmm5
addss xmm0, xmm7
movaps xmm7, xmm3
mulss xmm7, xmm6
addss xmm0, xmm7
comiss xmm6, xmm0
mov dword [esp + 0x4c], ecx
mulss xmm4, xmm0
mulss xmm3, xmm0
movss dword [esp + 0x110], xmm4
mov edx, dword [esp + 0x110]
movss dword [esp + 0x114], xmm3
mov ecx, dword [esp + 0x114]
mulss xmm5, xmm0
movss dword [esp + 0x118], xmm5
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x118]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
jbe 0x51b4d2
movss xmm3, dword [esp + 0x44]
movss xmm0, dword [esp + 0x48]
movaps xmm4, xmm3
mulss xmm4, xmm3
movaps xmm3, xmm0
mulss xmm3, xmm0
movss xmm0, dword [esp + 0x40]
addss xmm4, xmm3
movaps xmm3, xmm0
mulss xmm3, xmm0
movss xmm0, dword [0x7389d4]
addss xmm4, xmm3
comiss xmm0, xmm4
ja 0x51b4ee
mov edx, dword [0x918b90]
cmp edx, dword [eax + 0x2c8]
jne 0x51b519
mov ecx, dword [0x918b94]
cmp ecx, dword [eax + 0x2cc]
jne 0x51b519
lea edx, [esp + 0x80]
push edx
lea edx, [esp + 0x1a4]
lea esi, [esp + 0x24]
lea eax, [esp + 0xf4]
call fcn.004bc4b0
movss xmm1, dword [esp + 0x24]
movss xmm2, dword [esp + 0x28]
mov edi, dword [ebp + 8]
movss xmm0, dword [0x7389bc]
subss xmm0, dword [ebp + 0x18]
mov esi, dword [ebp + 0x10]
movaps xmm3, xmm0
mulss xmm3, dword [esp + 0x20]
mulss xmm1, xmm0
mulss xmm2, xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0xc0], xmm3
mov eax, dword [esp + 0xc0]
movss xmm3, dword [0x738ab4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xcc]
movss dword [esp + 0xc4], xmm1
mov ecx, dword [esp + 0xc4]
movss xmm1, dword [esp + 0x34]
movss dword [esp + 0xc8], xmm2
mov edx, dword [esp + 0xc8]
movss xmm2, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x5c]
test eax, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mulss xmm0, xmm3
addss xmm0, dword [esp + 0x10]
mulss xmm1, xmm3
addss xmm1, dword [esp + 0x14]
mulss xmm2, xmm3
addss xmm2, dword [esp + 0x18]
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x14], xmm1
movss dword [esp + 0x18], xmm2
jne 0x51aa90
xorps xmm0, xmm0
movaps xmm1, xmm0
movaps xmm2, xmm0
jmp 0x51b611
xorps xmm0, xmm0
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x10], xmm0
jmp 0x51b5ff
mov esi, dword [ebp + 0x10]
movss xmm2, dword [esp + 0x10]
movss xmm1, dword [esp + 0x14]
movss xmm0, dword [esp + 0x18]
movaps xmm3, xmm1
mulss xmm3, xmm1
movaps xmm4, xmm0
mulss xmm4, xmm0
addss xmm3, xmm4
movaps xmm4, xmm2
mulss xmm4, xmm2
addss xmm3, xmm4
comiss xmm3, dword [0x738b10]
jbe 0x51b657
movss xmm3, dword [ebx]
addss xmm3, xmm2
movss dword [ebx], xmm3
addss xmm1, dword [ebx + 4]
movss dword [ebx + 4], xmm1
addss xmm0, dword [ebx + 8]
movss dword [ebx + 8], xmm0
movss xmm0, dword [ebx]
movss xmm1, dword [ebx + 4]
movss xmm2, dword [ebx + 8]
subss xmm0, dword [esp + 0x60]
movss xmm3, dword [0x7389bc]
divss xmm3, dword [ebp + 0x14]
subss xmm1, dword [esp + 0x64]
subss xmm2, dword [esp + 0x68]
mulss xmm0, xmm3
movss dword [esp + 0x60], xmm0
mov ecx, dword [esp + 0x60]
mov dword [esi], ecx
mov ecx, dword [esp + 0x6c]
mulss xmm1, xmm3
movss dword [esp + 0x64], xmm1
mov edx, dword [esp + 0x64]
mulss xmm2, xmm3
movss dword [esp + 0x68], xmm2
mov eax, dword [esp + 0x68]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x51b6dc
mov eax, dword [esp + 0x70]
test eax, eax
je 0x51b6dc
push eax
push edi
mov eax, ebx
lea ecx, [esp + 0x168]
call fcn.0051a220
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18