Function at 0x14000b370
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, 0x100
lea rbp, [rsp + 0x40]
mov rax, qword [0x14183f828]
xor rax, rbp
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0x30], 0
mov dword [rbp + 0x24], 0x100
movsxd rax, dword [rbp + 0x24]
mov rcx, rax
call fcn.14002ccd8
mov qword [rbp + 0xa0], rax
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0x18], rax
mov dword [rbp + 0x58], 0
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rbp + 0x50], eax
cmp dword [rbp + 0x50], 0xffffffff
jne 0x14000b3ec
jmp 0x14000b905
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 + 0xd8]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0x30], rax
cmp qword [rbp + 0x30], 0xffffffffffffffff
jne 0x14000b430
jmp 0x14000b905
mov dword [rbp], 0
mov dword [rbp + 0x98], 0x8000
mov eax, 0x8000
call fcn.1401cc910
sub rsp, rax
lea rax, [rsp + 0x40]
mov qword [rbp + 0x38], rax
mov qword [rsp + 0x20], 0
lea r9, [rbp + 4]
mov r8d, 0x8000
mov rdx, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14000b481
jmp 0x14000b905
cmp dword [rbp + 0xe0], 0xffffffff
jne 0x14000b536
mov dword [rbp + 0x28], 0
mov dword [rbp + 0x20], 0
jmp 0x14000b4a6
mov eax, dword [rbp + 0x20]
inc eax
mov dword [rbp + 0x20], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0x20], eax
jae 0x14000b4d2
mov eax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x38]
movsx eax, byte [rcx + rax]
cmp eax, 0xd
je 0x14000b4ce
mov eax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x38]
movsx eax, byte [rcx + rax]
cmp eax, 0xa
jne 0x14000b4d0
jmp 0x14000b4d2
jmp 0x14000b49e
mov eax, dword [rbp + 4]
cmp dword [rbp + 0x28], eax
jne 0x14000b4e6
mov dword [rbp + 0xe0], 0
jmp 0x14000b536
mov eax, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x38]
movsx eax, byte [rcx + rax]
cmp eax, 0xa
jne 0x14000b502
mov dword [rbp + 0xe0], 1
jmp 0x14000b536
mov eax, dword [rbp + 4]
dec eax
cmp dword [rbp + 0x28], eax
jae 0x14000b52c
mov eax, dword [rbp + 0x28]
inc eax
mov eax, eax
mov rcx, qword [rbp + 0x38]
movsx eax, byte [rcx + rax]
cmp eax, 0xa
jne 0x14000b52c
mov dword [rbp + 0xe0], 0
jmp 0x14000b536
mov dword [rbp + 0xe0], 2
mov rax, qword [rbp + 0xd0]
mov ecx, dword [rbp + 0xe0]
mov dword [rax + 0x4c], ecx
movsxd rax, dword [rbp + 0xe0]
lea rcx, section..data
mov rax, qword [rcx + rax*8]
mov qword [rbp + 0x70], rax
mov rax, qword [rbp + 0xd0]
add rax, 0x58
mov r8d, 0x1000
xor edx, edx
mov rcx, rax
call fcn.14000cb7c
mov dword [rbp + 0x10], 0
mov dword [rbp + 8], 0
call fcn.1400031a4
mov dword [rbp + 0x4c], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0x10], eax
jae 0x14000b784
mov eax, dword [rbp + 0x10]
mov rcx, qword [rbp + 0x38]
movsx eax, byte [rcx + rax]
mov dword [rbp + 0x48], eax
mov eax, dword [rbp + 0x10]
inc eax
mov dword [rbp + 0x10], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0x10], eax
jne 0x14000b5f1
cmp dword [rbp + 4], 0x8000
jne 0x14000b5f1
mov qword [rsp + 0x20], 0
lea r9, [rbp + 4]
mov r8d, 0x8000
mov rdx, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14000b5ea
jmp 0x14000b905
mov dword [rbp + 0x10], 0
movsxd rax, dword [rbp]
mov rcx, qword [rbp + 0x18]
mov dl, byte [rbp + 0x48]
mov byte [rcx + rax], dl
mov eax, dword [rbp]
inc eax
mov dword [rbp], eax
mov eax, dword [rbp + 0x24]
cmp dword [rbp], eax
jne 0x14000b670
mov eax, dword [rbp + 0x24]
add eax, 0x100
mov dword [rbp + 0x24], eax
movsxd rax, dword [rbp + 0x24]
mov rcx, rax
call fcn.14002ccd8
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
mov qword [rbp + 0x68], rax
movsxd rax, dword [rbp]
mov r8, rax
mov rdx, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x68]
call fcn.1401cd690
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0xb0], rax
mov edx, 1
mov rcx, qword [rbp + 0xb0]
call fcn.14002ec48
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x18], rax
movsx eax, byte [rbp + 0x48]
movsxd rcx, dword [rbp + 8]
mov rdx, qword [rbp + 0x70]
movsx ecx, byte [rdx + rcx]
cmp eax, ecx
jne 0x14000b778
mov eax, dword [rbp + 8]
inc eax
mov dword [rbp + 8], eax
movsxd rax, dword [rbp + 8]
mov rcx, qword [rbp + 0x70]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x14000b776
mov eax, dword [rbp + 8]
mov ecx, dword [rbp]
sub ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rbp + 0x18]
mov byte [rcx + rax], 0
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x40], rax
cmp qword [rbp + 0x40], 0
jne 0x14000b6d4
mov qword [rbp + 0x80], 0
jmp 0x14000b749
mov rcx, qword [rbp + 0x40]
call fcn.1401d2100
inc eax
mov dword [rbp + 0xc], eax
cmp dword [rbp + 0xc], 0x3fffffff
jle 0x14000b6f5
mov qword [rbp + 0x78], 0
jmp 0x14000b73e
movsxd rax, dword [rbp + 0xc]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14000b712
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1401cc910
sub rsp, rax
lea rax, [rsp + 0x40]
mov r9d, dword [rbp + 0x4c]
mov r8d, dword [rbp + 0xc]
mov rdx, qword [rbp + 0x40]
mov rcx, rax
call fcn.14000515c
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x80], rax
mov r9d, 0xffffffff
mov r8d, 0xffffffff
mov rdx, qword [rbp + 0x80]
mov rcx, qword [rbp + 0xd0]
call fcn.14000a9d4
mov dword [rbp], 0
mov dword [rbp + 8], 0
jmp 0x14000b77f
mov dword [rbp + 8], 0
jmp 0x14000b58d
movsxd rax, dword [rbp]
mov rcx, qword [rbp + 0x18]
mov byte [rcx + rax], 0
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x40], rax
cmp qword [rbp + 0x40], 0
jne 0x14000b7ac
mov qword [rbp + 0x90], 0
jmp 0x14000b82a
mov rcx, qword [rbp + 0x40]
call fcn.1401d2100
inc eax
mov dword [rbp + 0xc], eax
cmp dword [rbp + 0xc], 0x3fffffff
jle 0x14000b7d0
mov qword [rbp + 0x88], 0
jmp 0x14000b81c
movsxd rax, dword [rbp + 0xc]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14000b7ed
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1401cc910
sub rsp, rax
lea rax, [rsp + 0x40]
mov r9d, dword [rbp + 0x4c]
mov r8d, dword [rbp + 0xc]
mov rdx, qword [rbp + 0x40]
mov rcx, rax
call fcn.14000515c
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0x90], rax
mov r9d, 0xffffffff
mov r8d, 0xffffffff
mov rdx, qword [rbp + 0x90]
mov rcx, qword [rbp + 0xd0]
call fcn.14000a9d4
mov rax, qword [rbp + 0xd0]
mov dword [rax + 0x40], 1
mov eax, dword [rbp + 0x50]
and eax, 1
test eax, eax
je 0x14000b86a
mov dword [rbp + 0x54], 1
jmp 0x14000b871
mov dword [rbp + 0x54], 0
mov rax, qword [rbp + 0xd0]
mov ecx, dword [rbp + 0x54]
mov dword [rax + 0x44], ecx
mov rax, qword [rbp + 0xd0]
mov dword [rax + 0x48], 0
mov rax, qword [rbp + 0xd0]
mov dword [rax + 0xb4], 0
mov rax, qword [rbp + 0xd0]
mov dword [rax + 0xb0], 0
mov rax, qword [rbp + 0xd0]
mov dword [rax + 0x54], 0x80000
mov rax, qword [rbp + 0xd0]
mov dword [rax + 0xa8], 0
mov rax, qword [rbp + 0xd0]
mov dword [rax + 0xac], 0
mov dword [rbp + 0x58], 1
mov dword [rsp + 0x20], 0xffffffff
mov r9d, 0x1000
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0xd0]
call fcn.14000d998
nop
cmp qword [rbp + 0x18], 0
je 0x14000b922
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x60], rax
mov edx, 1
mov rcx, qword [rbp + 0x60]
call fcn.14002ec48
cmp qword [rbp + 0x30], 0
je 0x14000b933
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x58]
mov rcx, qword [rbp + 0xb8]
xor rcx, rbp
call fcn.1401cc970
lea rsp, [rbp + 0xc0]
pop rbp
ret