Function at 0x100081070
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 0x1000810e4
test byte [rcx + 0x1c], r15b
je 0x1000810e4
cmp byte [rcx + 0x19], 4
jb 0x1000810e4
lea edx, [r15 + 0x3c]
lea r8, [0x100003ba8]
mov rcx, qword [rcx + 0x10]
call fcn.10001c7b8
xor edx, edx
lea r8d, [rdx + 0x10]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
lea rcx, [0x100005988]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x10008111c
mov ecx, 0x8007000e
call fcn.100019658
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 [0x100001fe0]
movdqu xmmword [rsp + 0xa0], xmm0
and qword [rsp + 0x48], rax
xor r12d, r12d
mov eax, dword [r13 + 0x14c]
test eax, eax
je 0x1000811cc
mov rbp, qword [r13 + 0x108]
test byte [rbp + 0x4c], r15b
je 0x10008117a
cmp dword [rbp + 0x14], 9
je 0x10008118b
add r12d, r15d
add rbp, 0xc0
cmp r12d, eax
jae 0x1000811cc
jmp 0x10008116e
cmp qword [rbp + 0x70], 0
jne 0x1000811aa
lea r8, [0x100008f18]
mov edx, 0x384
lea rcx, [0x100008e18]
call fcn.100099ad8
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.100072310
mov rbx, qword [rsp + 0x40]
mov r8d, 4
mov rdx, rbx
lea rcx, [0x100008f40]
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
jne 0x100081650
lea edx, [rax + 0x3f]
mov word [rbx + 2], dx
cmp r12d, dword [r13 + 0x14c]
jne 0x100081252
mov rcx, qword [0x1001653b8]
lea r13, [0x1001653b8]
cmp rcx, r13
je 0x100081229
test byte [rcx + 0x1c], r15b
je 0x100081229
cmp byte [rcx + 0x19], 2
jb 0x100081229
lea r8, [0x100003ba8]
mov rcx, qword [rcx + 0x10]
call fcn.10001c7b8
lea r8, [0x100004638]
mov edx, 0x399
lea rcx, [0x100008e18]
call fcn.100099ad8
mov ebp, 0x8000ffff
mov rcx, qword [0x1001653b8]
jmp 0x100081693
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.10009b438
mov ebp, eax
test eax, eax
js 0x100081640
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VariantInit]
mov r11d, eax
test eax, eax
jne 0x100081293
lea r8, [0x100008f50]
mov edx, 0x3a5
lea rcx, [0x100008e18]
call fcn.100099ad8
jmp 0x1000812b7
mov eax, 0x5c
cmp word [rbx + r11*2 - 2], ax
je 0x1000812b7
mov word [rsp + 0x30], ax
mov r8d, r15d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.100072310
lea rcx, [0x10000a280]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8d, eax
lea rdx, [0x10000a280]
lea rcx, [rsp + 0x40]
call fcn.100072310
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x100081315
and qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
mov rdx, rbx
xor ecx, ecx
call sub.OLEAUT32.dll_VarBstrCmp
test eax, eax
js 0x100081315
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 0x100081352
mov ebp, 0x8000ffff
mov rcx, qword [0x1001653b8]
lea r13, [0x1001653b8]
jmp 0x100081693
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.100072310
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 0x1000813f4
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 0x100081693
test byte [rcx + 0x1c], r15b
je 0x100081693
cmp byte [rcx + 0x19], 2
jb 0x100081693
mov edx, 0x40
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rdi
mov r9, rbx
lea r8, [0x100003ba8]
mov rcx, qword [rcx + 0x10]
call fcn.10001e360
mov rcx, qword [0x1001653b8]
jmp 0x100081693
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 0x10008143a
and qword [rsp + 0x70], 0
lea r8, [rsp + 0x70]
mov rdx, rbx
xor ecx, ecx
call sub.OLEAUT32.dll_VarBstrCmp
test eax, eax
js 0x10008143a
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.100072310
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.10008b514
test eax, eax
je 0x100081546
cmp eax, 0x80390003
jne 0x1000814ec
mov rcx, qword [0x1001653b8]
lea r13, [0x1001653b8]
cmp rcx, r13
je 0x10008154d
test byte [rcx + 0x1c], r15b
je 0x10008154d
cmp byte [rcx + 0x19], 3
jb 0x10008154d
mov edx, 0x41
mov r9d, 0x80390003
lea r8, [0x100003ba8]
mov rcx, qword [rcx + 0x10]
call fcn.10001c7dc
jmp 0x10008154d
mov ecx, eax
call fcn.10010d8d4
mov ebp, eax
mov rcx, qword [0x1001653b8]
lea r13, [0x1001653b8]
cmp rcx, r13
je 0x10008162e
test byte [rcx + 0x1c], r15b
je 0x10008162e
cmp byte [rcx + 0x19], 2
jb 0x10008162e
mov edx, 0x42
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x80]
lea r8, [0x100003ba8]
mov rcx, qword [rcx + 0x10]
call fcn.10001daa4
jmp 0x10008162e
lea r13, [0x1001653b8]
lea r8, [rsp + 0x88]
mov edx, r15d
lea rcx, [0x100008f60]
call fcn.1000a53c0
mov ebp, eax
test eax, eax
jns 0x1000815a8
mov rcx, qword [0x1001653b8]
cmp rcx, r13
je 0x10008162e
test byte [rcx + 0x1c], r15b
je 0x10008162e
cmp byte [rcx + 0x19], 2
jb 0x10008162e
mov edx, 0x43
lea r8, [0x100003ba8]
mov rcx, qword [rcx + 0x10]
call fcn.10001c7b8
jmp 0x10008162e
mov edx, r15d
lea rcx, [rsp + 0x60]
call fcn.10008cc70
test eax, eax
je 0x10008162e
cmp eax, 0x80390001
jne 0x1000815ef
mov rcx, qword [0x1001653b8]
cmp rcx, r13
je 0x10008162e
test byte [rcx + 0x1c], r15b
je 0x10008162e
cmp byte [rcx + 0x19], 3
jb 0x10008162e
mov edx, 0x44
lea r8, [0x100003ba8]
mov rcx, qword [rcx + 0x10]
call fcn.10001c7b8
jmp 0x10008162e
mov ecx, eax
call fcn.10010d8d4
mov ebp, eax
mov rcx, qword [0x1001653b8]
cmp rcx, r13
je 0x10008162e
test byte [rcx + 0x1c], r15b
je 0x10008162e
cmp byte [rcx + 0x19], 2
jb 0x10008162e
mov edx, 0x45
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x68]
lea r8, [0x100003ba8]
mov rcx, qword [rcx + 0x10]
call fcn.10001daa4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [0x1001653b8]
jmp 0x100081693
mov rcx, qword [0x1001653b8]
lea r13, [0x1001653b8]
jmp 0x100081693
mov rcx, qword [0x1001653b8]
lea r13, [0x1001653b8]
cmp rcx, r13
je 0x10008168e
test byte [rcx + 0x1c], r15b
je 0x10008168e
cmp byte [rcx + 0x19], 2
jb 0x10008168e
mov edx, 0x3e
mov r9, rbx
lea r8, [0x100003ba8]
mov rcx, qword [rcx + 0x10]
call fcn.10001da24
mov rcx, qword [0x1001653b8]
mov ebp, 0x80070057
cmp qword [rsp + 0x48], 0
je 0x1000816ad
lea rcx, [rsp + 0x48]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
mov rcx, qword [0x1001653b8]
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x1000816c7
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x1001653b8]
cmp dword [rsp + 0x88], 0
je 0x100081737
lea rcx, [rsp + 0x88]
call fcn.1000a5480
mov r12d, eax
test eax, eax
jns 0x100081730
mov rcx, qword [0x1001653b8]
cmp rcx, r13
je 0x100081715
test byte [rcx + 0x1c], r15b
je 0x100081715
cmp byte [rcx + 0x19], 2
jb 0x100081715
mov edx, 0x46
mov r9d, eax
lea r8, [0x100003ba8]
mov rcx, qword [rcx + 0x10]
call fcn.10001c7dc
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 0x10008175e
test byte [rcx + 0x1c], r15b
je 0x10008175e
cmp byte [rcx + 0x19], 4
jb 0x10008175e
mov edx, 0x47
lea r8, [0x100003ba8]
mov rcx, qword [rcx + 0x10]
call fcn.10001c7b8
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.10014e480
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