Function at 0x140010450
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, [0x14003da10]
call fcn.14001edb4
test rax, rax
je 0x140010776
mov rsi, rax
mov rcx, rax
xor edx, edx
mov r8d, 2
call fcn.14001b4e8
mov ebp, 6
test eax, eax
jne 0x140010785
mov rcx, rsi
call fcn.14001c018
test eax, eax
jle 0x140010785
mov ebx, eax
lea rcx, [rbx + 1]
call fcn.14001325c
mov r15, rax
mov rcx, rsi
xor edx, edx
xor r8d, r8d
call fcn.14001b4e8
test eax, eax
jne 0x14001077d
mov edx, 1
mov rcx, r15
mov r8, rbx
mov r9, rsi
call fcn.1400206ec
cmp rax, rbx
jne 0x14001077d
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 0x140010525
cmp al, 0xd
jne 0x140010533
inc rbx
inc rbp
inc rcx
inc rdi
jmp 0x14001051b
mov r15, rbp
mov edx, eax
test al, al
je 0x140010764
cmp dl, 0xd
je 0x140010559
cmp dl, 0xa
je 0x140010559
mov dl, byte [r15]
inc r15
test dl, dl
jne 0x140010540
xor r15d, r15d
jmp 0x140010560
mov byte [r15 - 1], 0
mov al, byte [rbx]
cmp al, 0x23
je 0x14001075b
cmp al, 0x3b
je 0x14001075b
jmp 0x140010582
cmp al, 0x20
jne 0x140010594
mov al, byte [rbp]
inc rbp
inc rcx
inc rdi
cmp al, 0x1f
jg 0x140010572
cmp al, 9
je 0x140010576
test al, al
je 0x14001075b
jmp 0x1400105ad
cmp al, 0x5b
jne 0x1400105ad
mov rdx, rbp
mov bl, byte [rdx]
cmp bl, 0x5d
jne 0x1400105cf
inc rdx
inc rcx
inc rdi
jmp 0x14001059b
test r11b, 1
je 0x14001075b
lea rcx, [rbp - 1]
mov qword [rsp + 0x30], rcx
cmp al, 0x3d
jne 0x1400105f2
mov al, byte [rcx + 1]
inc rcx
inc rbp
jmp 0x1400105c0
test bl, bl
jne 0x1400105db
xor r11d, r11d
jmp 0x14001075b
cmp bl, 0x5d
je 0x14001060c
mov bl, byte [rdx + 1]
inc rdx
inc rcx
inc rdi
test bl, bl
jne 0x1400105db
jmp 0x140010627
test al, al
je 0x14001075b
cmp al, 0x3d
je 0x140010672
mov al, byte [rbp]
inc rbp
test al, al
jne 0x1400105fa
xor ebp, ebp
jmp 0x140010676
mov byte [rdx], 0
mov dl, byte [rcx]
cmp dl, 9
je 0x14001061b
cmp dl, 0x20
jne 0x140010623
inc rcx
inc rdi
jmp 0x14001060f
test dl, dl
jne 0x140010637
mov ebx, r9d
mov rcx, rbp
test r8, r8
je 0x140010650
mov rdx, r8
jmp 0x140010653
cmp dl, 0x20
je 0x1400106c2
cmp dl, 9
je 0x1400106c2
mov dl, byte [rdi]
inc rdi
test dl, dl
jne 0x140010637
jmp 0x1400105d3
mov rdx, r10
mov rdi, r8
mov rbp, r10
call fcn.140020f50
mov r10, rbp
mov r8, rdi
test eax, eax
sete r11b
mov r9d, ebx
jmp 0x14001075b
mov byte [rbp - 1], 0
test r12, r12
je 0x14001075b
cmp byte [r12], 0
je 0x14001075b
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.140020f50
test eax, eax
je 0x1400106cb
mov rcx, rbx
call fcn.140021140
add rbx, rax
inc rbx
inc rdi
cmp byte [rbx], 0
jne 0x140010699
jmp 0x140010722
mov byte [rdi - 1], 0
jmp 0x1400105d3
mov rax, rdi
mov qword [rsp + 0x30], rdi
cmp eax, r13d
jae 0x140010722
mov rcx, rbp
call fcn.140021140
mov rbx, rax
inc rbx
mov rcx, rbx
call fcn.14001325c
mov qword [rsp + 0x38], rax
mov rcx, rax
xor edx, edx
mov r8, rbx
call fcn.140015960
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 0x140010731
call fcn.140013500
mov rbx, qword [r14 + rdi*8]
jmp 0x140010734
mov r8, qword [rsp + 0xb0]
mov r9d, dword [rsp + 0x28]
jmp 0x14001074f
mov rbx, rdx
mov rcx, rbx
mov rdx, rbp
call fcn.140021070
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 0x14001050c
xor eax, eax
cmp r9d, r13d
setne al
lea ebp, [rax + rax*4]
mov rcx, qword [rsp + 0x40]
jmp 0x140010780
mov ebp, 6
jmp 0x14001078d
mov rcx, r15
call fcn.140013500
mov rcx, rsi
call fcn.140020258
mov eax, ebp
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret