Function at 0x14000b3b0
Capabilities:
Check if file exists
Get file attributes
Read file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0xd0
lea rbp, [rsp + 0x40]
mov rax, qword [0x1407fb600]
xor rax, rbp
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x28], 0
mov dword [rbp + 0x1c], 0x100
movsxd rax, dword [rbp + 0x1c]
mov rcx, rax
call fcn.14002e0ec
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x10], rax
mov dword [rbp + 0x44], 0
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [rbp + 0x3c], eax
cmp dword [rbp + 0x3c], 0xffffffff
jne 0x14000b426
jmp 0x14000b808
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000080
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0xffffffffffffffff
jne 0x14000b46a
jmp 0x14000b808
mov dword [rbp], 0
mov dword [rbp + 0x60], 0x8000
mov eax, 0x8000
call fcn.1401e8600
sub rsp, rax
lea rax, [rsp + 0x40]
mov qword [rbp + 0x30], rax
mov qword [rsp + 0x20], 0
lea r9, [rbp + 4]
mov r8d, 0x8000
mov rdx, qword [rbp + 0x30]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14000b4b8
jmp 0x14000b808
cmp dword [rbp + 0xb0], 0xffffffff
jne 0x14000b56d
mov dword [rbp + 0x20], 0
mov dword [rbp + 0x18], 0
jmp 0x14000b4dd
mov eax, dword [rbp + 0x18]
inc eax
mov dword [rbp + 0x18], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0x18], eax
jae 0x14000b509
mov eax, dword [rbp + 0x18]
mov rcx, qword [rbp + 0x30]
movsx eax, byte [rcx + rax]
cmp eax, 0xd
je 0x14000b505
mov eax, dword [rbp + 0x18]
mov rcx, qword [rbp + 0x30]
movsx eax, byte [rcx + rax]
cmp eax, 0xa
jne 0x14000b507
jmp 0x14000b509
jmp 0x14000b4d5
mov eax, dword [rbp + 4]
cmp dword [rbp + 0x20], eax
jne 0x14000b51d
mov dword [rbp + 0xb0], 0
jmp 0x14000b56d
mov eax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x30]
movsx eax, byte [rcx + rax]
cmp eax, 0xa
jne 0x14000b539
mov dword [rbp + 0xb0], 1
jmp 0x14000b56d
mov eax, dword [rbp + 4]
dec eax
cmp dword [rbp + 0x20], eax
jae 0x14000b563
mov eax, dword [rbp + 0x20]
inc eax
mov eax, eax
mov rcx, qword [rbp + 0x30]
movsx eax, byte [rcx + rax]
cmp eax, 0xa
jne 0x14000b563
mov dword [rbp + 0xb0], 0
jmp 0x14000b56d
mov dword [rbp + 0xb0], 2
mov rax, qword [rbp + 0xa0]
mov ecx, dword [rbp + 0xb0]
mov dword [rax + 0x4c], ecx
movsxd rax, dword [rbp + 0xb0]
lea rcx, section..data
mov rax, qword [rcx + rax*8]
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0xa0]
add rax, 0x58
mov r8d, 0x1000
xor edx, edx
mov rcx, rax
call fcn.14000cae0
mov dword [rbp + 0xc], 0
mov dword [rbp + 8], 0
call fcn.1401ce2a0
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0xc], eax
jae 0x14000b71c
mov eax, dword [rbp + 0xc]
mov rcx, qword [rbp + 0x30]
movsx eax, byte [rcx + rax]
mov dword [rbp + 0x38], eax
mov eax, dword [rbp + 0xc]
inc eax
mov dword [rbp + 0xc], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0xc], eax
jne 0x14000b628
cmp dword [rbp + 4], 0x8000
jne 0x14000b628
mov qword [rsp + 0x20], 0
lea r9, [rbp + 4]
mov r8d, 0x8000
mov rdx, qword [rbp + 0x30]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14000b621
jmp 0x14000b808
mov dword [rbp + 0xc], 0
movsxd rax, dword [rbp]
mov rcx, qword [rbp + 0x10]
movzx edx, byte [rbp + 0x38]
mov byte [rcx + rax], dl
mov eax, dword [rbp]
inc eax
mov dword [rbp], eax
mov eax, dword [rbp + 0x1c]
cmp dword [rbp], eax
jne 0x14000b69c
mov eax, dword [rbp + 0x1c]
add eax, 0x100
mov dword [rbp + 0x1c], eax
movsxd rax, dword [rbp + 0x1c]
mov rcx, rax
call fcn.14002e0ec
mov qword [rbp + 0x70], rax
mov rax, qword [rbp + 0x70]
mov qword [rbp + 0x50], rax
movsxd rax, dword [rbp]
mov r8, rax
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rbp + 0x50]
call fcn.1401e98a0
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x78], rax
mov edx, 1
mov rcx, qword [rbp + 0x78]
call fcn.1401e90c0
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x10], rax
movsx eax, byte [rbp + 0x38]
movsxd rcx, dword [rbp + 8]
mov rdx, qword [rbp + 0x58]
movsx ecx, byte [rdx + rcx]
cmp eax, ecx
jne 0x14000b710
mov eax, dword [rbp + 8]
inc eax
mov dword [rbp + 8], eax
movsxd rax, dword [rbp + 8]
mov rcx, qword [rbp + 0x58]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x14000b70e
mov eax, dword [rbp + 8]
mov ecx, dword [rbp]
sub ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rbp + 0x10]
mov byte [rcx + rax], 0
mov rcx, qword [rbp + 0x10]
call fcn.14000d890
mov r9d, 0xffffffff
mov r8d, 0xffffffff
mov rdx, rax
mov rcx, qword [rbp + 0xa0]
call fcn.14000aa80
mov dword [rbp], 0
mov dword [rbp + 8], 0
jmp 0x14000b717
mov dword [rbp + 8], 0
jmp 0x14000b5c4
movsxd rax, dword [rbp]
mov rcx, qword [rbp + 0x10]
mov byte [rcx + rax], 0
mov rcx, qword [rbp + 0x10]
call fcn.14000d890
mov r9d, 0xffffffff
mov r8d, 0xffffffff
mov rdx, rax
mov rcx, qword [rbp + 0xa0]
call fcn.14000aa80
mov rax, qword [rbp + 0xa0]
mov dword [rax + 0x40], 1
mov eax, dword [rbp + 0x3c]
and eax, 1
test eax, eax
je 0x14000b76d
mov dword [rbp + 0x40], 1
jmp 0x14000b774
mov dword [rbp + 0x40], 0
mov rax, qword [rbp + 0xa0]
mov ecx, dword [rbp + 0x40]
mov dword [rax + 0x44], ecx
mov rax, qword [rbp + 0xa0]
mov dword [rax + 0x48], 0
mov rax, qword [rbp + 0xa0]
mov dword [rax + 0xb4], 0
mov rax, qword [rbp + 0xa0]
mov dword [rax + 0xb0], 0
mov rax, qword [rbp + 0xa0]
mov dword [rax + 0x54], 0x80000
mov rax, qword [rbp + 0xa0]
mov dword [rax + 0xa8], 0
mov rax, qword [rbp + 0xa0]
mov dword [rax + 0xac], 0
mov dword [rbp + 0x44], 1
mov dword [rsp + 0x20], 0xffffffff
mov r9d, 0x1000
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0xa0]
call fcn.14000da40
nop
cmp qword [rbp + 0x10], 0
je 0x14000b825
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x48], rax
mov edx, 1
mov rcx, qword [rbp + 0x48]
call fcn.1401e90c0
cmp qword [rbp + 0x28], 0
je 0x14000b836
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x44]
mov rcx, qword [rbp + 0x80]
xor rcx, rbp
call fcn.1401e8670
lea rsp, [rbp + 0x90]
pop rbp
ret