Function at 0x140136e10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x68
mov eax, dword [rsp + 0x70]
sar eax, 6
cdqe
lea rcx, [0x1401bd8e0]
mov edx, dword [rsp + 0x70]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x80], 0
je 0x140136ebc
mov rax, qword [rsp + 0x78]
movsx eax, byte [rax]
cmp eax, 0xa
jne 0x140136ebc
mov eax, dword [rsp + 0x70]
sar eax, 6
cdqe
lea rcx, [0x1401bd8e0]
mov edx, dword [rsp + 0x70]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + rdx + 0x38]
or eax, 4
mov ecx, dword [rsp + 0x70]
sar ecx, 6
movsxd rcx, ecx
lea rdx, [0x1401bd8e0]
mov r8d, dword [rsp + 0x70]
and r8d, 0x3f
movsxd r8, r8d
imul r8, r8, 0x48
mov rcx, qword [rdx + rcx*8]
mov byte [rcx + r8 + 0x38], al
jmp 0x140136f10
mov eax, dword [rsp + 0x70]
sar eax, 6
cdqe
lea rcx, [0x1401bd8e0]
mov edx, dword [rsp + 0x70]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + rdx + 0x38]
and eax, 0xfffffffb
mov ecx, dword [rsp + 0x70]
sar ecx, 6
movsxd rcx, ecx
lea rdx, [0x1401bd8e0]
mov r8d, dword [rsp + 0x70]
and r8d, 0x3f
movsxd r8, r8d
imul r8, r8, 0x48
mov rcx, qword [rdx + rcx*8]
mov byte [rcx + r8 + 0x38], al
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x40], rax
jae 0x140137206
mov rax, qword [rsp + 0x40]
movsx eax, byte [rax]
cmp eax, 0x1a
jne 0x140137018
mov eax, dword [rsp + 0x70]
sar eax, 6
cdqe
lea rcx, [0x1401bd8e0]
mov edx, dword [rsp + 0x70]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + rdx + 0x38]
and eax, 0x40
test eax, eax
jne 0x140136fe1
mov eax, dword [rsp + 0x70]
sar eax, 6
cdqe
lea rcx, [0x1401bd8e0]
mov edx, dword [rsp + 0x70]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + rdx + 0x38]
or eax, 2
mov ecx, dword [rsp + 0x70]
sar ecx, 6
movsxd rcx, ecx
lea rdx, [0x1401bd8e0]
mov r8d, dword [rsp + 0x70]
and r8d, 0x3f
movsxd r8, r8d
imul r8, r8, 0x48
mov rcx, qword [rdx + rcx*8]
mov byte [rcx + r8 + 0x38], al
jmp 0x140137013
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
mov byte [rsp + 0x48], al
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x48]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x140137206
mov rax, qword [rsp + 0x40]
movsx eax, byte [rax]
cmp eax, 0xd
je 0x14013705c
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
mov byte [rsp + 0x49], al
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x49]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x140136f3c
mov rax, qword [rsp + 0x40]
inc rax
cmp rax, qword [rsp + 0x50]
jae 0x1401370d5
mov rax, qword [rsp + 0x40]
movsx eax, byte [rax + 1]
cmp eax, 0xa
jne 0x14013709e
mov rax, qword [rsp + 0x40]
add rax, 2
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xa
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x1401370d0
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
mov byte [rsp + 0x4a], al
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x4a]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x140136f3c
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4c]
mov r8d, 1
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140137111
cmp dword [rsp + 0x4c], 0
jne 0x14013712b
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x140136f3c
mov eax, dword [rsp + 0x70]
sar eax, 6
cdqe
lea rcx, [0x1401bd8e0]
mov edx, dword [rsp + 0x70]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + rdx + 0x38]
and eax, 0x48
test eax, eax
je 0x14013719f
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x14013717a
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xa
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x14013719d
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
movzx edx, byte [rsp + 0x30]
mov ecx, dword [rsp + 0x70]
call fcn.1401378e0
jmp 0x140137201
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x1401371cc
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x38], rax
jne 0x1401371cc
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xa
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x140137201
mov r8d, 1
mov rdx, 0xffffffffffffffff
mov ecx, dword [rsp + 0x70]
call fcn.14007b8de
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
je 0x140137201
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x140136f3c
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
add rsp, 0x68
ret