Function at 0x14007ed80
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov rax, qword [0x14035dc30]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rdi, r8
mov rsi, rdx
mov qword [rbp - 0x19], rdx
mov rcx, r8
cmp qword [r8 + 0x18], 8
jb 0x14007edc1
mov rcx, qword [r8]
xor r15d, r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r15 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rbp + 0x17], rax
cmp rax, 0xffffffffffffffff
jne 0x14007ee8c
lea ecx, [rax + 2]
call fcn.140096b00
test eax, eax
je 0x14007ee57
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x61], eax
cmp qword [rdi + 0x18], 8
jb 0x14007ee18
mov rdi, qword [rdi]
mov qword [rbp - 0x19], rdi
lea rax, [rbp - 0x61]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rax
lea rax, str.failed_to_open_file:__s_with_error_code__d
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, str.Intel::Analytics::CTxtVerSubstitution::Substitute
lea rdx, str.E:BT_f8b799d6_918f_4a8b_891d_64cf6ddaa9f4ClientAnalyticsXMLUpdater_srcBSIUpdaterPluginTxtVerSubstitution.cpp
lea ecx, [r9 - 0x23]
call fcn.140053ac0
mov qword [rsi], r15
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 7
mov word [rsi], r15w
mov r8d, 8
lea rdx, str._UNKNOWN
mov rcx, rsi
call fcn.140025e70
nop
mov rcx, 0xffffffffffffffff
jmp 0x14007f081
mov ecx, 0x400
call fcn.140269b2c
mov rdi, rax
mov qword [rbp - 0x19], rax
xor edx, edx
mov r8d, 0x400
mov rcx, rax
call fcn.14026c200
mov dword [rbp - 0x11], r15d
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x11]
mov r8d, 0x3ff
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14007ef49
lea ecx, [rax + 5]
call fcn.140096b00
test eax, eax
je 0x14007ef13
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x61], eax
lea rax, [rbp - 0x61]
mov qword [rsp + 0x28], rax
lea rax, str.failed_to_read_the_file:__d
mov qword [rsp + 0x20], rax
mov r9d, 0x2e
lea r8, str.Intel::Analytics::CTxtVerSubstitution::Substitute
lea rdx, str.E:BT_f8b799d6_918f_4a8b_891d_64cf6ddaa9f4ClientAnalyticsXMLUpdater_srcBSIUpdaterPluginTxtVerSubstitution.cpp
call fcn.14007f2f0
mov qword [rsi], r15
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 7
mov word [rsi], r15w
mov r8d, 8
lea rdx, str._UNKNOWN
mov rcx, rsi
call fcn.140025e70
nop
mov rcx, rdi
call fcn.140269844
jmp 0x14007f079
mov qword [rbp - 9], r15
mov qword [rbp + 7], r15
mov qword [rbp + select], 0xf
mov byte [rbp - 9], 0
mov r12, 0xffffffffffffffff
mov r8, r12
nop word [rax + rax]
inc r8
cmp byte [rdi + r8], 0
jne 0x14007ef70
mov rdx, rdi
lea rcx, [rbp - 9]
call fcn.140043540
nop
mov qword [rbp - 0x19], r15
mov rcx, rdi
call fcn.140269844
lea r14, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
setae byte [rbp - 0x69]
cmovae r14, qword [rbp - 9]
mov r13, qword [rbp + 7]
cmp r13, 0xd
jb 0x14007f00f
lea r15, [r14 + r13]
lea r8, [r15 - 0xc]
sub r8, r14
mov edx, 0x24
mov rcx, r14
call fcn.14026d000
mov rdi, rax
test rax, rax
je 0x14007f00c
nop
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str._FileVersion
mov rcx, rdi
call fcn.14026ca90
test eax, eax
je 0x14007f0b1
inc rdi
lea r8, [r15 - 0xc]
sub r8, rdi
mov edx, 0x24
mov rcx, rdi
call fcn.14026d000
mov rdi, rax
test rax, rax
jne 0x14007efd0
xor r15d, r15d
mov ecx, 5
call fcn.140096b00
test eax, eax
je 0x14007f046
lea rax, str.failed_to_find_file_version_key
mov qword [rsp + 0x20], rax
mov r9d, reloc.WS2_32.dll_gethostname
lea r8, str.Intel::Analytics::CTxtVerSubstitution::Substitute
lea rdx, str.E:BT_f8b799d6_918f_4a8b_891d_64cf6ddaa9f4ClientAnalyticsXMLUpdater_srcBSIUpdaterPluginTxtVerSubstitution.cpp
lea ecx, [r9 - 0x34]
call fcn.1400262e0
mov qword [rsi], r15
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 7
mov word [rsi], r15w
mov r8d, 8
lea rdx, str._UNKNOWN
mov rcx, rsi
call fcn.140025e70
nop
lea rcx, [rbp - 9]
call fcn.140043710
nop
test rbx, rbx
je 0x14007f087
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140269300
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
sub rdi, r14
cmp rdi, 0xffffffffffffffff
je 0x14007f00c
add rdi, 0xd
xor eax, eax
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], select
mov byte [rbp - 0x39], al
cmp r13, rdi
jb 0x14007f28f
sub r13, rdi
cmp r13, 0xffffffffffffffff
cmovb r12, r13
lea rdx, [rbp - 9]
cmp byte [rbp - 0x69], al
cmovne rdx, qword [rbp - 9]
add rdx, rdi
mov r8, r12
lea rcx, [rbp - 0x39]
call fcn.140043540
nop
lea rdi, [rbp - 0x39]
cmp qword [rbp - 0x21], 0x10
setae r12b
mov r15, qword [rbp - 0x39]
cmovae rdi, r15
mov r14, qword [rbp - 0x29]
test r14, r14
je 0x14007f222
mov r8, r14
mov edx, 0x20
mov rcx, rdi
call fcn.14026d000
test rax, rax
je 0x14007f222
sub rax, rdi
cmp rax, 0xffffffffffffffff
je 0x14007f222
xor r13d, r13d
mov qword [rbp - 0x59], r13
mov qword [rbp - 0x49], r13
mov qword [rbp - 0x41], select
cmp r14, rax
cmovb rax, r14
lea rdx, [rbp - 0x39]
test r12b, r12b
cmovne rdx, r15
mov r8, rax
lea rcx, [rbp - 0x59]
call fcn.140043540
lea rcx, [rbp - 0x39]
call fcn.140043710
movups xmm0, xmmword [rbp - 0x59]
movups xmmword [rbp - 0x39], xmm0
movups xmm1, xmmword [rbp - 0x49]
movups xmmword [rbp - 0x29], xmm1
mov qword [rbp - 0x49], r13
mov qword [rbp - 0x41], select
mov byte [rbp - 0x59], r13b
lea rcx, [rbp - 0x59]
call fcn.140043710
lea rcx, [rbp - 0x39]
mov rdi, qword [rbp - 0x29]
cmp qword [rbp - 0x21], 0x10
jb 0x14007f1ca
mov r14, qword [rbp - 0x39]
add rdi, r14
jmp 0x14007f1d1
add rdi, rcx
lea r14, [rbp - 0x39]
mov qword [rsi], r13
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 7
mov word [rsi], r13w
mov rdx, rdi
sub rdx, r14
mov rcx, rsi
call fcn.14007f3b0
mov qword [rbp - 0x61], rsi
cmp r14, rdi
je 0x14007f214
nop dword [rax + rax]
movsx edx, byte [r14]
mov rcx, rsi
call fcn.14005d940
inc r14
cmp r14, rdi
jne 0x14007f200
lea rcx, [rbp - 0x39]
call fcn.140043710
jmp 0x14007f06f
mov ecx, 5
call fcn.140096b00
test eax, eax
je 0x14007f259
lea rax, str.failed_to_find_the_end_of_the_file_version
mov qword [rsp + 0x20], rax
mov r9d, 0x41
lea r8, str.Intel::Analytics::CTxtVerSubstitution::Substitute
lea rdx, str.E:BT_f8b799d6_918f_4a8b_891d_64cf6ddaa9f4ClientAnalyticsXMLUpdater_srcBSIUpdaterPluginTxtVerSubstitution.cpp
lea ecx, [r9 - 0x3c]
call fcn.1400262e0
xor eax, eax
mov qword [rsi], rax
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], 7
mov word [rsi], ax
lea r8d, [rax + 8]
lea rdx, str._UNKNOWN
mov rcx, rsi
call fcn.140025e70
nop
lea rcx, [rbp - 0x39]
call fcn.140043710
jmp 0x14007f06f
call fcn.14003a640
int3