Function at 0x140048940
Capabilities:
Encode data using xor
Enumerate processes
Execute command
Query environment variable
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x14005b040]
xor rax, rsp
mov qword [rbp + 0xd0], rax
call fcn.14003fea0
lea rcx, str.USERNAME
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
lea r15, [rbp + 0xf8]
mov rbx, qword [r15]
xor esi, esi
mov qword [r15], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
mov r8d, 3
lea rcx, str.._staydetected
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x14005b890], rax
mov qword [r15], rbx
lea rdi, [rbp + 0xf8]
movabs r14, 0xff00ff00ff00ff00
nop dword [rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], rdi
mov rbx, qword [rdi]
mov rax, rbx
xor rax, r14
mov qword [rsp + 0x60], rax
mov qword [rdi], rsi
mov rax, qword [0x14005b9b8]
lea rdx, str.Fortnite
xor ecx, ecx
call rax
nop
mov qword [rdi], rbx
test rax, rax
je 0x1400489e0
lea rcx, str.WAITING_FOR_FORTNITE_n
call fcn.140001220
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.Loading_n
call fcn.140001220
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rbp + 0xf8]
mov rdi, qword [rax]
mov qword [rax], rsi
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov dword [rbp - 0x60], 0x130
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140048aab
lea rdx, str.FortniteClient_Win64_Shipping.exe
lea rcx, [rbp - 0x34]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov rcx, rbx
test eax, eax
je 0x140048bf4
lea rdx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140048a81
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x14005b898]
mov qword [r15], rdi
mov byte [rsp + 0x50], 0
mov dword [rsp + 0x44], esi
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov r9d, 0x10
lea r8, [rsp + 0x40]
mov edx, 0x2204a8
mov rcx, qword [0x14005b890]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140048b1c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.DeviceIoControl_failed_with_error:__lu_n
call fcn.140001220
lea rdi, [rbp + 0xf8]
mov rbx, qword [rdi]
mov qword [rdi], rsi
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x60], 0x97723a00
mov eax, dword [0x14005b898]
mov dword [rsp + 0x64], eax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov r9d, 0x10
lea r8, [rsp + 0x60]
mov edx, 0x221e0c
mov rcx, qword [0x14005b890]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rdx, qword [rsp + 0x58]
mov qword [rdi], rbx
mov qword [0x14005b8b0], rdx
lea rcx, str.virtualaddy:_0x_p_n
call fcn.140001220
mov rdx, qword [0x14005b8b0]
mov qword [0x14005ba40], rdx
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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___unsigned_long_long_unsigned___int64_____ptr64]
lea rdx, [0x1400492a0]
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 ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140046a90
test eax, eax
jns 0x140048c08
lea rcx, str.The_gui_was_not_initialized
call fcn.140001220
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp - 0x58]
mov dword [0x14005b898], eax
jmp 0x140048aba
lea rcx, [0x140052d2c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, [0x140047810]
lea rcx, [rsp + 0x78]
call fcn.140049500
nop
lea rdx, [0x140047c80]
lea rcx, [rbp - 0x78]
call fcn.140049500
nop
lea rcx, [rsp + 0x78]
call fcn.14003fe40
lea rcx, [rbp - 0x78]
call fcn.14003fe40
call fcn.140048650
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3