Function at 0x14007f7d0
Capabilities:
Get file size
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 + 0x17], rax
mov rdi, r8
mov rsi, rdx
mov qword [rbp - 0x61], rdx
mov rcx, r8
cmp qword [r8 + 0x18], 8
jb 0x14007f811
mov rcx, qword [r8]
xor r13d, r13d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r13 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rbp - 0x51], rax
cmp rax, 0xffffffffffffffff
jne 0x14007f8dc
lea ecx, [rax + 2]
call fcn.140096b00
test eax, eax
je 0x14007f8a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x69], eax
cmp qword [rdi + 0x18], 8
jb 0x14007f868
mov rdi, qword [rdi]
mov qword [rbp - 0x61], rdi
lea rax, [rbp - 0x69]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x61]
mov qword [rsp + 0x28], rax
lea rax, str.failed_to_open_file:__s_with_error_code__d
mov qword [rsp + 0x20], rax
mov r9d, 0x27
lea r8, str.Intel::Analytics::CHashSubstitution::Md5Hash
lea rdx, str.E:BT_f8b799d6_918f_4a8b_891d_64cf6ddaa9f4ClientAnalyticsXMLUpdater_srcBSIUpdaterPluginHashSubstitution.cpp
lea ecx, [r9 - 0x26]
call fcn.140053ac0
mov qword [rsi], r13
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 7
mov word [rsi], r13w
mov r8d, 8
lea rdx, str._UNKNOWN
mov rcx, rsi
call fcn.140025e70
nop
mov rcx, 0xffffffffffffffff
jmp 0x14007fbc7
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r15d, eax
cmp eax, 0xffffffff
jne 0x14007f961
mov ecx, 5
call fcn.140096b00
test eax, eax
je 0x14007f934
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x69], eax
lea rax, [rbp - 0x69]
mov qword [rsp + 0x28], rax
lea rax, str.failed_to_get_file_size:__d
mov qword [rsp + 0x20], rax
mov r9d, 0x2f
lea r8, str.Intel::Analytics::CHashSubstitution::Md5Hash
lea rdx, str.E:BT_f8b799d6_918f_4a8b_891d_64cf6ddaa9f4ClientAnalyticsXMLUpdater_srcBSIUpdaterPluginHashSubstitution.cpp
call fcn.14007f2f0
mov qword [rsi], r13
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 7
mov word [rsi], r13w
mov r8d, 8
lea rdx, str._UNKNOWN
mov rcx, rsi
call fcn.140025e70
jmp 0x14007fbbf
cmp r15d, 0xa00000
jbe 0x14007f9a3
mov ecx, 5
call fcn.140096b00
test eax, eax
je 0x14007f934
lea rax, str.file_too_large
mov qword [rsp + 0x20], rax
mov r9d, reloc.WS2_32.dll_getprotobynumber
lea r8, str.Intel::Analytics::CHashSubstitution::Md5Hash
lea rdx, str.E:BT_f8b799d6_918f_4a8b_891d_64cf6ddaa9f4ClientAnalyticsXMLUpdater_srcBSIUpdaterPluginHashSubstitution.cpp
lea ecx, [r9 - 0x31]
call fcn.1400262e0
jmp 0x14007f934
mov qword [rbp - 0x61], r13
mov rcx, r15
mov r14, 0xffffffffffffffff
test eax, eax
jne 0x14007f9ba
mov rcx, r13
jmp 0x14007f9cc
xor edx, edx
mov rax, r14
div rcx
cmp rax, 1
jb 0x14007fb57
call fcn.14027bb00
mov rdi, rax
mov qword [rbp - 0x61], rax
test rax, rax
je 0x14007fb57
mov dword [rbp - 0x59], r13d
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x59]
mov r8d, r15d
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14007fa75
lea ecx, [rax + 5]
call fcn.140096b00
test eax, eax
je 0x14007fa44
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x69], eax
lea rax, [rbp - 0x69]
mov qword [rsp + 0x28], rax
lea rax, str.failed_to_read_file:__d
mov qword [rsp + 0x20], rax
mov r9d, 0x44
lea r8, str.Intel::Analytics::CHashSubstitution::Md5Hash
lea rdx, str.E:BT_f8b799d6_918f_4a8b_891d_64cf6ddaa9f4ClientAnalyticsXMLUpdater_srcBSIUpdaterPluginHashSubstitution.cpp
call fcn.14007f2f0
mov qword [rsi], r13
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 7
mov word [rsi], r13w
mov r8d, 8
lea rdx, str._UNKNOWN
mov rcx, rsi
call fcn.140025e70
nop
mov rcx, rdi
jmp 0x14007fbb9
mov edx, dword [rbp - 0x59]
cmp edx, r15d
je 0x14007fab6
mov ecx, 5
call fcn.140096b00
test eax, eax
je 0x14007fa44
lea rax, str.failed_to_read_the_right_amount_of_data
mov qword [rsp + 0x20], rax
mov r9d, 0x49
lea r8, str.Intel::Analytics::CHashSubstitution::Md5Hash
lea rdx, str.E:BT_f8b799d6_918f_4a8b_891d_64cf6ddaa9f4ClientAnalyticsXMLUpdater_srcBSIUpdaterPluginHashSubstitution.cpp
lea ecx, [r9 - 0x44]
call fcn.1400262e0
jmp 0x14007fa44
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rbp - 0x49]
mov rcx, rdi
call fcn.1400a39a0
test eax, eax
jne 0x14007fa44
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
mov word [rbp + 7], ax
mov r15, r13
lea r12, [rbp - 0x39]
nop word [rax + rax]
movzx r9d, byte [rbp + r15 - 0x49]
lea r8, str._02x
mov edx, 3
mov rcx, r12
call fcn.1400263c0
inc r15
add r12, 4
cmp r15, 0x10
jb 0x14007fb00
mov qword [rsi], r13
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 7
mov word [rsi], r13w
lea rax, [rbp - 0x39]
nop
inc r14
cmp word [rax + r14*2], 0
jne 0x14007fb40
mov r8, r14
lea rdx, [rbp - 0x39]
jmp 0x14007fa64
mov ecx, 5
call fcn.140096b00
test eax, eax
je 0x14007fb8e
lea rax, str.failed_to_allocate_memory
mov qword [rsp + 0x20], rax
mov r9d, 0x3d
lea r8, str.Intel::Analytics::CHashSubstitution::Md5Hash
lea rdx, str.E:BT_f8b799d6_918f_4a8b_891d_64cf6ddaa9f4ClientAnalyticsXMLUpdater_srcBSIUpdaterPluginHashSubstitution.cpp
lea ecx, [r9 - 0x38]
call fcn.1400262e0
mov qword [rsi], r13
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 7
mov word [rsi], r13w
mov r8d, 8
lea rdx, str._UNKNOWN
mov rcx, rsi
call fcn.140025e70
nop
xor ecx, ecx
call fcn.1402767a0
nop
test rbx, rbx
je 0x14007fbcd
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
mov rcx, qword [rbp + 0x17]
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