Function at 0x1400117f0
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 [0x140023078]
xor rax, rsp
mov qword [rbp + 0x7f0], rax
mov rsi, r8
mov r14, rdx
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x14001182e
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 0x140011b62
lea r15, [r14 + 0x10]
cmp qword [r15], 5
jb 0x140011b62
lea rcx, [rbp + 0x1f0]
mov rdi, 0xffffffffffffffff
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400118a2
test rax, rax
je 0x140011b62
lea rax, [rbp + 0x1e0]
mov r8, rdi
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1400118c0
lea rdx, [rbp + 0x1e0]
mov rcx, rsi
call fcn.140009ea0
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.14000a020
nop
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r12w
lea r8d, [r12 + 1]
lea rdx, [0x14001bea4]
lea rcx, [rsp + 0x50]
call fcn.14000a020
nop
lea rax, [rbp + 0x3f0]
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140011940
lea rdx, [rbp + 0x3f0]
mov rcx, rsi
call fcn.140009ea0
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
mov rcx, rsi
call fcn.140009ea0
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rcx, rsi
call fcn.140009ea0
cmp qword [r14 + 0x18], 8
jb 0x14001199e
mov r14, qword [r14]
mov r8, qword [r15]
mov rdx, r14
mov rcx, rsi
call fcn.140009ea0
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rcx, rsi
call fcn.140009ea0
lea rax, [rbp + 0x1f0]
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x1400119d4
lea rdx, [rbp + 0x1f0]
mov rcx, rsi
call fcn.140009ea0
lea rax, [rbp + 0x5f0]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1400119f5
mov r8, rdi
lea rdx, [rbp + 0x5f0]
mov rcx, rsi
call fcn.140009ea0
cmp qword [rsi + 0x10], 0x104
ja 0x140011ad0
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140011a2c
mov rdx, qword [rsi]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140011a39
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x140011ad0
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
cmp qword [rsi + 0x18], 8
jb 0x140011a62
mov rsi, qword [rsi]
lea rdx, [rbp - 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x140011ad0
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 0x140011a9c
mov rcx, qword [rbx]
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x140011acc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140011ac2
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140011ab5
mov bl, 1
jmp 0x140011ad2
xor bl, bl
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140011b18
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011b12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011b12
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017518
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x140011b5d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011b57
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011b57
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017518
nop
movzx eax, bl
jmp 0x140011b64
xor al, al
mov rcx, qword [rbp + 0x7f0]
xor rcx, rsp
call fcn.1400175c0
add rsp, 0x900
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret