Function at 0x1400d2c40
Capabilities:
Check if file exists
Create directory

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x1403cd210]
xor rax, rsp
mov qword [rbp + 0x58], rax
mov rdi, r8
mov r14, rdx
mov qword [rsp + 0x48], rdx
xor r15d, r15d
mov dword [rsp + 0x54], r15d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], rax
lea rcx, [rbp - 8]
call fcn.1400ec0d0
nop
lea r8, str.SoftwareMcAfeeMcClientAnalytics
mov qword [rsp + 0x58], r8
mov rdx, 0xffffffff80000002
mov r9d, 0x2001f
lea rcx, [rbp - 8]
call fcn.1400ebe60
test eax, eax
je 0x1400d2d2d
lea ecx, [r15 + 1]
call fcn.1400e2070
test eax, eax
je 0x1400d2cf7
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, str.Unable_to_open_regKey__s
mov qword [rsp + 0x20], rax
mov r9d, 0x15f
lea r8, str.Intel::Analytics::CAnalyticsLoggerHelper::IsLegacyAutomationLogEnabled
lea rdx, str.E:BT227953e1_7041_41ca_b223_f1309dea168eClientAnalyticsCommon_srcCAUtilitiesAnalyticsLogger.cpp
lea ecx, [r15 + 1]
call fcn.1400323dc
nop
lea rcx, [rbp - 8]
call fcn.1400ec170
mov qword [r14], r15
mov qword [r14 + 8], r15
mov rax, r14
mov rcx, qword [rbp + 0x58]
xor rcx, rsp
call fcn.140119fe0
mov rbx, qword [rsp + 0x190]
add rsp, 0x160
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea r8, [rbp - 0x10]
lea rdx, str.enableLegacyAutomationLogs
lea rcx, [rbp - 8]
call fcn.1400ebe80
test eax, eax
jne 0x1400d2cf7
cmp dword [rbp - 0x10], 1
sete bl
lea rcx, [rbp - 8]
call fcn.1400ec170
test bl, bl
je 0x1400d2d00
mov ecx, 1
call fcn.1400e2070
test eax, eax
je 0x1400d2d91
lea rax, str.LegacyAutomationLogging_is_enabled
mov qword [rsp + 0x20], rax
mov r9d, 0x89
lea r8, str.Intel::Analytics::CAnalyticsLoggerHelper::GetStream
lea rdx, str.E:BT227953e1_7041_41ca_b223_f1309dea168eClientAnalyticsCommon_srcCAUtilitiesAnalyticsLogger.cpp
mov ecx, 1
call fcn.14003209c
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r15w
mov rdx, qword [str.__FOLDERID_ProgramData_McAfeeClientAnalytics]
lea rcx, [rbp - 0x50]
call fcn.140031d84
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rax
movdqu xmmword [rbp - 0x80], xmm0
movdqu xmmword [rbp - 0x70], xmm0
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x30]
call fcn.1401736e0
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x30]
call fcn.140174850
test al, al
jne 0x1400d2ebb
mov ecx, 5
call fcn.1400e2070
test eax, eax
je 0x1400d2e35
lea rax, str.__FOLDERID_ProgramData_McAfeeClientAnalytics
mov qword [rsp + 0x28], rax
lea rax, str.Couldnt_resolve_place_holder_for:__s
mov qword [rsp + 0x20], rax
mov r9d, 0x91
lea r8, str.Intel::Analytics::CAnalyticsLoggerHelper::GetStream
lea rdx, str.E:BT227953e1_7041_41ca_b223_f1309dea168eClientAnalyticsCommon_srcCAUtilitiesAnalyticsLogger.cpp
mov ecx, 5
call fcn.1400323dc
mov qword [r14], r15
mov qword [r14 + 8], r15
mov rdi, qword [rbp + 0x40]
test rdi, rdi
je 0x1400d2e72
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400d2e72
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x1400d2e72
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x1400d2d07
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d2eb1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d3365
call fcn.14011a254
jmp 0x1400d2d07
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400d2f47
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [rsp + 0x50], eax
mov ecx, 1
call fcn.1400e2070
test eax, eax
je 0x1400d2f47
lea rax, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rax, qword [rbp - 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, str.CreateDirectory_for__s__result:__d
mov qword [rsp + 0x20], rax
mov r9d, 0x98
lea r8, str.Intel::Analytics::CAnalyticsLoggerHelper::GetStream
lea rdx, str.E:BT227953e1_7041_41ca_b223_f1309dea168eClientAnalyticsCommon_srcCAUtilitiesAnalyticsLogger.cpp
call fcn.1400585a4
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r15w
mov ecx, dword [rdi]
test ecx, ecx
je 0x1400d2ff7
sub ecx, 1
je 0x1400d2fee
cmp ecx, 1
je 0x1400d2fe5
mov ecx, 5
call fcn.1400e2070
test eax, eax
je 0x1400d2f88
mov qword [rsp + 0x28], rdi
call fcn.1400d5aa0
mov qword [r14], r15
mov qword [r14 + 8], r15
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400d2fcf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d2fca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d335f
call fcn.14011a254
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r15w
jmp 0x1400d2e3c
lea rdx, str.ErrorLog.txt
jmp 0x1400d2ffe
lea rdx, str.RawTrackLog.txt
jmp 0x1400d2ffe
lea rdx, str.TransportsLog.txt
lea rcx, [rbp - 0x30]
call fcn.140031d84
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp - 0x40]
sub rax, rcx
cmp rax, 1
jb 0x1400d336b
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae r9, qword [rbp - 0x50]
mov qword [rsp + 0x30], 1
lea rax, [0x140353ca4]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp - 0x50]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140035770
nop
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x20]
lea rcx, [rsp + 0x60]
call fcn.140031c78
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x28], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x20], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1400d30e3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d30de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d3371
call fcn.14011a254
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r15w
mov ecx, 0x118
call fcn.14011a288
mov rsi, rax
mov qword [rbp - 0x60], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t___.0
mov qword [rsi], rax
lea rdi, [rsi + 0x10]
mov qword [rbp - 0x58], rdi
lea rax, [0x14037bec0]
mov qword [rdi], rax
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rdi + 0xa8], rax
mov dword [rsp + 0x54], 0x16
movsxd rax, dword [0x14037bec4]
lea rcx, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rax + rdi], rcx
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rcx + rdi - 4], edx
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
lea rbx, [rdi + 8]
xor r8d, r8d
mov rdx, rbx
call fcn.140055ed0
nop
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rcx + rdi], rax
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rcx + rdi - 4], edx
mov qword [rbp + 0x48], rbx
mov rcx, rbx
call fcn.140055e48
lea rax, vtable.std::basic_filebuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbx], rax
mov byte [rbx + 0x7c], 0
mov byte [rbx + 0x72], 0
lea r10, [rbx + 8]
mov qword [rbx + 0x18], r10
lea r8, [rbx + 0x10]
mov qword [rbx + 0x20], r8
lea r9, [rbx + 0x28]
mov qword [rbx + 0x38], r9
lea rcx, [rbx + 0x30]
mov qword [rbx + 0x40], rcx
lea rdx, [rbx + 0x48]
mov qword [rbx + 0x50], rdx
lea rax, [rbx + 0x4c]
mov qword [rbx + 0x58], rax
mov qword [r8], r15
mov qword [rcx], r15
mov dword [rax], r15d
mov qword [r10], r15
mov qword [r9], r15
mov dword [rdx], r15d
mov qword [rbx + 0x80], r15
mov rax, qword [0x1403ed918]
mov qword [rbx + 0x74], rax
mov qword [rbx + 0x68], r15
xorps xmm0, xmm0
movups xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x48], rdi
mov qword [rbp + 0x50], rsi
lea rdx, [rbp + 0x10]
mov rcx, rdi
call fcn.1400d5420
mov qword [r14], rdi
mov qword [r14 + 8], rsi
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x1400d3283
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d327e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d3377
call fcn.14011a254
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x28], 7
mov word [rbp + 0x10], r15w
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400d32d4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d32cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d335f
call fcn.14011a254
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r15w
mov rdi, qword [rbp + 0x40]
test rdi, rdi
je 0x1400d331b
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400d331b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x1400d331b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x1400d2d07
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d2eb1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d3365
jmp 0x1400d2eb1
call fcn.14013d31c
nop
call fcn.14013d31c
nop
call fcn.140032ec0
nop
call fcn.14013d31c
nop
call fcn.14013d31c
int3