Function at 0x1800122c0
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, 0x7c8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x15a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x7e8]
mov rax, qword [0x18021f400]
xor rax, rbp
mov qword [rbp + 0x790], rax
lea rcx, [0x18023820a]
call fcn.180140630
cmp dword [rbp + 0x7c8], 1
jne 0x18001298f
call qword [sym.imp.KERNEL32.dll_FreeConsole]
lea rdx, [rbp + 0x3b4]
lea rcx, [rbp + 8]
call fcn.1800074d0
nop
lea rcx, [rbp + 8]
call fcn.18000f550
call fcn.18000e370
movzx eax, al
test eax, eax
jne 0x180012353
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
lea rdx, [rbp + 0x34]
lea rcx, [rbp + 0x58]
call fcn.180007060
nop
lea rcx, [rbp + 0x58]
call fcn.18000f550
mov ecx, 1
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov qword [rbp + 0x768], rax
mov ecx, 1
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov qword [rbp + 0x770], rax
mov r9, qword [rbp + 0x768]
lea r8, [0x18014dd14]
lea rdx, str.CONOUT_
mov rcx, qword [rbp + 0x770]
call qword [sym.imp.ucrtbased.dll_freopen_s]
lea rax, [rbp + 0x3d8]
mov qword [rbp + 0x418], rax
lea rdx, str.Dll_Injected
mov rcx, qword [rbp + 0x418]
call fcn.18000b0e0
mov qword [rbp + 0x768], rax
mov rax, qword [rbp + 0x768]
mov qword [rbp + 0x770], rax
mov rax, qword [rbp + 0x770]
mov qword [rbp + 0x778], rax
lea rax, [rbp + 0x438]
mov qword [rbp + 0x478], rax
lea rdx, str.Inject
mov rcx, qword [rbp + 0x478]
call fcn.18000b0e0
mov qword [rbp + 0x780], rax
mov rax, qword [rbp + 0x780]
mov qword [rbp + 0x788], rax
mov r8d, 1
mov rdx, qword [rbp + 0x778]
mov rcx, qword [rbp + 0x788]
call fcn.180126780
lea rax, [rbp + 0x498]
mov qword [rbp + 0x4d8], rax
lea rdx, str.started
mov rcx, qword [rbp + 0x4d8]
call fcn.18000b0e0
mov qword [rbp + 0x768], rax
mov rax, qword [rbp + 0x768]
mov qword [rbp + 0x770], rax
mov rax, qword [rbp + 0x770]
mov qword [rbp + 0x778], rax
lea rax, [rbp + 0x4f8]
mov qword [rbp + 0x538], rax
lea rdx, str.Hook
mov rcx, qword [rbp + 0x538]
call fcn.18000b0e0
mov qword [rbp + 0x780], rax
mov rax, qword [rbp + 0x780]
mov qword [rbp + 0x788], rax
mov r8d, 1
mov rdx, qword [rbp + 0x778]
mov rcx, qword [rbp + 0x788]
call fcn.180126780
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp + 0x88]
call fcn.18000e260
lea rdx, str.CraftRise
lea rcx, [rbp + 0x88]
call fcn.180132e40
nop
lea rcx, [rbp + 0x88]
call fcn.180133460
movzx eax, al
test eax, eax
jne 0x180012543
mov dword [rbp + 0x554], 0
lea rcx, [rbp + 0x88]
call fcn.180133340
nop
lea rcx, [rbp + 0x58]
call fcn.18000bee0
nop
lea rcx, [rbp + 8]
call fcn.18000bee0
mov eax, dword [rbp + 0x554]
jmp 0x180012a53
lea rcx, [rbp + 0x88]
call fcn.1801349c0
lea r8, [0x18021f940]
mov edx, 1
lea rcx, [0x18021f930]
call qword [sym.imp.jvm.dll_JNI_GetCreatedJavaVMs]
test eax, eax
jne 0x180012575
cmp dword [0x18021f940], 0
jne 0x1800125aa
mov dword [rbp + 0x574], 0
lea rcx, [rbp + 0x88]
call fcn.180133340
nop
lea rcx, [rbp + 0x58]
call fcn.18000bee0
nop
lea rcx, [rbp + 8]
call fcn.18000bee0
mov eax, dword [rbp + 0x574]
jmp 0x180012a53
mov r8d, 0x10006
lea rdx, [0x18021f938]
mov rcx, qword [0x18021f930]
call fcn.18000c9f0
mov dword [0x18021f9b8], eax
cmp dword [0x18021f9b8], 0xfffffffe
jne 0x1800125e8
xor r8d, r8d
lea rdx, [0x18021f938]
mov rcx, qword [0x18021f930]
call fcn.18000c500
call fcn.180137aa0
mov qword [rbp + 0xb8], rax
cmp qword [rbp + 0xb8], 0
je 0x18001296a
lea rax, [rbp + 0x598]
mov qword [rbp + 0x5d8], rax
lea rdx, str.CraftRise_Found
mov rcx, qword [rbp + 0x5d8]
call fcn.18000b0e0
mov qword [rbp + 0x768], rax
mov rax, qword [rbp + 0x768]
mov qword [rbp + 0x770], rax
mov rax, qword [rbp + 0x770]
mov qword [rbp + 0x778], rax
lea rax, [rbp + 0x5f8]
mov qword [rbp + 0x638], rax
lea rdx, str.Inject
mov rcx, qword [rbp + 0x638]
call fcn.18000b0e0
mov qword [rbp + 0x780], rax
mov rax, qword [rbp + 0x780]
mov qword [rbp + 0x788], rax
mov r8d, 1
mov rdx, qword [rbp + 0x778]
mov rcx, qword [rbp + 0x788]
call fcn.180126780
mov edx, 8
lea rcx, [rbp + 0xd8]
call fcn.18000e160
lea rcx, [rbp + 0xd8]
call fcn.180137bc0
lea rdx, str.Bapex_Client_Injected
lea rcx, [rbp + 0x658]
call fcn.180009ff0
mov qword [rbp + 0x768], rax
lea rdx, [rbp + 0x6b8]
mov rcx, qword [rbp + 0x768]
call fcn.18000bfe0
nop
lea rdx, [rbp + 0x6b8]
lea rcx, [rbp + 0xd8]
call fcn.180136eb0
nop
lea rcx, [rbp + 0x6b8]
call fcn.18000b9f0
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 0x180012759
lea rdx, [rbp + 0x718]
lea rcx, [rbp + 0x6f4]
call fcn.18000c290
mov rcx, rax
call fcn.18000c050
mov rdx, rax
mov rcx, qword [rbp + 0x118]
call qword [sym.imp.USER32.dll_SetWindowTextA]
call fcn.1801260e0
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 0x18001296a
lea rdx, [0x18014ddd8]
mov rcx, qword [rbp + 0x138]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18021f9b0], rax
cmp qword [0x18021f9b0], 0
je 0x18001296a
call fcn.180005cb0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180006280
lea rdx, [0x180011420]
lea rcx, [0x18021f9b0]
call fcn.180004f50
call fcn.180005d50
lea rdx, [0x18014dde0]
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18021f960], rax
lea rdx, [0x18014ddf0]
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18021f968], rax
lea rdx, str.wglSwapBuffers
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18021f980], rax
lea rdx, [0x18014ddd8]
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18021f970], rax
lea rdx, str.glScalef
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18021f978], rax
lea rdx, str.glTranslatef
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18021f988], rax
call fcn.18013c2e0
call fcn.180005cb0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180006280
lea rdx, [0x180011690]
lea rcx, [0x18021f960]
call fcn.180004f50
lea rdx, [0x1800115e0]
lea rcx, [0x18021f968]
call fcn.180004f50
lea rdx, [0x180011730]
lea rcx, [0x18021f970]
call fcn.180004f50
lea rdx, [0x180011330]
lea rcx, [0x18021f980]
call fcn.180004f50
lea rdx, [0x180011bf0]
lea rcx, [0x18021f988]
call fcn.180004f50
lea rdx, [0x180011ae0]
lea rcx, [0x18021f978]
call fcn.180004f50
call fcn.180005d50
test eax, eax
jne 0x180012929
mov dword [rbp + 0x764], 1
jmp 0x180012933
mov dword [rbp + 0x764], 0
mov eax, dword [rbp + 0x764]
mov dword [rbp + 0x754], eax
lea rcx, [rbp + 0x88]
call fcn.180133340
nop
lea rcx, [rbp + 0x58]
call fcn.18000bee0
nop
lea rcx, [rbp + 8]
call fcn.18000bee0
mov eax, dword [rbp + 0x754]
jmp 0x180012a53
lea rcx, [rbp + 0x88]
call fcn.180133340
nop
lea rcx, [rbp + 0x58]
call fcn.18000bee0
nop
lea rcx, [rbp + 8]
call fcn.18000bee0
jmp 0x180012a4e
cmp dword [rbp + 0x7c8], 0
jne 0x180012a4e
call fcn.180005cb0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180006280
lea rdx, [0x180011690]
lea rcx, [0x18021f960]
call fcn.1800056a0
lea rdx, [0x1800115e0]
lea rcx, [0x18021f968]
call fcn.1800056a0
lea rdx, [0x180011730]
lea rcx, [0x18021f970]
call fcn.1800056a0
lea rdx, [0x180011330]
lea rcx, [0x18021f980]
call fcn.1800056a0
lea rdx, [0x180011bf0]
lea rcx, [0x18021f988]
call fcn.1800056a0
lea rdx, [0x180011ae0]
lea rcx, [0x18021f978]
call fcn.1800056a0
call qword [sym.imp.KERNEL32.dll_FreeConsole]
call fcn.180005d50
test eax, eax
jne 0x180012a3c
mov dword [rbp + 0x764], 1
jmp 0x180012a46
mov dword [rbp + 0x764], 0
mov eax, dword [rbp + 0x764]
jmp 0x180012a53
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x18014d190]
call fcn.180140400
mov rax, rdi
mov rcx, qword [rbp + 0x790]
xor rcx, rbp
call fcn.180140880
lea rsp, [rbp + 0x7a8]
pop rdi
pop rbp
ret