Function at 0x140008c10
Capabilities:
Create thread
Terminate process

Disassembly:
push rdi
sub rsp, 0x1c0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x1d8], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rbx, rcx
call fcn.1400088f0
test al, al
je 0x140008efb
mov r8d, dword [rbx + 8]
lea rdx, str.AndroidRendererStopEvent__d
lea rcx, [rsp + 0xa0]
call fcn.140001ab0
mov eax, dword [rbx + 0xc]
cmp eax, 3
jne 0x140008e29
xor edi, edi
mov dword [rbx + 0x1dc], edi
xor r9d, r9d
xor r8d, r8d
lea edx, [rax - 2]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x28], rax
lea r8, [rsp + 0xa0]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenEventA]
mov qword [rbx + 0x178], rax
mov ecx, 0x390
call fcn.1400035e4
mov qword [rsp + 0x68], rax
mov ecx, dword [rbx + 0x10]
mov dword [rsp + 0x48], ecx
mov ecx, dword [rbx + 0xc]
mov dword [rsp + 0x40], ecx
mov ecx, dword [rbx + 0x1c8]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rbx + 0x1c4]
mov dword [rsp + 0x30], ecx
mov ecx, dword [rbx + 0x1c0]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rbx + 0x1bc]
mov dword [rsp + 0x20], ecx
mov r9d, dword [rbx + 0x1b8]
mov r8d, dword [rbx + 8]
lea rdx, str.127.0.0.1
mov rcx, rax
call fcn.140005f70
nop
mov qword [rbx + 0x18], rax
test byte [rbx + 0x1d8], 1
je 0x140008d2a
mov r9, qword [rax]
mov r8b, 1
lea rdx, [0x14000b648]
mov rcx, rax
call qword [r9 + 0x38]
movzx edx, byte [rbx + 0x1cc]
mov rcx, qword [rbx + 0x18]
mov rax, qword [rcx]
lea rdi, vtable.local_opengl.0
cmp rax, rdi
jne 0x140008d49
mov byte [rcx + 0x64], dl
jmp 0x140008d4c
call qword [rax + 0x58]
mov edx, dword [rbx + 0x1d0]
mov rcx, qword [rbx + 0x18]
mov rax, qword [rcx]
cmp rax, rdi
jne 0x140008d63
mov dword [rcx + 0x68], edx
jmp 0x140008d66
call qword [rax + 0x60]
movzx edx, byte [rbx + 0x1d4]
mov rcx, qword [rbx + 0x18]
mov rax, qword [rcx]
cmp rax, rdi
jne 0x140008d7e
mov byte [rcx + 0x70], dl
jmp 0x140008d81
call qword [rax + 0x70]
mov rcx, qword [rbx + 0x18]
mov rax, qword [rcx]
cmp rax, rdi
jne 0x140008d93
mov qword [rcx + 0x50], rbx
jmp 0x140008d99
mov rdx, rbx
call qword [rax + 0x18]
mov rcx, qword [rbx + 0x18]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
jne 0x140008efb
mov rax, qword [rbx + 0x28]
mov qword [rsp + 0x50], rax
mov rax, qword [rbx + 0x178]
mov qword [rsp + 0x58], rax
or r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
lea rdx, [0x14000b668]
lea rcx, [0x14000b680]
call fcn.140001010
mov rcx, qword [rbx + 0x178]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140008e20
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 0xc8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
dec eax
cmp eax, 1
ja 0x140008efb
xor edi, edi
mov qword [rbx + 0x40], rdi
mov byte [rbx + 0x20], dil
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x28], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x50], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x58], rax
mov dword [rbx + 0x130], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x138], rax
lea rcx, [rbx + 0x150]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea r9, [rsp + 0xa0]
xor r8d, r8d
lea edx, [rdi + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x178], rax
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
mov r9, rbx
lea r8, [0x1400087e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x40], rax
test rax, rax
jne 0x140008f02
lea rdx, [0x14000b6a8]
lea rcx, str._S:_Unable_to_create_ui_pipe_thread____n
call fcn.140001010
xor al, al
jmp 0x140009088
cmp dword [rbx + 0xc], 2
jne 0x140008f48
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
mov r9, rbx
lea r8, [0x140008390]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x48], rax
test rax, rax
jne 0x140008f48
lea rdx, [0x14000b710]
lea rcx, str._S:_Unable_to_create_linux_pipe_thread____n
call fcn.140001010
xor al, al
jmp 0x140009088
cmp byte [rbx + 0x20], dil
jne 0x14000907e
lea rdi, str.success
nop dword [rax]
mov rax, qword [rbx + 0x28]
mov qword [rsp + 0x50], rax
mov rax, qword [rbx + 0x50]
mov qword [rsp + 0x58], rax
or r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x14000907e
cmp eax, 1
jne 0x140009074
lea rdx, [0x14000b728]
lea rcx, str._S:_creating_opengl_window..._n
call fcn.140001010
mov rcx, qword [rbx + 0x18]
mov rax, qword [rcx]
mov r8, qword [rax + 0x10]
mov eax, dword [rbx + 0xfe]
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 0xfa]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbx + 0xf6]
movss xmm2, dword [rbx + 0xf2]
mov rdx, qword [rbx + 0xea]
call r8
mov byte [rbx + 0x12c], al
lea r8, str.fail
test al, al
cmovne r8, rdi
lea rdx, [0x14000b7e8]
lea rcx, str._S:_creating_opengl_window__S__n
call fcn.140001010
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp byte [rbx + 0x12c], 0
je 0x140009074
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140009061
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140009034
lea rdx, str.remote_opengl::start
lea rcx, str._S:_window_destroyed__n
call fcn.140001010
cmp byte [rbx + 0x20], 0
je 0x140008f60
mov rcx, rbx
call fcn.1400087f0
mov al, 1
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1400035c0
mov rbx, qword [rsp + 0x1d8]
add rsp, 0x1c0
pop rdi
ret