Function at 0x140008c40
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140120040]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [0x140005f00]
call fcn.140053aa0
call fcn.140053920
test eax, eax
je 0x140008fb0
mov edx, 3
mov ecx, 0x22002
call fcn.140052ea0
xor edx, edx
mov ecx, 0x22003
call fcn.140052ea0
xor edx, edx
mov ecx, 0x20003
call fcn.140052ea0
xor esi, esi
lea r8, str.Kranos___x64
xor r9d, r9d
mov qword [rsp + 0x20], rsi
mov edx, 0x190
mov ecx, 0x2d5
call fcn.140052690
mov rdi, rax
test rax, rax
je 0x140008fb0
mov rcx, rax
mov qword [rsp + 0x90], rbx
call fcn.140052350
mov ecx, 1
call fcn.140052430
mov rbx, qword [0x140126398]
mov ecx, 0x55c8
call fcn.140071bf0
mov r8, qword [0x140126398]
mov r9, rax
test r8, r8
je 0x140008d61
movsx rax, word [r8 + 0x5438]
lea rdx, [r8 + 0x543c]
mov r10d, dword [r8 + 0x3fe8]
lea rdx, [rdx + rax*8]
cmp dword [rdx], r10d
je 0x140008d56
lea ecx, [rax + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
lea rdx, [r8 + 0x543c]
sub ecx, eax
mov word [r8 + 0x5438], cx
movsx rax, cx
lea rdx, [rdx + rax*8]
mov dword [rdx], r10d
mov dword [rdx + 4], esi
inc word [rdx + 4]
inc dword [r8 + 0x5430]
test r9, r9
je 0x140008d72
xor edx, edx
mov rcx, r9
call fcn.14000d7d0
jmp 0x140008d75
mov rax, rsi
mov qword [0x140126398], rax
call fcn.140013170
test rbx, rbx
je 0x140008d8f
mov qword [0x140126398], rbx
jmp 0x140008d96
mov rbx, qword [0x140126398]
xor ecx, ecx
mov qword [rbx + 0x20], rsi
call fcn.1400339e0
mov rcx, rdi
call fcn.14003d340
call fcn.14003dfc0
mov rcx, rdi
call fcn.140053200
test eax, eax
jne 0x140008ed2
movaps xmmword [rsp + 0x70], xmm6
movss xmm6, dword [0x140111bf4]
movaps xmmword [rsp + 0x60], xmm7
movss xmm7, dword [0x140111bc0]
movaps xmmword [rsp + 0x50], xmm8
movss xmm8, dword [0x140111bbc]
movaps xmmword [rsp + 0x40], xmm9
movss xmm9, dword [0x140111bb0]
call fcn.140052e40
mov rbx, qword [0x140126398]
test rbx, rbx
je 0x140008e10
mov rbx, qword [rbx + 0xa0]
jmp 0x140008e13
mov rbx, rsi
cmp dword [rbx + 0x30], esi
jne 0x140008e1d
call fcn.14003f300
cmp dword [rbx + 0x2c], esi
jne 0x140008e27
call fcn.14003ee70
call fcn.14003dd80
call fcn.140015cd0
call fcn.140005f40
call fcn.140017e40
lea r8, [rsp + 0x30]
mov rcx, rdi
lea rdx, [rsp + 0x34]
call fcn.140052bf0
mov r9d, dword [rsp + 0x30]
xor edx, edx
mov r8d, dword [rsp + 0x34]
xor ecx, ecx
call qword [sym.imp.OPENGL32.dll_glViewport]
movaps xmm3, xmm6
movaps xmm2, xmm7
movaps xmm1, xmm8
movaps xmm0, xmm9
call qword [sym.imp.OPENGL32.dll_glClearColor]
mov ecx, 0x4000
call qword [sym.imp.OPENGL32.dll_glClear]
mov rax, qword [0x140126398]
mov rcx, qword [rax + 0x4bd0]
mov rax, qword [rcx]
mov rcx, rsi
add rax, 0x50
cmp byte [rax], sil
cmovne rcx, rax
call fcn.14003e800
mov rcx, rdi
call fcn.1400523f0
mov rcx, rdi
call fcn.140053200
test eax, eax
je 0x140008df6
movaps xmm9, xmmword [rsp + 0x40]
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
call fcn.14003e3a0
call fcn.14003d610
mov rbx, qword [0x140126398]
mov qword [0x140126398], rbx
call fcn.1400136a0
mov qword [0x140126398], rsi
test rbx, rbx
je 0x140008f7b
mov rcx, rbx
call fcn.14002bd60
mov r8, qword [0x140126398]
test r8, r8
je 0x140008f73
movsx r10, word [r8 + 0x5438]
lea rdx, [r8 + 0x543c]
mov r9d, dword [r8 + 0x3fe8]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x140008f68
lea ecx, [r10 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
lea rdx, [r8 + 0x543c]
sub ecx, eax
mov word [r8 + 0x5438], cx
movsx rax, cx
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
mov dword [rdx + 4], esi
inc word [rdx + 6]
inc dword [r8 + 0x5434]
mov rcx, rbx
call fcn.140089c20
mov rcx, rdi
call fcn.140052b10
call fcn.140053ab0
mov rbx, qword [rsp + 0x90]
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140065240
mov rsi, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
mov ecx, 0xffffffff
call fcn.1400723a0
int3