Function at 0x180005033
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
jmp 0x1800564a0
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r14, r8
mov r15, rdx
mov rdi, rcx
lea rbx, [rcx + 0x2a0]
mov qword [rax + 0x20], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov bpl, 1
mov rdx, qword [r14]
mov rcx, rdi
call fcn.180004511
test al, al
je 0x1800567ad
imul rdx, qword [r14], 0x38
add rdx, qword [rdi + 0x220]
mov r12, qword [rdx + 0x10]
cmp qword [rdx + 8], 0
jne 0x180056581
mov dword [0x180132050], 7
cmp dword [0x18013218c], 7
jg 0x180056559
movzx eax, byte [rdi + 0x251]
lea rcx, [0x18010070c]
lea r8, [0x180100710]
cmp byte [rdi + 0x252], 0
cmovne r8, rcx
mov dword [rsp + 0x20], eax
mov r9, qword [rdi + 0x238]
lea rdx, str.CircularSampleBuffer::ReadSample:__s__SampleNo__d__is_empty__m_isWrittenFailed___d
lea rcx, vtable.CLogger.0
call fcn.1800024fa
mov rax, qword [rdi + 0x218]
mov rcx, qword [rax]
mov rax, qword [rcx]
xor edx, edx
mov dword [rsp + 0x20], edx
mov r9d, 0x80004005
xor r8d, r8d
lea edx, [r8 + 0x6b]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1800567ad
mov rsi, qword [rdx]
mov eax, dword [rdx + 0x20]
mov dword [r15 + 0x38], eax
imul rax, qword [r14], 0x38
mov rdx, qword [rdi + 0x220]
mov rdx, qword [rax + rdx + 0x28]
mov rcx, r15
call fcn.180001ded
imul rcx, qword [r14], 0x38
mov rax, qword [rdi + 0x220]
movzx ecx, byte [rcx + rax + 0x24]
mov byte [r15 + 0x3c], cl
mov rdx, r12
mov rcx, r15
call fcn.1800048e5
imul rcx, qword [r14], 0x38
mov rax, qword [rdi + 0x220]
mov rcx, qword [rcx + rax + 0x18]
mov qword [r15 + 0x30], rcx
mov rcx, r15
call fcn.180002bd0
mov r12, rax
mov rcx, r15
call fcn.180005ab5
mov r13, rax
mov r15, qword [rdi + 0x258]
cmp byte [r15 + 0x438], 0
je 0x180056617
mov rdx, qword [r15 + 0x430]
add rdx, rsi
mov r8, r12
mov rcx, rax
call fcn.180004de5
jmp 0x1800567b0
mov qword [rsp + 0x90], rsi
test r13, r13
je 0x1800566de
xor r9d, r9d
lea r8, [rsp + 0x94]
mov edx, esi
mov rcx, qword [r15 + 0x220]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x1800566de
xor edx, edx
mov dword [rsp + 0x80], edx
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x80]
mov r8d, r12d
mov rdx, r13
mov rcx, qword [r15 + 0x220]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180056688
mov eax, dword [rsp + 0x80]
cmp r12, rax
je 0x1800567b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov dword [0x180132050], 7
cmp dword [0x18013218c], 7
jg 0x1800566cc
mov ecx, dword [rsp + 0x80]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r12
mov r9d, eax
mov r8, rsi
lea rdx, str.DataStorage::ReadFrom:_Failed_at_pos___d__errorCode___d__size___d__wasRead___d
lea rcx, vtable.CLogger.0
call fcn.1800024fa
mov rax, qword [r15 + 0x218]
mov rcx, qword [rax]
mov r8d, 0x12e
jmp 0x180056722
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov dword [0x180132050], 7
cmp dword [0x18013218c], 7
jg 0x180056712
mov r9d, eax
mov r8, rsi
lea rdx, str.DataStorage::ReadFrom:_Failed_at_pos___d__errorCode___d
lea rcx, vtable.CLogger.0
call fcn.1800024fa
mov rcx, qword [r15 + 0x218]
mov rcx, qword [rcx]
mov r8d, 0x12f
mov dword [rsp + 0x20], ebp
mov rax, qword [rcx]
mov r9d, 0x80004005
mov edx, 0x6b
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [0x180132050], 7
cmp dword [0x18013218c], 7
jg 0x180056785
lea rcx, [0x18010070c]
lea r8, [0x180100710]
cmp byte [rdi + 0x252], 0
cmovne r8, rcx
mov rax, qword [rdi + 0x238]
mov qword [rsp + 0x20], rax
mov r9, rsi
lea rdx, str.CircularSampleBuffer::ReadSample:___s__sampleData_readout_failed_at_pos___d__m_tailPos___d
lea rcx, vtable.CLogger.0
call fcn.1800024fa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rdi + 0x218]
mov rcx, qword [rcx]
mov r10, qword [rcx]
mov dword [rsp + 0x20], eax
mov r9d, 0x80004005
xor r8d, r8d
lea edx, [r8 + 0x6b]
call qword [r10 + reloc.OLEAUT32.dll_VariantClear]
xor bpl, bpl
mov rax, qword [r14]
inc rax
xor edx, edx
div qword [rdi + 0x228]
mov qword [r14], rdx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx eax, bpl
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret