Function at 0x14004e160
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov rax, qword [0x140189090]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r15, rcx
xor r12d, r12d
mov r14d, r12d
mov dword [rsp + 0x30], r12d
lea rcx, [rsp + 0x38]
call fcn.14004ecd0
nop
lea rcx, [rsp + 0x38]
cmp qword [rbp - 0x79], 8
cmovae rcx, qword [rsp + 0x38]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x14004e58e
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rax
lea r9, [rbp + 0x17]
lea r8, [rbp + 0xf]
lea rdx, [rbp + 7]
lea rcx, [rsp + 0x38]
call fcn.140024e70
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 0x1e
lea r9, str.ConfigurationManger
xor r8d, r8d
lea rdx, [0x140041200]
mov rcx, rax
call fcn.140027650
mov rbx, rax
mov qword [rbp - 0x51], r12
lea rdx, str.SystemInfoUpdateInterval
lea rcx, [rbp - 0x51]
call fcn.140097430
nop
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x51]
mov rcx, rbx
call fcn.140056c30
mov rcx, qword [rax]
lea ebx, [r12 + 0x18]
test rcx, rcx
je 0x14004e256
cvttsd2si rax, qword [rcx + 8]
test rax, rax
cmovle rax, rbx
mov rbx, rax
xor edx, edx
lea rcx, [rbp - 0x51]
call fcn.140097430
nop
imul rcx, rbx, 0xe10
mov rbx, qword [rbp + 0x17]
add rbx, rcx
mov qword [rbp - 0x51], r12
mov dword [rbp - 0x49], r12d
mov edx, 1
lea rcx, [rbp - 0x51]
call fcn.1401075ac
cmp qword [rbp - 0x51], rbx
jb 0x14004e58e
lea rcx, [rsp + 0x38]
cmp qword [rbp - 0x79], 8
cmovae rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14004e2df
mov edx, 0x80
lea rcx, [rsp + 0x38]
call fcn.140025da0
mov edx, dword [0x140189cc0]
lea rcx, [rsp + 0x38]
call fcn.140025da0
lea rcx, [rsp + 0x38]
cmp qword [rbp - 0x79], 8
cmovae rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ecx, ecx
cmp eax, 1
je 0x14004e4e8
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
cmp dword [rax + 0x40], 3
jl 0x14004e37d
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
mov rbx, rax
lea rdx, [rbp + 7]
lea rcx, [rsp + 0x38]
call fcn.1400220d0
nop
mov r14d, 1
mov dword [rsp + 0x30], r14d
cmp qword [rax + 0x18], 0x10
jb 0x14004e365
mov rax, qword [rax]
mov r9, rax
lea r8, str.AdpComponent::collectSystemInformation:_we_failed_to_remove_the_cached_system_info_file:__s
mov edx, 3
mov rcx, rbx
call fcn.14001efa0
nop
test r14b, 1
je 0x14004e390
and r14d, 0xfffffffe
lea rcx, [rbp + 7]
call fcn.1400091f0
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], reloc.WS2_32.dll_ntohs
lea r9, str.StateManager
xor r8d, r8d
lea rdx, [0x14003d0a0]
mov rcx, rax
call fcn.140027650
mov rbx, rax
mov qword [rbp + 7], r12
movdqa xmm0, xmmword [0x140166ac0]
movdqu xmmword [rbp + 0x17], xmm0
mov byte [rbp + 7], 0
mov r8d, 0xa
lea rdx, str.product_id
lea rcx, [rbp + 7]
call fcn.140009250
nop
lea r9, [rbp + 7]
mov r8, r15
lea rdx, [rbp - 0x71]
mov rcx, rbx
call fcn.140044a80
nop
lea rcx, [rbp + 7]
call fcn.1400091f0
mov qword [rbp + 7], r12
movdqa xmm0, xmmword [0x140166ac0]
movdqu xmmword [rbp + 0x17], xmm0
mov byte [rbp + 7], 0
mov r8d, 0xa
lea rdx, str.session_id
lea rcx, [rbp + 7]
call fcn.140009250
nop
lea r9, [rbp + 7]
mov r8, r15
lea rdx, [rbp - 0x51]
mov rcx, rbx
call fcn.140044a80
nop
lea rcx, [rbp + 7]
call fcn.1400091f0
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
cmp dword [rax + 0x40], 3
jl 0x14004e4d9
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
lea rcx, [rbp - 0x51]
cmp qword [rbp - 0x39], 0x10
cmovae rcx, qword [rbp - 0x51]
lea r9, [rbp - 0x71]
cmp qword [rbp - 0x59], 0x10
cmovae r9, qword [rbp - 0x71]
mov qword [rsp + 0x20], rcx
lea r8, str.AdpComponent::collectSystemInformation:_system_information_we_sent_over_for_product:__s_in_session:__s_may_be_outdated
mov edx, 3
mov rcx, rax
call fcn.14001efa0
nop
lea rcx, [rbp - 0x51]
call fcn.1400091f0
nop
jmp 0x14004e585
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
cmp dword [rax + 0x40], 5
jl 0x14004e57b
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
mov rbx, rax
lea rdx, [rbp - 0x71]
lea rcx, [rsp + 0x38]
call fcn.1400220d0
nop
mov r14d, 2
mov dword [rsp + 0x30], r14d
cmp qword [rax + 0x18], 0x10
jb 0x14004e563
mov rax, qword [rax]
mov r9, rax
lea r8, str.AdpComponent::collectSystemInformation:_we_just_deleted_the_outdated_system_information_cache_file:__s
mov edx, 5
mov rcx, rbx
call fcn.14001efa0
nop
test r14b, 2
je 0x14004e58e
and r14d, 0xfffffffd
lea rcx, [rbp - 0x71]
call fcn.1400091f0
lea rcx, [rsp + 0x38]
cmp qword [rbp - 0x79], 8
cmovae rcx, qword [rsp + 0x38]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x14004e6ff
lea rcx, [rsp + 0x38]
call fcn.14004ee40
xor ecx, ecx
test eax, eax
je 0x14004e65b
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
cmp dword [rax + 0x40], 2
jl 0x14004e652
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
mov rbx, rax
lea rdx, [rbp - 0x71]
lea rcx, [rsp + 0x38]
call fcn.1400220d0
nop
or r14d, 4
mov dword [rsp + 0x30], r14d
cmp qword [rax + 0x18], 0x10
jb 0x14004e63a
mov rax, qword [rax]
mov r9, rax
lea r8, str.AdpComponent::createSystemInformationEvent:_we_failled_to_create_the_system_information_cache_as__s
mov edx, 2
mov rcx, rbx
call fcn.14001efa0
nop
test r14b, 4
jmp 0x14004e7b5
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
cmp dword [rax + 0x40], 4
jl 0x14004e6ec
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
mov rbx, rax
lea rdx, [rbp - 0x71]
lea rcx, [rsp + 0x38]
call fcn.1400220d0
nop
or r14d, 8
mov dword [rsp + 0x30], r14d
cmp qword [rax + 0x18], 0x10
jb 0x14004e6d4
mov rax, qword [rax]
mov r9, rax
lea r8, str.AdpComponent::createSystemInformationEvent:_we_created_the_system_information_cache_as__s
mov edx, 4
mov rcx, rbx
call fcn.14001efa0
nop
test r14b, 8
je 0x14004e6ff
and r14d, 0xfffffff7
lea rcx, [rbp - 0x71]
call fcn.1400091f0
lea rcx, [rsp + 0x38]
cmp qword [rbp - 0x79], 8
cmovae rcx, qword [rsp + 0x38]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x14004e7c7
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
cmp dword [rax + 0x40], 2
jl 0x14004e7b1
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
mov rbx, rax
lea rdx, [rbp - 0x71]
lea rcx, [rsp + 0x38]
call fcn.1400220d0
nop
or r14d, 0x10
mov dword [rsp + 0x30], r14d
cmp qword [rax + 0x18], 0x10
jb 0x14004e799
mov rax, qword [rax]
mov r9, rax
lea r8, str.AdpComponent::createSystemInformationEvent:_the_cached_system_information_json_file__s_is_still_not_in_existence
mov edx, 2
mov rcx, rbx
call fcn.14001efa0
nop
test r14b, 0x10
je 0x14004e7c0
lea rcx, [rbp - 0x71]
call fcn.1400091f0
xor bl, bl
jmp 0x14004ec95
lea rdx, [rbp - 0x19]
lea rcx, [rsp + 0x38]
call fcn.140023290
nop
cmp qword [rbp - 9], 0
jne 0x14004e88a
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
cmp dword [rax + 0x40], 2
jl 0x14004e874
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
mov rbx, rax
lea rdx, [rbp - 0x71]
lea rcx, [rsp + 0x38]
call fcn.1400220d0
nop
or r14d, 0x20
mov dword [rsp + 0x30], r14d
cmp qword [rax + 0x18], 0x10
jb 0x14004e85c
mov rax, qword [rax]
mov r9, rax
lea r8, str.AdpComponent::createSystemInformationEvent::_the_cached_system_information_json_file__s_is_empty
mov edx, 2
mov rcx, rbx
call fcn.14001efa0
nop
test r14b, 0x20
je 0x14004e883
lea rcx, [rbp - 0x71]
call fcn.1400091f0
xor bl, bl
jmp 0x14004ec8b
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x51], r12
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 0x10
cmovae rdx, qword [rbp - 0x19]
lea rcx, [rbp - 0x51]
call fcn.140097430
nop
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x31]
call fcn.140099080
nop
xor edx, edx
lea rcx, [rbp - 0x51]
call fcn.140097430
nop
mov rbx, qword [rbp - 0x31]
test rbx, rbx
je 0x14004ebdd
cmp dword [rbx], 4
je 0x14004e8ee
cmp qword [rbx + 0x50], 0
jne 0x14004e902
mov rax, qword [rbx + 0x38]
cmp qword [rbx + 0x30], rax
jne 0x14004e902
cmp qword [rbx + 0x20], 0
jne 0x14004e902
xorps xmm0, xmm0
movsd xmm1, qword [rbx + 8]
ucomisd xmm1, xmm0
jp 0x14004e902
je 0x14004ebdd
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
cmp dword [rax + 0x40], 6
jl 0x14004e9fc
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
mov rdi, rax
mov rdx, rbx
lea rcx, [rbp - 0x71]
call fcn.14009f410
bts r14d, 0x13
mov qword [rbp - 0x51], r12
lea rdx, [rbp - 0x71]
cmp qword [rbp - 0x59], 0x10
cmovae rdx, qword [rbp - 0x71]
lea rcx, [rbp - 0x51]
call fcn.140097430
bts r14d, 0x12
lea rcx, [rbp - 0x71]
call fcn.1400091f0
nop
bts r14d, 7
mov dword [rsp + 0x30], r14d
mov rbx, qword [rbp - 0x51]
test rbx, rbx
je 0x14004e9b9
cmp qword [rbx + 0x18], 0x10
jb 0x14004e9bc
mov rbx, qword [rbx]
jmp 0x14004e9bc
mov rbx, r12
lea rdx, [rbp + 7]
lea rcx, [rsp + 0x38]
call fcn.1400220d0
nop
bts r14d, 8
mov dword [rsp + 0x30], r14d
cmp qword [rax + 0x18], 0x10
jb 0x14004e9df
mov rax, qword [rax]
mov qword [rsp + 0x20], rbx
mov r9, rax
lea r8, str.AdpComponent::createSystemInformationEvent:_we_constructed_a_valid_json_object_from_the_cached_system_information_file_contents__s_as:__s
mov edx, 6
mov rcx, rdi
call fcn.14001efa0
nop
bt r14d, 8
jae 0x14004ea12
btr r14d, 8
lea rcx, [rbp + 7]
call fcn.1400091f0
nop
test r14b, r14b
jns 0x14004ea28
btr r14d, 7
xor edx, edx
lea rcx, [rbp - 0x51]
call fcn.140097430
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x31]
call fcn.140040fe0
nop
mov rbx, qword [rbp - 0x29]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x14004ead9
nop
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x31]
call fcn.1400987a0
mov rsi, rax
lea rdx, [rbx + 0x20]
mov rcx, r15
call fcn.1400987a0
mov rcx, rax
mov rdx, rsi
call fcn.1400991d0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x14004eaa8
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14004eaa3
nop dword [rax + rax]
cmp rbx, qword [rax + 0x10]
jne 0x14004eaa3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14004ea90
mov rbx, rax
jmp 0x14004eacf
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x14004eacf
nop dword [rax]
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x14004eac0
cmp byte [rbx + 0x19], 0
je 0x14004ea50
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
cmp dword [rax + 0x40], 6
jl 0x14004ebba
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
mov rbx, rax
mov rdx, qword [r15]
test rdx, rdx
je 0x14004eb7b
lea rcx, [rbp - 0x71]
call fcn.14009f410
bts r14d, 0x16
mov qword [rbp - 0x51], r12
lea rdx, [rbp - 0x71]
cmp qword [rbp - 0x59], 0x10
cmovae rdx, qword [rbp - 0x71]
lea rcx, [rbp - 0x51]
call fcn.140097430
bts r14d, 0x15
lea rcx, [rbp - 0x71]
call fcn.1400091f0
mov r9, qword [rbp - 0x51]
jmp 0x14004eb87
mov r9, r12
mov qword [rbp - 0x51], r12
bts r14d, 0x15
bts r14d, 9
mov dword [rsp + 0x30], r14d
test r9, r9
je 0x14004eba2
cmp qword [r9 + 0x18], 0x10
jb 0x14004eba5
mov r9, qword [r9]
jmp 0x14004eba5
mov r9, r12
lea r8, str.AdpComponent::createSystemInformationEvent:_we_constructed_an_intermediate_system_information_json_object_to_return:__s
mov edx, 6
mov rcx, rbx
call fcn.14001efa0
nop
bt r14d, 9
jae 0x14004ebcd
xor edx, edx
lea rcx, [rbp - 0x51]
call fcn.140097430
nop
mov bl, 1
lea rcx, [rbp - 0x29]
call fcn.140040f60
jmp 0x14004ec81
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
cmp dword [rax + 0x40], 2
jl 0x14004ec70
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
mov rbx, rax
lea rdx, [rbp - 0x71]
lea rcx, [rsp + 0x38]
call fcn.1400220d0
nop
or r14d, 0x40
mov dword [rsp + 0x30], r14d
cmp qword [rax + 0x18], 0x10
jb 0x14004ec58
mov rax, qword [rax]
mov r9, rax
lea r8, str.AdpComponent::createSystemInformationEvent:_the_json_object_we_constructed_from_the_cached_system_information_file_contents__s_is_not_valid
mov edx, 2
mov rcx, rbx
call fcn.14001efa0
nop
test r14b, 0x40
je 0x14004ec7f
lea rcx, [rbp - 0x71]
call fcn.1400091f0
xor bl, bl
lea rcx, [rbp - 0x31]
call fcn.140099270
nop
lea rcx, [rbp - 0x19]
call fcn.1400091f0
nop
lea rcx, [rsp + 0x38]
call fcn.140008fe0
movzx eax, bl
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400f89b0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret