Function at 0x1800127c0
Capabilities:
Link many functions at runtime
Terminate process

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x4b8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xc6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4d8]
mov rax, qword [0x18021f4c0]
xor rax, rbp
mov qword [rbp + 0x488], rax
lea rcx, [0x18023820c]
call fcn.180141ee0
nop
cmp dword [rbp + 0x4b8], 1
jne 0x180012cf0
call qword [sym.imp.KERNEL32.dll_FreeConsole]
nop
lea rdx, [rbp + 0x2f4]
lea rcx, [rbp + 8]
call fcn.180007910
nop
lea rcx, [rbp + 8]
call fcn.18000f8f0
nop
call fcn.18000e6f0
movzx eax, al
test eax, eax
jne 0x180012857
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
nop
lea rdx, [rbp + 0x34]
lea rcx, [rbp + 0x58]
call fcn.180007490
nop
lea rcx, [rbp + 0x58]
call fcn.18000f8f0
nop
mov ecx, 1
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov qword [rbp + 0x478], rax
mov ecx, 1
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov qword [rbp + 0x480], rax
mov r9, qword [rbp + 0x478]
lea r8, [0x18014ecd4]
lea rdx, str.CONOUT_
mov rcx, qword [rbp + 0x480]
call qword [sym.imp.ucrtbased.dll_freopen_s]
nop
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp + 0x88]
call fcn.18000e5e0
lea rdx, str.CraftRise
lea rcx, [rbp + 0x88]
call fcn.180134460
nop
lea rcx, [rbp + 0x88]
call fcn.180134b00
movzx eax, al
test eax, eax
jne 0x180012923
mov dword [rbp + 0x314], 0
lea rcx, [rbp + 0x88]
call fcn.1801349a0
nop
lea rcx, [rbp + 0x58]
call fcn.18000c1c0
nop
lea rcx, [rbp + 8]
call fcn.18000c1c0
mov eax, dword [rbp + 0x314]
jmp 0x180012dbd
lea rcx, [rbp + 0x88]
call fcn.1801360d0
nop
lea r8, [0x18021f8b0]
mov edx, 1
lea rcx, [0x18021f8a0]
call qword [sym.imp.jvm.dll_JNI_GetCreatedJavaVMs]
test eax, eax
jne 0x180012956
cmp dword [0x18021f8b0], 0
jne 0x18001298b
mov dword [rbp + 0x334], 0
lea rcx, [rbp + 0x88]
call fcn.1801349a0
nop
lea rcx, [rbp + 0x58]
call fcn.18000c1c0
nop
lea rcx, [rbp + 8]
call fcn.18000c1c0
mov eax, dword [rbp + 0x334]
jmp 0x180012dbd
mov r8d, 0x10006
lea rdx, [0x18021f8a8]
mov rcx, qword [0x18021f8a0]
call fcn.18000ccf0
mov dword [0x18021f928], eax
cmp dword [0x18021f928], 0xfffffffe
jne 0x1800129ca
xor r8d, r8d
lea rdx, [0x18021f8a8]
mov rcx, qword [0x18021f8a0]
call fcn.18000c7e0
nop
call fcn.180139310
mov qword [rbp + 0xb8], rax
cmp qword [rbp + 0xb8], 0
je 0x180012cca
mov edx, 8
lea rcx, [rbp + 0xd8]
call fcn.18000e4e0
lea rcx, [rbp + 0xd8]
call fcn.180139430
nop
lea rdx, str.Ekos_Client_Injected
lea rcx, [rbp + 0x358]
call fcn.18000a210
mov qword [rbp + 0x478], rax
lea rdx, [rbp + 0x3b8]
mov rcx, qword [rbp + 0x478]
call fcn.18000c2c0
nop
lea rdx, [rbp + 0x3b8]
lea rcx, [rbp + 0xd8]
call fcn.1801386f0
nop
lea rcx, [rbp + 0x3b8]
call fcn.18000bc90
nop
lea rax, str.CraftRise
mov qword [rbp + 0xf8], rax
mov rdx, qword [rbp + 0xf8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rbp + 0x118], rax
cmp qword [rbp + 0x118], 0
je 0x180012aab
lea rdx, [rbp + 0x418]
lea rcx, [rbp + 0x3f4]
call fcn.18000c570
mov rcx, rax
call fcn.18000c370
mov rdx, rax
mov rcx, qword [rbp + 0x118]
call qword [sym.imp.USER32.dll_SetWindowTextA]
nop
call fcn.180129380
nop
lea rcx, str.opengl32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0x138], rax
lea rcx, str.OpenGL32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 0x158], rax
cmp qword [rbp + 0x138], 0
je 0x180012cca
lea rdx, [0x18014ed60]
mov rcx, qword [rbp + 0x138]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18021f920], rax
cmp qword [0x18021f920], 0
je 0x180012cca
call fcn.180006120
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180006700
nop
lea rdx, [0x1800118e0]
lea rcx, [0x18021f920]
call fcn.180005380
nop
call fcn.1800061c0
nop
lea rdx, [0x18014ed68]
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18021f8d0], rax
lea rdx, [0x18014ed78]
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18021f8d8], rax
lea rdx, str.wglSwapBuffers
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18021f8f0], rax
lea rdx, [0x18014ed60]
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18021f8e0], rax
lea rdx, str.glScalef
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18021f8e8], rax
lea rdx, str.glTranslatef
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18021f8f8], rax
call fcn.18013db80
nop
call fcn.180006120
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180006700
nop
lea rdx, [0x180011b60]
lea rcx, [0x18021f8d0]
call fcn.180005380
nop
lea rdx, [0x180011ab0]
lea rcx, [0x18021f8d8]
call fcn.180005380
nop
lea rdx, [0x180011c00]
lea rcx, [0x18021f8e0]
call fcn.180005380
nop
lea rdx, [0x1800117f0]
lea rcx, [0x18021f8f0]
call fcn.180005380
nop
lea rdx, [0x1800120e0]
lea rcx, [0x18021f8f8]
call fcn.180005380
nop
lea rdx, [0x180011fc0]
lea rcx, [0x18021f8e8]
call fcn.180005380
nop
call fcn.1800061c0
test eax, eax
jne 0x180012c89
mov dword [rbp + 0x474], 1
jmp 0x180012c93
mov dword [rbp + 0x474], 0
mov eax, dword [rbp + 0x474]
mov dword [rbp + 0x464], eax
lea rcx, [rbp + 0x88]
call fcn.1801349a0
nop
lea rcx, [rbp + 0x58]
call fcn.18000c1c0
nop
lea rcx, [rbp + 8]
call fcn.18000c1c0
mov eax, dword [rbp + 0x464]
jmp 0x180012dbd
lea rcx, [rbp + 0x88]
call fcn.1801349a0
nop
lea rcx, [rbp + 0x58]
call fcn.18000c1c0
nop
lea rcx, [rbp + 8]
call fcn.18000c1c0
nop
jmp 0x180012db8
cmp dword [rbp + 0x4b8], 0
jne 0x180012db8
call fcn.180006120
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180006700
nop
lea rdx, [0x180011b60]
lea rcx, [0x18021f8d0]
call fcn.180005af0
nop
lea rdx, [0x180011ab0]
lea rcx, [0x18021f8d8]
call fcn.180005af0
nop
lea rdx, [0x180011c00]
lea rcx, [0x18021f8e0]
call fcn.180005af0
nop
lea rdx, [0x1800117f0]
lea rcx, [0x18021f8f0]
call fcn.180005af0
nop
lea rdx, [0x1800120e0]
lea rcx, [0x18021f8f8]
call fcn.180005af0
nop
lea rdx, [0x180011fc0]
lea rcx, [0x18021f8e8]
call fcn.180005af0
nop
call qword [sym.imp.KERNEL32.dll_FreeConsole]
nop
call fcn.1800061c0
test eax, eax
jne 0x180012da6
mov dword [rbp + 0x474], 1
jmp 0x180012db0
mov dword [rbp + 0x474], 0
mov eax, dword [rbp + 0x474]
jmp 0x180012dbd
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x18014e100]
call fcn.180141cb0
mov rax, rdi
mov rcx, qword [rbp + 0x488]
xor rcx, rbp
call fcn.180142130
lea rsp, [rbp + 0x498]
pop rdi
pop rbp
ret