Function at 0x140007710
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rdi, r9
mov r14d, r8d
mov r13, rdx
mov rax, qword [0x140033138]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rdx, [0x14002d27a]
call fcn.140012bfc
test rax, rax
je 0x140007a03
mov rsi, rax
mov rcx, rax
xor edx, edx
mov r8d, 2
call fcn.1400135cc
mov ebp, 6
test eax, eax
jne 0x1400079f9
mov rcx, rsi
call fcn.140013800
test eax, eax
jle 0x1400079f9
mov ebx, eax
lea rcx, [rbx + 1]
call fcn.14000a920
mov r15, rax
mov rcx, rsi
xor edx, edx
xor r8d, r8d
call fcn.1400135cc
mov ebp, 6
test eax, eax
jne 0x1400079f1
mov edx, 1
mov rcx, r15
mov r8, rbx
mov r9, rsi
call fcn.140013308
cmp rax, rbx
jne 0x1400079f1
mov qword [rsp + 0x38], rdi
mov byte [r15 + rbx], 0
lea rcx, [0x140025049]
lea rdx, [rsp + 0x48]
lea r10, [0x140025046]
lea rbp, str.Strings
lea rdi, [0x14002504b]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x40], r15
lea r12, [r15 + 1]
mov rax, r15
jmp 0x140007808
add rax, 1
add r12, 1
movzx ebx, byte [rax]
cmp bl, 0xa
je 0x140007800
cmp bl, 0xd
je 0x140007800
mov r15, r12
test bl, bl
je 0x1400079e1
cmp bl, 0xa
je 0x14000783b
cmp bl, 0xd
je 0x14000783b
movzx ebx, byte [r15]
add r15, 1
test bl, bl
jne 0x140007820
xor r15d, r15d
jmp 0x140007840
mov byte [r15 - 1], 0
mov qword [rsp + 0x48], rax
mov al, byte [rax]
cmp al, 0x23
je 0x1400079d8
cmp al, 0x3b
je 0x1400079d8
jmp 0x140007869
movzx eax, byte [r12]
add r12, 1
cmp al, 9
je 0x140007860
cmp al, 0x20
je 0x140007860
lea rbx, [r12 - 1]
mov qword [rsp + 0x48], rbx
mov al, byte [r12 - 1]
test al, al
je 0x1400079d8
cmp al, 0x5b
jne 0x1400078c2
mov dword [rsp + 0x28], r8d
mov rbx, r10
mov qword [rsp + 0x48], r12
mov rbp, rdx
call fcn.140007a30
test rax, rax
je 0x1400078ba
mov rcx, rbx
mov rdx, rbp
call fcn.140007a30
test rax, rax
je 0x14000799b
xor r9d, r9d
jmp 0x1400079bd
test r9b, 1
je 0x1400079d8
mov dword [rsp + 0x2c], r9d
mov dword [rsp + 0x28], r8d
mov rcx, rdi
call fcn.140007a30
test rax, rax
je 0x140007975
mov rcx, r13
mov rdx, rbx
call fcn.140007ae0
test eax, eax
js 0x140007975
mov r12d, eax
cmp eax, r14d
jae 0x140007975
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x30], rcx
call fcn.140014220
lea rdi, [rax + 1]
mov rcx, rdi
call fcn.14000a920
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, rdi
call fcn.14000cba0
mov rax, rbx
mov r12d, r12d
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rbx + r12*8]
mov qword [rbx + r12*8], rax
test rcx, rcx
je 0x14000794a
call fcn.14000a928
mov rax, qword [rbx + r12*8]
mov rcx, rax
mov rdx, qword [rsp + 0x30]
call fcn.140014150
mov r8d, dword [rsp + 0x28]
add r8d, 1
lea rcx, [0x140025049]
lea rdx, [rsp + 0x48]
lea rdi, [0x14002504b]
jmp 0x14000798d
lea rcx, [0x140025049]
lea rdx, [rsp + 0x48]
lea rdi, [0x14002504b]
mov r8d, dword [rsp + 0x28]
mov r9d, dword [rsp + 0x2c]
lea r10, [0x140025046]
jmp 0x1400079d8
mov rdx, qword [rsp + 0xc0]
mov rcx, r12
test rdx, rdx
jne 0x1400079b2
lea rdx, str.Strings
call fcn.140014030
test eax, eax
sete r9b
mov r10, rbx
lea rcx, [0x140025049]
lea rdx, [rsp + 0x48]
lea rbp, str.Strings
mov r8d, dword [rsp + 0x28]
test r15, r15
jne 0x1400077f7
xor eax, eax
cmp r8d, r14d
setne al
lea ebp, [rax + rax*4]
mov r15, qword [rsp + 0x40]
mov rcx, r15
call fcn.14000a928
mov rcx, rsi
call fcn.140012cf8
jmp 0x140007a08
mov ebp, 6
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14000acd0
mov eax, ebp
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret