Function at 0x14023bad0
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, [0x1402e20d0]
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 0x14023bb7c
mov rax, qword [rsp + 0x78]
movsx eax, byte [rax]
cmp eax, 0xa
jne 0x14023bb7c
mov eax, dword [rsp + 0x70]
sar eax, 6
cdqe
lea rcx, [0x1402e20d0]
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, [0x1402e20d0]
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 0x14023bbd0
mov eax, dword [rsp + 0x70]
sar eax, 6
cdqe
lea rcx, [0x1402e20d0]
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, [0x1402e20d0]
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 0x14023bec6
mov rax, qword [rsp + 0x40]
movsx eax, byte [rax]
cmp eax, 0x1a
jne 0x14023bcd8
mov eax, dword [rsp + 0x70]
sar eax, 6
cdqe
lea rcx, [0x1402e20d0]
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 0x14023bca1
mov eax, dword [rsp + 0x70]
sar eax, 6
cdqe
lea rcx, [0x1402e20d0]
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, [0x1402e20d0]
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 0x14023bcd3
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 0x14023bec6
mov rax, qword [rsp + 0x40]
movsx eax, byte [rax]
cmp eax, 0xd
je 0x14023bd1c
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 0x14023bbfc
mov rax, qword [rsp + 0x40]
inc rax
cmp rax, qword [rsp + 0x50]
jae 0x14023bd95
mov rax, qword [rsp + 0x40]
movsx eax, byte [rax + 1]
cmp eax, 0xa
jne 0x14023bd5e
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 0x14023bd90
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 0x14023bbfc
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 0x14023bdd1
cmp dword [rsp + 0x4c], 0
jne 0x14023bdeb
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x14023bbfc
mov eax, dword [rsp + 0x70]
sar eax, 6
cdqe
lea rcx, [0x1402e20d0]
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 0x14023be5f
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x14023be3a
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xa
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x14023be5d
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.14023c5a0
jmp 0x14023bec1
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x14023be8c
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x38], rax
jne 0x14023be8c
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xa
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x14023bec1
mov r8d, 1
mov rdx, 0xffffffffffffffff
mov ecx, dword [rsp + 0x70]
call fcn.1400d1eec
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
je 0x14023bec1
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x14023bbfc
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
add rsp, 0x68
ret