Function at 0x140007560
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rbx, r9
mov edi, r8d
mov r14, rdx
mov rax, qword [0x140036138]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rdx, [0x14002f9c2]
call fcn.140012d80
test rax, rax
je 0x140007844
mov rsi, rax
mov rcx, rax
xor edx, edx
mov r8d, 2
call fcn.140013734
mov ebp, 6
test eax, eax
jne 0x14000783a
mov rcx, rsi
call fcn.140013944
test eax, eax
jle 0x14000783a
mov r12d, eax
lea rcx, [r12 + 1]
call fcn.14000a950
mov r13, rax
mov rcx, rsi
xor edx, edx
xor r8d, r8d
call fcn.140013734
mov ebp, 6
test eax, eax
jne 0x140007832
mov edx, 1
mov rcx, r13
mov r8, r12
mov r9, rsi
call fcn.1400134a0
cmp rax, r12
jne 0x140007832
mov byte [r13 + r12], 0
lea rcx, [0x140027049]
lea rdx, [rsp + 0x38]
lea r10, [0x14002704b]
xor r11d, r11d
xor r9d, r9d
mov r15, r13
lea r12, [r15 + 1]
mov rax, r15
jmp 0x140007646
inc rax
inc r12
movzx r8d, byte [rax]
cmp r8d, 0xa
je 0x140007640
cmp r8d, 0xd
je 0x140007640
mov r15, r12
test r8d, r8d
je 0x140007827
nop word cs:[rax + rax]
cmp r8b, 0xa
je 0x140007691
movzx r8d, r8b
cmp r8d, 0xd
je 0x140007691
movzx r8d, byte [r15]
inc r15
test r8b, r8b
jne 0x140007670
xor r15d, r15d
jmp 0x140007696
mov byte [r15 - 1], 0
mov qword [rsp + 0x38], rax
movzx eax, byte [rax]
cmp eax, 0x23
je 0x14000781e
cmp eax, 0x3b
je 0x14000781e
jmp 0x1400076c8
movzx eax, byte [r12]
inc r12
cmp al, 9
je 0x1400076c0
movzx eax, al
cmp eax, 0x20
je 0x1400076c0
lea rbp, [r12 - 1]
mov qword [rsp + 0x38], rbp
movzx eax, byte [r12 - 1]
test eax, eax
je 0x14000781e
cmp eax, 0x5b
jne 0x140007728
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x38], r12
mov rbp, rdx
call fcn.140007870
test rax, rax
je 0x140007720
lea rcx, [0x140027046]
mov rdx, rbp
call fcn.140007870
test rax, rax
je 0x1400077e4
xor r11d, r11d
jmp 0x140007806
test r11b, 1
je 0x14000781e
mov dword [rsp + 0x24], r11d
mov dword [rsp + 0x20], r9d
mov rcx, r10
call fcn.140007870
test rax, rax
je 0x1400077c5
mov rcx, r14
mov rdx, rbp
call fcn.140007920
test eax, eax
js 0x1400077c5
mov r12d, eax
cmp eax, edi
jae 0x1400077c5
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x30], rcx
call fcn.140014790
lea rcx, [rax + 1]
mov qword [rsp + 0x28], rcx
call fcn.14000a950
mov rbp, rax
mov rcx, rax
xor edx, edx
mov r8, qword [rsp + 0x28]
call fcn.14000c660
mov r12d, r12d
mov rcx, qword [rbx + r12*8]
mov qword [rbx + r12*8], rbp
test rcx, rcx
je 0x1400077a7
call fcn.14000a958
mov rbp, qword [rbx + r12*8]
mov rcx, rbp
mov rdx, qword [rsp + 0x30]
call fcn.1400142b0
mov r9d, dword [rsp + 0x20]
inc r9d
lea rcx, [0x140027049]
jmp 0x1400077d1
lea rcx, [0x140027049]
mov r9d, dword [rsp + 0x20]
lea rdx, [rsp + 0x38]
lea r10, [0x14002704b]
mov r11d, dword [rsp + 0x24]
jmp 0x14000781e
mov rdx, qword [rsp + 0xb0]
mov rcx, r12
test rdx, rdx
jne 0x1400077fb
lea rdx, str.Strings
call fcn.140014190
test eax, eax
sete r11b
lea rcx, [0x140027049]
mov r9d, dword [rsp + 0x20]
lea rdx, [rsp + 0x38]
lea r10, [0x14002704b]
test r15, r15
jne 0x140007635
xor eax, eax
cmp r9d, edi
setne al
lea ebp, [rax + rax*4]
mov rcx, r13
call fcn.14000a958
mov rcx, rsi
call fcn.140012e80
jmp 0x140007849
mov ebp, 6
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14000ac40
mov eax, ebp
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret