Function at 0x14004bf54
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x258]
sub rsp, 0x330
mov rax, qword [0x14035f028]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov esi, edx
mov r12, rcx
xor r15d, r15d
test rcx, rcx
je 0x14004c46d
lea r13d, [r15 + 7]
lea rbx, [0x140368b70]
cmp qword [0x140368b80], r15
jne 0x14004bfc2
mov r8d, r13d
lea rdx, str.Install
mov rcx, rbx
call fcn.14000e0cc
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae rbx, qword [0x140368b70]
mov qword [rsp + 0x30], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov r14d, 1
mov r8d, r14d
lea rdx, [0x140308ed8]
lea rcx, [rsp + 0x30]
call fcn.14000e138
nop
or rdi, 0xffffffffffffffff
mov r9, rdi
inc r9
cmp word [r12 + r9*2], r15w
jne 0x14004c002
mov r8, r12
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14001fa90
mov qword [rbp - 0x78], r15
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r13
mov word [rax], r15w
mov r8, rdi
inc r8
cmp word [rbx + r8*2], r15w
jne 0x14004c045
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.14000dcfc
mov qword [rsp + 0x68], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r13
mov word [rax], r15w
mov r8d, 5
lea rdx, [0x1402bbcb0]
lea rcx, [rsp + 0x68]
call fcn.14000dcfc
mov qword [rbp - 0x58], r15
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r13
mov word [rax], r15w
lea rcx, [rsp + 0x68]
call fcn.140007b58
nop
lea rcx, [rbp - 0x78]
call fcn.140007b58
nop
lea rcx, [rsp + 0x30]
call fcn.140007b58
mov qword [rsp + 0x28], rdi
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp - 0x30]
call fcn.140022cb0
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
lea r8, [rbp - 0x30]
lea rcx, [rsp + 0x28]
call fcn.14004a760
mov edi, eax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
mov qword [rbp - 0x68], r15
mov rbx, qword [rsp + 0x28]
test eax, eax
js 0x14004c25a
cmp edi, r14d
je 0x14004c25a
lea rcx, [rbp - 0x30]
call fcn.14004aca4
test al, al
jne 0x14004c1ff
test byte [rbp - 0x30], 0x10
jne 0x14004c1ff
mov ecx, 0x104
lea rax, [rbp - 4]
cmp word [rax], r15w
je 0x14004c16c
add rax, 2
sub rcx, r14
jne 0x14004c15d
test rcx, rcx
je 0x14004c1ff
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
lea rax, [rbp - 4]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r15w
jne 0x14004c18b
lea rdx, [rbp - 4]
lea rcx, [rsp + 0x68]
call fcn.14000e138
nop
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.14000e3dc
mov rax, qword [rbp - 0x1c]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x78]
call fcn.14004a300
nop
lea rcx, [rsp + 0x30]
call fcn.140007b58
nop
lea rcx, [rsp + 0x68]
call fcn.140007b58
test edi, edi
js 0x14004c25a
cmp rbx, 0xffffffffffffffff
je 0x14004c255
mov rcx, qword [0x1403606b8]
mov rax, qword [rcx]
lea r8, [rbp - 0x30]
mov rdx, rbx
mov rax, qword [rax + 0x10]
call qword [case.0x140066cb3.0]
test eax, eax
jne 0x14004c248
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x14004c250
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jmp 0x14004c12a
mov edi, r15d
jmp 0x14004c130
mov edi, r14d
jmp 0x14004c25a
mov edi, 0x8000ffff
mov r9, qword [rbp - 0x70]
mov rcx, r9
mov r8, qword [rbp - 0x78]
sub rcx, r8
movabs r10, 0x6666666666666667
mov rax, r10
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov r14, rsi
mov qword [rsp + 0x20], rsi
cmp rdx, rsi
jbe 0x14004c40c
mov rsi, r8
mov r13, r15
sub r9, r8
mov rax, r10
imul r9
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14004c314
xor r14d, r14d
movabs rbx, 0x6666666666666667
lea rdx, [rsi + 0x20]
lea rcx, [r8 + 0x20]
add rcx, r14
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
mov r8, qword [rbp - 0x78]
test eax, eax
jg 0x14004c2e3
lea rsi, [r14 + r8]
mov r13, r15
inc r15
add r14, 0x28
mov rcx, qword [rbp - 0x70]
sub rcx, r8
mov rax, rbx
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r15, rdx
jb 0x14004c2c3
mov rbx, qword [rsp + 0x28]
mov r14, qword [rsp + 0x20]
mov eax, 0x104
mov rcx, r12
xor r15d, r15d
cmp word [rcx], r15w
je 0x14004c32f
add rcx, 2
sub rax, 1
jne 0x14004c31f
neg rax
sbb eax, eax
not eax
test eax, 0x80070057
js 0x14004c3a5
mov r8, rsi
cmp qword [rsi + 0x18], 8
jb 0x14004c34a
mov r8, qword [rsi]
mov rdx, r12
lea rcx, [rsp + 0x68]
call fcn.1400c9b34
nop
cmp qword [rsi + 0x18], 8
jb 0x14004c362
mov rsi, qword [rsi]
mov r9, rsi
lea r8, str.Removing_old_logfile_:__ls
lea rdx, str.Logger
mov ecx, 1
call fcn.14004cdc0
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14004c3fa
lea rcx, [rsp + 0x68]
call fcn.140007b58
mov r8, qword [rbp - 0x78]
test edi, edi
js 0x14004c40c
lea rax, [r13*4]
add rax, r13
lea r8, [r8 + rax*8]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x78]
call fcn.14004d2d0
mov r9, qword [rbp - 0x70]
mov rcx, r9
mov r8, qword [rbp - 0x78]
sub rcx, r8
movabs r10, 0x6666666666666667
mov rax, r10
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, r14
jmp 0x14004c291
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
lea rcx, [rsp + 0x68]
call fcn.140007b58
nop
lea rcx, [rbp - 0x78]
call fcn.14004cf9c
nop
cmp rbx, 0xffffffffffffffff
je 0x14004c434
mov rcx, qword [0x1403606b8]
mov rax, qword [rcx]
mov rdx, rbx
mov rax, qword [rax + 0x18]
call qword [case.0x140066cb3.0]
nop
lea rcx, [rbp - 0x58]
call fcn.140007b58
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.140020930
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80004005
call fcn.140007ad8
int3