Function at 0x1800044d0
Capabilities:
Encode data using xor
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x18006b3c0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor edi, edi
cmp edx, 1
jne 0x180004b85
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rbx, rax
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea r8, [0x18005eaf8]
lea rdx, str.CONOUT_
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
xorps xmm0, xmm0
movups xmmword [rbp + 0x3f], xmm0
mov qword [rbp + 0x3f], rdi
mov dword [rbp + 0x47], edi
lea rdx, str.CraftRise
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
jne 0x180004589
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.180004d00
lea rdx, [0x180004ee0]
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 + 0x3f]
jmp 0x1800045d7
lea rdx, [rbp + 0x47]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rbp + 0x47]
test r8d, r8d
jne 0x1800045c6
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.180004d00
lea rdx, [0x180004ee0]
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 + 0x47]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x3f], rax
test rax, rax
je 0x180004b3a
lea rcx, [rbp + 0x3f]
call fcn.18004c220
lea r8, [0x18006be58]
mov edx, 1
lea rcx, [0x18006be48]
call qword [sym.imp.jvm.dll_JNI_GetCreatedJavaVMs]
test eax, eax
jne 0x180004b36
cmp dword [0x18006be58], eax
je 0x180004b36
mov rcx, qword [0x18006be48]
mov rax, qword [rcx]
mov r9, qword [rax + 0x30]
mov r8d, 0x10006
lea rdx, [0x18006be50]
call r9
mov dword [0x18006be30], eax
cmp eax, 0xfffffffe
jne 0x18000465a
mov rcx, qword [0x18006be48]
mov rax, qword [rcx]
mov r9, qword [rax + 0x20]
xor r8d, r8d
lea rdx, [0x18006be50]
call r9
call fcn.18004e3d0
test rax, rax
je 0x180004b4c
mov rcx, qword [0x18006be50]
mov rax, qword [rcx]
mov r8, qword [rax + 0x30]
lea rdx, str.com_craftrise_client_S
call r8
mov rdx, rax
mov qword [0x18006c318], rax
mov rcx, qword [0x18006be50]
mov rax, qword [rcx]
mov r10, qword [rax + 0x108]
lea r9, str.__Lcom_craftrise_client_fa_
lea r8, [0x18006043c]
call r10
mov rbx, rax
call fcn.18004e3d0
mov r8, rbx
mov rdx, rax
mov rcx, qword [0x18006be50]
call fcn.1800400b0
mov qword [rbp + 0x2f], rax
mov word [rbp + 0x27], 0
movdqa xmm0, xmmword [0x180061db0]
movdqu xmmword [rbp + 0x17], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov ecx, 0x20
call fcn.180054420
mov qword [rbp - 9], rax
mov qword [rbp + 7], 0x10
mov qword [rbp + 0xf], 0x1f
movups xmm0, xmmword [rbp + 0x17]
movups xmmword [rax], xmm0
mov byte [rax + 0x10], 0
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x2f]
call fcn.18004e160
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x180004759
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004754
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004754
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005445c
lea rdx, str.CraftRise
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov r9, rax
test rax, rax
je 0x1800048dd
movsd xmm0, qword [str.vsqRQ]
movsd qword [rbp + 0x2f], xmm0
mov eax, dword [str.USRI_]
mov dword [rbp + 0x37], eax
movzx eax, word [0x18005ebbc]
mov word [rbp + 0x3b], ax
movzx eax, byte [0x18005ebbe]
mov byte [rbp + 0x3d], al
mov ecx, edi
cmp dword [0x18006b428], 2
jl 0x180004898
movdqa xmm4, xmmword [0x180061e00]
movdqa xmm2, xmmword [0x180061a90]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180061ab0]
psubd xmm2, xmm0
andps xmm2, xmmword [0x180061ad0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180061ae0]
movd xmm0, dword [str.vsqRQ]
xorps xmm2, xmm0
movd dword [rbp + 0x2f], xmm2
movdqa xmm2, xmmword [0x180061aa0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180061ab0]
psubd xmm2, xmm0
andps xmm2, xmmword [0x180061ad0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180061ae0]
movd xmm0, dword [rbp + 0x33]
xorps xmm2, xmm0
movd dword [rbp + 0x33], xmm2
mov ecx, 8
movsxd rax, ecx
lea r8, [rbp + 0x2f]
add r8, rax
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xf
jl 0x1800048a2
lea rdx, [rbp + 0x2f]
mov rcx, r9
call qword [sym.imp.USER32.dll_SetWindowTextA]
cmp qword [0x18006c1d0], 0
jne 0x1800049a3
mov ecx, 0x18
call fcn.180054420
mov rbx, rax
mov qword [rbp + 0x2f], 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 0x18000493b
xor edx, edx
lea rcx, str.GLFW30
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rbx], rax
test rax, rax
je 0x18000499c
lea r8, [0x18004ae90]
mov edx, 0xfffffffc
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov qword [0x18006c5b0], rax
call fcn.180050600
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 0x18000499c
lea r8, [rbx + 0x10]
lea rdx, [0x18004af40]
mov rcx, rax
call fcn.180050730
xor ecx, ecx
call fcn.180050c10
mov qword [0x18006c1d0], 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 0x180004b4c
lea rdx, [0x18005eb48]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006be70], rax
test rax, rax
je 0x180004b4c
call fcn.180001fc0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180002630
lea rdx, [0x180002f10]
lea rcx, [0x18006be70]
call fcn.1800026d0
call fcn.1800020a0
lea rdx, [0x18005eb50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006be68], rax
lea rdx, [0x18005eb60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006be28], rax
lea rdx, str.wglSwapBuffers
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006be60], rax
lea rdx, [0x18005eb48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006be78], rax
lea rdx, str.glScalef
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006be38], rax
lea rdx, str.glTranslatef
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006be20], rax
call fcn.180050380
call fcn.180001fc0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180002630
lea rdx, [0x180004400]
lea rcx, [0x18006be68]
call fcn.1800026d0
lea rdx, [0x180004460]
lea rcx, [0x18006be28]
call fcn.1800026d0
lea rdx, [0x180004000]
lea rcx, [0x18006be78]
call fcn.1800026d0
lea rdx, [0x180003f70]
lea rcx, [0x18006be60]
call fcn.1800026d0
lea rdx, [0x180004280]
lea rcx, [0x18006be20]
call fcn.1800026d0
lea rdx, [0x180004350]
lea rcx, [0x18006be38]
call fcn.1800026d0
call fcn.1800020a0
test eax, eax
sete dil
mov rax, qword [rbp + 0x3f]
test rax, rax
je 0x180004b48
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x180004b60
mov rcx, qword [rbp + 0x3f]
test rcx, rcx
je 0x180004b5b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.180054400
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
test edx, edx
jne 0x180004b5b
call fcn.180001fc0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180002630
lea rdx, [0x180004400]
lea rcx, [0x18006be68]
call fcn.180002a80
lea rdx, [0x180004460]
lea rcx, [0x18006be28]
call fcn.180002a80
lea rdx, [0x180004000]
lea rcx, [0x18006be78]
call fcn.180002a80
lea rdx, [0x180003f70]
lea rcx, [0x18006be60]
call fcn.180002a80
lea rdx, [0x180004280]
lea rcx, [0x18006be20]
call fcn.180002a80
lea rdx, [0x180004350]
lea rcx, [0x18006be38]
call fcn.180002a80
call qword [sym.imp.KERNEL32.dll_FreeConsole]
call fcn.1800020a0
test eax, eax
sete dil
mov eax, edi
jmp 0x180004b60