Function at 0x140050650
Capabilities:
Create thread
Encode data using xor
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x14023f058]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
xor esi, esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [rsi + 3]
lea rcx, [0x1401313d8]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x14023fb50], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x140240114], eax
lea ecx, [rsi + 1]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x140240118], eax
cmp qword [0x14023f9a0], rsi
jne 0x140050735
nop dword [rax]
mov dword [rsp + 0x50], 0x7f78664e
mov dword [rsp + 0x54], 0x6a7a6462
mov word [rsp + 0x58], 0x3130
xor eax, eax
mov byte [rsp + 0x5a], al
nop dword [rax]
movsxd rcx, eax
lea rdx, [rsp + 0x50]
add rdx, rcx
lea ecx, [rax + 8]
xor byte [rdx], cl
inc eax
cmp eax, 0xa
jb 0x140050700
mov byte [rsp + 0x5a], sil
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x14023f9a0], rax
test rax, rax
je 0x1400506e0
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x140050791
lea rdx, str.FortniteClient_Win64_Shipping.exe
lea rcx, [rbp - 0x74]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov rcx, rbx
test eax, eax
je 0x14005077f
lea rdx, [rsp + 0x60]
call sub.KERNEL32.dll_Process32NextW
jmp 0x140050757
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x68]
mov dword [0x14023fb2c], eax
jmp 0x1400507a0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x14023fb2c]
mov qword [rsp + 0x50], rsi
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, reloc.WS2_32.dll_recv
lea r8, [rsp + 0x40]
mov edx, 0x220ca8
mov rcx, qword [0x14023fb50]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
call fcn.14004d400
mov rbx, qword [rsp + 0x50]
mov rdx, rbx
lea rcx, str._Onyx__base_address_____I64d_n
call fcn.14001f320
mov edi, 0x19
mov rcx, rbx
call fcn.14004ae90
cmp eax, 0x905a4d
jne 0x140050822
lea rax, [rbx + 0x1221c738]
mov qword [0x14023f990], rax
add rbx, 0x1000
sub rdi, 1
jne 0x140050805
lea ecx, [rdi + 1]
call fcn.1401056c8
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14004aa30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400508c3
cmp dword [rsp + 0x48], edi
je 0x1400508d2
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x1400508bb
mov rcx, qword [0x14023fb70]
call fcn.140050020
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140105230
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
nop
mov dword [rsp + 0x48], esi
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3