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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x68e500]
xor eax, esp
mov dword [esp + 0x54], eax
mov dword [esp + 0xc], ecx
mov ecx, dword [0x693270]
mov dword [esp + 4], edx
push esi
push edi
mov eax, dword [ecx + 0x1160]
mov byte [eax + 0xac], 1
mov edx, dword [ecx + 0x1160]
cmp byte [edx + 0xaf], 0
jne 0x48f951
mov eax, dword [esp + 0xc]
mov edi, 0x66a9cd
cmp dword [esp + 0x14], eax
mov esi, edi
cmovne esi, dword [esp + 0x14]
cmovne edi, eax
test edi, edi
jne 0x48f316
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48f304
sub ecx, edi
lea edi, [esi + ecx]
mov ecx, dword [0x693270]
movss xmm1, dword [edx + 0x1a4]
xorps xmm0, xmm0
movss xmm3, dword [edx + 0x128]
mov eax, edi
addss xmm3, dword [edx + 0xf4]
movss xmm4, dword [edx + 0xf0]
comiss xmm1, xmm0
movss dword [esp + 0x14], xmm4
movss dword [esp + 0x24], xmm3
setae byte [esp + 0x13]
sub eax, esi
cmp eax, 0x7d0
jle 0x48f729
cmp byte [esp + 0x13], 0
jne 0x48f730
cmp byte [ecx + 0x35d0], 0
movaps xmm1, xmm3
movss xmm5, dword [ecx + 0xecc]
movss dword [esp + 0x18], xmm5
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x38], xmm4
movss dword [esp + 0x3c], xmm1
jne 0x48f49a
movss xmm0, dword [edx + 0x214]
subss xmm0, xmm3
divss xmm0, xmm5
cvttss2si edx, xmm0
mov dword [esp + 0x20], edx
test edx, edx
jle 0x48f49a
xor eax, eax
mov dword [esp + 0x1c], eax
cmp esi, edi
jae 0x48f485
cmp eax, edx
jge 0x48f46d
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call fcn.005ac570
add esp, 0xc
test eax, eax
cmove eax, edi
test byte [ebp + 8], 1
mov dword [esp + 0xc], eax
jne 0x48f455
cmp esi, eax
jne 0x48f3f5
xorps xmm0, xmm0
jmp 0x48f449
movss xmm3, dword [0x67adb0]
push 0
push eax
push esi
push ecx
lea eax, [esp + 0x40]
mov dword [esp], 0xbf800000
push eax
mov eax, dword [0x693270]
movss xmm2, dword [eax + 0xecc]
mov ecx, dword [eax + 0xec8]
call fcn.00487800
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [0x67ac84]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0xc]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x30], xmm0
maxss xmm0, dword [esp + 0x28]
movss dword [esp + 0x28], xmm0
mov edx, dword [esp + 0x20]
lea esi, [eax + 1]
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp esi, edi
jb 0x48f3c5
movss xmm4, dword [esp + 0x14]
movss xmm5, dword [esp + 0x18]
movss xmm3, dword [esp + 0x24]
mov ecx, dword [0x693270]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm5
addss xmm1, xmm3
movss dword [esp + 0x3c], xmm1
cmp esi, edi
jae 0x48f6c5
movaps xmm3, xmm4
movss dword [esp + 0x20], xmm1
addss xmm3, dword [0x67adb0]
movaps xmm0, xmm1
movaps xmm2, xmm1
addss xmm0, xmm5
movss dword [esp + 0x30], xmm3
movss dword [esp + 0xc], xmm0
nop dword [eax]
mov eax, dword [ecx + 0x1160]
comiss xmm0, dword [eax + 0x214]
jbe 0x48f502
movss xmm0, dword [eax + 0x21c]
comiss xmm0, xmm2
jbe 0x48f502
comiss xmm3, dword [eax + 0x210]
jbe 0x48f502
movss xmm0, dword [eax + 0x218]
comiss xmm0, xmm4
ja 0x48f50f
cmp byte [ecx + 0x35d0], 0
je 0x48f5fd
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call fcn.005ac570
add esp, 0xc
test eax, eax
cmove eax, edi
mov dword [esp + 0x1c], eax
cmp esi, eax
jne 0x48f531
xorps xmm0, xmm0
jmp 0x48f585
movss xmm3, dword [0x67adb0]
push 0
push eax
push esi
push ecx
lea eax, [esp + 0x50]
mov dword [esp], 0xbf800000
push eax
mov eax, dword [0x693270]
movss xmm2, dword [eax + 0xecc]
mov ecx, dword [eax + 0xec8]
call fcn.00487800
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x67ac84]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x1c]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x40], xmm0
push dword [esp + 0x3c]
maxss xmm0, dword [esp + 0x2c]
push dword [esp + 0x3c]
mov edx, eax
mov ecx, esi
push 0
movss dword [esp + 0x34], xmm0
call fcn.0046bee0
movss xmm5, dword [esp + 0x24]
add esp, 0xc
movss xmm2, dword [esp + 0x20]
movss xmm0, dword [esp + 0xc]
addss xmm2, xmm5
movss xmm1, dword [esp + 0x3c]
addss xmm0, xmm5
mov esi, dword [esp + 0x1c]
addss xmm1, xmm5
inc esi
movss dword [esp + 0x20], xmm2
movss dword [esp + 0xc], xmm0
movss dword [esp + 0x3c], xmm1
cmp esi, edi
jae 0x48f5fd
movss xmm3, dword [esp + 0x30]
movss xmm4, dword [esp + 0x14]
mov ecx, dword [0x693270]
jmp 0x48f4d0
xor eax, eax
mov dword [esp + 0xc], eax
cmp esi, edi
jae 0x48f6ac
and dword [ebp + 8], 1
nop
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call fcn.005ac570
add esp, 0xc
test eax, eax
cmove eax, edi
cmp dword [ebp + 8], 0
mov dword [esp + 0x30], eax
jne 0x48f698
cmp esi, eax
jne 0x48f638
xorps xmm0, xmm0
jmp 0x48f68c
movss xmm3, dword [0x67adb0]
push 0
push eax
push esi
push ecx
lea eax, [esp + 0x50]
mov dword [esp], 0xbf800000
push eax
mov eax, dword [0x693270]
movss xmm2, dword [eax + 0xecc]
mov ecx, dword [eax + 0xec8]
call fcn.00487800
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x67ac84]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x30]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x40], xmm0
maxss xmm0, dword [esp + 0x28]
movss dword [esp + 0x28], xmm0
lea esi, [eax + 1]
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
cmp esi, edi
jb 0x48f610
movss xmm3, dword [esp + 0x24]
movd xmm0, eax
cvtdq2ps xmm1, xmm0
mulss xmm1, dword [esp + 0x18]
addss xmm1, dword [esp + 0x3c]
movss xmm2, dword [esp + 0x14]
subss xmm1, xmm3
movaps xmm0, xmm2
movss dword [esp + 0x40], xmm2
addss xmm0, dword [esp + 0x28]
lea ecx, [esp + 0x28]
movss dword [esp + 0x44], xmm3
movss dword [esp + 0x2c], xmm1
addss xmm1, xmm3
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x4c], xmm1
xorps xmm1, xmm1
call fcn.00479760
push 0
push 0
xor edx, edx
lea ecx, [esp + 0x48]
call fcn.004798c0
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.005aa453
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x13], 0
je 0x48f77e
comiss xmm0, xmm1
ja 0x48f77e
mov edx, dword [ecx + 0x1160]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x48f75a
movss xmm1, dword [edx + 0x1f8]
subss xmm1, xmm4
maxss xmm1, dword [0x67ac8c]
jmp 0x48f781
comiss xmm1, xmm0
jbe 0x48f770
movss xmm0, dword [edx + 0x14]
subss xmm0, dword [edx + 0x78]
addss xmm1, xmm0
xorps xmm0, xmm0
subss xmm1, xmm4
maxss xmm1, dword [0x67ac8c]
jmp 0x48f781
xorps xmm1, xmm1
movss xmm2, dword [ecx + 0xecc]
movss dword [esp + 0x18], xmm1
cmp esi, edi
je 0x48f7e0
movss xmm3, dword [0x67adb0]
lea eax, [esp + 0x40]
push 0
push edi
push esi
push ecx
mov ecx, dword [ecx + 0xec8]
movss dword [esp], xmm1
push eax
call fcn.00487800
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x67ac84]
movss xmm2, dword [esp + 0x44]
movss xmm4, dword [esp + 0x14]
movss xmm3, dword [esp + 0x24]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm4
movss dword [esp + 0x38], xmm0
addss xmm1, xmm0
movss dword [esp + 0x3c], xmm2
movaps xmm0, xmm3
movss dword [esp + 0x40], xmm4
addss xmm0, xmm2
movss dword [esp + 0x44], xmm3
lea ecx, [esp + 0x38]
movss dword [esp + 0x48], xmm1
xorps xmm1, xmm1
movss dword [esp + 0x4c], xmm0
call fcn.00479760
push 0
push 0
xor edx, edx
lea ecx, [esp + 0x48]
call fcn.004798c0
add esp, 8
test al, al
je 0x48f951
mov edx, dword [0x693270]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0x1160]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x14], edx
test edi, edi
jne 0x48f873
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48f861
mov eax, dword [edx + 0x1160]
sub ecx, edi
lea edi, [ecx + esi]
cmp esi, edi
je 0x48f951
mov eax, dword [eax + 0x264]
xor ecx, ecx
movss xmm1, dword [0x67ac8c]
mov dword [esp + 0xc], eax
call fcn.0046bd20
mov ecx, dword [edx + 0xec8]
movss xmm2, dword [edx + 0xecc]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edi
test eax, 0xff000000
je 0x48f939
test edi, edi
jne 0x48f8dc
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x30], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48f8c6
sub ecx, dword [esp + 0x30]
lea eax, [ecx + esi]
mov dword [esp + 0x20], eax
cmp esi, eax
je 0x48f939
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
test edx, edx
jne 0x48f8ee
mov eax, dword [ecx + 0x2c]
mov edx, dword [eax + 8]
ucomiss xmm2, dword [0x67ac18]
lahf
test ah, 0x44
jp 0x48f903
mov eax, dword [ecx + 0x2c]
movss xmm2, dword [eax + 0xc]
movups xmm0, xmmword [ecx + 0x60]
push 0
push ecx
movups xmmword [esp + 0x48], xmm0
lea eax, [esp + 0x48]
movss xmm0, dword [esp + 0x20]
movss dword [esp], xmm0
push dword [esp + 0x28]
push esi
push eax
push dword [esp + 0x38]
lea eax, [esp + 0x50]
push eax
push ecx
mov ecx, edx
call fcn.004879c0
mov edx, dword [esp + 0x14]
cmp byte [edx + 0x35d0], 0
je 0x48f951
push edi
mov edx, esi
lea ecx, [esp + 0x3c]
call fcn.0047f8b0
add esp, 4
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
xor ecx, esp
call fcn.005aa453
mov esp, ebp
pop ebp
ret