Function at 0x14000346b
Capabilities:
Read file on windows

Disassembly:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rdi
push rsi
mov rsi, rcx
push rbx
sub rsp, 0x10
and rsp, 0xfffffffffffffff0
sub rsp, 0xe0
mov rax, qword [r8 + 8]
mov r14, qword [r8]
mov r12, qword [rbp + 0x30]
movaps xmmword [rsp + 0xe0], xmm6
movups xmm6, xmmword [r9]
mov qword [rsp + 0x50], rax
lea rax, str.pkg_config
mov qword [rbp + 0x18], rdx
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x88], 0xa
mov rcx, rax
movaps xmmword [rsp + 0x90], xmm6
mov qword [rsp + 0x58], rax
call fcn.14000101b
test eax, eax
je 0x140003507
lea rax, str.Name:_u_config_nVersion:_0.33.0_nDescription:_n
mov qword [rsi + 8], 0x2c
mov qword [rsi], rax
jmp 0x1400037ac
mov rbx, qword [rsp + 0x50]
movups xmm0, xmmword [r12]
xor r8d, r8d
mov qword [rsp + 0xc0], r14
lea r15, [rsp + 0xc0]
lea r13, [rsp + 0xac]
movaps xmmword [rsp + 0xb0], xmm0
mov rdi, rbx
mov qword [rsp + 0xc8], rdi
movaps xmm1, xmmword [rsp + 0xc0]
mov rcx, r15
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x48], r8
movaps xmmword [rsp + 0x90], xmm1
call fcn.1400011e8
mov edx, dword [rsp + 0xd0]
mov rcx, r13
mov rdi, qword [rsp + 0xc8]
call fcn.1400019b9
mov r8, qword [rsp + 0x48]
cdqe
add r8, rax
test rdi, rdi
jne 0x140003537
lea rcx, [rsp + 0xb0]
mov edx, 2
lea r15, [rsp + 0x60]
call fcn.140001b6d
mov qword [rsp + 0xc0], r14
mov r13, rax
mov qword [rsp + 0xc8], rbx
mov rdx, qword [rsp + 0x58]
mov rcx, r15
movaps xmm2, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0x90], xmm2
call fcn.1400011e8
mov rax, qword [rsp + 0x70]
movups xmm3, xmmword [rsp + 0x60]
lea rcx, [rdi + rdi]
add rcx, r13
mov qword [rsp + 0xd0], rax
mov edx, eax
movaps xmmword [rsp + 0xc0], xmm3
mov rbx, qword [rsp + 0xc8]
call fcn.1400019b9
cdqe
add rdi, rax
test rbx, rbx
jne 0x1400035a9
xor edx, edx
mov rcx, r13
mov dword [rsp + 0x28], pe_nt_image_headers64
xor r9d, r9d
mov dword [rsp + 0x30], edx
mov r8d, 7
mov edx, 0x80000000
xor r13d, r13d
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x1400036b5
mov r13, qword [r12]
mov rdi, qword [r12 + 8]
movsxd r15, eax
lea r9, [rsp + 0xc0]
sub rdi, r13
cmp rdi, rbx
jle 0x1400036a3
mov r8, rdi
mov eax, 0x7fffffff
mov qword [rsp + 0x48], r9
mov rcx, r15
sub r8, rbx
lea rdx, [r13 + rbx]
cmp r8, rax
cmovg r8, rax
xor eax, eax
mov qword [rsp + 0x20], rax
mov dword [rsp + 0xc0], r8d
call qword [sym.imp.KERNEL32.dll_ReadFile]
movsxd rax, dword [rsp + 0xc0]
test eax, eax
jle 0x1400036a3
mov r9, qword [rsp + 0x48]
add rbx, rax
jmp 0x140003654
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp rdi, rbx
je 0x1400036c1
add qword [r12], rbx
mov qword [rsi], r13
mov qword [rsi + 8], rbx
jmp 0x1400037ac
lea rax, str.pkg_config:
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rbp + 0x18]
mov qword [rsp + 0x98], 0xc
mov qword [rsp + 0x90], rax
call fcn.140002205
lea rax, str.could_not_read_package_
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x98], 0x18
mov qword [rsp + 0x90], rax
mov rcx, qword [rbp + 0x18]
call fcn.140002205
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rbp + 0x18]
movaps xmmword [rsp + 0x90], xmm6
call fcn.140002205
lea rax, str._from_
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x98], 8
mov qword [rsp + 0x90], rax
mov rcx, qword [rbp + 0x18]
call fcn.140002205
mov rax, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x90], r14
mov rcx, qword [rbp + 0x18]
mov qword [rsp + 0x98], rax
call fcn.140002205
lea rax, [0x140008145]
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x98], 2
mov qword [rsp + 0x90], rax
mov rcx, qword [rbp + 0x18]
call fcn.140002205
mov rcx, qword [rbp + 0x18]
call fcn.140001e7f
call fcn.140001410
movaps xmm6, xmmword [rsp + 0xe0]
lea rsp, [rbp - 0x38]
mov rax, rsi
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret