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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x74
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push eax
xor esi, esi
push ecx
mov ecx, 0x8d68e0
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
call fcn.004013f0
mov edi, eax
test edi, edi
mov dword [esp + 0x10], esi
je 0x48d86c
call fcn.0042ec20
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
call dword [edx + 0x1c]
cmp eax, esi
je 0x48d864
mov ecx, dword [eax + 4]
cmp eax, ecx
je 0x48d868
mov eax, ecx
cmp eax, esi
jne 0x48d857
mov dword [esp + 0x10], edi
mov esi, dword [esp + 0x10]
mov edi, dword [0x80e368]
test edi, edi
movss xmm0, dword [0x77eb58]
movss dword [esp + 0x20], xmm0
je 0x48dbb7
test esi, esi
je 0x48dbb7
mov eax, dword [edi + 8]
cmp eax, dword [ebp + 0x18]
mov ecx, dword [edi + 0xc]
jne 0x48d8a4
cmp ecx, dword [ebp + 0x1c]
je 0x48dba9
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push eax
push ecx
call fcn.0042f530
add esp, 8
cmp eax, 0xffffffff
je 0x48d8fc
cmp eax, 0x20000
je 0x48d8fc
mov ecx, dword [esi + 0x524]
test ch, 8
jne 0x48d8fc
mov ecx, dword [esi + 0xac]
cmp ecx, 0x20000
je 0x48d8fc
test dword [esi + 0xb0], eax
jne 0x48dba9
cmp eax, 0x80
je 0x48dba9
cmp ecx, 0x80
je 0x48dba9
mov eax, dword [ebp + 0x10]
movss xmm1, dword [edi + 0x44]
subss xmm1, dword [eax + 4]
movss xmm2, dword [edi + 0x48]
subss xmm2, dword [eax + 8]
movss xmm0, dword [edi + 0x40]
subss xmm0, dword [eax]
movaps xmm3, xmm1
mulss xmm3, xmm1
movss dword [esp + 0x54], xmm1
movaps xmm1, xmm2
mulss xmm1, xmm2
addss xmm3, xmm1
movaps xmm1, xmm0
mulss xmm1, xmm0
addss xmm3, xmm1
movss dword [esp + 0x50], xmm0
movss xmm0, dword [0x77eb5c]
movaps xmm1, xmm0
mulss xmm1, xmm0
comiss xmm3, xmm1
movss dword [esp + 0x58], xmm2
ja 0x48dbb7
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x44], eax
movss xmm1, dword [esp + 0x44]
mov dword [esp + 0x48], ecx
movss xmm0, dword [esp + 0x48]
movaps xmm2, xmm1
mulss xmm2, xmm1
mov dword [esp + 0x40], edx
movss xmm1, dword [esp + 0x40]
mov edx, dword [esp + 0x5c]
mulss xmm0, xmm0
addss xmm0, xmm2
movaps xmm2, xmm1
mulss xmm2, xmm1
addss xmm0, xmm2
comiss xmm0, dword [0x738d48]
mov dword [esp + 0x4c], edx
movss dword [esp + 0x24], xmm0
jbe 0x48d9ea
fld dword [esp + 0x24]
fsqrt
fdivr dword [0x7389bc]
fld dword [esp + 0x40]
fmul st(1)
fstp dword [esp + 0x40]
fld dword [esp + 0x44]
fmul st(1)
fstp dword [esp + 0x44]
fld dword [esp + 0x48]
fmul st(1)
fstp dword [esp + 0x48]
fstp st(0)
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [eax]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x34]
push ecx
push edx
call fcn.00403f60
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edx
call fcn.00403f60
fld dword [esp + 0x44]
fmul dword [esp + 0x34]
add esp, 0x18
fstp dword [esp + 0x60]
fld dword [esp + 0x30]
fchs
fstp dword [esp + 0x64]
fld dword [esp + 0x34]
fmul dword [esp + 0x1c]
fst dword [esp + 0x68]
fmul dword [esp + 0x48]
fld dword [esp + 0x64]
fmul dword [esp + 0x44]
faddp st(1)
fld dword [esp + 0x60]
fmul dword [esp + 0x40]
faddp st(1)
call fcn.006d9cc0
fst dword [esp + 0x14]
fld dword [0x738a54]
fcompi st(1)
fstp st(0)
jbe 0x48da7d
xorps xmm0, xmm0
subss xmm0, dword [esp + 0x14]
movss dword [esp + 0x18], xmm0
jmp 0x48da89
movss xmm0, dword [esp + 0x14]
movss dword [esp + 0x18], xmm0
movss xmm1, dword [esp + 0x20]
comiss xmm1, xmm0
jbe 0x48dba9
mov eax, dword [ebx + 0xc]
movss xmm0, dword [edi + 0x40]
mov ecx, dword [ebx + 8]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [edi + 0x44]
push eax
movss dword [esp + 0x78], xmm0
movss xmm0, dword [edi + 0x48]
push ecx
mov ecx, dword [ebp + 0x10]
lea esi, [esp + 0x78]
mov eax, 0x918b30
movss dword [esp + 0x80], xmm0
call fcn.00506e60
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov edx, dword [0x91a108]
mov dword [edx*8 + 0x91a008], eax
mov eax, dword [0x91a108]
mov dword [eax*8 + 0x91a00c], ecx
mov eax, dword [0x91a108]
mov ecx, dword [ebp + 0x18]
inc eax
mov dword [0x91a108], eax
mov dword [eax*8 + 0x91a008], ecx
mov edx, dword [0x91a108]
mov eax, dword [ebp + 0x1c]
mov dword [edx*8 + 0x91a00c], eax
mov eax, dword [0x91a108]
inc eax
mov dword [0x91a108], eax
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov dword [eax*8 + 0x91a008], ecx
mov ecx, dword [0x91a108]
mov dword [ecx*8 + 0x91a00c], edx
mov eax, dword [0x91a108]
push 0x800
push 0x4000000
inc eax
push 0xffffffffffffffff
mov ecx, 0x918b30
mov dword [0x91a108], eax
mov dword [0x91a2a0], 1
call fcn.005059c0
mov eax, dword [0x919b30]
test eax, eax
je 0x48db8b
mov eax, dword [edi + 8]
mov edx, dword [0x918b90]
cmp edx, eax
mov ecx, dword [edi + 0xc]
jne 0x48dba5
mov eax, dword [0x918b94]
cmp eax, ecx
jne 0x48dba5
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
movss xmm0, dword [esp + 0x18]
movss dword [esp + 0x20], xmm0
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov esi, dword [esp + 0x10]
mov edi, dword [edi + 0xa0]
test edi, edi
jne 0x48d888
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
pop edi
pop esi
mov dword [eax], ecx
mov dword [eax + 4], edx
pop ebx
mov esp, ebp
pop ebp
ret 0x18