Function at 0x14003b2e0
Capabilities:
Copy file
Delete file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r15, r8
mov r12, rdx
mov rsi, rcx
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x14003b348
test byte [rcx + 0x1c], 4
je 0x14003b348
cmp byte [rcx + 0x19], 5
jb 0x14003b348
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003110]
mov edx, 0x2f
call fcn.14000e618
xor ebx, ebx
lea rcx, [rsp + 0x62]
xor edx, edx
mov r8d, 0x206
mov edi, ebx
mov word [rsp + 0x60], bx
call sub.msvcrt.dll_memset
cmp dword [rsi + 0x24], 2
movzx r10d, bx
mov word [rsp + 0x50], bx
jne 0x14003b387
mov rdi, qword [rsi + 0x248]
test rdi, rdi
je 0x14003b387
mov rax, qword [rdi + 0xb8]
jmp 0x14003b38a
mov rax, rbx
test rdi, rdi
je 0x14003b395
mov r14, qword [rdi + 0x48]
jmp 0x14003b399
mov r14, qword [rsi + 0x48]
test rax, rax
jne 0x14003b4e1
mov rax, qword [0x14009a458]
lea rcx, [rsp + 0x60]
lea r9, [0x140002378]
mov rdx, qword [rax + 0x60]
test r12, r12
mov qword [rsp + 0x20], rcx
cmovne r9, r12
xor r8d, r8d
call fcn.140073f7c
test rax, rax
jne 0x14003b427
mov rax, qword [str.___t_]
lea r14, str.___t_
cmp rax, r14
je 0x14003b711
test byte [rax + 0x1c], 4
je 0x14003b711
cmp byte [rax + 0x19], 2
jb 0x14003b711
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x30
mov rcx, qword [str.___t_]
lea r8, [0x140003110]
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.14000e63c
jmp 0x14003b711
lea rdx, [rsp + 0x60]
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14003b490
mov rax, qword [str.___t_]
lea r14, str.___t_
cmp rax, r14
je 0x14003b480
test byte [rax + 0x1c], 4
je 0x14003b480
cmp byte [rax + 0x19], 2
jb 0x14003b480
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140003110]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov edx, 0x31
call fcn.14000e63c
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14003b711
lea r8, [rsp + 0x60]
mov edx, 0x104
mov rcx, r15
call fcn.14001008c
mov edi, eax
test eax, eax
jns 0x14003b726
mov rcx, qword [str.___t_]
lea r14, str.___t_
cmp rcx, r14
je 0x14003b6fd
test byte [rcx + 0x1c], 4
je 0x14003b6fd
cmp byte [rcx + 0x19], 2
jb 0x14003b6fd
mov edx, 0x32
jmp 0x14003b6ea
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x14003b539
lea rdx, [rsp + 0x50]
call fcn.14003b17c
test eax, eax
jne 0x14003b533
mov rax, qword [str.___t_]
lea r14, str.___t_
cmp rax, r14
je 0x14003b711
test byte [rax + 0x1c], 4
je 0x14003b711
cmp byte [rax + 0x19], 2
jb 0x14003b711
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x33
jmp 0x14003b408
movzx r10d, word [rsp + 0x50]
lea rdx, [rdi + 0xf0]
lea rax, [rsp + 0x60]
lea r9, [rsi + 0x1c0]
mov qword [rsp + 0x38], rax
mov rax, qword [rdi + 0x1b8]
lea r8, [rdi + 0xb0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rdx
mov edx, dword [rsi + 0x40]
movzx ecx, r10w
call fcn.14003a87c
test eax, eax
jne 0x14003b5d1
mov rcx, qword [str.___t_]
lea r14, str.___t_
cmp rcx, r14
je 0x14003b711
test byte [rcx + 0x1c], 4
je 0x14003b711
cmp byte [rcx + 0x19], 2
jb 0x14003b711
mov r9d, dword [rsi + 0x20]
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x34]
mov rax, qword [rdi + 0xb8]
lea r8, [0x140003110]
mov qword [rsp + 0x20], rax
call fcn.14000e678
jmp 0x14003b711
mov rdx, qword [rdi + 0x48]
test rdx, rdx
je 0x14003b6ae
lea rcx, [rsp + 0x60]
call qword [sym.imp.FXSTIFF.dll_MergeTiffFiles]
test eax, eax
jne 0x14003b6ae
mov rax, qword [str.___t_]
lea r14, str.___t_
cmp rax, r14
je 0x14003b641
test byte [rax + 0x1c], 4
je 0x14003b641
cmp byte [rax + 0x19], 2
jb 0x14003b641
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
mov r9d, dword [rsi + 0x20]
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x30], eax
mov rax, qword [rdi + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.1400398a8
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14003b711
mov rax, qword [str.___t_]
cmp rax, r14
je 0x14003b711
test byte [rax + 0x1c], 4
je 0x14003b711
cmp byte [rax + 0x19], 2
jb 0x14003b711
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
mov r9d, dword [rsi + 0x20]
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x60]
lea r8, [0x140003110]
mov edx, 0x36
mov qword [rsp + 0x20], rax
call fcn.1400396bc
jmp 0x14003b711
lea r8, [rsp + 0x60]
mov edx, 0x104
mov rcx, r15
call fcn.14001008c
mov edi, eax
test eax, eax
jns 0x14003b726
mov rcx, qword [str.___t_]
lea r14, str.___t_
cmp rcx, r14
je 0x14003b6fd
test byte [rcx + 0x1c], 4
je 0x14003b6fd
cmp byte [rcx + 0x19], 2
jb 0x14003b6fd
mov edx, 0x37
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003110]
mov r9d, eax
call fcn.14000e63c
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
movzx ecx, di
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14003b72b
lea ecx, [rax + 0x1f]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14003b72b
mov ebx, 1
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140088640
add rsp, 0x280
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret