Function at 0x1400161c0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
sub rsp, 0x88
xor eax, eax
lea rdx, [0x140068e48]
mov qword [rcx], rax
mov rbx, rcx
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x30], rax
mov rcx, qword [0x140066038]
call fcn.1400331d8
mov rsi, rax
test rax, rax
je 0x140016575
xor edx, edx
mov qword [rsp + 0x78], rdi
mov rcx, rax
lea r8d, [rdx + 2]
call fcn.1400309dc
mov rcx, rsi
call fcn.140030254
mov rcx, rsi
movsxd rdi, eax
call fcn.1400370a4
test edi, edi
jle 0x140016568
mov rcx, rdi
mov qword [rsp + 0x80], rbp
call fcn.14002fc3c
mov rbp, rax
test rax, rax
je 0x140016560
mov r9, rsi
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.140036fdc
cmp rax, rdi
jne 0x140016558
mov qword [rsp + 0x70], r12
lea r9, [rsp + 0xa0]
mov qword [rsp + 0x68], r13
xor r8d, r8d
mov qword [rsp + 0x60], r14
mov rdx, rdi
mov rcx, rbp
mov qword [rsp + 0x58], r15
mov qword [rsp + 0xa0], 0
call fcn.14000caa0
mov rax, qword [rsp + 0xa0]
lea rdx, [0x140068e50]
mov rcx, rax
mov qword [rsp + 0xa8], rax
call fcn.14002edb0
lea rdx, [0x140068e54]
mov qword [rsp + 0x48], rax
mov rcx, rax
mov rdi, rax
call fcn.14002edb0
lea rdx, [0x140068e5c]
mov qword [rsp + 0xb0], rax
mov rcx, rax
mov r13, rax
call fcn.14002edb0
lea rdx, [0x140068e64]
mov qword [rsp + 0x20], rax
mov rcx, rax
mov r12, rax
call fcn.14002edb0
lea rdx, [0x140068e6c]
mov qword [rsp + 0x30], rax
mov rcx, rax
call fcn.14002edb0
lea rdx, [0x140068e74]
mov qword [rsp + 0x40], rax
mov rcx, rax
call fcn.14002edb0
sub r12, qword [rsp + 0xb0]
mov r14, rax
mov rax, qword [rsp + 0x30]
mov r15, rdi
sub rax, qword [rsp + 0x20]
sub r13, rdi
sub r15, qword [rsp + 0xa8]
sub rax, 5
mov qword [rsp + 0xb8], rax
mov rdi, 0xffffffffffffffff
mov rax, qword [rsp + 0x40]
sub rax, qword [rsp + 0x30]
sub rax, 5
mov qword [rsp + 0x28], rax
mov rax, r14
sub rax, qword [rsp + 0x40]
sub rax, 5
mov qword [rsp + 0x38], rax
nop
cmp byte [r14 + rdi + 1], 0
lea rdi, [rdi + 1]
jne 0x140016390
lea rcx, [r15 - 5]
call fcn.14002fc3c
lea rcx, [r13 - 4]
mov qword [rbx], rax
call fcn.14002fc3c
lea rcx, [r12 - 5]
mov qword [rbx + 8], rax
call fcn.14002fc3c
mov rcx, qword [rsp + 0xb8]
mov qword [rbx + 0x10], rax
call fcn.14002fc3c
mov rcx, qword [rsp + 0x28]
mov qword [rbx + 0x18], rax
call fcn.14002fc3c
mov rcx, qword [rsp + 0x38]
mov qword [rbx + 0x20], rax
call fcn.14002fc3c
lea rcx, [rdi - 4]
mov qword [rbx + 0x28], rax
call fcn.14002fc3c
mov rcx, qword [rbx]
mov qword [rbx + 0x30], rax
test rcx, rcx
je 0x140016537
cmp qword [rbx + 8], 0
je 0x140016537
cmp qword [rbx + 0x10], 0
je 0x140016537
cmp qword [rbx + 0x18], 0
je 0x140016537
cmp qword [rbx + 0x20], 0
je 0x140016537
cmp qword [rbx + 0x28], 0
je 0x140016537
test rax, rax
je 0x140016537
mov rdx, qword [rsp + 0xa8]
lea r8, [r15 - 6]
add rdx, 5
call fcn.140035f00
mov rax, qword [rbx]
lea r8, [r13 - 5]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rbx + 8]
add rdx, 4
mov byte [rax + r15 - 6], 0
call fcn.140035f00
mov rax, qword [rbx + 8]
lea r8, [r12 - 6]
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rbx + 0x10]
add rdx, 5
mov byte [rax + r13 - 5], 0
call fcn.140035f00
mov rax, qword [rbx + 0x10]
mov r15, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rbx + 0x18]
add rdx, 5
mov byte [rax + r12 - 6], 0
lea r8, [r15 - 1]
call fcn.140035f00
mov rax, qword [rbx + 0x18]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rbx + 0x20]
add rdx, 5
mov byte [rax + r15 - 1], 0
mov r15, qword [rsp + 0x28]
lea r8, [r15 - 1]
call fcn.140035f00
mov rax, qword [rbx + 0x20]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rbx + 0x28]
add rdx, 5
mov byte [rax + r15 - 1], 0
mov r15, qword [rsp + 0x38]
lea r8, [r15 - 1]
call fcn.140035f00
mov rax, qword [rbx + 0x28]
lea r8, [rdi - 5]
mov rcx, qword [rbx + 0x30]
lea rdx, [r14 + 5]
mov byte [rax + r15 - 1], 0
call fcn.140035f00
mov rax, qword [rbx + 0x30]
mov byte [rax + rdi - 5], 0
mov rcx, qword [rsp + 0xa0]
call fcn.14002fc28
mov r15, qword [rsp + 0x58]
mov r14, qword [rsp + 0x60]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0x70]
mov rcx, rbp
call fcn.14002fc28
mov rbp, qword [rsp + 0x80]
mov rcx, rsi
call fcn.140030770
mov rdi, qword [rsp + 0x78]
mov rax, rbx
add rsp, 0x88
pop rsi
pop rbx
ret