Function at 0x1403cd5d0
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, [0x140579d20]
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 0x1403cd691
mov rax, qword [rsp + 0x88]
movzx eax, word [rax]
cmp eax, 0xa
jne 0x1403cd691
mov eax, dword [rsp + 0x80]
sar eax, 6
cdqe
lea rcx, [0x140579d20]
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, [0x140579d20]
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 0x1403cd6f1
mov eax, dword [rsp + 0x80]
sar eax, 6
cdqe
lea rcx, [0x140579d20]
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, [0x140579d20]
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 0x1403cda41
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
cmp eax, 0x1a
jne 0x1403cd816
mov eax, dword [rsp + 0x80]
sar eax, 6
cdqe
lea rcx, [0x140579d20]
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 0x1403cd7db
mov eax, dword [rsp + 0x80]
sar eax, 6
cdqe
lea rcx, [0x140579d20]
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, [0x140579d20]
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 0x1403cd811
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 0x1403cda41
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
cmp eax, 0xd
je 0x1403cd85e
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 0x1403cd724
mov rax, qword [rsp + 0x40]
add rax, 2
cmp rax, qword [rsp + 0x58]
jae 0x1403cd8e2
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 2]
cmp eax, 0xa
jne 0x1403cd8a7
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 0x1403cd8dd
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 0x1403cd724
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 0x1403cd91f
cmp dword [rsp + 0x50], 0
jne 0x1403cd93f
mov eax, reloc.WS2_32.dll_listen
mov rcx, qword [rsp + 0x30]
mov word [rcx], ax
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
jmp 0x1403cd724
mov eax, dword [rsp + 0x80]
sar eax, 6
cdqe
lea rcx, [0x140579d20]
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 0x1403cd9c8
movzx eax, word [rsp + 0x38]
cmp eax, 0xa
jne 0x1403cd99a
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 0x1403cd9c6
mov eax, reloc.WS2_32.dll_listen
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.1403cdaa0
jmp 0x1403cda3c
movzx eax, word [rsp + 0x38]
cmp eax, 0xa
jne 0x1403cd9fe
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x30], rax
jne 0x1403cd9fe
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 0x1403cda3c
mov r8d, 1
mov rdx, 0xfffffffffffffffe
mov ecx, dword [rsp + 0x80]
call fcn.1403f2140
movzx eax, word [rsp + 0x38]
cmp eax, 0xa
je 0x1403cda3c
mov eax, reloc.WS2_32.dll_listen
mov rcx, qword [rsp + 0x30]
mov word [rcx], ax
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
jmp 0x1403cd724
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