Function at 0x14019b8c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xa8
cmp qword [rsp + 0xd0], 0
jg 0x14019b8ea
xor eax, eax
jmp 0x14019bbed
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0x68], 0
je 0x14019b91b
mov r8, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
call fcn.14019bc00
jmp 0x14019bbed
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x38]
cmp qword [rax], 0
je 0x14019b95b
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x50]
mov eax, dword [rax]
mov dword [rsp + 0x38], eax
jmp 0x14019b963
mov dword [rsp + 0x38], 0
movsxd rax, dword [rsp + 0x38]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x14019bac7
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x48], rax
jae 0x14019b99b
lea rax, [rsp + 0x48]
mov qword [rsp + 0x58], rax
jmp 0x14019b9a5
lea rax, [rsp + 0x28]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14019ba3e
mov qword [rsp + 0x40], 0
jmp 0x14019ba06
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x40], rax
je 0x14019ba3c
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xc8]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x60]
add rdx, rcx
mov rcx, rdx
movzx ecx, byte [rcx]
mov byte [rax], cl
jmp 0x14019b9f9
jmp 0x14019ba52
mov rdi, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x50]
mov ecx, dword [rsp + 0x30]
mov eax, dword [rax]
sub eax, ecx
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x50]
mov dword [rcx], eax
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x38]
add rax, qword [rcx]
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x38]
mov qword [rcx], rax
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0x80], 0
je 0x14019bbdd
mov rcx, qword [rsp + 0xc0]
call fcn.14018cfb0
mov qword [rsp + 0x98], 0xfff
cmp qword [rsp + 0x28], 0xfff
jbe 0x14019bb7f
mov rax, qword [rsp + 0xc0]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0xc8]
call fcn.1403c2018
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x50], 0xfff
je 0x14019bb7a
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
jmp 0x14019bbed
jmp 0x14019baf6
cmp qword [rsp + 0x28], 0
jbe 0x14019bbdd
mov rax, qword [rsp + 0xc0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x28]
mov edx, 1
mov rcx, qword [rsp + 0xc8]
call fcn.1403c2018
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
add rsp, 0xa8
pop rdi
pop rsi
ret