Function at 0x140011970
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 [0x140024078]
xor rax, rsp
mov qword [rbp + 0x7f0], rax
mov rsi, r8
mov r14, rdx
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x1400119ae
mov rcx, qword [rcx]
mov qword [rsp + 0x40], pe_nt_image_headers64
lea rax, [rbp + 0x5f0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], pe_nt_image_headers64
lea rax, [rbp + 0x1f0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], pe_nt_image_headers64
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 0x140011ce2
lea r15, [r14 + 0x10]
cmp qword [r15], 5
jb 0x140011ce2
lea rcx, [rbp + 0x1f0]
mov rdi, 0xffffffffffffffff
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x140011a22
test rax, rax
je 0x140011ce2
lea rax, [rbp + 0x1e0]
mov r8, rdi
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140011a40
lea rdx, [rbp + 0x1e0]
mov rcx, rsi
call fcn.14000a020
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.14000a1a0
nop
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r12w
lea r8d, [r12 + 1]
lea rdx, [0x14001cf7c]
lea rcx, [rsp + 0x50]
call fcn.14000a1a0
nop
lea rax, [rbp + 0x3f0]
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140011ac0
lea rdx, [rbp + 0x3f0]
mov rcx, rsi
call fcn.14000a020
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
mov rcx, rsi
call fcn.14000a020
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rcx, rsi
call fcn.14000a020
cmp qword [r14 + 0x18], 8
jb 0x140011b1e
mov r14, qword [r14]
mov r8, qword [r15]
mov rdx, r14
mov rcx, rsi
call fcn.14000a020
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rcx, rsi
call fcn.14000a020
lea rax, [rbp + 0x1f0]
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x140011b54
lea rdx, [rbp + 0x1f0]
mov rcx, rsi
call fcn.14000a020
lea rax, [rbp + 0x5f0]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140011b75
mov r8, rdi
lea rdx, [rbp + 0x5f0]
mov rcx, rsi
call fcn.14000a020
cmp qword [rsi + 0x10], 0x104
ja 0x140011c50
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140011bac
mov rdx, qword [rsi]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140011bb9
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x140011c50
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
cmp qword [rsi + 0x18], 8
jb 0x140011be2
mov rsi, qword [rsi]
lea rdx, [rbp - 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x140011c50
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 0x140011c1c
mov rcx, qword [rbx]
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x140011c4c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140011c42
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140011c35
mov bl, 1
jmp 0x140011c52
xor bl, bl
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140011c98
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011c92
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011c92
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400176e8
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x140011cdd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011cd7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011cd7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400176e8
nop
movzx eax, bl
jmp 0x140011ce4
xor al, al
mov rcx, qword [rbp + 0x7f0]
xor rcx, rsp
call fcn.140017790
add rsp, 0x900
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret