Function at 0x1800044e0
Capabilities:
Create thread
Encode data using xor
Link many functions at runtime

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x18006c3c0]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor edi, edi
cmp edx, 1
jne 0x180004d33
call qword [sym.imp.KERNEL32.dll_FreeConsole]
lea ecx, [rdi + 1]
call fcn.180055650
mov qword [rbp - 9], rax
lea rcx, [rbp + 0x2f]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x180005100]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x27], rax
test rax, rax
je 0x180004d24
cmp dword [rbp + 0x2f], edi
je 0x180004d18
movaps xmm0, xmmword [rbp + 0x27]
movdqa xmmword [rbp - 9], xmm0
lea rcx, [rbp - 9]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x180004d18
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x27], xmm0
lea ecx, [rdi + 1]
call fcn.180055650
mov qword [rbp - 9], rax
lea rcx, [rbp + 0x1f]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x180005100]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x17], rax
test rax, rax
je 0x180004d09
cmp dword [rbp + 0x1f], edi
je 0x180004cfd
movaps xmm0, xmmword [rbp + 0x17]
movdqa xmmword [rbp - 9], xmm0
lea rcx, [rbp - 9]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x180004cfd
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x17], xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 7], rdi
mov dword [rbp + 0xf], edi
lea rdx, str.CraftRise
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
jne 0x180004632
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.18004b4d0
lea rdx, [0x18004b6a0]
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 + 7]
jmp 0x180004680
lea rdx, [rbp + 0xf]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rbp + 0xf]
test r8d, r8d
jne 0x18000466f
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.18004b4d0
lea rdx, [0x18004b6a0]
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 + 0xf]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 7], rax
test rax, rax
je 0x180004c85
lea rcx, [rbp + 7]
call fcn.18004d460
lea r8, [0x18006cdb8]
mov edx, 1
lea rcx, [0x18006cda8]
call qword [sym.imp.jvm.dll_JNI_GetCreatedJavaVMs]
test eax, eax
jne 0x180004c81
cmp dword [0x18006cdb8], eax
je 0x180004c81
mov rcx, qword [0x18006cda8]
mov rax, qword [rcx]
mov r9, qword [rax + 0x30]
mov r8d, 0x10006
lea rdx, [0x18006cdb0]
call r9
mov dword [0x18006cd90], eax
cmp eax, 0xfffffffe
jne 0x180004703
mov rcx, qword [0x18006cda8]
mov rax, qword [rcx]
mov r9, qword [rax + 0x20]
xor r8d, r8d
lea rdx, [0x18006cdb0]
call r9
call fcn.18004f600
test rax, rax
je 0x180004ca1
mov rcx, qword [0x18006cdb0]
mov rax, qword [rcx]
mov r8, qword [rax + 0x30]
lea rdx, str.com_craftrise_client_S
call r8
mov rdx, rax
mov qword [0x18006d278], rax
mov rcx, qword [0x18006cdb0]
mov rax, qword [rcx]
mov r10, qword [rax + 0x108]
lea r9, str.__Lcom_craftrise_client_fa_
lea r8, [0x1800614dc]
call r10
mov rbx, rax
call fcn.18004f600
mov r8, rbx
mov rdx, rax
mov rcx, qword [0x18006cdb0]
call fcn.180040d70
mov qword [rbp - 9], rax
movdqa xmm0, xmmword [0x180062ce0]
movdqu xmmword [rbp - 0x49], xmm0
movdqa xmm1, xmmword [0x180062b50]
movdqu xmmword [rbp - 0x39], xmm1
movdqa xmm0, xmmword [0x180062b70]
movdqu xmmword [rbp - 0x29], xmm0
mov dword [rbp - 0x19], 0x64a366a1
mov dword [rbp - 0x15], 0xa762a5
mov byte [rbp - 0x11], 1
mov rcx, rdi
nop
lea eax, [rcx - 0x70]
xor byte [rbp + rcx - 0x49], al
inc rcx
cmp rcx, 0x37
jb 0x1800047b0
mov byte [rbp - 0x11], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
mov ecx, 0x40
call fcn.180055650
mov rcx, rax
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x59], 0x37
mov qword [rbp - 0x51], 0x3f
movups xmm0, xmmword [rbp - 0x49]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbp - 0x39]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rax + 0x20], xmm0
mov eax, dword [rbp - 0x19]
mov dword [rcx + 0x30], eax
movzx eax, word [rbp - 0x15]
mov word [rcx + 0x34], ax
movzx eax, byte [rbp - 0x13]
mov byte [rcx + 0x36], al
mov byte [rcx + 0x37], 0
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 9]
call fcn.18004f390
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 0xf
jbe 0x180004868
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004863
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004863
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005568c
lea rdx, str.CraftRise
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov r9, rax
test rax, rax
je 0x180004a28
movups xmm0, xmmword [str.lQ_I_OW_]
movups xmmword [rbp - 0x69], xmm0
movsd xmm0, qword [0x18005fc50]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [0x18005fc58]
mov dword [rbp - 0x51], eax
mov ecx, edi
cmp dword [0x18006c420], 2
jl 0x1800049e2
movdqa xmm5, xmmword [0x180062b20]
movdqa xmm4, xmmword [0x180062b60]
movdqa xmm6, xmmword [str.7777]
movdqa xmm0, xmmword [str.8888888888888888]
movdqa xmmword [rbp - 9], xmm0
lea rdx, [rbp - 0x69]
mov r8d, dword [rbp - 9]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180062b40]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180062b40]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx + 4]
xorps xmm2, xmm0
movd dword [rdx + 4], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x18
jl 0x1800048e0
cmp ecx, 0x1c
jge 0x180004a1b
movsxd rax, ecx
lea r8, [rbp - 0x69]
add r8, rax
nop dword [rax]
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1c
jl 0x1800049f0
lea rdx, [rbp - 0x69]
mov rcx, r9
call qword [sym.imp.USER32.dll_SetWindowTextA]
cmp qword [0x18006d130], 0
jne 0x180004aee
mov ecx, 0x18
call fcn.180055650
mov rbx, rax
mov qword [rbp - 9], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax], rdi
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
xor edx, edx
lea rcx, str.LWJGL
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rbx], rax
test rax, rax
jne 0x180004a86
xor edx, edx
lea rcx, str.GLFW30
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rbx], rax
test rax, rax
je 0x180004ae7
lea r8, [0x18004c060]
mov edx, 0xfffffffc
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov qword [0x18006d5b0], rax
call fcn.180051830
lea rcx, str.opengl32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.wglSwapBuffers
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 8], rax
test rax, rax
je 0x180004ae7
lea r8, [rbx + 0x10]
lea rdx, [0x18004c110]
mov rcx, rax
call fcn.180051960
xor ecx, ecx
call fcn.180051e40
mov qword [0x18006d130], rbx
lea rcx, str.opengl32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
lea rcx, str.OpenGL32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rsi, rsi
je 0x180004ca1
lea rdx, [0x18005fbd8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006cdd0], rax
test rax, rax
je 0x180004ca1
call fcn.180002030
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.1800026a0
lea rdx, [0x180002f90]
lea rcx, [0x18006cdd0]
call fcn.180002740
call fcn.180002110
lea rdx, [0x18005fbe0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006cdc8], rax
lea rdx, [0x18005fbf0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006cd88], rax
lea rdx, str.wglSwapBuffers
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006cdc0], rax
lea rdx, [0x18005fbd8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006cdd8], rax
lea rdx, str.glScalef
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006cd98], rax
lea rdx, str.glTranslatef
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006cd78], rax
call fcn.1800515b0
call fcn.180002030
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.1800026a0
lea rdx, [0x180004410]
lea rcx, [0x18006cdc8]
call fcn.180002740
lea rdx, [0x180004470]
lea rcx, [0x18006cd88]
call fcn.180002740
lea rdx, [0x180004080]
lea rcx, [0x18006cdd8]
call fcn.180002740
lea rdx, [0x180003ff0]
lea rcx, [0x18006cdc0]
call fcn.180002740
lea rdx, [0x180004290]
lea rcx, [0x18006cd78]
call fcn.180002740
lea rdx, [0x180004360]
lea rcx, [0x18006cd98]
call fcn.180002740
call fcn.180002110
test eax, eax
sete dil
mov rax, qword [rbp + 7]
test rax, rax
je 0x180004c94
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp dword [rbp + 0x1f], 0
je 0x180004cec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x180004cb1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp dword [rbp + 0x1f], 0
jne 0x180004c9a
cmp dword [rbp + 0x2f], 0
jne 0x180004cf6
mov eax, 1
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.180055630
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
cmp dword [rbp + 0x2f], 0
je 0x180004dcd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x1f], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x2f], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
test edx, edx
jne 0x180004cbd
call fcn.180002030
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.1800026a0
lea rdx, [0x180004410]
lea rcx, [0x18006cdc8]
call fcn.180002ae0
lea rdx, [0x180004470]
lea rcx, [0x18006cd88]
call fcn.180002ae0
lea rdx, [0x180004080]
lea rcx, [0x18006cdd8]
call fcn.180002ae0
lea rdx, [0x180003ff0]
lea rcx, [0x18006cdc0]
call fcn.180002ae0
lea rdx, [0x180004290]
lea rcx, [0x18006cd78]
call fcn.180002ae0
lea rdx, [0x180004360]
lea rcx, [0x18006cd98]
call fcn.180002ae0
call qword [sym.imp.KERNEL32.dll_FreeConsole]
call fcn.180002110
test eax, eax
sete dil
mov eax, edi
jmp 0x180004cc2