Function at 0x14009b1a0
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 [0x14039bc30]
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 0x14009b1e1
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 0x14009b2ac
lea ecx, [rax + 2]
call fcn.1400b2690
test eax, eax
je 0x14009b277
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x69], eax
cmp qword [rdi + 0x18], 8
jb 0x14009b238
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:BT00963e81_18e2_43e3_9fe0_5ac3a01b920eClientAnalyticsXMLUpdater_srcBSIUpdaterPluginHashSubstitution.cpp
lea ecx, [r9 - 0x26]
call fcn.140040c20
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.140032810
nop
mov rcx, 0xffffffffffffffff
jmp 0x14009b597
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r15d, eax
cmp eax, 0xffffffff
jne 0x14009b335
mov ecx, 5
call fcn.1400b2690
test eax, eax
je 0x14009b308
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:BT00963e81_18e2_43e3_9fe0_5ac3a01b920eClientAnalyticsXMLUpdater_srcBSIUpdaterPluginHashSubstitution.cpp
lea ecx, [r9 - 0x2a]
call fcn.14004a110
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.140032810
jmp 0x14009b58f
cmp r15d, 0xa00000
jbe 0x14009b377
mov ecx, 5
call fcn.1400b2690
test eax, eax
je 0x14009b308
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:BT00963e81_18e2_43e3_9fe0_5ac3a01b920eClientAnalyticsXMLUpdater_srcBSIUpdaterPluginHashSubstitution.cpp
lea ecx, [r9 - 0x31]
call fcn.1400297c0
jmp 0x14009b308
mov qword [rbp - 0x61], r13
mov rcx, r15
mov r14, 0xffffffffffffffff
test eax, eax
jne 0x14009b38e
mov rcx, r13
jmp 0x14009b3a0
xor edx, edx
mov rax, r14
div rcx
cmp rax, 1
jb 0x14009b527
call fcn.140149f50
mov rdi, rax
mov qword [rbp - 0x61], rax
test rax, rax
je 0x14009b527
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 0x14009b44d
lea ecx, [rax + 5]
call fcn.1400b2690
test eax, eax
je 0x14009b41c
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:BT00963e81_18e2_43e3_9fe0_5ac3a01b920eClientAnalyticsXMLUpdater_srcBSIUpdaterPluginHashSubstitution.cpp
lea ecx, [r9 - 0x3f]
call fcn.14004a110
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.140032810
nop
mov rcx, rdi
jmp 0x14009b589
mov edx, dword [rbp - 0x59]
cmp edx, r15d
je 0x14009b48e
mov ecx, 5
call fcn.1400b2690
test eax, eax
je 0x14009b41c
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:BT00963e81_18e2_43e3_9fe0_5ac3a01b920eClientAnalyticsXMLUpdater_srcBSIUpdaterPluginHashSubstitution.cpp
lea ecx, [r9 - 0x44]
call fcn.1400297c0
jmp 0x14009b41c
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov r9d, 0x10
lea r8, [rbp - 0x49]
mov rcx, rdi
call fcn.1400c20c0
test eax, eax
jne 0x14009b41c
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
movzx r9d, byte [rbp + r15 - 0x49]
lea r8, str._02x
mov edx, 3
mov rcx, r12
call fcn.1400430a0
inc r15
add r12, 4
cmp r15, 0x10
jb 0x14009b4d0
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 0x14009b510
mov r8, r14
lea rdx, [rbp - 0x39]
jmp 0x14009b43c
mov ecx, 5
call fcn.1400b2690
test eax, eax
je 0x14009b55e
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:BT00963e81_18e2_43e3_9fe0_5ac3a01b920eClientAnalyticsXMLUpdater_srcBSIUpdaterPluginHashSubstitution.cpp
lea ecx, [r9 - 0x38]
call fcn.1400297c0
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.140032810
nop
xor ecx, ecx
call fcn.1401483d0
nop
test rbx, rbx
je 0x14009b59d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14013af80
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret