Function at 0x10085d40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov edi, dword [0x101e0c0c]
mov esi, ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x10], edi
mov eax, dword [edi + 0x198c]
mov byte [eax + 0x7c], 1
mov ebx, dword [edi + 0x198c]
cmp byte [ebx + 0x7f], 0
jne 0x100868c2
push ecx
push esi
mov ecx, ebx
call fcn.10065a90
mov dword [ebp - 0x1c], eax
mov ecx, esi
mov eax, dword [0x101e0c0c]
cmp esi, 0xffffffff
jae 0x10085da6
nop dword [eax]
mov dl, byte [ecx]
test dl, dl
je 0x10085da6
cmp dl, 0x23
jne 0x10085da0
cmp byte [ecx + 1], dl
je 0x10085da6
inc ecx
cmp ecx, 0xffffffff
jb 0x10085d90
movss xmm0, dword [eax + 0x18ac]
movss dword [ebp - 0x18], xmm0
cmp esi, ecx
jne 0x10085dc1
xorps xmm0, xmm0
movss dword [ebp - 0x14], xmm0
jmp 0x10085e05
push ecx
push ecx
push esi
push ecx
lea ecx, [ebp - 0x28]
mov dword [esp], 0xbf800000
push ecx
mov ecx, dword [eax + 0x18a8]
movaps xmm2, xmm0
call fcn.10080e40
movss xmm0, dword [ebp - 0x28]
addss xmm0, dword [0x10162720]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [ebp - 0x24]
movss dword [ebp - 0x18], xmm0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x38]
movss xmm1, dword [ebx + 0x10]
addss xmm1, dword [0x1016287c]
movss xmm2, dword [ebx + 0xc]
addss xmm2, dword [0x10162828]
shl eax, 6
sub eax, dword [ebp + 8]
mov dword [ebp - 0x38], 0x42960000
mov dword [ebp - 0x34], 0x42780000
movss dword [ebp - 8], xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x40], xmm2
addss xmm1, xmm0
movss dword [ebp - 0x50], xmm2
movaps xmm0, xmm2
addss xmm0, dword [0x101628e4]
movaps xmm3, xmm1
movss dword [ebp - 0xc], xmm1
addss xmm3, dword [0x101628c8]
movss dword [ebp - 0x3c], xmm1
movss dword [ebp - 0x4c], xmm1
movss xmm1, dword [edi + 0x1538]
movss dword [ebp - 0x20], xmm0
movss dword [ebp - 0x24], xmm3
movss dword [ebp - 0x48], xmm0
movss dword [ebp - 0x44], xmm3
call fcn.10065e10
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x50]
push 0
call fcn.10065f40
add esp, 4
test al, al
je 0x100868c2
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 1]
push 0
push eax
lea eax, [ebp - 2]
push eax
lea ecx, [ebp - 0x50]
call fcn.100857c0
add esp, 0xc
mov byte [ebp - 1], al
test al, al
je 0x10085f09
mov eax, dword [0x101e0c0c]
mov ecx, dword [eax + 0x19ac]
cmp ecx, dword [ebp - 0x1c]
je 0x10085ef5
test ecx, ecx
je 0x10085ef5
cmp byte [eax + 0x1c68], 0
jne 0x10085ef5
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov byte [eax + 0x19bf], 1
mov eax, dword [eax + 0x198c]
or dword [eax + 0x110], 4
mov edx, dword [ebp - 0x2c]
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x274]
movss xmm1, dword [edi + 0x1500]
cmp dword [edx], eax
je 0x1008600f
comiss xmm0, xmm1
jbe 0x10085f32
xorps xmm1, xmm1
jmp 0x10085f3a
minss xmm1, dword [0x10162728]
mulss xmm1, dword [0x10162960]
push 0xf
movss xmm0, dword [ebp - 0x20]
push ecx
addss xmm1, dword [0x101626c8]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebp - 0x24]
addss xmm0, dword [0x10162728]
mov dword [esp], 0
cvttss2si eax, xmm1
movss dword [ebp - 0x34], xmm0
shl eax, 0x18
or eax, 0xc0c0c
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.1007d7d0
movss xmm1, dword [edi + 0x1500]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10085f9f
xorps xmm1, xmm1
jmp 0x10085fa7
minss xmm1, dword [0x10162728]
mulss xmm1, dword [0x10162960]
push ecx
movss xmm0, dword [ebp - 0x20]
movss xmm2, dword [ebp - 0x24]
addss xmm1, dword [0x101626c8]
mov ecx, dword [ebx + 0x274]
movss dword [ebp - 0x40], xmm0
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebp - 0xc]
subss xmm0, dword [0x10162728]
cvttss2si eax, xmm1
mov dword [esp], 0x3f800000
movss dword [ebp - 0x3c], xmm2
shl eax, 0x18
or eax, 0x2d2d2d
movss dword [ebp - 0x34], xmm0
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.1007d5d0
jmp 0x10086434
comiss xmm0, xmm1
jbe 0x10086019
xorps xmm1, xmm1
jmp 0x10086021
minss xmm1, dword [0x10162728]
mulss xmm1, dword [0x10162960]
push ecx
movss xmm0, dword [ebp - 0x20]
movss xmm2, dword [ebp - 8]
addss xmm1, dword [0x101626c8]
mov dword [esp], 0x3f800000
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [ebp - 0xc]
movss dword [ebp - 0x3c], xmm0
cvttss2si eax, xmm1
movss dword [ebp - 0x38], xmm2
shl eax, 0x18
or eax, 0x2d2d2d
movss dword [ebp - 0x34], xmm0
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.1007d5d0
movss xmm2, dword [edi + 0x1500]
xorps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x1008608b
xorps xmm2, xmm2
jmp 0x10086093
minss xmm2, dword [0x10162728]
mulss xmm2, dword [0x10162960]
push ecx
movss xmm1, dword [ebp - 8]
mov ecx, dword [ebx + 0x274]
movaps xmm0, xmm1
addss xmm2, dword [0x101626c8]
addss xmm0, dword [0x101628e8]
mov dword [esp], 0x3f800000
movss dword [ebp - 0x38], xmm1
cvttss2si eax, xmm2
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [ebp - 0x24]
shl eax, 0x18
or eax, 0x2d2d2d
movss dword [ebp - 0x3c], xmm0
push eax
lea eax, [ebp - 0x40]
movss dword [ebp - 0x34], xmm0
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.1007d5d0
movss xmm3, dword [edi + 0x1500]
xorps xmm0, xmm0
comiss xmm0, xmm3
jbe 0x10086109
xorps xmm3, xmm3
jmp 0x10086111
minss xmm3, dword [0x10162728]
mulss xmm3, dword [0x10162960]
push 0xf
movss xmm2, dword [ebx + 0xc]
movss xmm1, dword [ebx + 0x10]
movaps xmm0, xmm2
addss xmm3, dword [0x101626c8]
addss xmm0, dword [0x101628f0]
addss xmm2, dword [0x10162828]
push ecx
mov ecx, dword [ebx + 0x274]
cvttss2si eax, xmm3
mov dword [esp], 0
movss dword [ebp - 0x40], xmm0
movaps xmm0, xmm1
addss xmm0, dword [0x1016287c]
addss xmm1, dword [0x10162834]
shl eax, 0x18
or eax, 0xc0c0c
movss dword [ebp - 0x38], xmm2
push eax
lea eax, [ebp - 0x40]
movss dword [ebp - 0x3c], xmm0
push eax
lea eax, [ebp - 0x38]
movss dword [ebp - 0x34], xmm1
push eax
call fcn.1007d7d0
movss xmm3, dword [edi + 0x1500]
xorps xmm0, xmm0
comiss xmm0, xmm3
jbe 0x100861a4
xorps xmm3, xmm3
jmp 0x100861ac
minss xmm3, dword [0x10162728]
mulss xmm3, dword [0x10162960]
push ecx
movss xmm1, dword [ebx + 0x10]
movss xmm2, dword [ebx + 0xc]
movaps xmm0, xmm1
addss xmm3, dword [0x101626c8]
addss xmm2, dword [0x101628f0]
addss xmm0, dword [0x1016287c]
addss xmm1, dword [0x10162834]
mov ecx, dword [ebx + 0x274]
cvttss2si eax, xmm3
mov dword [esp], 0x3f800000
movss dword [ebp - 0x40], xmm2
shl eax, 0x18
or eax, 0x2d2d2d
movss dword [ebp - 0x3c], xmm0
push eax
lea eax, [ebp - 0x40]
movss dword [ebp - 0x38], xmm2
push eax
lea eax, [ebp - 0x38]
movss dword [ebp - 0x34], xmm1
push eax
call fcn.1007d5d0
mov eax, dword [0x101e0c0c]
movss xmm3, dword [edi + 0x1500]
mov eax, dword [eax + 0x198c]
movss xmm0, dword [eax + 0x18]
comiss xmm0, dword [0x10162984]
xorps xmm0, xmm0
jbe 0x100862ae
comiss xmm0, xmm3
jbe 0x1008624b
xorps xmm3, xmm3
jmp 0x10086253
minss xmm3, dword [0x10162728]
mov ecx, dword [ebp + 0xc]
mov eax, 0x25f
cdq
idiv ecx
movss xmm1, dword [ebx + 0xc]
addss xmm1, dword [0x10162828]
movss xmm2, dword [ebx + 0x10]
addss xmm2, dword [0x10162850]
lea esi, [eax*8 + 1]
mov eax, 0x294
cdq
idiv ecx
movaps xmm0, xmm1
movd xmm4, esi
addss xmm0, dword [0x101628e4]
cvtdq2ps xmm4, xmm4
lea edi, [eax*8 - 3]
movss dword [ebp - 0x40], xmm0
movaps xmm0, xmm4
addss xmm0, xmm2
jmp 0x10086319
comiss xmm0, xmm3
jbe 0x100862b8
xorps xmm3, xmm3
jmp 0x100862c0
minss xmm3, dword [0x10162728]
mov ecx, dword [ebp + 0xc]
mov eax, 0x220
cdq
idiv ecx
movss xmm1, dword [ebx + 0xc]
addss xmm1, dword [0x10162828]
movss xmm2, dword [ebx + 0x10]
addss xmm2, dword [0x10162850]
lea esi, [eax*8 - 7]
mov eax, 0x20f
cdq
idiv ecx
movaps xmm0, xmm1
movd xmm4, esi
addss xmm0, dword [0x101628e4]
cvtdq2ps xmm4, xmm4
lea edi, [eax*8 - 2]
movss dword [ebp - 0x40], xmm0
movaps xmm0, xmm2
addss xmm0, xmm4
addss xmm0, dword [ebx + 0x18]
mulss xmm3, dword [0x10162960]
push 0xf
push ecx
mov ecx, dword [ebx + 0x274]
addss xmm3, dword [0x101626c8]
subss xmm0, dword [0x1016297c]
mov dword [esp], 0
movss dword [ebp - 0x38], xmm1
cvttss2si eax, xmm3
movss dword [ebp - 0x3c], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
shl eax, 0x18
or eax, 0xc0c0c
push eax
lea eax, [ebp - 0x40]
push eax
addss xmm0, xmm2
lea eax, [ebp - 0x38]
push eax
movss dword [ebp - 0x34], xmm0
call fcn.1007d7d0
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movss xmm3, dword [eax + 0x1500]
comiss xmm0, xmm3
jbe 0x10086392
xorps xmm3, xmm3
jmp 0x1008639a
minss xmm3, dword [0x10162728]
movss xmm2, dword [ebx + 0x10]
addss xmm2, dword [0x10162850]
mulss xmm3, dword [0x10162960]
push ecx
movd xmm4, esi
cvtdq2ps xmm4, xmm4
mov ecx, dword [ebx + 0x274]
mov dword [esp], 0x3f800000
addss xmm3, dword [0x101626c8]
movaps xmm0, xmm2
movss xmm1, dword [ebx + 0xc]
addss xmm0, xmm4
addss xmm1, dword [0x101628f0]
cvttss2si eax, xmm3
addss xmm0, dword [ebx + 0x18]
shl eax, 0x18
or eax, 0x2d2d2d
movss dword [ebp - 0x40], xmm1
push eax
lea eax, [ebp - 0x40]
movss dword [ebp - 0x38], xmm1
subss xmm0, dword [0x1016297c]
push eax
lea eax, [ebp - 0x38]
push eax
movss dword [ebp - 0x3c], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
subss xmm2, dword [0x10162728]
movss dword [ebp - 0x34], xmm2
call fcn.1007d5d0
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x30]
cmp byte [ebp - 1], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x2c]
je 0x10086442
mov dword [ecx], eax
cmp byte [ebp - 2], 0
movss xmm3, dword [edi + 0x1500]
movss xmm5, dword [0x101626b0]
movaps xmm6, xmm3
movss dword [ebp - 0x24], xmm6
je 0x1008646d
movss xmm5, dword [0x101626e4]
movss dword [ebp - 0x24], xmm3
movaps xmm2, xmm5
movss dword [ebp - 0x2c], xmm2
cmp dword [ecx], eax
jne 0x10086489
movss xmm5, dword [0x101626fc]
movaps xmm2, xmm5
movss dword [ebp - 0x2c], xmm5
mov edx, dword [ebx + 0x274]
cmp eax, 1
jne 0x10086691
mulss xmm3, dword [0x101626dc]
xorps xmm0, xmm0
comiss xmm0, xmm3
movss xmm0, dword [0x10162728]
jbe 0x100864b5
xorps xmm3, xmm3
jmp 0x100864b9
minss xmm3, xmm0
movss xmm2, dword [ebp - 8]
addss xmm2, dword [0x10162890]
movss xmm1, dword [0x101626c8]
movss xmm4, dword [ebp - 0x14]
mulss xmm3, dword [0x10162960]
push ecx
mulss xmm4, xmm1
mov ecx, edx
push esi
addss xmm3, xmm1
subss xmm2, xmm4
movss xmm4, dword [ebp - 0x18]
mulss xmm4, xmm1
cvttss2si eax, xmm3
movss dword [ebp - 8], xmm2
addss xmm2, xmm0
shl eax, 0x18
push eax
lea eax, [ebp - 0x40]
push eax
movss dword [ebp - 0x20], xmm2
movss dword [ebp - 0x40], xmm2
movss xmm2, dword [ebp - 0xc]
addss xmm2, dword [0x10162880]
subss xmm2, xmm4
movss dword [ebp - 0xc], xmm2
subss xmm2, xmm0
movss dword [ebp - 0x30], xmm2
movss dword [ebp - 0x3c], xmm2
call fcn.1007de00
movss xmm1, dword [edi + 0x1500]
xorps xmm0, xmm0
mulss xmm1, dword [0x101626dc]
comiss xmm0, xmm1
jbe 0x10086559
xorps xmm1, xmm1
jmp 0x10086561
minss xmm1, dword [0x10162728]
mulss xmm1, dword [0x10162960]
push ecx
movss xmm2, dword [ebp - 8]
subss xmm2, dword [0x10162728]
addss xmm1, dword [0x101626c8]
movss xmm0, dword [ebp - 0x30]
mov ecx, dword [ebx + 0x274]
push esi
movss dword [ebp - 0x40], xmm2
cvttss2si eax, xmm1
movss dword [ebp - 0x3c], xmm0
shl eax, 0x18
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.1007de00
movss xmm1, dword [edi + 0x1500]
xorps xmm0, xmm0
mulss xmm1, dword [0x101626dc]
comiss xmm0, xmm1
jbe 0x100865c3
xorps xmm1, xmm1
jmp 0x100865cb
minss xmm1, dword [0x10162728]
mulss xmm1, dword [0x10162960]
push ecx
movss xmm0, dword [ebp - 0x20]
mov ecx, dword [ebx + 0x274]
addss xmm1, dword [0x101626c8]
push esi
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [ebp - 0xc]
movss dword [ebp - 0x3c], xmm0
cvttss2si eax, xmm1
shl eax, 0x18
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.1007de00
movss xmm2, dword [ebp - 0x2c]
xorps xmm1, xmm1
comiss xmm1, xmm2
movss xmm3, dword [0x10162728]
movss xmm4, dword [0x101626c8]
movss xmm5, dword [0x10162960]
jbe 0x10086634
xorps xmm2, xmm2
xor ecx, ecx
jmp 0x1008665b
minss xmm2, xmm3
movaps xmm0, xmm2
mulss xmm0, xmm5
addss xmm0, xmm4
cvttss2si ecx, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm5
shl ecx, 8
addss xmm0, xmm4
cvttss2si eax, xmm0
or ecx, eax
movss xmm0, dword [ebp - 0x24]
mulss xmm2, xmm5
addss xmm2, xmm4
cvttss2si eax, xmm2
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm0
ja 0x1008667d
minss xmm0, xmm3
movaps xmm1, xmm0
movss xmm0, dword [ebp - 8]
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [ebp - 0x30]
jmp 0x1008689a
cmp eax, 8
jne 0x1008677c
movss xmm3, dword [0x10162728]
xorps xmm1, xmm1
comiss xmm1, xmm5
movss xmm4, dword [0x10162960]
jbe 0x100866b9
xorps xmm5, xmm5
xor ecx, ecx
jmp 0x100866d0
minss xmm5, xmm3
movaps xmm0, xmm5
mulss xmm0, xmm4
addss xmm0, dword [0x101626c8]
cvttss2si ecx, xmm0
movss xmm0, dword [0x101626c8]
mulss xmm5, xmm4
addss xmm5, xmm0
cvttss2si eax, xmm5
shl eax, 8
or ecx, eax
comiss xmm1, xmm2
jbe 0x100866f3
xorps xmm2, xmm2
jmp 0x100866f7
minss xmm2, xmm3
mulss xmm2, xmm4
addss xmm2, xmm0
cvttss2si eax, xmm2
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm6
ja 0x10086714
minss xmm6, xmm3
movaps xmm1, xmm6
movss xmm2, dword [ebp - 8]
addss xmm2, dword [0x10162890]
movss xmm5, dword [ebp - 0x14]
mulss xmm5, xmm0
push ecx
mulss xmm1, xmm4
push esi
subss xmm2, xmm5
movss xmm5, dword [ebp - 0x18]
mulss xmm5, xmm0
addss xmm1, xmm0
movss dword [ebp - 0x40], xmm2
movss xmm2, dword [ebp - 0xc]
addss xmm2, dword [0x10162880]
cvttss2si eax, xmm1
subss xmm2, xmm5
shl eax, 0x18
or eax, ecx
mov ecx, edx
push eax
lea eax, [ebp - 0x40]
subss xmm2, xmm3
push eax
movss dword [ebp - 0x3c], xmm2
call fcn.1007de00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mulss xmm3, dword [0x101626dc]
xorps xmm0, xmm0
comiss xmm0, xmm3
jbe 0x10086791
xorps xmm3, xmm3
jmp 0x10086799
minss xmm3, dword [0x10162728]
movss xmm0, dword [ebp - 8]
addss xmm0, dword [0x10162890]
movss xmm1, dword [0x101626c8]
movss xmm2, dword [ebp - 0x14]
mulss xmm3, dword [0x10162960]
push ecx
mulss xmm2, xmm1
mov ecx, edx
push esi
addss xmm3, xmm1
subss xmm0, xmm2
movss xmm2, dword [ebp - 0x18]
mulss xmm2, xmm1
cvttss2si eax, xmm3
movss dword [ebp - 8], xmm0
addss xmm0, dword [0x10162728]
shl eax, 0x18
push eax
lea eax, [ebp - 0x40]
push eax
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [ebp - 0xc]
addss xmm0, dword [0x10162880]
subss xmm0, xmm2
movss dword [ebp - 0xc], xmm0
movss dword [ebp - 0x3c], xmm0
call fcn.1007de00
movss xmm2, dword [ebp - 0x2c]
xorps xmm1, xmm1
comiss xmm1, xmm2
movss xmm3, dword [0x10162728]
movss xmm4, dword [0x101626c8]
movss xmm5, dword [0x10162960]
jbe 0x1008683e
xorps xmm2, xmm2
xor ecx, ecx
jmp 0x10086865
minss xmm2, xmm3
movaps xmm0, xmm2
mulss xmm0, xmm5
addss xmm0, xmm4
cvttss2si ecx, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm5
shl ecx, 8
addss xmm0, xmm4
cvttss2si eax, xmm0
or ecx, eax
movss xmm0, dword [ebp - 0x24]
mulss xmm2, xmm5
addss xmm2, xmm4
cvttss2si eax, xmm2
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm0
ja 0x10086887
minss xmm0, xmm3
movaps xmm1, xmm0
movss xmm0, dword [ebp - 8]
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [ebp - 0xc]
subss xmm0, xmm3
mulss xmm1, xmm5
push ecx
push esi
movss dword [ebp - 0x3c], xmm0
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebx + 0x274]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.1007de00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret