Function at 0x180041380
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
sub rsp, 0x48
mov rsi, rdx
mov rbx, rcx
mov rcx, rsi
lea rdx, [0x1800d9968]
call fcn.1800c6108
mov qword [rbx + 0x48], rax
test rax, rax
jne 0x1800413f4
mov qword [rsp + 0x38], rsi
lea rax, str.AVScanExe
mov qword [rsp + 0x30], rax
lea r9, str.T:WorkspaceKv2021KVPAV2017AVE_KVEAVMakeLibFTLibCheck.cpp
lea rax, str.__s__LoadVLB__s_fail__not_found.
xor edx, edx
mov qword [rsp + 0x28], rax
lea r8, str.FTRecLib::InitLoadLib
lea rcx, str.avsdk
mov qword [rsp + 0x20], 0x68
call qword [sym.imp.avutil.dll_void___cdecl_avutil_ffl_log_char_const____ptr64__int__char_const____ptr64__char_const____ptr64__unsigned_long_long_unsigned___int64___char_const____ptr64_]
mov eax, 0xffffffff
add rsp, 0x48
pop rsi
pop rbx
ret
xor edx, edx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x70], r12
mov rcx, rax
mov qword [rsp + 0x40], r15
lea r8d, [rdx + 2]
call fcn.1800c6384
mov rcx, qword [rbx + 0x48]
call fcn.1800c6c84
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
xor edx, edx
mov r12d, eax
call fcn.1800c6384
mov r9, qword [rbx + 0x48]
mov edx, 1
mov rcx, rbx
lea r8d, [rdx + 0x3f]
call fcn.1800c669c
movzx edx, byte [rbx + 0x2f]
lea ebp, [rdx + 1]
shl ebp, 0xc
cmp eax, 0x40
jne 0x1800415b6
cmp dword [rbx], 0x424c764b
jne 0x1800415b6
cmp dword [rbx + 4], 0
je 0x1800415b6
lea rcx, [rbp + 0x40]
mov r15d, ebp
cmp r12, rcx
jb 0x1800415b6
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x78], r14
test dl, dl
jne 0x180041499
movzx r14d, word [rbx + 0x2c]
mov dl, 3
mov word [rbx + 0x3e], r14w
mov byte [rbx + 0x2f], 3
jmp 0x18004149e
movzx r14d, word [rbx + 0x3e]
movzx edi, dl
inc edi
shl edi, 0xc
mov ecx, edi
call fcn.1800bfbd4
mov qword [rbx + 0x40], rax
cmp edi, ebp
jbe 0x1800414c5
sub edi, ebp
lea rcx, [rax + rbp]
mov r8d, edi
xor edx, edx
call fcn.1800c0bd0
mov rcx, qword [rbx + 0x40]
mov rdi, qword [rsp + 0x68]
test rcx, rcx
je 0x180041564
mov r9, qword [rbx + 0x48]
mov r8, r15
mov edx, 1
call fcn.1800c669c
cmp eax, ebp
jne 0x180041564
mov rax, qword [rbx + 0x40]
movzx edx, r14w
add rdx, rdx
mov ecx, dword [rax + rdx*8 + 8]
add ecx, dword [rax + rdx*8 + 4]
cmp r12d, ecx
jb 0x180041564
mov qword [rsp + 0x38], rsi
lea rax, str.AVScanExe
mov qword [rsp + 0x30], rax
lea r9, str.T:WorkspaceKv2021KVPAV2017AVE_KVEAVMakeLibFTLibCheck.cpp
lea rax, str.__s__LoadVLB__s_OK.
xor edx, edx
mov qword [rsp + 0x28], rax
lea r8, str.FTRecLib::InitLoadLib
lea rcx, str.avsdk
mov qword [rsp + 0x20], 0x90
call qword [sym.imp.avutil.dll_void___cdecl_avutil_ffl_log_char_const____ptr64__int__char_const____ptr64__char_const____ptr64__unsigned_long_long_unsigned___int64___char_const____ptr64_]
xor eax, eax
mov r14, qword [rsp + 0x78]
mov r12, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x60]
mov r15, qword [rsp + 0x40]
add rsp, 0x48
pop rsi
pop rbx
ret
mov rcx, rbx
call fcn.180041160
mov qword [rsp + 0x38], rsi
lea rax, str.AVScanExe
mov qword [rsp + 0x30], rax
lea r9, str.T:WorkspaceKv2021KVPAV2017AVE_KVEAVMakeLibFTLibCheck.cpp
lea rax, str.__s__LoadVLB__s_fail_2__Bad_file.
xor edx, edx
mov qword [rsp + 0x28], rax
lea r8, str.FTRecLib::InitLoadLib
lea rcx, str.avsdk
mov qword [rsp + 0x20], 0x8d
call qword [sym.imp.avutil.dll_void___cdecl_avutil_ffl_log_char_const____ptr64__int__char_const____ptr64__char_const____ptr64__unsigned_long_long_unsigned___int64___char_const____ptr64_]
mov eax, 0xfffffffe
jmp 0x180041549
mov rcx, rbx
call fcn.180041160
mov qword [rsp + 0x38], rsi
lea rax, str.AVScanExe
mov qword [rsp + 0x30], rax
lea r9, str.T:WorkspaceKv2021KVPAV2017AVE_KVEAVMakeLibFTLibCheck.cpp
lea rax, str.__s_LoadVLB__s_fail__Bad_file._
xor edx, edx
mov qword [rsp + 0x28], rax
lea r8, str.FTRecLib::InitLoadLib
lea rcx, str.avsdk
mov qword [rsp + 0x20], 0x76
call qword [sym.imp.avutil.dll_void___cdecl_avutil_ffl_log_char_const____ptr64__int__char_const____ptr64__char_const____ptr64__unsigned_long_long_unsigned___int64___char_const____ptr64_]
mov eax, 0xfffffffe
jmp 0x18004154e