Function at 0x140066990
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x490]
sub rsp, 0x590
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x5d0], rbx
mov rax, qword [0x1401990d8]
xor rax, rsp
mov qword [rbp + 0x480], rax
mov rbx, rdx
mov r14, rcx
cmp qword [rdx + 0x18], 0x10
jb 0x1400669d9
mov rdx, qword [rdx]
lea rcx, [rsp + 0x58]
call fcn.140062ab0
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.140060750
nop
cmp qword [rax + 0x18], 8
jb 0x1400669fa
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.140063c80
nop
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x140066a47
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066a42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140066d83
call fcn.14009da04
movdqa xmm0, xmmword [0x140152c90]
movdqu xmmword [rbp], xmm0
xor r15d, r15d
mov word [rbp - 0x10], r15w
cmp r14, rbx
je 0x140066a7a
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140066a6e
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, r14
call fcn.14005da50
mov qword [rsp + 0x38], r15
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140066a8c
mov rdx, qword [r14]
lea r8, [0x1401223d4]
lea rcx, [rsp + 0x38]
call fcn.1400b2a40
test eax, eax
je 0x140066aa8
xor bl, bl
jmp 0x140066d1d
xor edx, edx
mov r8d, 0x44c
lea rcx, [rbp + 0x30]
call fcn.1400a1af0
mov edi, r15d
movzx ebx, byte [rsp + 0x30]
mov eax, edi
lea rsi, [rbp + 0x30]
add rsi, rax
mov r9, qword [rsp + 0x38]
mov edx, 1
mov r8d, edx
mov rcx, rsi
call fcn.1400e2ef8
cmp rax, 1
jb 0x140066c40
cmp byte [rsi], 0xa
jne 0x140066c24
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
xor r8d, r8d
lea rdx, [0x1401221d8]
lea rcx, [rsp + 0x78]
call fcn.14005da50
nop
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x60]
call fcn.1400666d0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140066b63
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066b5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140066d89
call fcn.14009da04
mov r8d, edi
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.140066db0
test al, al
je 0x140066c33
cmp qword [rbp - 0x50], 0
je 0x140066ba2
lea rcx, [r14 + 0x20]
mov byte [rsp + 0x20], bl
lea r9, [rbp - 0x60]
xor r8d, r8d
lea rdx, [rsp + 0x48]
call fcn.140066510
mov eax, dword [rbp - 0x20]
add qword [r14 + 0x30], rax
mov edi, r15d
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140066be0
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066bdb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140066d8f
call fcn.14009da04
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x140066ac1
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066c1a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140066d95
call fcn.14009da04
jmp 0x140066ac1
inc edi
cmp edi, 0x44c
jae 0x140066c3c
jmp 0x140066ac1
lea rcx, [rbp - 0x60]
call fcn.140060a70
xor bl, bl
jmp 0x140066c42
mov bl, 1
mov rcx, qword [rsp + 0x38]
call fcn.1400b2b48
test edi, edi
je 0x140066d1d
movdqa xmm0, xmmword [0x140120c10]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
xor r8d, r8d
lea rdx, [0x1401221d8]
lea rcx, [rsp + 0x78]
call fcn.14005da50
nop
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x60]
call fcn.1400666d0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140066cc6
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066cc1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140066d9b
call fcn.14009da04
mov r8d, edi
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.140066db0
test al, al
jne 0x140066ce7
lea rcx, [rbp - 0x60]
call fcn.140060a70
xor bl, bl
jmp 0x140066d1d
cmp qword [rbp - 0x50], 0
je 0x140066d13
lea rcx, [r14 + 0x20]
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x20], al
lea r9, [rbp - 0x60]
xor r8d, r8d
lea rdx, [rsp + 0x48]
call fcn.140066510
mov eax, dword [rbp - 0x20]
add qword [r14 + 0x30], rax
lea rcx, [rbp - 0x60]
call fcn.140060a70
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x140066d54
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066d4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140066d7d
call fcn.14009da04
movzx eax, bl
mov rcx, qword [rbp + 0x480]
xor rcx, rsp
call fcn.14009ed10
mov rbx, qword [rsp + 0x5d0]
add rsp, 0x590
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1400adfbc
nop
call fcn.1400adfbc
nop
call fcn.1400adfbc
nop
call fcn.1400adfbc
int3
call fcn.1400adfbc
nop
call fcn.1400adfbc
int3