Function at 0x140008150
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, [0x14002d216]
call fcn.140012d24
test rax, rax
je 0x14000848b
mov rsi, rax
mov rcx, rax
xor edx, edx
mov r8d, 2
call fcn.1400135c8
mov ebp, 6
test eax, eax
jne 0x140008481
mov rcx, rsi
call fcn.1400137fc
test eax, eax
jle 0x140008481
mov ebx, eax
lea rcx, [rbx + 1]
call fcn.14000aee4
mov r15, rax
mov rcx, rsi
xor edx, edx
xor r8d, r8d
call fcn.1400135c8
mov ebp, 6
test eax, eax
jne 0x140008479
mov edx, 1
mov rcx, r15
mov r8, rbx
mov r9, rsi
call fcn.140013304
cmp rax, rbx
jne 0x140008479
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 0x14000822a
cmp al, 0xd
jne 0x140008238
inc rbx
inc rbp
inc rcx
inc rdi
jmp 0x140008220
mov r15, rbp
mov edx, eax
test al, al
je 0x140008469
cmp dl, 0xd
je 0x14000825e
cmp dl, 0xa
je 0x14000825e
mov dl, byte [r15]
inc r15
test dl, dl
jne 0x140008245
xor r15d, r15d
jmp 0x140008265
mov byte [r15 - 1], 0
mov al, byte [rbx]
cmp al, 0x23
je 0x140008460
cmp al, 0x3b
je 0x140008460
jmp 0x140008287
cmp al, 0x20
jne 0x140008299
mov al, byte [rbp]
inc rbp
inc rcx
inc rdi
cmp al, 0x1f
jg 0x140008277
cmp al, 9
je 0x14000827b
test al, al
je 0x140008460
jmp 0x1400082b2
cmp al, 0x5b
jne 0x1400082b2
mov rdx, rbp
mov bl, byte [rdx]
cmp bl, 0x5d
jne 0x1400082d4
inc rdx
inc rcx
inc rdi
jmp 0x1400082a0
test r11b, 1
je 0x140008460
lea rcx, [rbp - 1]
mov qword [rsp + 0x30], rcx
cmp al, 0x3d
jne 0x1400082f7
mov al, byte [rcx + 1]
inc rcx
inc rbp
jmp 0x1400082c5
test bl, bl
jne 0x1400082e0
xor r11d, r11d
jmp 0x140008460
cmp bl, 0x5d
je 0x140008311
mov bl, byte [rdx + 1]
inc rdx
inc rcx
inc rdi
test bl, bl
jne 0x1400082e0
jmp 0x14000832c
test al, al
je 0x140008460
cmp al, 0x3d
je 0x140008377
mov al, byte [rbp]
inc rbp
test al, al
jne 0x1400082ff
xor ebp, ebp
jmp 0x14000837b
mov byte [rdx], 0
mov dl, byte [rcx]
cmp dl, 9
je 0x140008320
cmp dl, 0x20
jne 0x140008328
inc rcx
inc rdi
jmp 0x140008314
test dl, dl
jne 0x14000833c
mov ebx, r9d
mov rcx, rbp
test r8, r8
je 0x140008355
mov rdx, r8
jmp 0x140008358
cmp dl, 0x20
je 0x1400083c7
cmp dl, 9
je 0x1400083c7
mov dl, byte [rdi]
inc rdi
test dl, dl
jne 0x14000833c
jmp 0x1400082d8
mov rdx, r10
mov rdi, r8
mov rbp, r10
call fcn.140013d60
mov r10, rbp
mov r8, rdi
test eax, eax
sete r11b
mov r9d, ebx
jmp 0x140008460
mov byte [rbp - 1], 0
test r12, r12
je 0x140008460
cmp byte [r12], 0
je 0x140008460
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.140013d60
test eax, eax
je 0x1400083d0
mov rcx, rbx
call fcn.140013f50
add rbx, rax
inc rbx
inc rdi
cmp byte [rbx], 0
jne 0x14000839e
jmp 0x140008427
mov byte [rdi - 1], 0
jmp 0x1400082d8
mov rax, rdi
mov qword [rsp + 0x30], rdi
cmp eax, r13d
jae 0x140008427
mov rcx, rbp
call fcn.140013f50
mov rbx, rax
inc rbx
mov rcx, rbx
call fcn.14000aee4
mov qword [rsp + 0x38], rax
mov rcx, rax
xor edx, edx
mov r8, rbx
call fcn.14000ce70
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 0x140008436
call fcn.14000b190
mov rbx, qword [r14 + rdi*8]
jmp 0x140008439
mov r8, qword [rsp + 0xb0]
mov r9d, dword [rsp + 0x28]
jmp 0x140008454
mov rbx, rdx
mov rcx, rbx
mov rdx, rbp
call fcn.140013e80
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 0x140008211
xor eax, eax
cmp r9d, r13d
setne al
lea ebp, [rax + rax*4]
mov r15, qword [rsp + 0x40]
mov rcx, r15
call fcn.14000b190
mov rcx, rsi
call fcn.140012e20
jmp 0x140008490
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