Function at 0x1000815e4
Capabilities:
Copy file
Delete file
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0xc0
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x100165138]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov r13, rcx
lea rax, [0x1001653b8]
mov r15d, 1
mov rcx, qword [0x1001653b8]
cmp rcx, rax
je 0x100081658
test byte [rcx + 0x1c], r15b
je 0x100081658
cmp byte [rcx + 0x19], 4
jb 0x100081658
lea edx, [r15 + 0x3c]
lea r8, [0x100003b68]
mov rcx, qword [rcx + 0x10]
call fcn.10001c854
xor edx, edx
lea r8d, [rdx + 0x10]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
lea rcx, [0x100005928]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x100081690
mov ecx, 0x8007000e
call fcn.1000196c8
nop
xor edi, edi
mov qword [rsp + 0x58], rdi
xor esi, esi
and qword [rsp + 0x50], rsi
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
movdqu xmm0, xmmword [0x10000f0f8]
movdqu xmmword [rsp + 0xa0], xmm0
and qword [rsp + 0x48], rax
xor r12d, r12d
mov eax, dword [r13 + 0x14c]
test eax, eax
je 0x100081740
mov rbp, qword [r13 + 0x108]
test byte [rbp + 0x4c], r15b
je 0x1000816ee
cmp dword [rbp + 0x14], 9
je 0x1000816ff
add r12d, r15d
add rbp, 0xc0
cmp r12d, eax
jae 0x100081740
jmp 0x1000816e2
cmp qword [rbp + 0x70], 0
jne 0x10008171e
lea r8, [0x100008e98]
mov edx, 0x384
lea rcx, [0x100008d98]
call fcn.10009a050
mov rbx, qword [rbp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.100072810
mov rbx, qword [rsp + 0x40]
mov r8d, 4
mov rdx, rbx
lea rcx, [0x100008ec0]
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
jne 0x100081bc4
lea edx, [rax + 0x3f]
mov word [rbx + 2], dx
cmp r12d, dword [r13 + 0x14c]
jne 0x1000817c6
mov rcx, qword [0x1001653b8]
lea r13, [0x1001653b8]
cmp rcx, r13
je 0x10008179d
test byte [rcx + 0x1c], r15b
je 0x10008179d
cmp byte [rcx + 0x19], 2
jb 0x10008179d
lea r8, [0x100003b68]
mov rcx, qword [rcx + 0x10]
call fcn.10001c854
lea r8, [0x1000045d8]
mov edx, 0x399
lea rcx, [0x100008d98]
call fcn.10009a050
mov ebp, 0x8000ffff
mov rcx, qword [0x1001653b8]
jmp 0x100081c07
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.10009ba10
mov ebp, eax
test eax, eax
js 0x100081bb4
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VariantInit]
mov r11d, eax
test eax, eax
jne 0x100081807
lea r8, [0x100008ed0]
mov edx, 0x3a5
lea rcx, [0x100008d98]
call fcn.10009a050
jmp 0x10008182b
mov eax, 0x5c
cmp word [rbx + r11*2 - 2], ax
je 0x10008182b
mov word [rsp + 0x30], ax
mov r8d, r15d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.100072810
lea rcx, [0x10000a200]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8d, eax
lea rdx, [0x10000a200]
lea rcx, [rsp + 0x40]
call fcn.100072810
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x100081889
and qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
mov rdx, rbx
xor ecx, ecx
call sub.OLEAUT32.dll_VarBstrCmp
test eax, eax
js 0x100081889
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rdi, qword [rsp + 0x38]
mov qword [rsp + 0x58], rdi
lea rcx, [rsp + 0xa0]
call qword [sym.imp.RPCRT4.dll_UuidCreate]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.RPCRT4.dll_UuidToStringW]
test eax, eax
je 0x1000818c6
mov ebp, 0x8000ffff
mov rcx, qword [0x1001653b8]
lea r13, [0x1001653b8]
jmp 0x100081c07
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.100072810
mov r8d, r15d
mov rdi, qword [rsp + 0x58]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x100081968
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebp, ax
or ebp, 0x80070000
test eax, eax
cmovle ebp, eax
mov rcx, qword [0x1001653b8]
lea r13, [0x1001653b8]
cmp rcx, r13
je 0x100081c07
test byte [rcx + 0x1c], r15b
je 0x100081c07
cmp byte [rcx + 0x19], 2
jb 0x100081c07
mov edx, 0x40
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rdi
mov r9, rbx
lea r8, [0x100003b68]
mov rcx, qword [rcx + 0x10]
call fcn.10001e39c
mov rcx, qword [0x1001653b8]
jmp 0x100081c07
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
and qword [rsp + 0x38], 0
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x1000819ae
and qword [rsp + 0x70], 0
lea r8, [rsp + 0x70]
mov rdx, rbx
xor ecx, ecx
call sub.OLEAUT32.dll_VarBstrCmp
test eax, eax
js 0x1000819ae
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov r11, qword [rsp + 0x70]
mov qword [rsp + 0x38], r11
mov rsi, qword [rsp + 0x48]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8d, eax
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.100072810
mov rsi, qword [rsp + 0x38]
mov qword [rsp + 0x68], rsi
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_VariantInit]
add ax, ax
mov word [rsp + 0x60], ax
add ax, r15w
add ax, ax
mov word [rsp + 0x62], ax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rsp + 0x78]
call fcn.10008ba8c
test eax, eax
je 0x100081aba
cmp eax, 0x80390003
jne 0x100081a60
mov rcx, qword [0x1001653b8]
lea r13, [0x1001653b8]
cmp rcx, r13
je 0x100081ac1
test byte [rcx + 0x1c], r15b
je 0x100081ac1
cmp byte [rcx + 0x19], 3
jb 0x100081ac1
mov edx, 0x41
mov r9d, 0x80390003
lea r8, [0x100003b68]
mov rcx, qword [rcx + 0x10]
call fcn.10001c878
jmp 0x100081ac1
mov ecx, eax
call fcn.10010dd80
mov ebp, eax
mov rcx, qword [0x1001653b8]
lea r13, [0x1001653b8]
cmp rcx, r13
je 0x100081ba2
test byte [rcx + 0x1c], r15b
je 0x100081ba2
cmp byte [rcx + 0x19], 2
jb 0x100081ba2
mov edx, 0x42
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x80]
lea r8, [0x100003b68]
mov rcx, qword [rcx + 0x10]
call fcn.10001ddb0
jmp 0x100081ba2
lea r13, [0x1001653b8]
lea r8, [rsp + 0x88]
mov edx, r15d
lea rcx, [0x100008ee0]
call fcn.1000a5794
mov ebp, eax
test eax, eax
jns 0x100081b1c
mov rcx, qword [0x1001653b8]
cmp rcx, r13
je 0x100081ba2
test byte [rcx + 0x1c], r15b
je 0x100081ba2
cmp byte [rcx + 0x19], 2
jb 0x100081ba2
mov edx, 0x43
lea r8, [0x100003b68]
mov rcx, qword [rcx + 0x10]
call fcn.10001c854
jmp 0x100081ba2
mov edx, r15d
lea rcx, [rsp + 0x60]
call fcn.10008d1e8
test eax, eax
je 0x100081ba2
cmp eax, 0x80390001
jne 0x100081b63
mov rcx, qword [0x1001653b8]
cmp rcx, r13
je 0x100081ba2
test byte [rcx + 0x1c], r15b
je 0x100081ba2
cmp byte [rcx + 0x19], 3
jb 0x100081ba2
mov edx, 0x44
lea r8, [0x100003b68]
mov rcx, qword [rcx + 0x10]
call fcn.10001c854
jmp 0x100081ba2
mov ecx, eax
call fcn.10010dd80
mov ebp, eax
mov rcx, qword [0x1001653b8]
cmp rcx, r13
je 0x100081ba2
test byte [rcx + 0x1c], r15b
je 0x100081ba2
cmp byte [rcx + 0x19], 2
jb 0x100081ba2
mov edx, 0x45
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x68]
lea r8, [0x100003b68]
mov rcx, qword [rcx + 0x10]
call fcn.10001ddb0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [0x1001653b8]
jmp 0x100081c07
mov rcx, qword [0x1001653b8]
lea r13, [0x1001653b8]
jmp 0x100081c07
mov rcx, qword [0x1001653b8]
lea r13, [0x1001653b8]
cmp rcx, r13
je 0x100081c02
test byte [rcx + 0x1c], r15b
je 0x100081c02
cmp byte [rcx + 0x19], 2
jb 0x100081c02
mov edx, 0x3e
mov r9, rbx
lea r8, [0x100003b68]
mov rcx, qword [rcx + 0x10]
call fcn.10001db08
mov rcx, qword [0x1001653b8]
mov ebp, 0x80070057
cmp qword [rsp + 0x48], 0
je 0x100081c21
lea rcx, [rsp + 0x48]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
mov rcx, qword [0x1001653b8]
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x100081c3b
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x1001653b8]
cmp dword [rsp + 0x88], 0
je 0x100081cab
lea rcx, [rsp + 0x88]
call fcn.1000a5854
mov r12d, eax
test eax, eax
jns 0x100081ca4
mov rcx, qword [0x1001653b8]
cmp rcx, r13
je 0x100081c89
test byte [rcx + 0x1c], r15b
je 0x100081c89
cmp byte [rcx + 0x19], 2
jb 0x100081c89
mov edx, 0x46
mov r9d, eax
lea r8, [0x100003b68]
mov rcx, qword [rcx + 0x10]
call fcn.10001c878
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov rcx, qword [0x1001653b8]
cmp rcx, r13
je 0x100081cd2
test byte [rcx + 0x1c], r15b
je 0x100081cd2
cmp byte [rcx + 0x19], 4
jb 0x100081cd2
mov edx, 0x47
lea r8, [0x100003b68]
mov rcx, qword [rcx + 0x10]
call fcn.10001c854
nop
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, ebp
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.10014e600
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret