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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
push esi
push edi
movss xmm1, dword [ebx + 0x40]
movss xmm0, dword [ebx + 0x44]
addss xmm0, dword [0x7389d4]
movss xmm6, dword [ebx + 0x48]
lea ecx, [eax + 0xa0]
mov edx, dword [ecx]
mov dword [esp + 0x30], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x34], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x38], edx
movss xmm3, dword [esp + 0x38]
lea edx, [eax + 0xb0]
mov dword [esp + 0x3c], ecx
mov ecx, dword [edx]
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 4]
movss xmm2, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
movaps xmm5, xmm0
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x24]
movaps xmm4, xmm1
movss dword [esp + 0x50], xmm1
movss xmm1, dword [esp + 0x30]
mov dword [esp + 0x28], ecx
movss xmm7, dword [esp + 0x28]
subss xmm6, xmm7
subss xmm3, xmm7
add eax, 0x90
mov ecx, dword [eax]
subss xmm4, xmm2
subss xmm5, xmm0
subss xmm1, xmm2
movss xmm2, dword [esp + 0x34]
subss xmm2, xmm0
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 4]
movaps xmm0, xmm3
mulss xmm0, xmm6
movaps xmm7, xmm2
mulss xmm7, xmm5
addss xmm0, xmm7
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 8]
movaps xmm7, xmm1
mulss xmm7, xmm4
addss xmm0, xmm7
xorps xmm7, xmm7
comiss xmm0, xmm7
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
movss dword [esp + 0x48], xmm6
jbe 0x4fff7f
movaps xmm6, xmm1
mulss xmm6, xmm1
movss dword [esp + 8], xmm6
movss xmm7, dword [esp + 8]
movaps xmm6, xmm2
mulss xmm6, xmm2
addss xmm7, xmm6
movss dword [esp + 8], xmm7
movaps xmm6, xmm3
movaps xmm7, xmm6
mulss xmm7, xmm6
movss xmm6, dword [esp + 8]
addss xmm6, xmm7
comiss xmm0, xmm6
xorps xmm7, xmm7
jae 0x4fff6d
divss xmm0, xmm6
mulss xmm1, xmm0
mulss xmm2, xmm0
mulss xmm3, xmm0
movss xmm6, dword [esp + 0x48]
subss xmm4, xmm1
subss xmm5, xmm2
subss xmm6, xmm3
movss xmm2, dword [esp + 0x18]
movaps xmm1, xmm7
subss xmm1, xmm5
movss xmm5, dword [esp + 0x54]
movaps xmm0, xmm7
subss xmm0, xmm4
addss xmm0, dword [esp + 0x50]
movss xmm4, dword [ebx + 0x48]
movss dword [esp + 0x40], xmm0
mov eax, dword [esp + 0x40]
addss xmm1, xmm5
movss dword [esp + 0x44], xmm1
movss xmm1, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
movaps xmm3, xmm2
mulss xmm3, xmm2
movaps xmm0, xmm1
mulss xmm0, xmm1
subss xmm7, xmm6
addss xmm3, xmm0
movss xmm0, dword [esp + 0x10]
addss xmm7, xmm4
movaps xmm6, xmm0
movss dword [esp + 0x48], xmm7
mov edx, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mulss xmm6, xmm0
addss xmm3, xmm6
comiss xmm3, dword [0x738d48]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
movss dword [esp + 0xc], xmm3
jbe 0x500058
fld dword [esp + 0xc]
fsqrt
fdivr dword [0x7389bc]
fld dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0x10]
movss xmm0, dword [esp + 0x10]
fld dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x14]
movss xmm1, dword [esp + 0x14]
fld dword [esp + 0x18]
fmul st(1)
fstp dword [esp + 0x18]
movss xmm2, dword [esp + 0x18]
fstp st(0)
fld dword [esp + 0x20]
movss xmm7, dword [esp + 0x24]
fsub dword [esp + 0x30]
movss xmm6, dword [esp + 0x28]
subss xmm6, dword [esp + 0x38]
movaps xmm3, xmm7
subss xmm3, dword [esp + 0x34]
fld st(0)
fmulp st(1)
movss dword [esp + 8], xmm3
fld dword [esp + 8]
movss dword [esp + 0xc], xmm6
fmul dword [esp + 8]
faddp st(1)
fld dword [esp + 0xc]
fmul dword [esp + 0xc]
faddp st(1)
fsqrt
fld dword [0x7389bc]
fxch st(1)
fcompi st(1)
fstp st(0)
jbe 0x500240
fld dword [esp + 0x20]
movaps xmm3, xmm7
fsub dword [esp + 0x50]
subss xmm3, xmm5
movss xmm5, dword [esp + 0x28]
movss dword [esp + 0xc], xmm3
fld st(0)
subss xmm5, xmm4
fmulp st(1)
movss dword [esp + 8], xmm5
fld dword [esp + 0xc]
fmul dword [esp + 0xc]
faddp st(1)
fld dword [esp + 8]
fmul dword [esp + 8]
faddp st(1)
fsqrt
fld dword [0x738a90]
fcompi st(1)
fstp st(0)
jbe 0x500240
xor esi, esi
lea eax, [ebx + 0x78c]
lea ebx, [ebx]
cmp dword [eax], 0
je 0x500124
inc esi
add eax, 0x30
cmp esi, 4
jl 0x500110
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movss xmm6, dword [0x738b54]
movaps xmm3, xmm0
mulss xmm3, xmm6
movaps xmm4, xmm1
mulss xmm4, xmm6
movaps xmm5, xmm2
lea ecx, [esi + esi*2]
shl ecx, 4
lea edi, [ecx + ebx]
mulss xmm5, xmm6
movss xmm6, dword [esp + 0x20]
subss xmm6, xmm3
lea eax, [edi + 0x760]
movss dword [esp + 0x40], xmm6
mov ecx, dword [esp + 0x40]
movaps xmm3, xmm7
subss xmm3, xmm4
movss xmm4, dword [esp + 0x28]
movss dword [esp + 0x44], xmm3
mov edx, eax
mov dword [edx], ecx
mov ecx, dword [esp + 0x44]
mov dword [edx + 4], ecx
movaps xmm3, xmm4
subss xmm3, xmm5
movss dword [esp + 0x48], xmm3
mov ecx, dword [esp + 0x48]
movss xmm3, dword [0x738b8c]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x4c]
mov dword [edx + 0xc], ecx
mulss xmm0, xmm3
addss xmm0, dword [esp + 0x20]
movss dword [esp + 0x40], xmm0
mov ecx, dword [esp + 0x40]
mulss xmm1, xmm3
lea edx, [edi + 0x770]
mov dword [edx], ecx
addss xmm1, xmm7
movss dword [esp + 0x44], xmm1
mov ecx, dword [esp + 0x44]
mov dword [edx + 4], ecx
mulss xmm2, xmm3
addss xmm2, xmm4
movss dword [esp + 0x48], xmm2
mov ecx, dword [esp + 0x48]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x4c]
mov dword [edx + 0xc], ecx
xor ecx, ecx
mov cl, byte [ebx + 0x76]
push 1
push 1
mov edx, str.BulletFlyBy
and ecx, 0xff
push ecx
push eax
push 1
push 0x940c00
call fcn.006335d0
xorps xmm0, xmm0
lea edx, [esi + esi*2 + 0x78]
shl edx, 4
mov dword [edi + 0x788], eax
movss dword [edx + ebx], xmm0
call fcn.00632130
movss dword [edi + 0x784], xmm0
mov dword [edi + 0x78c], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret