Function at 0x180001510
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x1800193c0]
xor rax, rsp
mov qword [rbp + 0x47], rax
cmp edx, 1
jne 0x180001ae8
xorps xmm0, xmm0
movups xmmword [rbp + 0x37], xmm0
xor esi, esi
mov qword [rbp + 0x37], rsi
mov dword [rbp + 0x3f], esi
lea rdx, str.CraftRise
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
jne 0x180001590
lea rdx, str.Failed_to_get_window
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180001ca0
lea rdx, [0x180001e70]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword [rbp + 0x37]
jmp 0x1800015de
lea rdx, [rbp + 0x3f]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rbp + 0x3f]
test r8d, r8d
jne 0x1800015cd
lea rdx, str.Failed_to_get_process_ID
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180001ca0
lea rdx, [0x180001e70]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov r8d, dword [rbp + 0x3f]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x37], rax
test rax, rax
jne 0x1800015ef
lea rdx, str.ERROR
jmp 0x180001ab8
lea rcx, [rbp + 0x37]
call fcn.1800053b0
lea r8, [0x180019d38]
mov edx, 1
lea rcx, [0x180019d28]
call qword [sym.imp.jvm.dll_JNI_GetCreatedJavaVMs]
test eax, eax
jne 0x180001ab1
cmp dword [0x180019d38], eax
je 0x180001ab1
mov rcx, qword [0x180019d28]
mov rax, qword [rcx]
mov r9, qword [rax + 0x30]
mov r8d, 0x10006
lea rdx, [0x180019d30]
call r9
mov dword [0x180019d20], eax
cmp eax, 0xfffffffe
jne 0x180001669
mov rcx, qword [0x180019d28]
mov rax, qword [rcx]
mov r9, qword [rax + 0x20]
xor r8d, r8d
lea rdx, [0x180019d30]
call r9
call fcn.180007340
test rax, rax
je 0x180001a7c
lea rax, [rbp + 0xf]
mov qword [rbp + 0x2f], rax
lea rdx, str.Minecraft_Found
lea rcx, [rbp + 0xf]
call fcn.180001b80
mov rbx, rax
lea rdx, str.Inject
lea rcx, [rbp - 0x11]
call fcn.180001b80
nop
mov rdx, rbx
mov rcx, rax
call fcn.180003150
mov rcx, qword [0x180019d30]
mov rax, qword [rcx]
mov r8, qword [rax + 0x30]
lea rdx, str.com_craftrise_client_S
call r8
mov rdx, rax
mov qword [0x180019f90], rax
mov rcx, qword [0x180019d30]
mov rax, qword [rcx]
mov r10, qword [rax + 0x108]
lea r9, str.__Lcom_craftrise_client_fa_
lea r8, [0x180014db4]
call r10
mov rbx, rax
call fcn.180007340
mov r8, rbx
mov rdx, rax
mov rcx, qword [0x180019d30]
call fcn.1800038d0
mov qword [rbp + 0x2f], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov ecx, 0x50
call fcn.18000c900
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x49], 0x40
mov qword [rbp - 0x41], 0x4f
movaps xmm0, xmmword [0x1800106b0]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [str.binitialized]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x1800106d0]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x1800106e0]
movups xmmword [rax + 0x30], xmm1
mov byte [rax + 0x40], 0
lea rdx, [rbp - 0x59]
lea rcx, [rbp + 0x2f]
call fcn.180007080
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 0xf
jbe 0x1800017ad
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800017a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180001850
call fcn.18000c944
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
mov ecx, 0x40
call fcn.18000c900
mov rcx, rax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x21], 0x39
mov qword [rbp - 0x19], 0x3f
movups xmm0, xmmword [0x1800106f8]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x180010708]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x180010718]
movups xmmword [rax + 0x20], xmm0
movsd xmm0, qword [0x180010728]
movsd qword [rax + 0x30], xmm0
movzx eax, byte [0x180010730]
mov byte [rcx + 0x38], al
mov byte [rcx + 0x39], 0
lea rdx, [rbp - 0x31]
lea rcx, [rbp + 0x2f]
call fcn.180007080
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x18000185c
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001857
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001857
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18000c944
lea rdx, str.CraftRise
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x180001880
lea rdx, str.adiouspasha
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowTextA]
lea rcx, str.opengl32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1800019fe
lea rdx, str.glOrtho
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180019d40], rax
test rax, rax
je 0x1800019c2
cmp dword [0x18001a02c], 0
jne 0x18000192d
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
xor eax, eax
lock cmpxchg dword [0x18001a02c], ecx
jne 0x18000192d
mov qword [0x18001a0f0], rsi
mov qword [0x18001a0e8], rsi
mov qword [0x18001a0d8], rsi
mov rbx, qword [0x18001a0e0]
test rbx, rbx
je 0x180001925
nop dword [rax]
nop dword [rax + rax]
lea r9, [rbp + 0x2f]
mov edx, 0x10000
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180001996
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x180001900
mov eax, esi
mov dword [0x18001a028], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rbx, rax
cmp dword [0x18001a028], 0
jne 0x1800019b3
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rbx, rax
je 0x1800019b3
mov ecx, 0x10
call fcn.18000c900
mov rdi, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x18000199e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov edx, 0x10
mov rcx, rdi
call fcn.18000c944
mov dword [0x18001a028], ebx
mov qword [0x18001a0d8], rsi
call fcn.180002c70
call fcn.180002690
jmp 0x180001aa0
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x180001927
mov qword [rdi + 8], rbx
mov rax, qword [0x18001a0e8]
mov qword [rdi], rax
mov qword [0x18001a0e8], rdi
call fcn.180002c70
call fcn.180002690
jmp 0x180001aa0
lea rax, [rbp - 0x11]
mov qword [rbp - 0x39], rax
lea rdx, str.Failed_to_get_the_address_of_glOrtho
lea rcx, [rbp - 0x11]
call fcn.180001b80
mov rbx, rax
lea rdx, str.Error
lea rcx, [rbp + 0xf]
call fcn.180001b80
nop
mov rdx, rbx
mov rcx, rax
call fcn.180003150
jmp 0x180001aa0
lea rax, [rbp - 0x59]
mov qword [rbp - 0x39], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x41], 0xf
mov ecx, 0x30
call fcn.18000c900
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x49], 0x28
mov qword [rbp - 0x41], 0x2f
movups xmm0, xmmword [str.Failed_to_get_the_handle_of_opengl32.dll]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1800107a0]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1800107b0]
movsd qword [rax + 0x20], xmm0
mov byte [rax + 0x28], 0
lea rdx, str.Error
lea rcx, [rbp - 0x11]
call fcn.180001b80
nop
lea rdx, [rbp - 0x59]
mov rcx, rax
call fcn.180003150
jmp 0x180001aa0
lea rdx, str.Minecraft_not_found
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180001ca0
lea rdx, [0x180001e70]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rcx, qword [rbp + 0x37]
test rcx, rcx
je 0x180001af2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180001af2
lea rdx, str.VM_Bulunamadi
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180001ca0
lea rdx, [0x180001e70]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rcx, qword [rbp + 0x37]
test rcx, rcx
je 0x180001ae4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x180001af7
test edx, edx
jne 0x180001af2
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov eax, 1
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.18000c8e0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret