Function at 0x14000b690
Capabilities:
Copy file
Create directory
Delete file
Move file

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2b8
mov r14, r8
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140038010]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
xor ebx, ebx
test eax, eax
je 0x14000b6f8
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1400195d0
mov eax, ebx
add rsp, 0x2b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movabs rbx, 0xffffffff00000002
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x38]
mov rdx, rsi
xor r8d, r8d
call fcn.14000b090
mov ebp, dword [rsp + 0x3c]
cmp ebp, 0xffffffff
je 0x14000b767
mov eax, ebp
and eax, 0x10
je 0x14000b767
lea rdx, [r14 + 0xc8]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14000b838
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x14000b7e2
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x14000b77c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebp, 0xffffffff
setne al
xor ebx, ebx
mov qword [rsp + 0x40], 0xffffffffffffffff
cmp ebp, 0xffffffff
je 0x14000b7d4
mov ecx, dword [rsp + 0x38]
cmp ecx, 2
je 0x14000b7d4
shr ebp, 0xa
and bpl, al
jne 0x14000b7d4
cmp ecx, 1
je 0x14000b7d4
mov rdx, qword [rdi + 8]
mov rcx, qword [rsi + 8]
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14000b7d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14000b818
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x50], 0
test rcx, rcx
je 0x14000b7fa
call fcn.14000e5b4
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x14000b6d2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000b6d2
mov rcx, qword [rsi + 8]
xor edx, edx
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test ebx, ebx
js 0x14000b7e2
test eax, eax
je 0x14000b751
jmp 0x14000b7e2
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rsp + 0x88], xmm0
lea rcx, [rsp + 0x78]
mov rdx, rdi
xor r8d, r8d
call fcn.14000b090
mov ecx, 0x20a
call fcn.14000e5ac
mov rbx, rax
lea rcx, [rax + 2]
mov r8d, 0x208
xor edx, edx
call fcn.1400101a0
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x68], 0
mov word [rbx], 0
mov ecx, 0x20a
call fcn.14000e5ac
mov rbx, rax
lea rcx, [rax + 2]
mov r8d, 0x208
xor edx, edx
call fcn.1400101a0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], 0
mov word [rbx], 0
cmp qword [rsp + 0x40], 0xffffffffffffffff
mov ebx, 0x80004005
je 0x14000b91b
cmp qword [rsp + 0x80], 0xffffffffffffffff
je 0x14000b91b
mov eax, dword [rsp + 0x7c]
cmp eax, 0xffffffff
je 0x14000b91b
mov ecx, eax
and ecx, 0x10
je 0x14000b91b
test eax, 0x400
jne 0x14000b91b
mov eax, dword [rsp + 0x78]
add eax, 0xffffffff
cmp eax, 2
jb 0x14000b91b
xor ebx, ebx
test ebp, 0x400
jne 0x14000b91b
mov eax, dword [rsp + 0x38]
add eax, 0xffffffff
cmp eax, 2
jae 0x14000b9c9
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.14000b500
test eax, eax
jns 0x14000b95a
mov rcx, qword [rsi + 8]
xor edx, edx
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test ebx, ebx
js 0x14000b95a
test eax, eax
jne 0x14000b95a
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x60], 0
test rcx, rcx
je 0x14000b972
call fcn.14000e5b4
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x70], 0
test rcx, rcx
je 0x14000b98a
call fcn.14000e5b4
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x90], 0
test rcx, rcx
je 0x14000b9a8
call fcn.14000e5b4
mov rcx, qword [rsp + 0x80]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x14000b7e2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000b7e2
mov rdx, qword [rsi + 8]
lea rbx, [rsp + 0x98]
mov rcx, rbx
call fcn.14000e210
call fcn.140014b94
mov dword [rax], 0
mov rcx, rbx
call fcn.14000e280
test rax, rax
je 0x14000bb08
mov rbp, rax
mov r13, qword [rsp + 0x48]
mov r15, qword [rsp + 0x50]
mov dword [rsp + 0x34], 0
lea r12, [0x140031444]
lea rbx, [rsp + 0x98]
jmp 0x14000ba6c
mov r9, qword [rsi + 8]
mov qword [rsp + 0x20], rbp
mov edx, 0x105
lea rcx, [rsp + 0x68]
lea r8, [0x140030fa4]
call fcn.14000b4c0
cmp qword [rsp + 0x68], 0
jne 0x14000baa7
mov eax, dword [rsp + 0x34]
test eax, eax
mov ecx, 0x8007006f
cmovns eax, ecx
mov dword [rsp + 0x34], eax
mov rcx, rbx
call fcn.14000e280
mov rbp, rax
test rax, rax
je 0x14000bb10
mov rcx, rbp
mov rdx, r12
call fcn.140017684
test eax, eax
je 0x14000ba58
mov rcx, rbp
lea rdx, [0x140031442]
call fcn.140017684
test eax, eax
je 0x14000ba58
test r13, r13
je 0x14000ba1f
mov rcx, rbp
mov rdx, r15
call fcn.140017684
test eax, eax
je 0x14000ba58
jmp 0x14000ba1f
mov r9, qword [rdi + 8]
mov qword [rsp + 0x20], rbp
mov edx, 0x105
lea rcx, [rsp + 0x58]
lea r8, [0x140030fa4]
call fcn.14000b4c0
cmp qword [rsp + 0x58], 0
je 0x14000ba46
lea rcx, [rsp + 0x68]
lea rdx, [rsp + 0x58]
mov r8, r14
call fcn.14000b690
mov edx, dword [rsp + 0x34]
test edx, edx
mov ecx, eax
cmovs ecx, edx
test eax, eax
cmovs edx, ecx
mov dword [rsp + 0x34], edx
call fcn.140014b94
mov dword [rax], 0
jmp 0x14000ba58
mov dword [rsp + 0x34], 0
call fcn.140014b94
cmp dword [rax], 0
mov ebx, 0x80004005
mov eax, dword [rsp + 0x34]
cmove ebx, eax
test eax, eax
cmovs ebx, eax
mov rcx, qword [rsp + 0x98]
cmp rcx, 0xffffffffffffffff
je 0x14000b91b
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x14000b91b