Function at 0x1400049d0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
xor sil, sil
mov rdi, rcx
cmp qword [rcx + 0x880], 0
mov byte [rbp + 0x20], sil
jbe 0x140004a00
cmp qword [rcx + 0x878], 0
lea rax, [rcx + 0x888]
jmp 0x140004a20
cmp dword [rcx + 0x868], 0
jbe 0x140004cb8
mov rax, qword [rcx + 0x860]
mov rcx, qword [rax]
cmp qword [rcx + 8], 0
lea rax, [rcx + 0x18]
je 0x140004a25
mov rax, qword [rax]
test rax, rax
je 0x140004cb8
lea rdx, [0x14009cedc]
mov qword [rsp + 0x60], r14
mov rcx, rax
call fcn.140022270
mov r14, rax
test rax, rax
je 0x140004ca7
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call fcn.1400725f8
test eax, eax
jne 0x140004c9f
mov rcx, r14
mov qword [rsp + 0x68], rbx
call fcn.140072b50
movsxd rbx, eax
test eax, eax
jle 0x140004c9a
mov rcx, r14
mov qword [rsp + 0x58], r15
call fcn.140072b58
mov rcx, rbx
call fcn.140072c30
mov r15, rax
test rax, rax
je 0x140004c95
mov r9, r14
mov r8, rbx
mov edx, 1
mov rcx, rax
call fcn.140072320
cmp rax, rbx
jb 0x140004c8d
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], r15
add rbx, r15
mov qword [rsp + 0x20], rax
mov rdx, rbx
lea r9, [rbp + 0x38]
lea r8, [rbp - 0x30]
lea rcx, [rbp - 0x28]
call fcn.1400052a0
test al, al
je 0x140004c8a
nop word [rax + rax]
mov r9, qword [rbp + 0x38]
lea rax, [rbp + 0x28]
mov r8, qword [rbp - 0x30]
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x30], rax
mov rdx, rbx
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
movzx eax, byte [rbp + 0x20]
mov byte [rsp + 0x20], al
call fcn.140005440
test al, al
je 0x140004c8d
mov rcx, qword [rbp + 0x28]
cmp byte [rbp + 0x20], sil
je 0x140004bef
test rcx, rcx
je 0x140004c3f
mov r9, qword [rbp + 0x30]
mov rax, rcx
test rcx, rcx
je 0x140004b66
nop dword [rax]
movzx edx, byte [r9 + rax - 1]
cmp dl, 0x20
je 0x140004b60
cmp dl, 9
jne 0x140004b66
sub rax, 1
jne 0x140004b50
test rax, rax
je 0x140004b8d
movzx edx, byte [rax + r9 - 1]
cmp dl, 0xd
je 0x140004b7b
cmp dl, 0xa
jne 0x140004b8d
lea rcx, [rax - 1]
mov qword [rbp + 0x28], rcx
test rcx, rcx
jne 0x140004b41
jmp 0x140004c43
test rcx, rcx
je 0x140004c43
nop word [rax + rax]
mov rax, r9
mov r8, rcx
test rcx, rcx
je 0x140004bc6
nop dword [rax + rax]
movzx edx, byte [rax]
cmp dl, 0x20
je 0x140004bbd
cmp dl, 9
jne 0x140004bc6
inc rax
sub r8, 1
jne 0x140004bb0
test r8, r8
je 0x140004c43
movzx edx, byte [rax]
cmp dl, 0xd
je 0x140004bd8
cmp dl, 0xa
jne 0x140004c43
lea rcx, [r8 - 1]
mov qword [rbp + 0x28], rcx
lea r9, [rax + 1]
mov qword [rbp + 0x30], r9
test rcx, rcx
jne 0x140004ba0
jmp 0x140004c43
test rcx, rcx
je 0x140004c3f
mov r9, qword [rbp + 0x30]
nop dword [rax + rax]
movzx eax, byte [r9 + rcx - 1]
cmp al, 0x20
je 0x140004c0e
cmp al, 9
jne 0x140004c1a
sub rcx, 1
mov qword [rbp + 0x28], rcx
jne 0x140004c00
jmp 0x140004c43
test rcx, rcx
je 0x140004c43
nop
movzx eax, byte [r9]
cmp al, 0x20
je 0x140004c2c
cmp al, 9
jne 0x140004c43
inc r9
sub rcx, 1
mov qword [rbp + 0x30], r9
mov qword [rbp + 0x28], rcx
jne 0x140004c20
jmp 0x140004c43
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp + 0x38]
mov rdx, qword [rbp - 0x30]
mov byte [rsp + 0x30], sil
mov dword [rsp + 0x28], 0xffffffff
mov qword [rsp + 0x20], rcx
mov rcx, rdi
call fcn.140015e20
lea rax, [rbp + 0x20]
mov rdx, rbx
lea r9, [rbp + 0x38]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x30]
lea rcx, [rbp - 0x28]
call fcn.1400052a0
test al, al
jne 0x140004af0
mov sil, 1
mov rcx, r15
call fcn.140072c1c
mov r15, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x68]
mov rcx, r14
call fcn.140071ea8
mov r14, qword [rsp + 0x60]
movzx eax, sil
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
movzx eax, sil
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret