Function at 0x1401ff550
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 qword [rbp - 0x51], 0xfffffffffffffffe
mov rax, qword [0x1403ddfb8]
xor rax, rsp
mov qword [rbp - 9], 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]
mov qword [rbp - 0x31], 7
xor eax, eax
mov qword [rbp - 0x39], rax
mov word [rbp - 0x49], ax
xor r8d, r8d
lea rdx, [0x140328340]
lea rcx, [rbp - 0x49]
call fcn.14002c3d0
nop
mov qword [rbp - 0x11], 7
xor eax, eax
mov qword [rbp - 0x19], rax
mov word [rbp - 0x29], ax
mov rax, qword [rbx + 8]
lea rdx, [rax + 0x28]
add rax, 0x48
cmp qword [r14 + 0x18], 8
jb 0x1401ff5e5
mov r14, qword [r14]
cmp qword [rdi + 0x18], 8
jb 0x1401ff5f1
mov rcx, qword [rdi]
jmp 0x1401ff5f4
mov rcx, rdi
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 1
lea r9, [rbp - 0x49]
mov r8, r15
mov rdx, r14
call fcn.140204dc0
test al, al
jne 0x1401ff671
cmp qword [rdi + 0x18], 8
jb 0x1401ff633
mov rdi, qword [rdi]
mov qword [rsp + 0x28], rdi
lea rax, str.Unable_to_download__s
mov qword [rsp + 0x20], rax
mov r9d, reloc.WS2_32.dll_WSAGetLastError
lea r8, str.XMLUpdater::v2::CDownloadCommand::DownloadCommand
lea rdx, str.DownloadCommand.cpp
lea ecx, [r9 - 0x6e]
call fcn.1401fc9c0
cmp qword [rbp - 0x39], 0
jbe 0x1401ff771
jmp 0x1401ff75d
lea rcx, [rbp - 0x49]
cmp qword [rbp - 0x31], 8
cmovae rcx, qword [rbp - 0x49]
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov rbx, rax
mov r8d, 4
lea rdx, [0x1403039e8]
mov rcx, rax
call fcn.14029db90
test eax, eax
je 0x1401ff6ba
mov r8d, 4
lea rdx, str..cab
mov rcx, rbx
call fcn.14029db90
test eax, eax
jne 0x1401ff6f3
lea rcx, [rbp - 0x49]
cmp qword [rbp - 0x31], 8
cmovae rcx, qword [rbp - 0x49]
call fcn.14021ee40
test al, al
jne 0x1401ff6f3
lea rax, [rbp - 0x49]
cmp qword [rbp - 0x31], 8
cmovae rax, qword [rbp - 0x49]
mov qword [rsp + 0x28], rax
lea rax, str.Unable_to_verify_signature__deleting_file:__s
mov r9d, 0x7c
jmp 0x1401ff740
mov r8, qword [rsi + 0x10]
test r8, r8
je 0x1401ff775
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rdx, qword [rbp - 0x29]
cmp qword [rsi + 0x18], 8
jb 0x1401ff714
mov rsi, qword [rsi]
mov rcx, rsi
call fcn.14029db90
test eax, eax
je 0x1401ff775
lea rax, [rbp - 0x49]
cmp qword [rbp - 0x31], 8
cmovae rax, qword [rbp - 0x49]
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.DownloadCommand.cpp
mov ecx, 1
call fcn.1401fc9c0
lea rcx, [rbp - 0x49]
cmp qword [rbp - 0x31], 8
cmovae rcx, qword [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor bl, bl
jmp 0x1401ff777
mov bl, 1
mov r8, qword [rbp - 0x11]
cmp r8, 8
jb 0x1401ff791
inc r8
mov rdx, qword [rbp - 0x29]
lea rcx, [rbp - 0x29]
call fcn.14002e610
mov qword [rbp - 0x11], 7
xor eax, eax
mov qword [rbp - 0x19], rax
mov word [rbp - 0x29], ax
mov r8, qword [rbp - 0x31]
cmp r8, 8
jb 0x1401ff7bd
inc r8
mov rdx, qword [rbp - 0x49]
lea rcx, [rbp - 0x49]
call fcn.14002e610
movzx eax, bl
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.14026d870
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret