Function at 0x180048b30
Capabilities:
Copy file
Delete file
Move file

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x60
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov ebp, r9d
mov rdi, r8
mov rsi, rdx
mov r13, rcx
mov r12d, dword [rsp + 0xb0]
cmp dword [0x1801730a0], 0
je 0x180048b95
mov dword [rax - 0x50], r12d
mov dword [rax - 0x58], r9d
mov qword [rax - 0x60], r8
mov qword [rax - 0x68], rdx
lea r9, str.CTDocMarkFrame::SetEx_________wszFile__s__wszFileSaveAs__s__dwTimeOut__d__dwFlag__d_
lea r8, str.DocMarkFrame
or edx, 0xffffffff
lea rcx, [0x1801727b8]
call fcn.18009ee20
test rdi, rdi
je 0x180049008
mov rdx, rdi
mov rcx, rsi
call fcn.18006aef0
test eax, eax
je 0x180049008
cmp dword [0x1801730a0], 0
je 0x180048bd7
lea r9, str.CTDocMarkFrame::SetEx____2
lea r8, str.DocMarkFrame
or edx, 0xffffffff
lea rcx, [0x1801727b8]
call fcn.18009ee20
xor edx, edx
mov rcx, rdi
call fcn.1800a67c0
test eax, eax
je 0x180048f87
cmp dword [0x1801730a0], 0
je 0x180048c0f
lea r9, str.CTDocMarkFrame::SetEx____2_1
lea r8, str.DocMarkFrame
or edx, 0xffffffff
lea rcx, [0x1801727b8]
call fcn.18009ee20
mov rdx, rdi
lea rcx, [rsp + 0x98]
call fcn.18005a480
nop
lea rdx, [0x1800fe568]
lea rcx, [rsp + 0xa0]
call fcn.18005a480
nop
mov edx, 0x5c
lea rcx, [rsp + 0x98]
call fcn.1800557f0
mov ebx, eax
mov r8d, eax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x98]
call fcn.18005aa80
nop
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.180057c20
nop
lea rcx, [rsp + 0x50]
call fcn.180057b10
mov edx, 0x5c
lea rcx, [rsp + 0xa0]
call fcn.180058b90
lea rdx, [0x1800fe568]
lea rcx, [rsp + 0x48]
call fcn.18005a480
nop
lea r8d, [rbx + 1]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x98]
call fcn.18005c130
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.180057c20
nop
lea rcx, [rsp + 0x50]
call fcn.180057b10
lea rdx, [0x1800fe568]
lea rcx, [rsp + 0x40]
call fcn.18005a480
nop
mov edx, 0x2e
lea rcx, [rsp + 0x98]
call fcn.1800557f0
mov r8d, eax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x98]
call fcn.18005c130
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.180057c20
nop
lea rcx, [rsp + 0x50]
call fcn.180057b10
cmp dword [0x1801730a0], 0
je 0x180048d66
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, str.CTDocMarkFrame::SetEx____2_1___s___s___s_
lea r8, str.DocMarkFrame
or edx, 0xffffffff
lea rcx, [0x1801727b8]
call fcn.18009ee20
xor ebx, ebx
nop dword [rax + rax]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0xa0]
lea rdx, str._s_s___d___s
lea rcx, [rsp + 0x98]
call fcn.180058ac0
cmp dword [0x1801730a0], 0
je 0x180048dd6
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
lea r9, str.CTDocMarkFrame::SetEx____2_1__wstrSaveAs__s_
lea r8, str.DocMarkFrame
or edx, 0xffffffff
lea rcx, [0x1801727b8]
call fcn.18009ee20
inc ebx
xor edx, edx
mov rcx, qword [rsp + 0x98]
call fcn.1800a67c0
test eax, eax
jne 0x180048d70
lea r8d, [rax + 1]
mov rdx, qword [rsp + 0x98]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x180048e3f
mov ebx, 0xe808b00b
lea rcx, [rsp + 0x40]
call fcn.180057b10
nop
lea rcx, [rsp + 0x48]
call fcn.180057b10
nop
lea rcx, [rsp + 0xa0]
call fcn.180057b10
nop
lea rcx, [rsp + 0x98]
call fcn.180057b10
jmp 0x180049059
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x20], rax
mov r9d, r12d
mov r8d, ebp
mov rdx, qword [rsp + 0x98]
mov rcx, r13
call fcn.180047c20
mov ebx, eax
test ax, ax
je 0x180048eb9
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rsp + 0x40]
call fcn.180057b10
nop
lea rcx, [rsp + 0x48]
call fcn.180057b10
nop
lea rcx, [rsp + 0xa0]
call fcn.180057b10
nop
lea rcx, [rsp + 0x98]
call fcn.180057b10
jmp 0x180049059
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x180048f01
mov ebx, 0xe808b00c
lea rcx, [rsp + 0x40]
call fcn.180057b10
nop
lea rcx, [rsp + 0x48]
call fcn.180057b10
nop
lea rcx, [rsp + 0xa0]
call fcn.180057b10
nop
lea rcx, [rsp + 0x98]
call fcn.180057b10
jmp 0x180049059
mov rdx, rdi
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x180048f51
mov ebx, 0xe808b00d
lea rcx, [rsp + 0x40]
call fcn.180057b10
nop
lea rcx, [rsp + 0x48]
call fcn.180057b10
nop
lea rcx, [rsp + 0xa0]
call fcn.180057b10
nop
lea rcx, [rsp + 0x98]
call fcn.180057b10
jmp 0x180049059
lea rcx, [rsp + 0x40]
call fcn.180057b10
nop
lea rcx, [rsp + 0x48]
call fcn.180057b10
nop
lea rcx, [rsp + 0xa0]
call fcn.180057b10
nop
lea rcx, [rsp + 0x98]
call fcn.180057b10
jmp 0x180049059
cmp dword [0x1801730a0], 0
je 0x180048fad
lea r9, str.CTDocMarkFrame::SetEx____2_2
lea r8, str.DocMarkFrame
or edx, 0xffffffff
lea rcx, [0x1801727b8]
call fcn.18009ee20
mov r8d, 1
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x180048fcd
mov ebx, 0xe808b00b
jmp 0x180049059
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x20], rax
mov r9d, r12d
mov r8d, ebp
mov rdx, rdi
mov rcx, r13
call fcn.180047c20
mov ebx, eax
test ax, ax
je 0x180049059
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x180049059
cmp dword [0x1801730a0], 0
je 0x18004902e
lea r9, str.CTDocMarkFrame::SetEx____1
lea r8, str.DocMarkFrame
or edx, 0xffffffff
lea rcx, [0x1801727b8]
call fcn.18009ee20
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x20], rax
mov r9d, r12d
mov r8d, ebp
mov rdx, rsi
mov rcx, r13
call fcn.180047c20
mov ebx, eax
cmp dword [0x1801730a0], 0
je 0x180049087
mov dword [rsp + 0x20], ebx
lea r9, str.CTDocMarkFrame::SetEx_____08X_
lea r8, str.DocMarkFrame
or edx, 0xffffffff
lea rcx, [0x1801727b8]
call fcn.18009ee20
mov eax, ebx
jmp 0x180049089
mov eax, ebx
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret