Function at 0x180004490
Capabilities:
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, 0xe0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x18006c3c0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor edi, edi
cmp edx, 1
jne 0x180004cbb
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, [0x18005fb64]
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 + 0x17], xmm0
mov qword [rbp + 0x17], rdi
mov dword [rbp + 0x1f], edi
lea rdx, str.CraftRise
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
jne 0x180004550
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.180004f40
lea rdx, [0x180005120]
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 + 0x17]
jmp 0x18000459e
lea rdx, [rbp + 0x1f]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rbp + 0x1f]
test r8d, r8d
jne 0x18000458d
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.180004f40
lea rdx, [0x180005120]
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 + 0x1f]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x17], rax
test rax, rax
je 0x180004c66
lea rcx, [rbp + 0x17]
call fcn.18004c940
lea r8, [0x18006ce78]
mov edx, 1
lea rcx, [0x18006ce68]
call qword [sym.imp.jvm.dll_JNI_GetCreatedJavaVMs]
test eax, eax
jne 0x180004c62
cmp dword [0x18006ce78], eax
je 0x180004c62
mov rcx, qword [0x18006ce68]
mov rax, qword [rcx]
mov r9, qword [rax + 0x30]
mov r8d, 0x10006
lea rdx, [0x18006ce70]
call r9
mov dword [0x18006ce50], eax
cmp eax, 0xfffffffe
jne 0x180004621
mov rcx, qword [0x18006ce68]
mov rax, qword [rcx]
mov r9, qword [rax + 0x20]
xor r8d, r8d
lea rdx, [0x18006ce70]
call r9
call fcn.18004e9c0
test rax, rax
je 0x180004c78
mov rcx, qword [0x18006ce70]
mov rax, qword [rcx]
mov r8, qword [rax + 0x30]
lea rdx, str.com_craftrise_client_S
call r8
mov rdx, rax
mov qword [0x18006d338], rax
mov rcx, qword [0x18006ce70]
mov rax, qword [rcx]
mov r10, qword [rax + 0x108]
lea r9, str.__Lcom_craftrise_client_fa_
lea r8, [0x18006149c]
call r10
mov rbx, rax
call fcn.18004e9c0
mov r8, rbx
mov rdx, rax
mov rcx, qword [0x18006ce70]
call fcn.180040550
mov qword [rbp + 0x27], rax
movdqa xmm0, xmmword [0x180062ed0]
movdqu xmmword [rbp - 0x39], xmm0
movdqa xmm1, xmmword [0x180062e50]
movdqu xmmword [rbp - 0x29], xmm1
movdqa xmm0, xmmword [0x180062e60]
movdqu xmmword [rbp - 0x19], xmm0
movdqa xmm1, xmmword [0x180062b70]
movdqu xmmword [rbp - 9], xmm1
mov byte [rbp + 7], 1
lea rcx, [rbp - 0x39]
call fcn.180004e00
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov ecx, 0x40
call fcn.180054a10
mov rcx, rax
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x49], 0x3f
mov qword [rbp - 0x41], 0x3f
movups xmm0, xmmword [rbp - 0x39]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbp - 0x29]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rbp - 0x19]
movups xmmword [rax + 0x20], xmm0
movsd xmm1, qword [rbp - 9]
movsd qword [rax + 0x30], xmm1
mov eax, dword [rbp - 1]
mov dword [rcx + 0x38], eax
movzx eax, word [rbp + 3]
mov word [rcx + 0x3c], ax
movzx eax, byte [rbp + 5]
mov byte [rcx + 0x3e], al
mov byte [rcx + 0x3f], 0
lea rdx, [rbp - 0x59]
lea rcx, [rbp + 0x27]
call fcn.18004e740
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 0xf
jbe 0x180004780
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000477b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000477b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180054a4c
lea rdx, str.CraftRise
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov r9, rax
test rax, rax
je 0x180004a09
movups xmm3, xmmword [str.iux]
movups xmmword [rbp - 0x59], xmm3
mov edx, dword [0x18005fc28]
mov dword [rbp - 0x49], edx
movzx eax, byte [0x18005fc2c]
mov byte [rbp - 0x45], al
mov ecx, edi
cmp dword [0x18006c428], 2
jl 0x1800049c0
movdqa xmm5, xmmword [0x180062e40]
movdqa xmm6, xmmword [str.5555::::]
movdqa xmm7, xmmword [0x180062b90]
movdqa xmm2, xmmword [0x180062af0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movdqa xmm4, xmmword [0x180062b60]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movd eax, xmm3
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp - 0x59], xmm2
movdqa xmm2, xmmword [0x180062b00]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movd xmm0, dword [rbp - 0x55]
xorps xmm2, xmm0
movd dword [rbp - 0x55], xmm2
movdqa xmm3, xmmword [0x180062b10]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm7
movd xmm0, dword [rbp - 0x51]
xorps xmm3, xmm0
movd dword [rbp - 0x51], xmm3
movdqa xmm2, xmmword [0x180062b20]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movd xmm0, dword [rbp - 0x4d]
xorps xmm2, xmm0
movd dword [rbp - 0x4d], xmm2
movdqa xmm3, xmmword [0x180062b30]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm7
movd xmm0, edx
xorps xmm3, xmm0
movd dword [rbp - 0x49], xmm3
mov ecx, 0x14
mov eax, ecx
lea r8, [rbp - 0x59]
add r8, rax
nop dword [rax]
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
sub al, dl
add al, 0x39
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x15
jl 0x1800049d0
lea rdx, [rbp - 0x59]
mov rcx, r9
call qword [sym.imp.USER32.dll_SetWindowTextA]
cmp qword [0x18006d1f0], 0
jne 0x180004acf
mov ecx, 0x18
call fcn.180054a10
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 0x180004a67
xor edx, edx
lea rcx, str.GLFW30
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rbx], rax
test rax, rax
je 0x180004ac8
lea r8, [0x18004b5b0]
mov edx, 0xfffffffc
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov qword [0x18006d5c8], rax
call fcn.180050bf0
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 0x180004ac8
lea r8, [rbx + 0x10]
lea rdx, [0x18004b660]
mov rcx, rax
call fcn.180050d20
xor ecx, ecx
call fcn.180051200
mov qword [0x18006d1f0], 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 0x180004c78
lea rdx, [0x18005fbb0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006ce90], rax
test rax, rax
je 0x180004c78
call fcn.180001fc0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180002630
lea rdx, [0x180002ee0]
lea rcx, [0x18006ce90]
call fcn.1800026d0
call fcn.1800020a0
lea rdx, [0x18005fbb8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006ce88], rax
lea rdx, [0x18005fbc8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006ce48], rax
lea rdx, str.wglSwapBuffers
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006ce80], rax
lea rdx, [0x18005fbb0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006ce98], rax
lea rdx, str.glScalef
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006ce58], rax
lea rdx, str.glTranslatef
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18006ce40], rax
call fcn.180050970
call fcn.180001fc0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180002630
lea rdx, [0x1800043c0]
lea rcx, [0x18006ce88]
call fcn.1800026d0
lea rdx, [0x180004420]
lea rcx, [0x18006ce48]
call fcn.1800026d0
lea rdx, [0x180003fd0]
lea rcx, [0x18006ce98]
call fcn.1800026d0
lea rdx, [0x180003f40]
lea rcx, [0x18006ce80]
call fcn.1800026d0
lea rdx, [0x180004240]
lea rcx, [0x18006ce40]
call fcn.1800026d0
lea rdx, [0x180004310]
lea rcx, [0x18006ce58]
call fcn.1800026d0
call fcn.1800020a0
test eax, eax
sete dil
mov rax, qword [rbp + 0x17]
test rax, rax
je 0x180004c74
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x180004c8c
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x180004c87
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1800549f0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret
test edx, edx
jne 0x180004c87
call fcn.180001fc0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180002630
lea rdx, [0x1800043c0]
lea rcx, [0x18006ce88]
call fcn.180002a50
lea rdx, [0x180004420]
lea rcx, [0x18006ce48]
call fcn.180002a50
lea rdx, [0x180003fd0]
lea rcx, [0x18006ce98]
call fcn.180002a50
lea rdx, [0x180003f40]
lea rcx, [0x18006ce80]
call fcn.180002a50
lea rdx, [0x180004240]
lea rcx, [0x18006ce40]
call fcn.180002a50
lea rdx, [0x180004310]
lea rcx, [0x18006ce58]
call fcn.180002a50
call qword [sym.imp.KERNEL32.dll_FreeConsole]
call fcn.1800020a0
test eax, eax
sete dil
mov eax, edi
jmp 0x180004c8c