Function at 0x10057e00
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x28
movss xmm6, dword [ebx + 0x10]
movaps xmm3, xmm6
addss xmm3, dword [0x10145040]
push esi
mov esi, edx
mov edx, ecx
push edi
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], edx
movss dword [ebp - 8], xmm3
test edi, edi
je 0x1005846b
mov ecx, dword [ebx + 8]
xorps xmm2, xmm2
nop dword [eax + eax]
movss xmm4, dword [edi + 0x18]
comiss xmm4, xmm6
jb 0x10058474
movss xmm0, dword [edi + 8]
movss xmm1, dword [edi + 4]
ucomiss xmm0, xmm2
movss dword [ebp - 0x20], xmm1
lahf
test ah, 0x44
jp 0x10057efe
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10058461
sub esp, 0xc
comiss xmm1, xmm2
movss dword [esp + 8], xmm3
movaps xmm3, xmm1
movss dword [esp + 4], xmm1
movss dword [esp], xmm6
push edi
jb 0x10057efa
mov ecx, dword [ebp - 4]
cvttss2si esi, xmm1
mov edx, esi
call fcn.10057c90
movss xmm0, dword [ebp - 8]
lea edx, [esi + 1]
movss xmm3, dword [ebp - 0x20]
add esp, 4
mov esi, dword [ebp - 0x1c]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebx + 0x10]
movss dword [esp + 4], xmm3
movss dword [esp], xmm0
push edi
lea ecx, [esi - 4]
call fcn.10057c90
movss xmm6, dword [ebx + 0x10]
add esp, 0x10
mov edx, dword [ebp - 4]
mov ecx, dword [ebx + 8]
jmp 0x10058459
xor edx, edx
jmp 0x10057edf
movss xmm7, dword [edi + 0x14]
movaps xmm5, xmm0
comiss xmm3, xmm7
movss xmm2, dword [edi + 0xc]
addss xmm5, xmm1
movss dword [ebp - 0x10], xmm2
movss dword [ebp - 0x18], xmm7
movss dword [ebp - 0xc], xmm5
jb 0x10058474
comiss xmm7, xmm6
jbe 0x10057f3d
movaps xmm2, xmm7
subss xmm2, xmm6
mulss xmm2, xmm0
addss xmm2, xmm1
jmp 0x10057f48
movaps xmm2, xmm1
movss dword [ebp - 0x18], xmm6
movaps xmm7, xmm6
comiss xmm3, xmm4
jbe 0x10057f5e
movaps xmm3, xmm4
subss xmm3, xmm6
mulss xmm3, xmm0
addss xmm3, xmm1
jmp 0x10057f66
movss xmm4, dword [ebp - 8]
movaps xmm3, xmm5
comiss xmm2, dword [0x10144e98]
jb 0x1005823e
comiss xmm3, dword [0x10144e98]
jb 0x1005823e
movd xmm6, dword [ebx + 8]
cvtdq2ps xmm6, xmm6
comiss xmm6, xmm2
movss xmm6, dword [ebx + 0x10]
jbe 0x1005823e
movd xmm6, dword [ebx + 8]
cvtdq2ps xmm6, xmm6
comiss xmm6, xmm3
movss xmm6, dword [ebx + 0x10]
jbe 0x1005823e
cvttss2si ecx, xmm2
cvttss2si eax, xmm3
cmp ecx, eax
jne 0x1005801e
subss xmm4, xmm7
test ecx, ecx
js 0x10058474
cmp ecx, dword [ebx + 8]
jge 0x10058474
xorps xmm0, xmm0
cvtsi2ss xmm0, ecx
subss xmm3, xmm0
subss xmm2, xmm0
movss xmm0, dword [0x10145040]
addss xmm3, xmm2
mulss xmm3, dword [0x10144fec]
subss xmm0, xmm3
mulss xmm0, dword [edi + 0x10]
mulss xmm0, xmm4
addss xmm0, dword [edx + ecx*4]
movss dword [edx + ecx*4], xmm0
mulss xmm4, dword [edi + 0x10]
addss xmm4, dword [esi + ecx*4]
movss dword [esi + ecx*4], xmm4
mov ecx, dword [ebx + 8]
jmp 0x10058459
comiss xmm2, xmm3
jbe 0x10058062
movss xmm0, dword [ebp - 8]
subss xmm7, xmm6
subss xmm4, xmm6
movaps xmm1, xmm5
subss xmm0, xmm7
movss xmm7, dword [ebp - 8]
subss xmm7, xmm4
movaps xmm4, xmm0
movaps xmm0, xmm3
movaps xmm3, xmm2
movss dword [ebp - 0x18], xmm7
movaps xmm2, xmm0
movss xmm0, dword [ebp - 0x10]
xorps xmm0, xmmword [0x10145730]
movss dword [ebp - 0x10], xmm0
cvttss2si eax, xmm2
cvttss2si esi, xmm3
mov dword [ebp - 0xc], eax
lea ecx, [eax + 1]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
subss xmm0, xmm1
movss xmm1, dword [edi + 0x10]
movss dword [ebp - 0x28], xmm1
mulss xmm0, dword [ebp - 0x10]
addss xmm0, xmm6
movss dword [ebp - 0x24], xmm0
movaps xmm5, xmm0
movd xmm0, eax
subss xmm5, xmm7
cvtdq2ps xmm0, xmm0
mulss xmm5, xmm1
subss xmm2, xmm0
movss xmm0, dword [0x10144fec]
mulss xmm2, xmm0
subss xmm0, xmm2
movss xmm2, dword [ebp - 0x10]
mulss xmm1, xmm2
mulss xmm0, xmm5
movss dword [ebp - 0x14], xmm1
addss xmm0, dword [edx + eax*4]
movss dword [edx + eax*4], xmm0
cmp ecx, esi
jge 0x100581b2
mov eax, esi
movaps xmm7, xmm1
mulss xmm7, dword [0x10144fec]
sub eax, ecx
cmp eax, 4
jl 0x1005818a
lea eax, [edx + 8]
movaps xmm6, xmm1
lea eax, [eax + ecx*4]
mov dword [ebp - 0x20], eax
mov eax, esi
mov edx, dword [ebp - 0x20]
sub eax, ecx
sub eax, 4
shr eax, 2
inc eax
lea ecx, [ecx + eax*4]
movaps xmm0, xmm7
movaps xmm2, xmm6
addss xmm0, xmm5
movaps xmm1, xmm6
addss xmm2, xmm5
movaps xmm5, xmm6
addss xmm0, dword [edx - 8]
addss xmm1, xmm2
movss dword [edx - 8], xmm0
movaps xmm0, xmm7
addss xmm0, xmm2
movaps xmm2, xmm6
addss xmm2, xmm1
addss xmm0, dword [edx - 4]
addss xmm5, xmm2
movss dword [edx - 4], xmm0
movaps xmm0, xmm7
addss xmm0, xmm1
addss xmm0, dword [edx]
movss dword [edx], xmm0
movaps xmm0, xmm7
addss xmm0, xmm2
addss xmm0, dword [edx + 4]
movss dword [edx + 4], xmm0
add edx, 0x10
sub eax, 1
jne 0x10058112
movss xmm6, dword [ebx + 0x10]
mov edx, dword [ebp - 4]
movss xmm1, dword [ebp - 0x14]
movss xmm2, dword [ebp - 0x10]
cmp ecx, esi
jge 0x100581ad
nop
movaps xmm0, xmm7
addss xmm0, xmm5
addss xmm0, dword [edx + ecx*4]
movss dword [edx + ecx*4], xmm0
inc ecx
movaps xmm0, xmm1
addss xmm5, xmm0
cmp ecx, esi
jl 0x10058190
movss xmm7, dword [ebp - 0x18]
movaps xmm0, xmm5
call fcn.10003c50
movss xmm1, dword [0x10145044]
comiss xmm1, xmm0
jb 0x10058474
mov eax, esi
mov ecx, dword [ebx + 8]
sub eax, dword [ebp - 0xc]
xorps xmm0, xmm0
dec eax
movaps xmm1, xmm4
subss xmm4, xmm7
cvtsi2ss xmm0, eax
mov eax, dword [ebp - 0x1c]
mulss xmm4, dword [ebp - 0x28]
mulss xmm0, xmm2
addss xmm0, dword [ebp - 0x24]
subss xmm1, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, esi
subss xmm3, xmm0
movss xmm0, dword [0x10145040]
mulss xmm3, dword [0x10144fec]
subss xmm0, xmm3
mulss xmm0, dword [ebp - 0x28]
mulss xmm1, xmm0
addss xmm1, xmm5
addss xmm1, dword [edx + esi*4]
movss dword [edx + esi*4], xmm1
addss xmm4, dword [eax + esi*4]
movss dword [eax + esi*4], xmm4
mov esi, eax
jmp 0x10058459
xor esi, esi
test ecx, ecx
jle 0x10058456
movss xmm7, dword [0x10145040]
divss xmm7, xmm0
movss dword [ebp - 0x28], xmm7
nop dword [eax]
xorps xmm3, xmm3
lea eax, [esi + 1]
xorps xmm0, xmm0
cvtsi2ss xmm3, esi
cvtsi2ss xmm0, eax
comiss xmm3, xmm1
movaps xmm4, xmm3
movss dword [ebp - 0x14], xmm0
movaps xmm2, xmm0
subss xmm4, xmm1
subss xmm2, xmm1
mulss xmm4, xmm7
mulss xmm2, xmm7
addss xmm4, xmm6
addss xmm2, xmm6
movss dword [ebp - 0x10], xmm4
movss dword [ebp - 0x18], xmm2
jbe 0x100582f9
comiss xmm5, xmm0
jbe 0x100582f9
mov ecx, dword [ebp - 4]
sub esp, 0xc
mov edx, esi
movss dword [esp + 8], xmm4
movss dword [esp + 4], xmm3
movaps xmm3, xmm1
movss dword [esp], xmm6
push edi
call fcn.10057c90
movss xmm0, dword [ebp - 0x18]
add esp, 4
movss xmm3, dword [ebp - 0x14]
movss xmm1, dword [ebp - 0x10]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm3
movd xmm0, esi
movss dword [esp], xmm1
cvtdq2ps xmm3, xmm0
jmp 0x100583e4
comiss xmm3, xmm5
jbe 0x10058373
comiss xmm1, xmm0
jbe 0x10058373
mov ecx, dword [ebp - 4]
sub esp, 0xc
movaps xmm3, xmm1
mov edx, esi
movss dword [esp + 8], xmm2
movss dword [esp + 4], xmm0
movss dword [esp], xmm6
push edi
call fcn.10057c90
movss xmm0, dword [ebp - 0x10]
add esp, 4
movss xmm3, dword [ebp - 0x14]
movss dword [esp + 8], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
mov edx, esi
push edi
call fcn.10057c90
movss xmm1, dword [ebp - 0x10]
add esp, 0x10
movss xmm5, dword [ebp - 0xc]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
jmp 0x10058409
comiss xmm3, xmm1
jbe 0x10058396
comiss xmm5, xmm3
jbe 0x10058396
sub esp, 0xc
movss dword [esp + 8], xmm4
movss dword [esp + 4], xmm3
movaps xmm3, xmm1
movss dword [esp], xmm6
jmp 0x1005834f
comiss xmm3, xmm5
jbe 0x100583b9
comiss xmm1, xmm3
jbe 0x100583b9
sub esp, 0xc
movss dword [esp + 8], xmm4
movss dword [esp + 4], xmm3
movaps xmm3, xmm1
movss dword [esp], xmm6
jmp 0x1005834f
comiss xmm0, xmm1
jbe 0x100583c3
comiss xmm5, xmm0
ja 0x100583cd
comiss xmm0, xmm5
jbe 0x10058403
comiss xmm1, xmm0
jbe 0x10058403
sub esp, 0xc
movaps xmm3, xmm1
movss dword [esp + 8], xmm2
movss dword [esp + 4], xmm0
movss dword [esp], xmm6
mov ecx, dword [ebp - 4]
mov edx, esi
push edi
call fcn.10057c90
movss xmm0, dword [ebp - 0x14]
add esp, 0x10
movss xmm1, dword [ebp - 0x18]
movss xmm5, dword [ebp - 0xc]
jmp 0x10058409
movaps xmm0, xmm1
movaps xmm1, xmm6
movss xmm2, dword [ebp - 8]
sub esp, 0xc
mov ecx, dword [ebp - 4]
movaps xmm3, xmm0
mov edx, esi
movss dword [esp + 8], xmm2
movss dword [esp + 4], xmm5
movss dword [esp], xmm1
push edi
call fcn.10057c90
mov ecx, dword [ebx + 8]
inc esi
movss xmm1, dword [ebp - 0x20]
add esp, 0x10
movss xmm5, dword [ebp - 0xc]
movss xmm6, dword [ebx + 0x10]
movss xmm7, dword [ebp - 0x28]
cmp esi, ecx
jl 0x10058260
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 0x1c]
movss xmm3, dword [ebp - 8]
xorps xmm2, xmm2
mov edi, dword [edi]
test edi, edi
jne 0x10057e50
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3