Function at 0x140002900
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 [0x140012040]
xor rax, rsp
mov qword [rbp + 0x350], rax
xor r13d, r13d
lea rax, [rbp + 0x140]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1400031d3
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 8], xmm1
lea rax, [rbp + 0x140]
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rax + rbx*2], r13w
jne 0x140002980
movabs r14, 0x7ffffffffffffffe
cmp rbx, r14
ja 0x140003221
movabs rdi, 0x7fffffffffffffff
mov ecx, 0xa
cmp rbx, 7
ja 0x1400029df
mov qword [rbp - 8], rbx
mov qword [rbp], 7
add rbx, rbx
mov r8, rbx
lea rdx, [rbp + 0x140]
lea rcx, [rbp - 0x18]
call sub.VCRUNTIME140.dll_memcpy
mov word [rbp + rbx - 0x18], r13w
jmp 0x140002a78
mov rax, rbx
or rax, 7
cmp rax, r14
jbe 0x1400029f1
lea rcx, [rdi + rdi]
jmp 0x140002a14
mov r14, rax
cmp rax, rcx
cmovb r14, rcx
lea rcx, [r14 + 1]
cmp rcx, rdi
ja 0x14000321b
add rcx, rcx
cmp rcx, 0x1000
jb 0x140002a40
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000321b
mov rcx, rax
call fcn.14000b240
test rax, rax
je 0x1400031c7
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140002a52
test rcx, rcx
je 0x140002a4f
call fcn.14000b240
mov rsi, rax
jmp 0x140002a52
mov rsi, r13
mov qword [rbp - 0x18], rsi
mov qword [rbp - 8], rbx
mov qword [rbp], r14
add rbx, rbx
mov r8, rbx
lea rdx, [rbp + 0x140]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rsi], r13w
lea rdx, [rbp - 0x18]
cmp qword [rbp], 7
cmova rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 8]
lea r14, [rdx + rax*2]
lea rsi, [rbp - 0x18]
cmova rsi, qword [rbp - 0x18]
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
movabs rdx, 0x8000000000000000
mov r8d, 0x16
mov qword [rbp + 0x18], r13
cmp rsi, r14
jne 0x140002acc
mov r14, r13
mov ecx, 0xf
mov qword [rbp + 0x20], rcx
mov byte [rbp + 8], r14b
jmp 0x140002bc4
sub r14, rsi
sar r14, 1
mov qword [rbp + 0x20], 0xf
cmp r14, rdi
ja 0x140003227
mov ebx, 0xf
cmp r14, rbx
jbe 0x140002b72
mov rbx, r14
or rbx, 0xf
cmp rbx, rdi
jbe 0x140002b2e
mov rbx, rdi
lea rax, [rdx + 0x27]
mov rcx, rax
call fcn.14000b240
mov rcx, rax
test rax, rax
je 0x140003183
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rbp + 8], rax
mov qword [rbp + 0x20], rbx
jmp 0x140002b76
cmp rbx, r8
cmovb rbx, r8
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140002b51
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003209
jmp 0x140002b04
test rcx, rcx
je 0x140002b65
call fcn.14000b240
mov qword [rbp + 8], rax
mov qword [rbp + 0x20], rbx
jmp 0x140002b76
mov rax, r13
mov qword [rbp + 8], rax
mov qword [rbp + 0x20], rbx
jmp 0x140002b76
mov rax, qword [rbp + 8]
lea r8, [rbp + 8]
cmp rbx, 0xf
cmova r8, rax
mov rcx, r8
mov rdx, r14
test r14, r14
je 0x140002ba3
nop dword [rax]
movzx eax, byte [rsi]
mov byte [rcx], al
lea rcx, [rcx + 1]
lea rsi, [rsi + 2]
sub rdx, 1
jne 0x140002b90
mov qword [rbp + 0x18], r14
mov byte [r8 + r14], 0
mov rcx, qword [rbp + 0x20]
mov r14, qword [rbp + 0x18]
movabs rdx, 0x8000000000000000
mov r8d, 0x16
mov qword [rsp + 0x50], rcx
mov rax, rdi
sub rax, r14
cmp rax, 1
jb 0x14000322d
lea r12, [rbp + 8]
mov rax, qword [rbp + 8]
mov qword [rbp - 0x60], rax
cmp rcx, 0xf
cmova r12, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea r15, [r14 + 1]
mov ebx, 0xf
lea rsi, [rsp + 0x30]
cmp r15, rbx
jbe 0x140002c81
mov rbx, r15
or rbx, 0xf
cmp rbx, rdi
jbe 0x140002c3f
mov rbx, rdi
lea rax, [rdx + 0x27]
mov rcx, rax
call fcn.14000b240
test rax, rax
je 0x140002c63
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140002c7c
cmp rbx, 0x16
cmovb rbx, r8
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140002c6a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000320f
jmp 0x140002c24
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140002c79
call fcn.14000b240
mov rsi, rax
jmp 0x140002c7c
mov rsi, r13
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], rbx
mov r8, r14
mov rdx, r12
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + r14], 0x5c
mov byte [rsi + r15], 0
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 0x1b
jb 0x140002cf4
lea rax, [rcx + 0x1b]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0x30]
add rbx, rcx
mov r8d, 0x1b
lea rdx, str._77EpicOnlineServicesHelper
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x1b], 0
lea rax, [rsp + 0x30]
jmp 0x140002d13
mov qword [rsp + 0x20], 0x1b
lea r9, str._77EpicOnlineServicesHelper
mov edx, 0x1b
lea rcx, [rsp + 0x30]
call fcn.140004550
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x140002d7f
lea rax, [rcx + 1]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x58]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x58]
mov word [rax + rcx], 0x5c
lea rax, [rsp + 0x58]
jmp 0x140002d9e
mov qword [rsp + 0x20], 1
lea r9, [0x14000d6d4]
mov edx, 1
lea rcx, [rsp + 0x58]
call fcn.140004550
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140002e0b
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e06
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e06
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b4c4
movdqa xmm0, xmmword [0x14000dd00]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140002e5e
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e59
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b4c4
movdqa xmm0, xmmword [0x14000dd00]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov r8d, 0x104
lea rdx, [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
lea rax, [rbp + 0x30]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140002e96
cmp rbx, rdi
ja 0x140003203
cmp rbx, 0xf
ja 0x140002ee2
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], 0xf
mov r8, rbx
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x78]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x78], 0
mov rdi, qword [rbp - 0x70]
mov rbx, qword [rbp - 0x78]
mov rsi, qword [rsp + 0x78]
jmp 0x140002f79
mov rax, rbx
or rax, 0xf
cmp rax, rdi
jbe 0x140002f1b
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14000b240
test rax, rax
je 0x140003035
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140002f59
mov rdi, rax
cmp rax, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x140002f47
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003215
jmp 0x140002efc
test rcx, rcx
je 0x140002f56
call fcn.14000b240
mov rsi, rax
jmp 0x140002f59
mov rsi, r13
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], 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 r14, qword [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova r12, r14
lea r13, [rsp + 0x78]
cmp rdi, 0xf
cmova r13, rsi
mov r15, qword [rbp - 0x28]
cmp r15, rbx
ja 0x140003003
sub rbx, r15
test r15, r15
jne 0x140002fac
xor ebx, ebx
jmp 0x14000300a
lea rax, [rbx + 1]
add rax, r13
mov qword [rbp - 0x68], 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 0x140003003
mov r8, r15
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14000303c
inc rbx
mov r8, qword [rbp - 0x68]
sub r8, rbx
movsx edx, byte [r12]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140002fd2
mov rbx, 0xffffffffffffffff
cmp rdi, 0xf
jbe 0x14000304d
lea rdx, [rdi + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140003041
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003041
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rbx, r13
jmp 0x14000300a
mov rcx, rsi
call fcn.14000b4c4
mov r14, qword [rbp - 0x38]
cmp rbx, 0xffffffffffffffff
jne 0x1400030fe
lea rcx, [rbp - 0x38]
call fcn.1400038d0
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea r8, str._77FortniteOnlineClientPackage.exe
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x58]
call fcn.140003e40
mov rcx, rax
call fcn.1400038d0
mov rdx, rax
xor r8d, r8d
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
lea rcx, [rbp - 0x58]
call fcn.1400038e0
lea r8, str._77FortniteOnlineClientPackage.exe
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x58]
call fcn.140003e40
mov rcx, rax
call fcn.1400038d0
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.1400038e0
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 0x14000313c
lea rdx, [rax + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140003134
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003134
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.14000b4c4
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140003190
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000318a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000318a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b4c4
nop
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x1400031d3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400031ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400031ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000b4c4
mov rcx, qword [rbp + 0x350]
xor rcx, rsp
call fcn.14000b220
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.140001260
nop
call fcn.1400011c0
nop
call fcn.1400011c0
nop
call fcn.1400011c0
nop
call fcn.1400011c0
int3
call fcn.140001260
nop
call fcn.140001260
nop
call fcn.140001260
int3