Function at 0x140019190
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x54], 0
mov qword [rsp + 0x40], 0
jmp 0x1400191e2
mov rax, qword [rsp + 0x90]
inc rax
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax]
cmp eax, 0x22
jne 0x140019260
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx + 1]
mov byte [rax], cl
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x48]
inc rcx
mov qword [rsp + 0x48], rcx
test eax, eax
jne 0x1400191ff
cmp dword [rsp + 0x54], 0
je 0x14001923f
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax]
cmp eax, 0x22
je 0x140019260
cmp dword [rsp + 0x54], 0
jne 0x140019250
mov dword [rsp + 0x5c], 1
jmp 0x140019258
mov dword [rsp + 0x5c], 0
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0x24
ja case.0x140019298.1
movsxd rax, dword [rsp + 0x60]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x196b4]
mov eax, dword [rcx + rax*4 + 0x196a4]
add rax, rcx
jmp rax
cmp dword [rsp + 0x54], 0
je 0x1400192ab
mov eax, 0xffffffff
jmp 0x140019698
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x98]
mov qword [rcx + rax*8], 0
mov eax, dword [rsp + 0x34]
jmp 0x140019698
cmp dword [rsp + 0x54], 0
je 0x14001931a
cmp dword [rsp + 0x38], 0
je 0x140019318
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x90]
mov qword [rcx + rax*8], rdx
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x34], eax
jl 0x140019310
mov eax, dword [rsp + 0x34]
jmp 0x140019698
mov dword [rsp + 0x38], 0
jmp 0x14001933b
cmp dword [0x140068974], 0
jne 0x14001933b
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x90]
mov byte [rax], 0
jmp 0x140019693
cmp dword [rsp + 0x54], 0
jne case.0x140019298.1
mov rax, qword [rsp + 0x90]
mov byte [rax], 0
mov dword [rsp + 0x38], 1
cmp qword [rsp + 0x40], 0
je 0x140019602
mov eax, dword [rsp + 0x34]
dec eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x40]
inc rax
xor edx, edx
mov rcx, rax
call fcn.140047aa4
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jg 0x140019396
jmp 0x140019693
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb0]
mov ecx, dword [rcx]
mov eax, dword [rax]
sub eax, ecx
cmp eax, 0xffff
jge 0x140019411
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax]
add eax, 0xffff
mov rcx, qword [rsp + 0xb8]
mov dword [rcx], eax
mov rax, qword [rsp + 0xb8]
movsxd rax, dword [rax]
mov rdx, rax
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rax]
call fcn.14003c1d4
mov rcx, qword [rsp + 0xa8]
mov qword [rcx], rax
mov rax, qword [rsp + 0xa8]
cmp qword [rax], 0
jne 0x140019411
mov ecx, dword [rsp + 0x58]
call fcn.140042e00
jmp 0x140019693
mov dword [rsp + 0x50], 0
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x40]
inc rcx
mov rdx, qword [rsp + 0x98]
cmp qword [rdx + rax*8], rcx
je 0x1400194b9
movsxd rax, dword [rsp + 0x34]
mov qword [rsp + 0x68], rax
xor ecx, ecx
mov qword [rsp + 0x70], rcx
mov rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x98]
mov r8, qword [rsp + 0x70]
mov rax, r8
mov r8, qword [rsp + 0x68]
mov rdi, qword [rdx + r8*8]
repne scasb al, byte [rdi]
not rcx
dec rcx
mov rax, rcx
mov dword [rsp + 0x50], eax
movsxd rax, dword [rsp + 0x50]
movsxd rcx, dword [rsp + 0x34]
mov rdx, qword [rsp + 0xb0]
movsxd rdx, dword [rdx]
mov rdi, qword [rsp + 0xa8]
add rdx, qword [rdi]
mov qword [rsp + 0x78], rdx
mov r8, rax
mov rax, qword [rsp + 0x98]
mov rdx, qword [rax + rcx*8]
mov rax, qword [rsp + 0x78]
mov rcx, rax
call fcn.140038c20
mov eax, dword [rsp + 0x50]
inc eax
mov ecx, 0xffff
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0xb0]
movsxd rcx, dword [rcx]
mov rdx, qword [rsp + 0xa8]
mov rdx, qword [rdx]
add rdx, rcx
mov rcx, rdx
movsxd rdx, dword [rsp + 0x50]
add rcx, rdx
mov r8d, eax
mov rdx, rcx
mov ecx, dword [rsp + 0x58]
call fcn.14004e534
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jg 0x140019514
mov ecx, dword [rsp + 0x58]
call fcn.140042e00
jmp 0x140019693
mov ecx, dword [rsp + 0x58]
call fcn.140042e00
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax]
add eax, dword [rsp + 0x30]
add eax, dword [rsp + 0x50]
cdqe
mov rcx, qword [rsp + 0xa8]
mov rcx, qword [rcx]
mov byte [rax + rcx], 0
mov rax, qword [rsp + 0xb0]
movsxd rax, dword [rax]
mov rcx, qword [rsp + 0xa8]
add rax, qword [rcx]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0xb0]
mov ecx, dword [rcx]
lea eax, [rax + rcx + 1]
mov rcx, qword [rsp + 0xb0]
mov dword [rcx], eax
mov eax, dword [0x140068974]
inc eax
mov dword [0x140068974], eax
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0xa0]
sub ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x98]
lea rcx, [rdx + rcx*8]
mov rdx, qword [rsp + 0xb8]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rdx
mov r9, qword [rsp + 0xa8]
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x40]
call fcn.140019190
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
mov eax, dword [0x140068974]
dec eax
mov dword [0x140068974], eax
mov qword [rsp + 0x40], 0
jmp 0x140019693
cmp dword [rsp + 0x38], 0
je 0x140019693
cmp dword [rsp + 0x54], 0
je 0x140019655
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax]
cmp eax, 0x22
jne 0x140019655
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax + 1]
cmp eax, 0x22
je 0x140019655
mov rax, qword [rsp + 0x90]
inc rax
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x54], 0
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x90]
mov qword [rcx + rax*8], rdx
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x34], eax
jl 0x14001968b
mov eax, dword [rsp + 0x34]
jmp 0x140019698
mov dword [rsp + 0x38], 0
jmp 0x1400191cf
add rsp, 0x80
pop rdi
ret