Function at 0x140008060
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, [0x14002d21c]
call fcn.140012bc4
test rax, rax
je 0x140008393
mov rsi, rax
mov rcx, rax
xor edx, edx
mov r8d, 2
call fcn.140013594
mov ebp, 6
test eax, eax
jne 0x140008389
mov rcx, rsi
call fcn.1400137c8
test eax, eax
jle 0x140008389
mov ebx, eax
lea rcx, [rbx + 1]
call fcn.14000adcc
mov r15, rax
mov rcx, rsi
xor edx, edx
xor r8d, r8d
call fcn.140013594
mov ebp, 6
test eax, eax
jne 0x140008381
mov edx, 1
mov rcx, r15
mov r8, rbx
mov r9, rsi
call fcn.1400132d0
cmp rax, rbx
jne 0x140008381
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 0x14000813a
cmp al, 0xd
jne 0x140008148
inc rbx
inc rbp
inc rcx
inc rdi
jmp 0x140008130
mov r15, rbp
mov edx, eax
test al, al
je 0x140008371
cmp dl, 0xa
je 0x14000816e
cmp dl, 0xd
je 0x14000816e
mov dl, byte [r15]
inc r15
test dl, dl
jne 0x140008155
xor r15d, r15d
jmp 0x140008175
mov byte [r15 - 1], 0
mov al, byte [rbx]
cmp al, 0x23
je 0x140008368
cmp al, 0x3b
je 0x140008368
jmp 0x140008197
cmp al, 0x20
jne 0x1400081a9
mov al, byte [rbp]
inc rbp
inc rcx
inc rdi
cmp al, 0x1f
jg 0x140008187
cmp al, 9
je 0x14000818b
test al, al
je 0x140008368
jmp 0x1400081c2
cmp al, 0x5b
jne 0x1400081c2
mov rdx, rbp
mov bl, byte [rdx]
cmp bl, 0x5d
jne 0x1400081e4
inc rdx
inc rcx
inc rdi
jmp 0x1400081b0
test r11b, 1
je 0x140008368
lea rcx, [rbp - 1]
mov qword [rsp + 0x30], rcx
cmp al, 0x3d
jne 0x140008207
mov al, byte [rcx + 1]
inc rcx
inc rbp
jmp 0x1400081d5
test bl, bl
jne 0x1400081f0
xor r11d, r11d
jmp 0x140008368
cmp bl, 0x5d
je 0x140008221
mov bl, byte [rdx + 1]
inc rdx
inc rcx
inc rdi
test bl, bl
jne 0x1400081f0
jmp 0x14000823c
test al, al
je 0x140008368
cmp al, 0x3d
je 0x140008287
mov al, byte [rbp]
inc rbp
test al, al
jne 0x14000820f
xor ebp, ebp
jmp 0x14000828b
mov byte [rdx], 0
mov dl, byte [rcx]
cmp dl, 9
je 0x140008230
cmp dl, 0x20
jne 0x140008238
inc rcx
inc rdi
jmp 0x140008224
test dl, dl
jne 0x14000824c
mov ebx, r9d
mov rcx, rbp
test r8, r8
je 0x140008265
mov rdx, r8
jmp 0x140008268
cmp dl, 9
je 0x1400082d7
cmp dl, 0x20
je 0x1400082d7
mov dl, byte [rdi]
inc rdi
test dl, dl
jne 0x14000824c
jmp 0x1400081e8
mov rdx, r10
mov rdi, r8
mov rbp, r10
call fcn.140014000
mov r10, rbp
mov r8, rdi
test eax, eax
sete r11b
mov r9d, ebx
jmp 0x140008368
mov byte [rbp - 1], 0
test r12, r12
je 0x140008368
cmp byte [r12], 0
je 0x140008368
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.140014000
test eax, eax
je 0x1400082e0
mov rcx, rbx
call fcn.1400141f0
add rbx, rax
inc rbx
inc rdi
cmp byte [rbx], 0
jne 0x1400082ae
jmp 0x14000832f
mov byte [rdi - 1], 0
jmp 0x1400081e8
mov rbx, rdi
cmp ebx, r13d
jae 0x14000832f
mov rcx, rbp
call fcn.1400141f0
lea rcx, [rax + 1]
mov qword [rsp + 0x30], rcx
call fcn.14000adcc
mov qword [rsp + 0x38], rax
mov rcx, rax
xor edx, edx
mov r8, qword [rsp + 0x30]
call fcn.14000cd10
mov rcx, qword [r14 + rbx*8]
mov rdx, qword [rsp + 0x38]
mov qword [r14 + rbx*8], rdx
test rcx, rcx
je 0x14000833e
call fcn.14000b078
mov rax, qword [r14 + rdi*8]
jmp 0x140008341
mov r8, qword [rsp + 0xb0]
mov r9d, dword [rsp + 0x28]
jmp 0x14000835c
mov rax, rdx
mov rcx, rax
mov rdx, rbp
call fcn.140014120
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 0x140008121
xor eax, eax
cmp r9d, r13d
setne al
lea ebp, [rax + rax*4]
mov r15, qword [rsp + 0x40]
mov rcx, r15
call fcn.14000b078
mov rcx, rsi
call fcn.140012cc0
jmp 0x140008398
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