Function at 0x140038538
Capabilities:
Create process on windows
Create thread
Delete file
Encode data using xor

Disassembly:
mov qword [rsp + 8], rdi
push rbp
lea rbp, [rsp - 0x460]
sub rsp, 0x560
mov rax, qword [0x1401cd300]
xor rax, rsp
mov qword [rbp + 0x450], rax
xor edi, edi
lea rcx, str._c_taskkill__f__im_epicgameslauncher.exe___nul_2_1
call fcn.140036edc
lea rcx, str._c_taskkill__f__im_EpicWebHelper.exe___nul_2_1
call fcn.140036edc
lea rcx, str._c_taskkill__f__im_FortniteClient_Win64_Shipping_EAC.exe___nul_2_1
call fcn.140036edc
lea rcx, str._c_taskkill__f__im_FortniteClient_Win64_Shipping_BE.exe___nul_2_1
call fcn.140036edc
lea rcx, str._c_taskkill__f__im_FortniteLauncher.exe___nul_2_1
call fcn.140036edc
lea rcx, str._c_taskkill__f__im_FortniteClient_Win64_Shipping.exe___nul_2_1
call fcn.140036edc
lea rcx, str._c_taskkill__f__im_EpicGamesLauncher.exe___nul_2_1
call fcn.140036edc
lea rcx, str._c_taskkill__f__im_EasyAntiCheat.exe___nul_2_1
call fcn.140036edc
lea rcx, str._c_taskkill__f__im_BEService.exe___nul_2_1
call fcn.140036edc
lea rcx, str._c_taskkill__f__im_BEServices.exe___nul_2_1
call fcn.140036edc
lea rcx, str._c_taskkill__f__im_BattleEye.exe___nul_2_1
call fcn.140036edc
movups xmm0, xmmword [0x1400e8eb8]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [0x1400e8ec8]
movups xmmword [rbp + 0x10], xmm1
mov eax, dword [0x1400e8ed8]
mov dword [rbp + 0x20], eax
mov al, byte [0x1400e8edc]
mov byte [rbp + 0x24], al
mov r8d, edi
lea r9, [rbp]
mov r10d, 0x2f684bdb
mov eax, r10d
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x36
mov al, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 0x25
jl 0x140038619
movups xmm0, xmmword [0x1400e8ee0]
movups xmmword [rbp + 0x28], xmm0
movups xmm1, xmmword [0x1400e8ef0]
movups xmmword [rbp + 0x38], xmm1
mov eax, dword [0x1400e8f00]
mov dword [rbp + 0x48], eax
mov al, byte [0x1400e8f04]
mov byte [rbp + 0x4c], al
mov r8d, edi
lea r9, [rbp + 0x28]
mov eax, r10d
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x36
mov al, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 0x25
jl 0x140038676
mov byte [rsp + 0x50], 1
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400df460
test rax, rax
je 0x1400386c2
lea rcx, [rsp + 0x50]
mov qword [rax], rcx
jmp 0x1400386c5
mov rax, rdi
mov qword [rsp + 0x60], rax
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x14002d2d4]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x80], rax
test rax, rax
je 0x140038850
mov r9d, 0x2600
lea r8, [0x1401c99c0]
lea rdx, [rbp]
lea rcx, [rsp + 0x51]
call fcn.14002f908
mov r9d, 0x23a00
lea r8, [0x1401a5fc0]
lea rdx, [rbp + 0x28]
lea rcx, [rsp + 0x51]
call fcn.14002f908
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x70], 0x68
mov dword [rbp - 0x34], 1
mov word [rbp - 0x30], di
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
lea rax, [rbp]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x28]
lea r8, str._s__s___NUL_2_1
mov edx, 0x400
lea rcx, [rbp + 0x50]
call fcn.14003a8f8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1400387e3
or edx, 0xffffffff
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rcx, [rbp + 0x28]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov byte [rsp + 0x50], dil
cmp dword [rbp - 0x78], edi
je 0x14003885e
call sub.MSVCP140.dll__Thrd_id
cmp dword [rbp - 0x78], eax
je 0x140038869
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x60], xmm0
xor edx, edx
lea rcx, [rsp + 0x60]
call sub.MSVCP140.dll__Thrd_join
test eax, eax
jne 0x140038845
mov rcx, qword [rbp + 0x450]
xor rcx, rsp
call fcn.1400df3e0
mov rdi, qword [rsp + 0x570]
add rsp, 0x560
pop rbp
ret
mov ecx, 2
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rbp - 0x78], edi
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
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3