Function at 0x10068ca0
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
push 0xffffffffffffffff
push 0x1012e7c3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
push esi
push edi
mov eax, dword [0x1016c008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], edx
mov esi, ecx
mov edi, dword [0x101e0c0c]
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x10068cf3
inc dword [edi + 0x36c]
push dword [0x101e0c08]
push 0x340
call fcn.10062c40
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x11]
add esp, 8
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x10068d2d
push esi
push edi
mov ecx, eax
call fcn.10065080
mov esi, eax
mov dword [ebp - 0x20], eax
jmp 0x10068d32
xor esi, esi
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [esi + 4]
mov dword [esi + 8], eax
lea eax, [edi + 0x197c]
mov ecx, dword [eax]
mov edi, dword [eax + 8]
mov dword [ebp - 0x28], eax
mov eax, edi
mov dword [ebp - 0x24], edx
test ecx, ecx
je 0x10068d92
mov esi, edx
nop dword [eax + eax]
mov edx, ecx
shr edx, 1
cmp dword [edi + edx*8], esi
lea eax, [edi + edx*8]
jae 0x10068d78
lea edi, [eax + 8]
or eax, 0xffffffff
sub eax, edx
add ecx, eax
jmp 0x10068d7a
mov ecx, edx
test ecx, ecx
jne 0x10068d60
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [eax]
mov eax, dword [ebp - 0x2c]
lea eax, [eax + ecx*8]
cmp edi, eax
je 0x10068da2
cmp dword [edi], edx
jne 0x10068da2
mov dword [edi + 4], esi
jmp 0x10068db5
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push eax
push edi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], esi
call fcn.10074820
test dword [ebp - 0x18], 0x100
mov dword [esi + 0xc], 0x42700000
mov dword [esi + 0x10], 0x42700000
jne 0x10068eeb
mov edi, dword [0x101e0c0c]
xor ecx, ecx
mov eax, dword [edi + 0x2c58]
test eax, eax
je 0x10068eeb
xor edx, edx
cmp ecx, eax
jge 0x1006905f
mov edi, dword [edi + 0x2c60]
mov eax, dword [esi + 4]
add edi, edx
cmp dword [edi + 4], eax
je 0x10068e19
mov edi, dword [0x101e0c0c]
inc ecx
add edx, 0x1c
mov eax, dword [edi + 0x2c58]
cmp ecx, eax
jne 0x10068dea
jmp 0x10068eeb
test edi, edi
je 0x10068eeb
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x2c60]
cmp edi, edx
jb 0x1006905f
mov eax, dword [eax + 0x2c58]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [edx + ecx*4]
cmp edi, eax
ja 0x1006905f
and dword [esi + 0xac], 0xfffffffb
mov ecx, edi
and dword [esi + 0xb0], 0xfffffffb
sub ecx, edx
and dword [esi + 0xb4], 0xfffffffb
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0x270], eax
cvttss2si eax, dword [edi + 8]
movd xmm1, eax
cvttss2si eax, dword [edi + 0xc]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0xc], xmm1
movss dword [esi + 0x10], xmm0
mov al, byte [edi + 0x18]
mov byte [esi + 0x7d], al
movss xmm2, dword [edi + 0x14]
movss xmm3, dword [edi + 0x10]
movaps xmm0, xmm2
movaps xmm1, xmm3
mulss xmm0, xmm2
mulss xmm1, xmm3
addss xmm1, xmm0
comiss xmm1, dword [0x101625f4]
jbe 0x10068eeb
cvttss2si eax, xmm3
movd xmm1, eax
cvttss2si eax, xmm2
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebx + 8], xmm1
movss dword [ebx + 0xc], xmm0
test byte [ebp - 0x18], 0x40
cvttss2si eax, dword [ebx + 8]
movd xmm1, eax
cvttss2si eax, dword [ebx + 0xc]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x24], xmm1
mov eax, dword [esi + 0x24]
movss dword [esi + 0x28], xmm0
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ecx
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x18], ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], ecx
je 0x10068f4f
mov dword [esi + 0x94], 2
xor al, al
mov dword [esi + 0x90], 2
jmp 0x10068f8a
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x14]
jb 0x10068f62
mov dword [esi + 0x90], 2
comiss xmm0, dword [esi + 0x18]
jb 0x10068f72
mov dword [esi + 0x94], 2
cmp dword [esi + 0x90], 0
jg 0x10068f88
cmp dword [esi + 0x94], 0
jg 0x10068f88
xor al, al
jmp 0x10068f8a
mov al, 1
mov edi, dword [ebp - 0x1c]
add edi, 0x1958
mov byte [esi + 0x98], al
mov ecx, dword [edi]
mov eax, dword [edi + 4]
cmp ecx, eax
jne 0x10068fc5
inc ecx
test eax, eax
je 0x10068fb1
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x10068fb6
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.100746c0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], esi
inc dword [edi]
mov edi, dword [ebp - 0x1c]
add edi, 0x194c
test dword [ebp - 0x18], 0x2000
mov edx, dword [edi]
je 0x10069067
test edx, edx
jne 0x10069006
xor ecx, ecx
cmp dword [edi + 4], ecx
jne 0x10068ffb
push 8
mov ecx, edi
call fcn.100746c0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], esi
jmp 0x1006909e
mov ecx, dword [edi + 8]
lea eax, [ecx + edx*4]
cmp ecx, eax
ja 0x1006905f
mov eax, dword [edi + 4]
cmp edx, eax
jne 0x1006903f
lea ecx, [edx + 1]
test eax, eax
je 0x10069028
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x1006902d
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.100746c0
mov edx, dword [edi]
mov ecx, dword [edi + 8]
test edx, edx
jle 0x1006905b
lea eax, [edx*4]
push eax
push ecx
lea eax, [ecx + 4]
push eax
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [edi + 8]
add esp, 0xc
mov dword [ecx], esi
jmp 0x1006909e
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov ecx, dword [edi + 4]
cmp edx, ecx
jne 0x10069098
inc edx
mov dword [ebp - 0x2c], edx
test ecx, ecx
je 0x10069084
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x2c]
sar eax, 1
add eax, ecx
jmp 0x10069089
mov eax, 8
cmp eax, edx
mov ecx, edi
cmovg edx, eax
push edx
call fcn.100746c0
mov edx, dword [edi]
mov ecx, dword [edi + 8]
mov dword [ecx + edx*4], esi
inc dword [edi]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret