Function at 0x1400c5cc0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x1403cd210]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, r8
mov rsi, rdx
mov qword [rbp - 0x51], rdx
mov rcx, r8
cmp qword [r8 + 0x18], 8
jb 0x1400c5d03
mov rcx, qword [r8]
xor r12d, r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r12 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rbp - 0x41], rax
cmp rax, 0xffffffffffffffff
jne 0x1400c5dc6
lea ecx, [rax + 2]
call fcn.1400e2070
test eax, eax
je 0x1400c5d9a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x59], eax
cmp qword [rdi + 0x18], 8
jb 0x1400c5d5b
mov rdi, qword [rdi]
mov qword [rbp - 0x51], rdi
lea rax, [rbp - 0x59]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x51]
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:BT227953e1_7041_41ca_b223_f1309dea168eClientAnalyticsXMLUpdater_srcBSIUpdaterPluginHashSubstitution.cpp
lea ecx, [r9 - 0x26]
call fcn.14003519c
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 7
mov word [rsi], r12w
lea rdx, str._UNKNOWN
mov rcx, rsi
call fcn.140031d84
nop
mov rcx, 0xffffffffffffffff
jmp 0x1400c6077
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r14d, eax
cmp eax, 0xffffffff
jne 0x1400c5e46
mov ecx, 5
call fcn.1400e2070
test eax, eax
je 0x1400c5e22
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x59], eax
lea rax, [rbp - 0x59]
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:BT227953e1_7041_41ca_b223_f1309dea168eClientAnalyticsXMLUpdater_srcBSIUpdaterPluginHashSubstitution.cpp
lea ecx, [r9 - 0x2a]
call fcn.140032100
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 7
mov word [rsi], r12w
lea rdx, str._UNKNOWN
mov rcx, rsi
call fcn.140031d84
jmp 0x1400c606f
cmp r14d, 0xa00000
jbe 0x1400c5e88
mov ecx, 5
call fcn.1400e2070
test eax, eax
je 0x1400c5e22
lea rax, str.file_too_large
mov qword [rsp + 0x20], rax
mov r9d, 0x36
lea r8, str.Intel::Analytics::CHashSubstitution::Md5Hash
lea rdx, str.E:BT227953e1_7041_41ca_b223_f1309dea168eClientAnalyticsXMLUpdater_srcBSIUpdaterPluginHashSubstitution.cpp
lea ecx, [r9 - 0x31]
call fcn.14003209c
jmp 0x1400c5e22
mov qword [rbp - 0x51], r12
mov rcx, r14
test eax, eax
jne 0x1400c5e98
mov rcx, r12
jmp 0x1400c5eae
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 1
jb 0x1400c6010
call fcn.140147c44
mov rdi, rax
mov qword [rbp - 0x51], rax
test rax, rax
je 0x1400c6010
mov dword [rbp - 0x49], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x49]
mov r8d, r14d
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400c5f52
lea ecx, [rax + 5]
call fcn.1400e2070
test eax, eax
je 0x1400c5f2a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x59], eax
lea rax, [rbp - 0x59]
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:BT227953e1_7041_41ca_b223_f1309dea168eClientAnalyticsXMLUpdater_srcBSIUpdaterPluginHashSubstitution.cpp
lea ecx, [r9 - 0x3f]
call fcn.140032100
lea rdx, str._UNKNOWN
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 7
mov word [rsi], r12w
mov rcx, rsi
call fcn.140031d84
nop
mov rcx, rdi
jmp 0x1400c6069
mov edx, dword [rbp - 0x49]
cmp edx, r14d
je 0x1400c5f93
mov ecx, 5
call fcn.1400e2070
test eax, eax
je 0x1400c5f2a
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:BT227953e1_7041_41ca_b223_f1309dea168eClientAnalyticsXMLUpdater_srcBSIUpdaterPluginHashSubstitution.cpp
lea ecx, [r9 - 0x44]
call fcn.14003209c
jmp 0x1400c5f2a
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov r9d, 0x10
lea r8, [rbp - 0x39]
mov rcx, rdi
call fcn.1400f25d0
test eax, eax
jne 0x1400c5f2a
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
mov word [rbp + 0x17], ax
mov r14, r12
lea r15, [rbp - 0x29]
nop dword [rax]
nop dword [rax + rax]
movzx r9d, byte [rbp + r14 - 0x39]
lea r8, str._02x
mov edx, 3
mov rcx, r15
call fcn.140078de4
inc r14
add r15, 4
cmp r14, 0x10
jb 0x1400c5fe0
lea rdx, [rbp - 0x29]
jmp 0x1400c5f31
mov ecx, 5
call fcn.1400e2070
test eax, eax
je 0x1400c6047
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:BT227953e1_7041_41ca_b223_f1309dea168eClientAnalyticsXMLUpdater_srcBSIUpdaterPluginHashSubstitution.cpp
lea ecx, [r9 - 0x38]
call fcn.14003209c
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 7
mov word [rsi], r12w
lea rdx, str._UNKNOWN
mov rcx, rsi
call fcn.140031d84
nop
xor ecx, ecx
call fcn.14013d394
nop
test rbx, rbx
je 0x1400c607d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140119fe0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret