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

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x54]
xor ebp, ebp
push 0xffffffffffffff9d
pop eax
push 0x34
push 0
inc ebp
mov dword [esp + 0x1c], eax
push edi
mov dword [esp + 0x1c], ebp
call fcn.0042d490
mov esi, dword [esp + 0x68]
add esp, 4
mov eax, dword [esi]
mov dword [edi + 0x24], eax
movd xmm0, dword [esi]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x5c23cc]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.005963b0
movsd xmm0, qword [0x5bc7b0]
fstp qword [esp + 0x40]
movsd qword [esp], xmm0
call fcn.005963b0
movsd xmm0, qword [esp + 0x40]
fstp qword [esp + 0x38]
divsd xmm0, qword [esp + 0x38]
addsd xmm0, qword [0x5bc4e8]
movsd qword [esp], xmm0
call fcn.00596200
movd xmm0, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
cvtdq2ps xmm0, xmm0
movd xmm1, ebx
mulss xmm0, dword [0x5c2364]
cvtdq2pd xmm1, xmm1
cvtps2pd xmm0, xmm0
fsub qword [0x5bbbe0]
mulsd xmm0, qword [0x5bc4e8]
fstp qword [esp + 0x40]
cvttsd2si eax, qword [esp + 0x40]
divsd xmm0, xmm1
mov dword [edi + 0x20], eax
movsd qword [esp + 0x40], xmm1
movsd qword [esp], xmm0
call fcn.005963b0
mov ecx, dword [edi + 0x20]
mov eax, ebp
fmul qword [0x5c2390]
inc ecx
movd xmm0, dword [esi]
shl eax, cl
cvtdq2pd xmm0, xmm0
fsub qword [0x5c23b0]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
fstp qword [esp + 0x38]
mulsd xmm1, qword [esp + 0x38]
subsd xmm1, xmm0
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
cvttsd2si eax, xmm1
addss xmm0, dword [0x5c2364]
movd xmm1, dword [esp + 0x6c]
cvtdq2ps xmm1, xmm1
mov dword [edi + 0x1c], eax
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x5bc4e8]
divsd xmm0, qword [esp + 0x40]
movsd qword [esp], xmm0
call fcn.005963b0
fmul qword [0x5c2390]
mov ecx, dword [edi + 0x20]
fsub qword [0x5c23b0]
fstp qword [esp + 0x38]
inc ecx
mov eax, ebp
shl eax, cl
mov ebp, ebx
shl ebp, 2
push ebp
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [esp + 0x3c]
addsd xmm0, qword [0x5bc4e8]
cvttsd2si eax, xmm0
sub eax, dword [edi + 0x1c]
inc eax
mov dword [edi + 0x28], eax
call fcn.00573de4
push ebp
mov dword [edi + 0x10], eax
call fcn.00573de4
push ebp
mov dword [edi + 0x14], eax
call fcn.00573de4
mov dword [edi + 0x18], eax
add esp, 0x14
mov eax, dword [esp + 0x58]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x64]
mov dword [edi], ebx
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], 0x3f800000
cmp eax, 0x6590
jge 0x468819
and dword [edi + 0x30], 0
jmp 0x468837
cmp eax, 0x9470
jge 0x468829
mov dword [edi + 0x30], 0x3f70a3d7
jmp 0x468837
cmp eax, 0xb3b0
jle 0x468837
mov dword [edi + 0x30], 0x3fa33333
xor esi, esi
xor ebp, ebp
xorps xmm0, xmm0
lea eax, [ebp + 1]
cvtsi2sd xmm0, eax
push ecx
push ecx
mov dword [esp + 0x64], eax
mulsd xmm0, qword [0x5c2380]
subsd xmm0, qword [0x5bc7b0]
addsd xmm0, qword [0x5c23b0]
mulsd xmm0, qword [0x5c2388]
movsd qword [esp], xmm0
call fcn.005966a0
fstp qword [esp + 0x38]
movsd xmm0, qword [esp + 0x38]
xorps xmm1, xmm1
cvtsi2sd xmm1, dword [esp + 0x6c]
addsd xmm0, xmm0
mulsd xmm0, qword [esp + 0x40]
divsd xmm0, xmm1
addsd xmm0, qword [0x5bc4e8]
movsd qword [esp], xmm0
call fcn.00596200
pop ecx
fstp qword [esp + 0x34]
pop ecx
cvttsd2si ecx, qword [esp + 0x30]
cmp esi, ecx
jge 0x468908
movss xmm2, dword [ebp*4 + 0x5bc828]
mov eax, ecx
movss xmm1, dword [ebp*4 + 0x5bc82c]
sub eax, esi
subss xmm1, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cmp esi, ebx
jge 0x468908
mov eax, dword [edi + 0x10]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
addsd xmm0, qword [0x5bba40]
cvtpd2ps xmm0, xmm0
movss dword [eax + esi*4], xmm0
inc esi
movaps xmm0, xmm1
addss xmm2, xmm0
cmp esi, ecx
jl 0x4688dd
mov ebp, dword [esp + 0x5c]
cmp ebp, 0x57
jl 0x46883b
jmp 0x468922
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx + esi*4 - 4]
mov dword [ecx + esi*4], eax
inc esi
cmp esi, ebx
jl 0x468917
xor esi, esi
test ebx, ebx
jle 0x468c58
mov eax, dword [esp + 0x64]
lea ecx, [ebx + ebx]
cdq
idiv ecx
and dword [esp + 0x2c], esi
and dword [esp + 0x5c], esi
mov ebp, eax
imul eax, ebp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
imul eax, esi
xorps xmm0, xmm0
push ecx
push ecx
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x5c2358]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.005966f0
fmul qword [0x5c23a8]
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [esp + 0x64]
fstp qword [esp + 0x28]
mulss xmm0, dword [0x5c2360]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.005966f0
mov eax, dword [esp + 0x64]
xorps xmm0, xmm0
mov edx, dword [esp + 0x1c]
fstp qword [esp + 0x38]
movsd xmm1, qword [esp + 0x38]
mulsd xmm1, qword [0x5c23c0]
pop ecx
cvtsi2ss xmm0, eax
mov eax, dword [esp + 0x5c]
pop ecx
addsd xmm1, qword [esp + 0x20]
mulss xmm0, dword [0x5c235c]
mov eax, dword [eax + 0x78]
add eax, edx
cvtps2pd xmm0, xmm0
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [esp + 0x30], xmm0
cmp eax, esi
jge 0x468abe
mov edi, dword [esp + 0x28]
mov eax, ebp
imul eax, edx
mov ecx, edi
imul ecx, edx
mov dword [esp + 0x18], eax
mov ebx, eax
mov dword [esp + 0x20], ecx
mov eax, ecx
xorps xmm0, xmm0
imul eax, edx
push ecx
push ecx
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x5c2358]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.005966f0
fmul qword [0x5c23a8]
xorps xmm0, xmm0
cvtsi2ss xmm0, ebx
fstp qword [esp + 0x48]
mulss xmm0, dword [0x5c2360]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.005966f0
mov eax, dword [esp + 0x60]
xorps xmm0, xmm0
cvtsi2ss xmm0, ebx
pop ecx
pop ecx
fstp qword [esp + 0x18]
mulss xmm0, dword [0x5c235c]
movsd xmm1, qword [esp + 0x18]
mulsd xmm1, qword [0x5c23c0]
cvtps2pd xmm0, xmm0
addsd xmm1, qword [esp + 0x40]
addsd xmm1, xmm0
movss xmm0, dword [esp + 0x30]
subss xmm0, dword [eax + 0x70]
cvtps2pd xmm0, xmm0
comisd xmm0, xmm1
jbe 0x468ab6
mov edx, dword [esp + 0x14]
add ebx, ebp
mov ecx, dword [esp + 0x20]
inc edx
mov eax, dword [eax + 0x78]
add ecx, edi
add eax, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ecx
cmp eax, esi
jl 0x468a03
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x60]
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
jg 0x468baf
mov edi, dword [esp + 0x28]
mov edx, ebp
imul edx, ecx
mov eax, edi
imul eax, ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x7c]
add eax, esi
cmp ecx, eax
jl 0x468b90
mov eax, dword [esp + 0x18]
xorps xmm0, xmm0
imul eax, ecx
push ecx
push ecx
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x5c2358]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.005966f0
fmul qword [0x5c23a8]
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [esp + 0x28]
fstp qword [esp + 0x50]
mulss xmm0, dword [0x5c2360]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.005966f0
mov edx, dword [esp + 0x28]
xorps xmm0, xmm0
mov eax, dword [esp + 0x60]
fstp qword [esp + 0x48]
movsd xmm1, qword [esp + 0x48]
mulsd xmm1, qword [0x5c23c0]
pop ecx
cvtsi2ss xmm0, edx
pop ecx
mov ecx, dword [esp + 0x10]
addsd xmm1, qword [esp + 0x48]
mulss xmm0, dword [0x5c235c]
cvtps2pd xmm0, xmm0
addsd xmm1, xmm0
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [eax + 0x74]
cvtps2pd xmm0, xmm0
comisd xmm0, xmm1
jbe 0x468bab
jmp 0x468b94
mov eax, dword [esp + 0x58]
add dword [esp + 0x18], edi
inc ecx
add edx, ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], edx
cmp ecx, ebx
jle 0x468ae4
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
add dword [esp + 0x5c], ebp
shl eax, 0x10
add eax, 0xfffeffff
add ecx, eax
mov eax, dword [edi + 0x18]
mov dword [eax + esi*4], ecx
inc esi
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
cmp esi, ebx
jl 0x46894f
xor esi, esi
movd xmm1, dword [esp + 0x64]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push ecx
push ecx
cvtdq2pd xmm1, xmm1
addss xmm0, dword [0x5c2364]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x5bc4e8]
mulsd xmm0, xmm1
divsd xmm0, qword [esp + 0x40]
movsd qword [esp], xmm0
call fcn.005963b0
fmul qword [0x5c2390]
xor eax, eax
pop ecx
pop ecx
mov ecx, dword [edi + 0x20]
inc eax
inc ecx
fsub qword [0x5c23b0]
shl eax, cl
movd xmm0, eax
mov eax, dword [edi + 0x14]
cvtdq2pd xmm0, xmm0
fstp qword [esp + 0x48]
mulsd xmm0, qword [esp + 0x48]
addsd xmm0, qword [0x5bc4e8]
cvttsd2si ecx, xmm0
mov dword [eax + esi*4], ecx
inc esi
cmp esi, ebx
jl 0x468bde
mov eax, dword [esp + 0x58]
push ecx
push ecx
movss xmm0, dword [eax + 0x1c]
movss dword [esp + 4], xmm0
movss xmm0, dword [eax + 0x18]
add eax, 0x24
movss dword [esp], xmm0
movd xmm0, dword [esp + 0x6c]
cvtdq2pd xmm0, xmm0
push ebx
push ecx
mulsd xmm0, qword [0x5bc4e8]
divsd xmm0, qword [esp + 0x48]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
push eax
call fcn.00469cab
push 0xc
mov dword [edi + 8], eax
call fcn.00573de4
mov ebp, ebx
mov dword [edi + 0xc], eax
add esp, 0x18
xor esi, esi
shl ebp, 2
push ebp
call fcn.00573de4
pop ecx
mov ecx, dword [edi + 0xc]
mov dword [esi + ecx], eax
add esi, 4
cmp esi, 0xc
jl 0x468cb6
xor esi, esi
test ebx, ebx
jle 0x468db4
movsd xmm1, qword [esp + 0x38]
addsd xmm1, xmm1
movsd qword [esp + 0x38], xmm1
xorps xmm0, xmm0
xorps xmm2, xmm2
cvtsi2sd xmm2, dword [esp + 0x64]
push ecx
push ecx
cvtsi2sd xmm0, esi
addsd xmm0, qword [0x5bc4e8]
mulsd xmm0, xmm2
divsd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.005963b0
fmul qword [0x5c2390]
xorps xmm1, xmm1
movss xmm2, dword [0x5c23d4]
movsd xmm3, qword [0x5bbbe0]
pop ecx
pop ecx
fsub qword [0x5c23b0]
xor ecx, ecx
fstp qword [esp + 0x48]
movsd xmm0, qword [esp + 0x48]
addsd xmm0, xmm0
cvtpd2ps xmm0, xmm0
maxss xmm1, xmm0
xorps xmm0, xmm0
minss xmm2, xmm1
cvttss2si eax, xmm2
cvtsi2ss xmm0, eax
lea edx, [eax*4 + 0x88]
subss xmm2, xmm0
cvtps2pd xmm0, xmm2
subsd xmm3, xmm0
mov eax, dword [edi + 4]
movaps xmm0, xmm2
movss xmm1, dword [eax + edx - 4]
mulss xmm0, dword [eax + edx]
add edx, 0x44
mov eax, dword [edi + 0xc]
cvtps2pd xmm1, xmm1
mov eax, dword [ecx + eax]
add ecx, 4
cvtss2sd xmm0, xmm0
mulsd xmm1, xmm3
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [eax + esi*4], xmm0
cmp ecx, 0xc
jl 0x468d6b
movsd xmm1, qword [esp + 0x38]
inc esi
cmp esi, ebx
jl 0x468ce5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret