Function at 0x180008e30
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov rbx, rdx
mov rcx, rdx
call fcn.1800091e0
mov rax, qword [rbx + 0x20]
cmp byte [rax], 0x2f
jne 0x180008f47
cmp rax, qword [rbx + 0x18]
jae 0x180008e69
inc rax
mov qword [rbx + 0x20], rax
jmp 0x180008eb5
cmp byte [rbx + 0x38], 0
jne 0x180008eb5
mov rax, qword [rbx + 0x28]
mov edx, 1
mov r9, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, qword [rbx + 8]
add qword [rbx + 0x30], rax
call fcn.180034f20
mov rdx, qword [rbx + 8]
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x20], rdx
lea rcx, [rdx - 1]
add rcx, rax
mov qword [rbx + 0x18], rcx
cmp rax, qword [rbx + 0x10]
jae 0x180008eb5
mov byte [rdx + rax], 0
inc qword [rbx + 0x18]
mov byte [rbx + 0x38], 1
mov rcx, qword [rbx + 0x20]
movzx eax, byte [rcx]
cmp al, 0x2a
jne 0x180009039
cmp rcx, qword [rbx + 0x18]
jae 0x180008ed4
lea rax, [rcx + 1]
mov qword [rbx + 0x20], rax
jmp 0x180008f20
cmp byte [rbx + 0x38], 0
jne 0x180008f20
mov rax, qword [rbx + 0x28]
mov edx, 1
mov r9, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, qword [rbx + 8]
add qword [rbx + 0x30], rax
call fcn.180034f20
mov rdx, qword [rbx + 8]
mov qword [rbx + 0x20], rdx
mov qword [rbx + 0x28], rax
lea rcx, [rdx - 1]
add rcx, rax
mov qword [rbx + 0x18], rcx
cmp rax, qword [rbx + 0x10]
jae 0x180008f20
mov byte [rdx + rax], 0
inc qword [rbx + 0x18]
mov byte [rbx + 0x38], 1
mov rcx, qword [rbx + 0x20]
movzx eax, byte [rcx]
test al, al
jne 0x180008f57
mov rax, qword [rbx + 0x30]
sub rax, qword [rbx + 8]
add rax, rcx
mov dword [rsi + 0x30], shutdown
mov qword [rsi + 0x38], rax
cmp dword [rsi + 0x30], 0
je 0x180008f20
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp al, 0x2a
jne 0x180008ec4
cmp rcx, qword [rbx + 0x18]
jae 0x180008f6f
lea rax, [rcx + 1]
mov qword [rbx + 0x20], rax
jmp 0x180008fbb
cmp byte [rbx + 0x38], 0
jne 0x180008fbb
mov rax, qword [rbx + 0x28]
mov edx, 1
mov r9, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, qword [rbx + 8]
add qword [rbx + 0x30], rax
call fcn.180034f20
mov rdx, qword [rbx + 8]
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x20], rdx
lea rcx, [rdx - 1]
add rcx, rax
mov qword [rbx + 0x18], rcx
cmp rax, qword [rbx + 0x10]
jae 0x180008fbb
mov byte [rdx + rax], 0
inc qword [rbx + 0x18]
mov byte [rbx + 0x38], 1
mov rax, qword [rbx + 0x20]
cmp byte [rax], 0x2f
jne 0x180008f20
cmp rax, qword [rbx + 0x18]
jae 0x180008fdd
inc rax
mov rcx, rbx
mov qword [rbx + 0x20], rax
jmp 0x180008e48
cmp byte [rbx + 0x38], 0
jne 0x1800090e9
mov rax, qword [rbx + 0x28]
mov edx, 1
mov r9, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, qword [rbx + 8]
add qword [rbx + 0x30], rax
call fcn.180034f20
mov rdx, qword [rbx + 8]
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x20], rdx
lea rcx, [rdx - 1]
add rcx, rax
mov qword [rbx + 0x18], rcx
cmp rax, qword [rbx + 0x10]
jae 0x1800090e9
mov byte [rdx + rax], 0
mov rcx, rbx
inc qword [rbx + 0x18]
mov byte [rbx + 0x38], 1
jmp 0x180008e48
cmp al, 0x2f
jne 0x1800090c9
mov rcx, rbx
call fcn.180008bc0
nop dword [rax]
mov rax, qword [rbx + 0x20]
movzx edi, byte [rax]
test dil, dil
je 0x1800090e9
cmp rax, qword [rbx + 0x18]
jae 0x18000906f
inc rax
mov qword [rbx + 0x20], rax
jmp 0x1800090bb
cmp byte [rbx + 0x38], 0
jne 0x1800090bb
mov rax, qword [rbx + 0x28]
mov edx, 1
mov r9, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, qword [rbx + 8]
add qword [rbx + 0x30], rax
call fcn.180034f20
mov rdx, qword [rbx + 8]
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x20], rdx
lea rcx, [rdx - 1]
add rcx, rax
mov qword [rbx + 0x18], rcx
cmp rax, qword [rbx + 0x10]
jae 0x1800090bb
mov byte [rdx + rax], 0
inc qword [rbx + 0x18]
mov byte [rbx + 0x38], 1
cmp dil, 0xa
jne 0x180009050
mov rcx, rbx
jmp 0x180008e48
mov rax, qword [rbx + 0x30]
sub rax, qword [rbx + 8]
add rax, rcx
mov dword [rsi + 0x30], shutdown
mov qword [rsi + 0x38], rax
cmp dword [rsi + 0x30], 0
jne 0x180008f47
mov rcx, rbx
jmp 0x180008e48