Function at 0x140080460
Capabilities:
Delete file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xa8
mov rax, qword [0x1401b4a98]
xor rax, rsp
mov qword [rbp - 0x11], rax
mov r15, r9
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov rsi, qword [rbp + 0x6f]
mov r12, qword [rbp + 0x77]
mov r13, qword [rbp + 0x7f]
lea rdx, [0x14017013c]
lea rcx, [rbp - 0x51]
call fcn.140002f50
nop
xor eax, eax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], 7
mov word [rbp - 0x31], ax
mov rax, qword [rbx + 8]
lea rdx, [rax + 0x28]
add rax, 0x48
cmp qword [r14 + 0x18], 8
jb 0x1400804dc
mov r14, qword [r14]
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400804e9
mov rcx, qword [rdi]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x31]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 1
lea r9, [rbp - 0x51]
mov r8, r15
mov rdx, r14
call fcn.1400851f0
test al, al
jne 0x140080566
cmp qword [rdi + 0x18], 8
jb 0x140080528
mov rdi, qword [rdi]
mov qword [rsp + 0x28], rdi
lea rax, str.Unable_to_download__s
mov qword [rsp + 0x20], rax
mov r9d, 0x6f
lea r8, str.XMLUpdater::v2::CDownloadCommand::DownloadCommand
lea rdx, str.E:BT5141214d_e130_48fa_889d_d54b39cac869xmlupdater_srcXmlUpdaterDownloadCommand.cpp
lea ecx, [r9 - 0x6e]
call fcn.14007d3e0
cmp qword [rbp - 0x41], 0
je 0x140080666
jmp 0x140080652
lea rcx, [rbp - 0x51]
cmp qword [rbp - 0x39], 8
cmovae rcx, qword [rbp - 0x51]
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov rbx, rax
mov r8d, 4
lea rdx, str..exe
mov rcx, rax
call fcn.14010fbac
test eax, eax
je 0x1400805af
mov r8d, 4
lea rdx, str..cab
mov rcx, rbx
call fcn.14010fbac
test eax, eax
jne 0x1400805e8
lea rcx, [rbp - 0x51]
cmp qword [rbp - 0x39], 8
cmovae rcx, qword [rbp - 0x51]
call fcn.1400a3b40
test al, al
jne 0x1400805e8
lea rax, [rbp - 0x51]
cmp qword [rbp - 0x39], 8
cmovae rax, qword [rbp - 0x51]
mov qword [rsp + 0x28], rax
lea rax, str.Unable_to_verify_signature__deleting_file:__s
mov r9d, 0x7c
jmp 0x140080635
mov r8, qword [rsi + 0x10]
test r8, r8
je 0x14008066a
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rdx, qword [rbp - 0x31]
cmp qword [rsi + 0x18], 8
jb 0x140080609
mov rsi, qword [rsi]
mov rcx, rsi
call fcn.14010fbac
test eax, eax
je 0x14008066a
lea rax, [rbp - 0x51]
cmp qword [rbp - 0x39], 8
cmovae rax, qword [rbp - 0x51]
mov qword [rsp + 0x28], rax
lea rax, str.Unable_to_verify_MD5__deleting_file:__s
mov r9d, 0x86
mov qword [rsp + 0x20], rax
lea r8, str.XMLUpdater::v2::CDownloadCommand::DownloadCommand
lea rdx, str.E:BT5141214d_e130_48fa_889d_d54b39cac869xmlupdater_srcXmlUpdaterDownloadCommand.cpp
mov ecx, 1
call fcn.14007d3e0
lea rcx, [rbp - 0x51]
cmp qword [rbp - 0x39], 8
cmovae rcx, qword [rbp - 0x51]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor bl, bl
jmp 0x14008066c
mov bl, 1
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x1400806a8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400806a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008071f
call fcn.140074f80
xor eax, eax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], 7
mov word [rbp - 0x31], ax
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x1400806f6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400806f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140080719
call fcn.140074f80
movzx eax, bl
mov rcx, qword [rbp - 0x11]
xor rcx, rsp
call fcn.1400fb890
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140103230
nop
call fcn.140103230
nop
int3