Function at 0x180012710
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, [0x18023820e]
call fcn.180141d70
nop
cmp dword [rbp + 0x4b8], 1
jne 0x180012c40
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.18000f870
nop
call fcn.18000e690
movzx eax, al
test eax, eax
jne 0x1800127a7
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.18000f870
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, [0x18014ecbc]
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.18000e580
lea rdx, str.CraftRise
lea rcx, [rbp + 0x88]
call fcn.180134300
nop
lea rcx, [rbp + 0x88]
call fcn.1801349a0
movzx eax, al
test eax, eax
jne 0x180012873
mov dword [rbp + 0x314], 0
lea rcx, [rbp + 0x88]
call fcn.180134840
nop
lea rcx, [rbp + 0x58]
call fcn.18000c160
nop
lea rcx, [rbp + 8]
call fcn.18000c160
mov eax, dword [rbp + 0x314]
jmp 0x180012d0d
lea rcx, [rbp + 0x88]
call fcn.180135f70
nop
lea r8, [0x18021f8b0]
mov edx, 1
lea rcx, [0x18021f8a0]
call qword [sym.imp.jvm.dll_JNI_GetCreatedJavaVMs]
test eax, eax
jne 0x1800128a6
cmp dword [0x18021f8b0], 0
jne 0x1800128db
mov dword [rbp + 0x334], 0
lea rcx, [rbp + 0x88]
call fcn.180134840
nop
lea rcx, [rbp + 0x58]
call fcn.18000c160
nop
lea rcx, [rbp + 8]
call fcn.18000c160
mov eax, dword [rbp + 0x334]
jmp 0x180012d0d
mov r8d, 0x10006
lea rdx, [0x18021f8a8]
mov rcx, qword [0x18021f8a0]
call fcn.18000cc90
mov dword [0x18021f928], eax
cmp dword [0x18021f928], 0xfffffffe
jne 0x18001291a
xor r8d, r8d
lea rdx, [0x18021f8a8]
mov rcx, qword [0x18021f8a0]
call fcn.18000c780
nop
call fcn.1801391b0
mov qword [rbp + 0xb8], rax
cmp qword [rbp + 0xb8], 0
je 0x180012c1a
mov edx, 8
lea rcx, [rbp + 0xd8]
call fcn.18000e480
lea rcx, [rbp + 0xd8]
call fcn.1801392d0
nop
lea rdx, str.Step_Client_Injected
lea rcx, [rbp + 0x358]
call fcn.18000a260
mov qword [rbp + 0x478], rax
lea rdx, [rbp + 0x3b8]
mov rcx, qword [rbp + 0x478]
call fcn.18000c260
nop
lea rdx, [rbp + 0x3b8]
lea rcx, [rbp + 0xd8]
call fcn.180138590
nop
lea rcx, [rbp + 0x3b8]
call fcn.18000bc30
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 0x1800129fb
lea rdx, [rbp + 0x418]
lea rcx, [rbp + 0x3f4]
call fcn.18000c510
mov rcx, rax
call fcn.18000c310
mov rdx, rax
mov rcx, qword [rbp + 0x118]
call qword [sym.imp.USER32.dll_SetWindowTextA]
nop
call fcn.180129220
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 0x180012c1a
lea rdx, [0x18014ed48]
mov rcx, qword [rbp + 0x138]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18021f920], rax
cmp qword [0x18021f920], 0
je 0x180012c1a
call fcn.180006120
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180006700
nop
lea rdx, [0x180011830]
lea rcx, [0x18021f920]
call fcn.180005380
nop
call fcn.1800061c0
nop
lea rdx, [0x18014ed50]
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18021f8d0], rax
lea rdx, [0x18014ed60]
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, [0x18014ed48]
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.18013da10
nop
call fcn.180006120
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180006700
nop
lea rdx, [0x180011ab0]
lea rcx, [0x18021f8d0]
call fcn.180005380
nop
lea rdx, [0x180011a00]
lea rcx, [0x18021f8d8]
call fcn.180005380
nop
lea rdx, [0x180011b50]
lea rcx, [0x18021f8e0]
call fcn.180005380
nop
lea rdx, [0x180011740]
lea rcx, [0x18021f8f0]
call fcn.180005380
nop
lea rdx, [0x180012030]
lea rcx, [0x18021f8f8]
call fcn.180005380
nop
lea rdx, [0x180011f10]
lea rcx, [0x18021f8e8]
call fcn.180005380
nop
call fcn.1800061c0
test eax, eax
jne 0x180012bd9
mov dword [rbp + 0x474], 1
jmp 0x180012be3
mov dword [rbp + 0x474], 0
mov eax, dword [rbp + 0x474]
mov dword [rbp + 0x464], eax
lea rcx, [rbp + 0x88]
call fcn.180134840
nop
lea rcx, [rbp + 0x58]
call fcn.18000c160
nop
lea rcx, [rbp + 8]
call fcn.18000c160
mov eax, dword [rbp + 0x464]
jmp 0x180012d0d
lea rcx, [rbp + 0x88]
call fcn.180134840
nop
lea rcx, [rbp + 0x58]
call fcn.18000c160
nop
lea rcx, [rbp + 8]
call fcn.18000c160
nop
jmp 0x180012d08
cmp dword [rbp + 0x4b8], 0
jne 0x180012d08
call fcn.180006120
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180006700
nop
lea rdx, [0x180011ab0]
lea rcx, [0x18021f8d0]
call fcn.180005af0
nop
lea rdx, [0x180011a00]
lea rcx, [0x18021f8d8]
call fcn.180005af0
nop
lea rdx, [0x180011b50]
lea rcx, [0x18021f8e0]
call fcn.180005af0
nop
lea rdx, [0x180011740]
lea rcx, [0x18021f8f0]
call fcn.180005af0
nop
lea rdx, [0x180012030]
lea rcx, [0x18021f8f8]
call fcn.180005af0
nop
lea rdx, [0x180011f10]
lea rcx, [0x18021f8e8]
call fcn.180005af0
nop
call qword [sym.imp.KERNEL32.dll_FreeConsole]
nop
call fcn.1800061c0
test eax, eax
jne 0x180012cf6
mov dword [rbp + 0x474], 1
jmp 0x180012d00
mov dword [rbp + 0x474], 0
mov eax, dword [rbp + 0x474]
jmp 0x180012d0d
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x18014e0f0]
call fcn.180141b40
mov rax, rdi
mov rcx, qword [rbp + 0x488]
xor rcx, rbp
call fcn.180141fc0
lea rsp, [rbp + 0x498]
pop rdi
pop rbp
ret