Function at 0x1400e3200
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 [0x14039bc30]
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, [0x14032c4f8]
lea rcx, [rbp - 0x51]
call fcn.140029120
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 0x1400e327c
mov r14, qword [r14]
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400e3289
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.1400e8190
test al, al
jne 0x1400e3306
cmp qword [rdi + 0x18], 8
jb 0x1400e32c8
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:BT71e4c9fa_1978_4386_a3da_49ea31fa22b7WebAdvisor_XmlUpdater_srcXmlUpdaterDownloadCommand.cpp
lea ecx, [r9 - 0x6e]
call fcn.1400da630
cmp qword [rbp - 0x41], 0
je 0x1400e3406
jmp 0x1400e33f2
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.14014a588
test eax, eax
je 0x1400e334f
mov r8d, 4
lea rdx, str..cab
mov rcx, rbx
call fcn.14014a588
test eax, eax
jne 0x1400e3388
lea rcx, [rbp - 0x51]
cmp qword [rbp - 0x39], 8
cmovae rcx, qword [rbp - 0x51]
call fcn.1400f74d0
test al, al
jne 0x1400e3388
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 0x1400e33d5
mov r8, qword [rsi + 0x10]
test r8, r8
je 0x1400e340a
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rdx, qword [rbp - 0x31]
cmp qword [rsi + 0x18], 8
jb 0x1400e33a9
mov rsi, qword [rsi]
mov rcx, rsi
call fcn.14014a588
test eax, eax
je 0x1400e340a
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:BT71e4c9fa_1978_4386_a3da_49ea31fa22b7WebAdvisor_XmlUpdater_srcXmlUpdaterDownloadCommand.cpp
mov ecx, 1
call fcn.1400da630
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 0x1400e340c
mov bl, 1
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x1400e3448
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e3443
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e34bf
call fcn.14013afa0
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 0x1400e3496
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e3491
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e34b9
call fcn.14013afa0
movzx eax, bl
mov rcx, qword [rbp - 0x11]
xor rcx, rsp
call fcn.14013af80
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1401421d8
nop
call fcn.1401421d8
nop
int3