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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0xb0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x1800653c0]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp edx, 1
jne 0x18000561f
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, [0x180058fec]
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 [rsp + 0x70], xmm0
xor edi, edi
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x78], edi
lea rdx, str.CraftRise
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
jne 0x180005060
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.180045700
lea rdx, [0x1800448d0]
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 [rsp + 0x70]
jmp 0x1800050b2
lea rdx, [rsp + 0x78]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x78]
test r8d, r8d
jne 0x1800050a0
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.180045700
lea rdx, [0x1800448d0]
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 [rsp + 0x78]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1800055c9
lea rcx, [rsp + 0x70]
call fcn.180046980
lea r8, [0x180065e48]
mov edx, 1
lea rcx, [0x180065e38]
call qword [sym.imp.jvm.dll_JNI_GetCreatedJavaVMs]
test eax, eax
jne 0x1800055c4
cmp dword [0x180065e48], eax
je 0x1800055c4
mov rcx, qword [0x180065e38]
mov rax, qword [rcx]
mov r9, qword [rax + 0x30]
mov r8d, 0x10006
lea rdx, [0x180065e40]
call r9
mov dword [0x180065e20], eax
cmp eax, 0xfffffffe
jne 0x180005136
mov rcx, qword [0x180065e38]
mov rax, qword [rcx]
mov r9, qword [rax + 0x20]
xor r8d, r8d
lea rdx, [0x180065e40]
call r9
call fcn.180048b70
test rax, rax
je 0x1800055db
mov rcx, qword [0x180065e40]
mov rax, qword [rcx]
mov r8, qword [rax + 0x30]
lea rdx, str.com_craftrise_client_S
call r8
mov rdx, rax
mov qword [0x1800662f8], rax
mov rcx, qword [0x180065e40]
mov rax, qword [rcx]
mov r10, qword [rax + 0x108]
lea r9, str.__Lcom_craftrise_client_fa_
lea r8, [0x18005a86c]
call r10
mov rbx, rax
call fcn.180048b70
mov r8, rbx
mov rdx, rax
mov rcx, qword [0x180065e40]
call fcn.18003ed50
lea rdx, str.CraftRise
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov r9, rax
test rax, rax
je 0x18000536a
movups xmm0, xmmword [str.e_W_e]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x1800590b0]
movups xmmword [rsp + 0x50], xmm1
movsd xmm0, qword [0x1800590c0]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [0x1800590c8]
mov dword [rsp + 0x68], eax
movzx eax, byte [0x1800590cc]
mov byte [rsp + 0x6c], al
mov ecx, edi
cmp dword [0x180065428], 2
jl 0x180005324
movdqa xmm5, xmmword [0x18005b850]
movdqa xmm4, xmmword [0x18005bb80]
movdqa xmm6, xmmword [str.1111]
movdqa xmm0, xmmword [0x18005b880]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x40]
movdqa xmm7, xmmword [0x18005b870]
mov r8d, dword [rsp + 0x30]
nop
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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, r8d
paddb xmm3, xmm0
movd xmm0, dword [rdx + 4]
xorps xmm3, xmm0
movd dword [rdx + 4], xmm3
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x28
jl 0x180005240
cmp ecx, 0x2d
jge 0x18000535c
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x37
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x2d
jl 0x180005330
lea rdx, [rsp + 0x40]
mov rcx, r9
call qword [sym.imp.USER32.dll_SetWindowTextA]
cmp qword [0x1800661b0], 0
jne 0x180005431
mov ecx, 0x18
call fcn.18004ebc0
mov rbx, rax
mov qword [rsp + 0x30], 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 0x1800053c9
xor edx, edx
lea rcx, str.GLFW30
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rbx], rax
test rax, rax
je 0x18000542a
lea r8, [0x1800453a0]
mov edx, 0xfffffffc
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov qword [0x180066588], rax
call fcn.18004ada0
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 0x18000542a
lea r8, [rbx + 0x10]
lea rdx, [0x180045450]
mov rcx, rax
call fcn.18004aed0
xor ecx, ecx
call fcn.18004b3b0
mov qword [0x1800661b0], 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 0x1800055db
lea rdx, [0x180059038]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180065e60], rax
test rax, rax
je 0x1800055db
call fcn.1800026b0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180002d20
lea rdx, [0x1800035e0]
lea rcx, [0x180065e60]
call fcn.180002dc0
call fcn.180002790
lea rdx, [0x180059040]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180065e58], rax
lea rdx, [0x180059050]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180065e18], rax
lea rdx, str.wglSwapBuffers
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180065e50], rax
lea rdx, [0x180059038]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180065e68], rax
lea rdx, str.glScalef
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180065e28], rax
lea rdx, str.glTranslatef
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180065e08], rax
call fcn.18004ab20
call fcn.1800026b0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180002d20
lea rdx, [0x180004ed0]
lea rcx, [0x180065e58]
call fcn.180002dc0
lea rdx, [0x180004f30]
lea rcx, [0x180065e18]
call fcn.180002dc0
lea rdx, [0x180004ad0]
lea rcx, [0x180065e68]
call fcn.180002dc0
lea rdx, [0x180004a40]
lea rcx, [0x180065e50]
call fcn.180002dc0
lea rdx, [0x180004d50]
lea rcx, [0x180065e08]
call fcn.180002dc0
lea rdx, [0x180004e20]
lea rcx, [0x180065e28]
call fcn.180002dc0
call fcn.180002790
test eax, eax
sete dil
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x1800055d7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x1800055f0
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1800055eb
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.18004eba0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rdi
ret
test edx, edx
jne 0x1800055eb
call fcn.1800026b0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180002d20
lea rdx, [0x180004ed0]
lea rcx, [0x180065e58]
call fcn.180003170
lea rdx, [0x180004f30]
lea rcx, [0x180065e18]
call fcn.180003170
lea rdx, [0x180004ad0]
lea rcx, [0x180065e68]
call fcn.180003170
lea rdx, [0x180004a40]
lea rcx, [0x180065e50]
call fcn.180003170
lea rdx, [0x180004d50]
lea rcx, [0x180065e08]
call fcn.180003170
lea rdx, [0x180004e20]
lea rcx, [0x180065e28]
call fcn.180003170
call qword [sym.imp.KERNEL32.dll_FreeConsole]
call fcn.180002790
xor edi, edi
test eax, eax
sete dil
mov eax, edi
jmp 0x1800055f0