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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
push ebx
push esi
mov eax, edi
mov edx, dword [eax]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x5c], eax
mov eax, dword [0x77eab0]
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [0x77eab0], eax
movss xmm0, dword [0x738a74]
fld dword [ecx]
mov dword [esp + 0x58], edx
fld dword [ecx]
mov edx, eax
fld dword [ecx + 8]
movss dword [esp + 0xc], xmm0
fld dword [ecx + 8]
shr edx, 0x10
fmul st(1)
and edx, 0x7fff
fxch st(2)
cvtsi2ss xmm0, edx
fmul st(3)
mulss xmm0, dword [0x738a60]
mulss xmm0, dword [0x738ab0]
addss xmm0, dword [0x738b4c]
faddp st(2)
fxch st(1)
movss dword [esp + 8], xmm0
fsqrt
mov dword [esp + 0x10], 0
fstp st(2)
fstp st(0)
fld dword [ecx + 4]
fxch st(1)
fpatan
fchs
fstp dword [esp + 0x28]
fld dword [ecx]
fld dword [ecx + 8]
fpatan
fstp dword [esp + 0x14]
mov ebx, dword [esp + 0x14]
jmp 0x4b9d10
mov eax, dword [0x77eab0]
lea ecx, [ecx]
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [0x77eab0], eax
shr eax, 0x10
and eax, 0x7fff
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x18]
push ecx
fild dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
fmul dword [0x738a60]
fmul dword [0x738ff4]
fsub dword [0x738f04]
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
push eax
call fcn.00403f60
mov ecx, dword [0x77eab0]
imul ecx, ecx, 0x343fd
movss xmm3, dword [esp + 0x24]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x28]
add ecx, 0x269ec3
mov edx, ecx
shr edx, 0x10
and edx, 0x7fff
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
lea eax, [esp + 0x2c]
mov dword [0x77eab0], ecx
push eax
fmul dword [0x738a60]
movaps xmm1, xmm3
lea ecx, [esp + 0x34]
mulss xmm1, xmm2
fmul dword [0x738bb8]
subss xmm1, xmm0
push ecx
fstp dword [esp + 0x28]
mov edx, dword [esp + 0x28]
mulss xmm0, xmm2
addss xmm0, xmm3
push edx
movss dword [esp + 0x5c], xmm1
movss dword [esp + 0x60], xmm0
call fcn.00403f60
movss xmm0, dword [esp + 0x5c]
movss xmm4, dword [esp + 0x38]
movss xmm2, dword [esp + 0x3c]
xorps xmm3, xmm3
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x44]
movaps xmm5, xmm0
push eax
lea ecx, [esp + 0x4c]
mulss xmm5, xmm2
movaps xmm1, xmm4
push ecx
mulss xmm1, xmm3
mulss xmm0, xmm4
mulss xmm2, xmm3
subss xmm1, xmm5
addss xmm0, xmm2
push edx
movss dword [esp + 0x64], xmm1
movss dword [esp + 0x68], xmm0
call fcn.00403f60
movss xmm1, dword [esp + 0x68]
movss xmm3, dword [esp + 0x50]
movss xmm0, dword [esp + 0x6c]
movaps xmm2, xmm1
mulss xmm1, xmm3
movss xmm4, dword [esp + 0x54]
lea eax, [esp + 0x5c]
push eax
movaps xmm5, xmm0
lea ecx, [esp + 0x5c]
push ecx
mulss xmm5, xmm4
mulss xmm0, xmm3
mulss xmm2, xmm4
subss xmm1, xmm5
addss xmm0, xmm2
push ebx
movss dword [esp + 0x74], xmm1
movss dword [esp + 0x78], xmm0
call fcn.00403f60
movss xmm0, dword [esp + 0x78]
movss xmm4, dword [esp + 0x68]
movss xmm1, dword [esp + 0x70]
movss xmm3, dword [esp + 0x64]
movaps xmm2, xmm0
mulss xmm0, xmm4
mulss xmm2, xmm3
movaps xmm5, xmm4
movss xmm4, dword [edi + 8]
mulss xmm5, xmm1
mulss xmm1, xmm3
movss xmm3, dword [esp + 0x38]
subss xmm0, xmm1
movaps xmm1, xmm0
movss xmm0, dword [esp + 0x74]
addss xmm2, xmm5
movss xmm5, dword [edi + 4]
mulss xmm0, xmm3
add esp, 0x28
mov eax, esp
movss dword [esp + 0x50], xmm1
mulss xmm1, xmm3
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x44], xmm3
mulss xmm2, xmm3
movss xmm3, dword [edi]
mov dword [eax], 0
mov dword [eax + 4], 0
addss xmm0, xmm5
addss xmm3, xmm2
addss xmm1, xmm4
lea esi, [esp + 0x78]
mov ecx, edi
mov eax, 0x918b30
movss dword [esp + 0x78], xmm3
movss dword [esp + 0x7c], xmm0
movss dword [esp + 0x80], xmm1
call fcn.00506e60
push 0x800
push 0x4000000
push 0xffffffffffffffff
mov ecx, eax
call fcn.005059c0
mov eax, dword [0x919b30]
test eax, eax
jle 0x4b9f71
movss xmm0, dword [0x918b30]
movss xmm1, dword [0x738b08]
mulss xmm0, dword [esp + 8]
subss xmm0, xmm1
comiss xmm1, xmm0
ja 0x4ba008
jmp 0x4b9f77
movss xmm0, dword [esp + 0x3c]
comiss xmm0, dword [0x738a54]
jbe 0x4ba008
comiss xmm0, dword [esp + 0xc]
jbe 0x4ba008
movss xmm1, dword [esp + 0x40]
movss xmm4, dword [edi]
ucomiss xmm0, dword [esp + 8]
mulss xmm1, xmm0
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x44]
mulss xmm1, xmm0
movaps xmm3, xmm1
movss xmm1, dword [esp + 0x48]
addss xmm4, xmm2
movss xmm2, dword [edi + 4]
addss xmm2, xmm3
movss dword [esp + 0x64], xmm2
mov eax, dword [esp + 0x64]
movss dword [esp + 0x60], xmm4
mov edx, dword [esp + 0x60]
mulss xmm1, xmm0
addss xmm1, dword [edi + 8]
mov dword [esp + 0x54], eax
lahf
test ah, 0x44
movss dword [esp + 0x68], xmm1
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x6c]
movss dword [esp + 0xc], xmm0
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
jnp 0x4ba01a
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 8
mov dword [esp + 0x10], eax
jl 0x4b9d08
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x50]
mov ecx, eax
mov dword [ecx], edx
mov edx, dword [esp + 0x54]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x58]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x5c]
pop esi
mov dword [ecx + 0xc], edx
pop ebx
mov esp, ebp
pop ebp
ret 4