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

Disassembly:
sub esp, 0x5c
movsd xmm2, qword [0x4d3690]
push ebx
mov ebx, dword [esp + 0x6c]
movss xmm0, dword [ebx]
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm2
cvtpd2ps xmm0, xmm0
push esi
movss dword [esp + 0x3c], xmm0
fld dword [esp + 0x3c]
fistp dword [esp + 0x24]
movss xmm0, dword [ebx + 0xc]
mov eax, dword [esp + 0x24]
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm2
cvtpd2ps xmm0, xmm0
mov dword [esp + 0x48], eax
movss dword [esp + 0x3c], xmm0
fld dword [esp + 0x3c]
fistp dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x6c]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 0xc]
dec edx
cmp edx, dword [ecx + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edx
jl 0x48a6a7
push ebp
push edi
jmp 0x48a430
movsd xmm2, qword [0x4d3690]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x74]
movsd xmm3, qword [0x4c88e8]
mov eax, dword [ecx]
movss xmm4, dword [ebx + 0xc]
mov edi, dword [esp + 0x70]
mov ebp, dword [edi + 4]
mov edi, dword [edi + 0x10]
imul ebp, edx
cvtps2pd xmm4, xmm4
cvtsi2sd xmm0, eax
addsd xmm0, xmm3
mulsd xmm4, xmm0
cvtsi2sd xmm1, edx
addsd xmm1, xmm3
movss xmm3, dword [ebx + 0x10]
cvtps2pd xmm3, xmm3
mulsd xmm3, xmm1
addsd xmm3, xmm4
movss xmm4, dword [ebx + 0x14]
cvtps2pd xmm4, xmm4
addsd xmm3, xmm4
movss xmm4, dword [ebx + 4]
cvtps2pd xmm4, xmm4
mulsd xmm4, xmm1
movss xmm1, dword [ebx]
cvtps2pd xmm1, xmm1
mulsd xmm1, xmm0
movss xmm0, dword [ebx + 8]
cvtps2pd xmm0, xmm0
addsd xmm4, xmm1
addsd xmm4, xmm0
cvtpd2ps xmm0, xmm4
cvtss2sd xmm0, xmm0
add ebp, eax
mulsd xmm0, xmm2
cvtpd2ps xmm0, xmm0
lea ebp, [edi + ebp*4]
cvtpd2ps xmm3, xmm3
movss dword [esp + 0x48], xmm0
fld dword [esp + 0x48]
fistp dword [esp + 0x34]
mov edi, dword [esp + 0x34]
cvtss2sd xmm0, xmm3
mulsd xmm0, xmm2
cvtpd2ps xmm0, xmm0
add edi, 0xffff8001
movss dword [esp + 0x4c], xmm0
fld dword [esp + 0x4c]
fistp dword [esp + 0x38]
mov eax, dword [esi + 0x10]
mov edx, dword [esp + 0x38]
add edx, 0xffff8001
mov dword [esp + 0x14], edx
mov edx, dword [esi + 8]
mov esi, dword [ecx + 8]
sub esi, dword [ecx]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x80]
push eax
sub ebp, 4
mov dword [esp + 0x1c], edx
call fcn.00472bd0
add esp, 4
test esi, esi
je 0x48a68d
jmp 0x48a538
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x54]
mov eax, edi
mov edx, edi
add edi, dword [esp + 0x50]
dec esi
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x58]
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x14]
add dword [esp + 0x14], edi
mov edi, dword [esp + 0x1c]
mov ecx, esi
sar edx, 8
sar esi, 8
sar eax, 0x10
dec edi
add ebp, 4
sar ecx, 0x10
and edx, 0xff
and esi, 0xff
cmp eax, edi
jae 0x48a5ad
mov edi, dword [esp + 0x20]
dec edi
cmp ecx, edi
jae 0x48a5ad
push esi
push edx
mov edx, dword [esp + 0x20]
imul ecx, edx
lea esi, [edx*4]
mov edx, dword [esp + 0x44]
add ecx, eax
push esi
lea eax, [edx + ecx*4]
push eax
push ebp
call fcn.004890a0
add esp, 0x14
jmp 0x48a67e
lea edi, [eax + 1]
mov dword [esp + 0x5c], edi
cmp edi, dword [esp + 0x1c]
ja 0x48a67e
lea edi, [ecx + 1]
mov dword [esp + 0x64], edi
cmp edi, dword [esp + 0x20]
ja 0x48a67e
mov ebx, dword [esp + 0x3c]
mov edi, ecx
imul edi, dword [esp + 0x18]
add edi, eax
lea ebx, [ebx + edi*4]
mov edi, dword [esp + 0x18]
lea edi, [ebx + edi*4]
mov dword [esp + 0x24], edi
lea edi, [ebx + 4]
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x24]
add edi, 4
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x1c]
dec edi
mov dword [esp + 0x10], 0
cmp eax, edi
jbe 0x48a617
lea ebx, [esp + 0x10]
mov eax, ebx
mov dword [esp + 0x24], eax
cmp dword [esp + 0x5c], edi
jbe 0x48a629
lea eax, [esp + 0x10]
mov dword [esp + 0x40], eax
mov edi, eax
jmp 0x48a62d
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x20]
dec eax
cmp ecx, eax
jbe 0x48a63e
lea ebx, [esp + 0x10]
mov ecx, ebx
jmp 0x48a642
mov ecx, dword [esp + 0x40]
cmp dword [esp + 0x64], eax
jbe 0x48a650
lea eax, [esp + 0x10]
mov edi, eax
jmp 0x48a654
mov eax, dword [esp + 0x24]
push esi
push edx
mov edx, dword [eax]
mov eax, dword [ebx]
push edx
push eax
mov eax, dword [edi]
lea edx, [esp + 0x78]
push edx
mov edx, dword [ecx]
call fcn.00488d40
mov ecx, dword [esp + 0x7c]
mov edi, dword [esp + 0x94]
push ebp
call fcn.00488cd0
add esp, 0x18
cmp dword [esp + 0x44], 0
jne 0x48a530
mov ebx, dword [esp + 0x78]
emms
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x7c]
dec eax
cmp eax, dword [ecx + 4]
mov dword [esp + 0x28], eax
jge 0x48a420
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 0x5c
ret 0x14