Function at 0x1400427e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x78
mov eax, dword [rsp + 0x80]
sar eax, 6
cdqe
lea rcx, [0x14007fb40]
mov edx, dword [rsp + 0x80]
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 + 0x60], rax
cmp qword [rsp + 0x90], 0
je 0x1400428a1
mov rax, qword [rsp + 0x88]
movzx eax, word [rax]
cmp eax, 0xa
jne 0x1400428a1
mov eax, dword [rsp + 0x80]
sar eax, 6
cdqe
lea rcx, [0x14007fb40]
mov edx, dword [rsp + 0x80]
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 + 0x80]
sar ecx, 6
movsxd rcx, ecx
lea rdx, [0x14007fb40]
mov r8d, dword [rsp + 0x80]
and r8d, 0x3f
movsxd r8, r8d
imul r8, r8, 0x48
mov rcx, qword [rdx + rcx*8]
mov byte [rcx + r8 + 0x38], al
jmp 0x140042901
mov eax, dword [rsp + 0x80]
sar eax, 6
cdqe
lea rcx, [0x14007fb40]
mov edx, dword [rsp + 0x80]
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 + 0x80]
sar ecx, 6
movsxd rcx, ecx
lea rdx, [0x14007fb40]
mov r8d, dword [rsp + 0x80]
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 + 0x88]
mov rcx, qword [rsp + 0x90]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x40], rax
jae 0x140042c51
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
cmp eax, 0x1a
jne 0x140042a26
mov eax, dword [rsp + 0x80]
sar eax, 6
cdqe
lea rcx, [0x14007fb40]
mov edx, dword [rsp + 0x80]
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 0x1400429eb
mov eax, dword [rsp + 0x80]
sar eax, 6
cdqe
lea rcx, [0x14007fb40]
mov edx, dword [rsp + 0x80]
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 + 0x80]
sar ecx, 6
movsxd rcx, ecx
lea rdx, [0x14007fb40]
mov r8d, dword [rsp + 0x80]
and r8d, 0x3f
movsxd r8, r8d
imul r8, r8, 0x48
mov rcx, qword [rdx + rcx*8]
mov byte [rcx + r8 + 0x38], al
jmp 0x140042a21
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
mov word [rsp + 0x48], ax
mov rax, qword [rsp + 0x40]
add rax, 2
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x48]
mov word [rax], cx
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
jmp 0x140042c51
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
cmp eax, 0xd
je 0x140042a6e
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
mov word [rsp + 0x4a], ax
mov rax, qword [rsp + 0x40]
add rax, 2
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x4a]
mov word [rax], cx
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
jmp 0x140042934
mov rax, qword [rsp + 0x40]
add rax, 2
cmp rax, qword [rsp + 0x58]
jae 0x140042af2
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 2]
cmp eax, 0xa
jne 0x140042ab7
mov rax, qword [rsp + 0x40]
add rax, 4
mov qword [rsp + 0x40], rax
mov eax, 0xa
mov rcx, qword [rsp + 0x30]
mov word [rcx], ax
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
jmp 0x140042aed
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
mov word [rsp + 0x4c], ax
mov rax, qword [rsp + 0x40]
add rax, 2
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x4c]
mov word [rax], cx
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
jmp 0x140042934
mov rax, qword [rsp + 0x40]
add rax, 2
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
mov r8d, 2
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140042b2f
cmp dword [rsp + 0x50], 0
jne 0x140042b4f
mov eax, 0xd
mov rcx, qword [rsp + 0x30]
mov word [rcx], ax
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
jmp 0x140042934
mov eax, dword [rsp + 0x80]
sar eax, 6
cdqe
lea rcx, [0x14007fb40]
mov edx, dword [rsp + 0x80]
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 0x140042bd8
movzx eax, word [rsp + 0x38]
cmp eax, 0xa
jne 0x140042baa
mov eax, 0xa
mov rcx, qword [rsp + 0x30]
mov word [rcx], ax
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
jmp 0x140042bd6
mov eax, 0xd
mov rcx, qword [rsp + 0x30]
mov word [rcx], ax
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
movzx edx, word [rsp + 0x38]
mov ecx, dword [rsp + 0x80]
call fcn.140042cb0
jmp 0x140042c4c
movzx eax, word [rsp + 0x38]
cmp eax, 0xa
jne 0x140042c0e
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x30], rax
jne 0x140042c0e
mov eax, 0xa
mov rcx, qword [rsp + 0x30]
mov word [rcx], ax
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
jmp 0x140042c4c
mov r8d, 1
mov rdx, 0xfffffffffffffffe
mov ecx, dword [rsp + 0x80]
call fcn.140044980
movzx eax, word [rsp + 0x38]
cmp eax, 0xa
je 0x140042c4c
mov eax, 0xd
mov rcx, qword [rsp + 0x30]
mov word [rcx], ax
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
jmp 0x140042934
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
sar rax, 1
shl rax, 1
add rsp, 0x78
ret