Function at 0x14000f780
Capabilities:
Delete file
Move file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x800]
sub rsp, 0x900
mov rax, qword [0x140021078]
xor rax, rsp
mov qword [rbp + 0x7f0], rax
mov rsi, r8
mov r14, rdx
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x14000f7be
mov rcx, qword [rcx]
mov qword [rsp + 0x40], 0x100
lea rax, [rbp + 0x5f0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x100
lea rax, [rbp + 0x1f0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x100
lea r9, [rbp + 0x3f0]
mov r8d, 3
lea rdx, [rbp + 0x1e0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath_s]
test eax, eax
jne 0x14000faf2
lea r15, [r14 + 0x10]
cmp qword [r15], 5
jb 0x14000faf2
lea rcx, [rbp + 0x1f0]
mov rdi, 0xffffffffffffffff
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000f832
test rax, rax
je 0x14000faf2
lea rax, [rbp + 0x1e0]
mov r8, rdi
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x14000f850
lea rdx, [rbp + 0x1e0]
mov rcx, rsi
call fcn.140009310
xor r12d, r12d
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r12w
lea r8d, [r12 + 9]
lea rdx, str.AcroBrwEx
lea rcx, [rsp + 0x70]
call fcn.140009490
nop
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r12w
lea r8d, [r12 + 1]
lea rdx, [0x140019d84]
lea rcx, [rsp + 0x50]
call fcn.140009490
nop
lea rax, [rbp + 0x3f0]
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14000f8d0
lea rdx, [rbp + 0x3f0]
mov rcx, rsi
call fcn.140009310
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
mov rcx, rsi
call fcn.140009310
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rcx, rsi
call fcn.140009310
cmp qword [r14 + 0x18], 8
jb 0x14000f92e
mov r14, qword [r14]
mov r8, qword [r15]
mov rdx, r14
mov rcx, rsi
call fcn.140009310
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rcx, rsi
call fcn.140009310
lea rax, [rbp + 0x1f0]
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x14000f964
lea rdx, [rbp + 0x1f0]
mov rcx, rsi
call fcn.140009310
lea rax, [rbp + 0x5f0]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14000f985
mov r8, rdi
lea rdx, [rbp + 0x5f0]
mov rcx, rsi
call fcn.140009310
cmp qword [rsi + 0x10], 0x104
ja 0x14000fa60
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14000f9bc
mov rdx, qword [rsi]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14000f9c9
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x14000fa60
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
cmp qword [rsi + 0x18], 8
jb 0x14000f9f2
mov rsi, qword [rsi]
lea rdx, [rbp - 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x14000fa60
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14000fa2c
mov rcx, qword [rbx]
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x14000fa5c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14000fa52
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14000fa45
mov bl, 1
jmp 0x14000fa62
xor bl, bl
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14000faa8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000faa2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000faa2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140015268
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14000faed
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000fae7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000fae7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140015268
nop
movzx eax, bl
jmp 0x14000faf4
xor al, al
mov rcx, qword [rbp + 0x7f0]
xor rcx, rsp
call fcn.140015310
add rsp, 0x900
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret