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, 0xe0
mov rax, qword [0x18006a3c0]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edi, edi
cmp edx, 1
jne 0x180004cb4
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, [0x18005db0c]
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 + 0x37], xmm0
mov qword [rbp + 0x37], rdi
mov dword [rbp + 0x3f], 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.180049390
lea rdx, [0x180049570]
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 0x1800045d7
lea rdx, [rbp + 0x3f]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rbp + 0x3f]
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.180049390
lea rdx, [0x180049570]
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
je 0x180004c69
lea rcx, [rbp + 0x37]
call fcn.18004b3c0
lea r8, [0x18006ae68]
mov edx, 1
lea rcx, [0x18006ae58]
call qword [sym.imp.jvm.dll_JNI_GetCreatedJavaVMs]
test eax, eax
jne 0x180004c65
cmp dword [0x18006ae68], eax
je 0x180004c65
mov rcx, qword [0x18006ae58]
mov rax, qword [rcx]
mov r9, qword [rax + 0x30]
mov r8d, 0x10006
lea rdx, [0x18006ae60]
call r9
mov dword [0x18006ae40], eax
cmp eax, 0xfffffffe
jne 0x18000465a
mov rcx, qword [0x18006ae58]
mov rax, qword [rcx]
mov r9, qword [rax + 0x20]
xor r8d, r8d
lea rdx, [0x18006ae60]
call r9
call fcn.18004d580
test rax, rax
je 0x180004c7b
mov rcx, qword [0x18006ae60]
mov rax, qword [rcx]
mov r8, qword [rax + 0x30]
lea rdx, str.com_craftrise_client_S
call r8
mov rdx, rax
mov qword [0x18006b330], rax
mov rcx, qword [0x18006ae60]
mov rax, qword [rcx]
mov r10, qword [rax + 0x108]
lea r9, str.__Lcom_craftrise_client_fa_
lea r8, [0x18005f43c]
call r10
mov rbx, rax
call fcn.18004d580
mov r8, rbx
mov rdx, rax
mov rcx, qword [0x18006ae60]
call fcn.18003fc70
mov qword [rbp + 0x27], rax
movdqa xmm0, xmmword [0x180060a60]
movdqu xmmword [rbp - 0x59], xmm0
movdqa xmm1, xmmword [0x180060a50]
movdqu xmmword [rbp - 0x49], xmm1
movdqa xmm0, xmmword [0x180060dd0]
movdqu xmmword [rbp - 0x39], xmm0
mov dword [rbp - 0x29], 0xee29ec2b
mov dword [rbp - 0x25], 0xf235f037
mov dword [rbp - 0x21], 0x31f433
mov byte [rbp - 0x1d], 1
lea rcx, [rbp - 0x59]
call fcn.180004dc0
lea r8, [rbp - 0x1e]
lea rdx, [rbp - 0x59]
lea rcx, [rbp + 7]
call fcn.180004ec0
nop
lea rdx, [rbp + 7]
lea rcx, [rbp + 0x27]
call fcn.18004d300
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x180004771
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000476c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000476c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005360c
movdqa xmm0, xmmword [0x180060a70]
movdqu xmmword [rbp - 0x59], xmm0
movdqa xmm1, xmmword [0x180060a80]
movdqu xmmword [rbp - 0x49], xmm1
movdqa xmm0, xmmword [str.LM_]
movdqu xmmword [rbp - 0x39], xmm0
movdqa xmm1, xmmword [0x180060ac0]
movdqu xmmword [rbp - 0x29], xmm1
movdqa xmm0, xmmword [0x180060a40]
movdqu xmmword [rbp - 0x19], xmm0
mov word [rbp - 9], 0x100
mov rax, rdi
nop dword [rax + rax]
lea ecx, [rax + 0x5c]
xor byte [rbp + rax - 0x59], cl
lea ecx, [rax + 0x5d]
xor byte [rbp + rax - 0x58], cl
lea ecx, [rax + 0x5e]
xor byte [rbp + rax - 0x57], cl
lea ecx, [rax + 0x5f]
xor byte [rbp + rax - 0x56], cl
lea ecx, [rax + 0x60]
xor byte [rbp + rax - 0x55], cl
lea ecx, [rax + 0x61]
xor byte [rbp + rax - 0x54], cl
lea ecx, [rax + 0x62]
xor byte [rbp + rax - 0x53], cl
lea ecx, [rax + 0x63]
xor byte [rbp + rax - 0x52], cl
lea ecx, [rax + 0x64]
xor byte [rbp + rax - 0x51], cl
lea ecx, [rax + 0x65]
xor byte [rbp + rax - 0x50], cl
lea ecx, [rax + 0x66]
xor byte [rbp + rax - 0x4f], cl
lea ecx, [rax + 0x67]
xor byte [rbp + rax - 0x4e], cl
lea ecx, [rax + 0x68]
xor byte [rbp + rax - 0x4d], cl
lea ecx, [rax + 0x69]
xor byte [rbp + rax - 0x4c], cl
lea ecx, [rax + 0x6a]
xor byte [rbp + rax - 0x4b], cl
lea ecx, [rax + 0x6b]
xor byte [rbp + rax - 0x4a], cl
add rax, 0x10
cmp rax, 0x50
jb 0x1800047c0
mov byte [rbp - 8], 0
lea r8, [rbp - 9]
lea rdx, [rbp - 0x59]
lea rcx, [rbp + 7]
call fcn.180004ec0
nop
lea rdx, [rbp + 7]
lea rcx, [rbp + 0x27]
call fcn.18004d300
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x18000489c
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004897
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004897
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005360c
lea rdx, str.CraftRise
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov r10, rax
test rax, rax
je 0x180004a0c
movsd xmm0, qword [str.uOU_]
movsd qword [rbp + 0x27], xmm0
mov eax, dword [0x18005dbc8]
mov dword [rbp + 0x2f], eax
mov r8d, edi
cmp dword [0x18006a428], 2
jl 0x1800049c0
movdqa xmm4, xmmword [0x180060a30]
movdqa xmm2, xmmword [0x1800609e0]
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, xmmword [0x180060a10]
psubd xmm2, xmm0
andps xmm2, xmmword [0x180060a20]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180060ab0]
movd xmm0, dword [str.uOU_]
xorps xmm2, xmm0
movd dword [rbp + 0x27], xmm2
movdqa xmm2, xmmword [0x1800609f0]
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, xmmword [0x180060a10]
psubd xmm2, xmm0
andps xmm2, xmmword [0x180060a20]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180060ab0]
movd xmm0, dword [rbp + 0x2b]
xorps xmm2, xmm0
movd dword [rbp + 0x2b], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp + 0x27]
add r9, rax
nop word [rax + rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x1800049d0
lea rdx, [rbp + 0x27]
mov rcx, r10
call qword [sym.imp.USER32.dll_SetWindowTextA]
cmp qword [0x18006b1e8], 0
jne 0x180004ad2
mov ecx, 0x18
call fcn.1800535d0
mov rbx, rax
mov qword [rbp + 0x27], 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 0x180004a6a
xor edx, edx
lea rcx, str.GLFW30
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rbx], rax
test rax, rax
je 0x180004acb
lea r8, [0x18004a030]
mov edx, 0xfffffffc
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov qword [0x18006b5c0], rax
call fcn.18004f7b0
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 0x180004acb
lea r8, [rbx + 0x10]
lea rdx, [0x18004a0e0]
mov rcx, rax
call fcn.18004f8e0
xor ecx, ecx
call fcn.18004fdc0
mov qword [0x18006b1e8], 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 0x180004c7b
lea rdx, [0x18005db58]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006ae80], rax
test rax, rax
je 0x180004c7b
call fcn.180001fc0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180002630
lea rdx, [0x180002f10]
lea rcx, [0x18006ae80]
call fcn.1800026d0
call fcn.1800020a0
lea rdx, [0x18005db60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006ae78], rax
lea rdx, [0x18005db70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006ae38], rax
lea rdx, str.wglSwapBuffers
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006ae70], rax
lea rdx, [0x18005db58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006ae88], rax
lea rdx, str.glScalef
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006ae48], rax
lea rdx, str.glTranslatef
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006ae28], rax
call fcn.18004f530
call fcn.180001fc0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180002630
lea rdx, [0x180004400]
lea rcx, [0x18006ae78]
call fcn.1800026d0
lea rdx, [0x180004460]
lea rcx, [0x18006ae38]
call fcn.1800026d0
lea rdx, [0x180004000]
lea rcx, [0x18006ae88]
call fcn.1800026d0
lea rdx, [0x180003f70]
lea rcx, [0x18006ae70]
call fcn.1800026d0
lea rdx, [0x180004280]
lea rcx, [0x18006ae28]
call fcn.1800026d0
lea rdx, [0x180004350]
lea rcx, [0x18006ae48]
call fcn.1800026d0
call fcn.1800020a0
test eax, eax
sete dil
mov rax, qword [rbp + 0x37]
test rax, rax
je 0x180004c77
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x180004c8f
mov rcx, qword [rbp + 0x37]
test rcx, rcx
je 0x180004c8a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1800535b0
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
test edx, edx
jne 0x180004c8a
call fcn.180001fc0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180002630
lea rdx, [0x180004400]
lea rcx, [0x18006ae78]
call fcn.180002a80
lea rdx, [0x180004460]
lea rcx, [0x18006ae38]
call fcn.180002a80
lea rdx, [0x180004000]
lea rcx, [0x18006ae88]
call fcn.180002a80
lea rdx, [0x180003f70]
lea rcx, [0x18006ae70]
call fcn.180002a80
lea rdx, [0x180004280]
lea rcx, [0x18006ae28]
call fcn.180002a80
lea rdx, [0x180004350]
lea rcx, [0x18006ae48]
call fcn.180002a80
call qword [sym.imp.KERNEL32.dll_FreeConsole]
call fcn.1800020a0
test eax, eax
sete dil
mov eax, edi
jmp 0x180004c8f