Function at 0x140008080
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 r14, r9
mov r13d, r8d
mov r12, rdx
lea rdx, [0x14002d1d0]
call fcn.140012c54
test rax, rax
je 0x1400083bb
mov rsi, rax
mov rcx, rax
xor edx, edx
mov r8d, 2
call fcn.1400134f8
mov ebp, 6
test eax, eax
jne 0x1400083b1
mov rcx, rsi
call fcn.14001372c
test eax, eax
jle 0x1400083b1
mov ebx, eax
lea rcx, [rbx + 1]
call fcn.14000ae14
mov r15, rax
mov rcx, rsi
xor edx, edx
xor r8d, r8d
call fcn.1400134f8
mov ebp, 6
test eax, eax
jne 0x1400083a9
mov edx, 1
mov rcx, r15
mov r8, rbx
mov r9, rsi
call fcn.140013234
cmp rax, rbx
jne 0x1400083a9
mov r8, qword [rsp + 0xb0]
mov byte [r15 + rbx], 0
lea r10, str.Strings
xor r11d, r11d
xor r9d, r9d
mov qword [rsp + 0x40], r15
lea rbp, [r15 + 1]
lea rcx, [r15 + 2]
lea rdi, [r15 + 3]
mov rbx, r15
mov al, byte [rbx]
cmp al, 0xa
je 0x14000815a
cmp al, 0xd
jne 0x140008168
inc rbx
inc rbp
inc rcx
inc rdi
jmp 0x140008150
mov r15, rbp
mov edx, eax
test al, al
je 0x140008399
cmp dl, 0xd
je 0x14000818e
cmp dl, 0xa
je 0x14000818e
mov dl, byte [r15]
inc r15
test dl, dl
jne 0x140008175
xor r15d, r15d
jmp 0x140008195
mov byte [r15 - 1], 0
mov al, byte [rbx]
cmp al, 0x23
je 0x140008390
cmp al, 0x3b
je 0x140008390
jmp 0x1400081b7
cmp al, 0x20
jne 0x1400081c9
mov al, byte [rbp]
inc rbp
inc rcx
inc rdi
cmp al, 0x1f
jg 0x1400081a7
cmp al, 9
je 0x1400081ab
test al, al
je 0x140008390
jmp 0x1400081e2
cmp al, 0x5b
jne 0x1400081e2
mov rdx, rbp
mov bl, byte [rdx]
cmp bl, 0x5d
jne 0x140008204
inc rdx
inc rcx
inc rdi
jmp 0x1400081d0
test r11b, 1
je 0x140008390
lea rcx, [rbp - 1]
mov qword [rsp + 0x30], rcx
cmp al, 0x3d
jne 0x140008227
mov al, byte [rcx + 1]
inc rcx
inc rbp
jmp 0x1400081f5
test bl, bl
jne 0x140008210
xor r11d, r11d
jmp 0x140008390
cmp bl, 0x5d
je 0x140008241
mov bl, byte [rdx + 1]
inc rdx
inc rcx
inc rdi
test bl, bl
jne 0x140008210
jmp 0x14000825c
test al, al
je 0x140008390
cmp al, 0x3d
je 0x1400082a7
mov al, byte [rbp]
inc rbp
test al, al
jne 0x14000822f
xor ebp, ebp
jmp 0x1400082ab
mov byte [rdx], 0
mov dl, byte [rcx]
cmp dl, 9
je 0x140008250
cmp dl, 0x20
jne 0x140008258
inc rcx
inc rdi
jmp 0x140008244
test dl, dl
jne 0x14000826c
mov ebx, r9d
mov rcx, rbp
test r8, r8
je 0x140008285
mov rdx, r8
jmp 0x140008288
cmp dl, 0x20
je 0x1400082f7
cmp dl, 9
je 0x1400082f7
mov dl, byte [rdi]
inc rdi
test dl, dl
jne 0x14000826c
jmp 0x140008208
mov rdx, r10
mov rdi, r8
mov rbp, r10
call fcn.140013c90
mov r10, rbp
mov r8, rdi
test eax, eax
sete r11b
mov r9d, ebx
jmp 0x140008390
mov byte [rbp - 1], 0
test r12, r12
je 0x140008390
cmp byte [r12], 0
je 0x140008390
mov dword [rsp + 0x2c], r11d
mov dword [rsp + 0x28], r9d
xor edi, edi
mov rbx, r12
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
call fcn.140013c90
test eax, eax
je 0x140008300
mov rcx, rbx
call fcn.140013e80
add rbx, rax
inc rbx
inc rdi
cmp byte [rbx], 0
jne 0x1400082ce
jmp 0x140008357
mov byte [rdi - 1], 0
jmp 0x140008208
mov rax, rdi
mov qword [rsp + 0x30], rdi
cmp eax, r13d
jae 0x140008357
mov rcx, rbp
call fcn.140013e80
mov rbx, rax
inc rbx
mov rcx, rbx
call fcn.14000ae14
mov qword [rsp + 0x38], rax
mov rcx, rax
xor edx, edx
mov r8, rbx
call fcn.14000cda0
mov rax, qword [rsp + 0x30]
mov rcx, qword [r14 + rax*8]
mov rdx, qword [rsp + 0x38]
mov qword [r14 + rax*8], rdx
test rcx, rcx
je 0x140008366
call fcn.14000b0c0
mov rbx, qword [r14 + rdi*8]
jmp 0x140008369
mov r8, qword [rsp + 0xb0]
mov r9d, dword [rsp + 0x28]
jmp 0x140008384
mov rbx, rdx
mov rcx, rbx
mov rdx, rbp
call fcn.140013db0
mov r9d, dword [rsp + 0x28]
inc r9d
mov r8, qword [rsp + 0xb0]
lea r10, str.Strings
mov r11d, dword [rsp + 0x2c]
test r15, r15
jne 0x140008141
xor eax, eax
cmp r9d, r13d
setne al
lea ebp, [rax + rax*4]
mov r15, qword [rsp + 0x40]
mov rcx, r15
call fcn.14000b0c0
mov rcx, rsi
call fcn.140012d50
jmp 0x1400083c0
mov ebp, 6
mov eax, ebp
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret