Function at 0x14013ee50
Capabilities:
Read file on windows
Terminate process

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
lea rdi, [rsp + 0x30]
mov ecx, reloc.WS2_32.dll_sendto
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x44], 0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0xb0]
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14013f123
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0x3e5
jne 0x14013f0d8
mov r9d, 0xeac
lea r8, [0x14055a880]
mov edx, 1
mov ecx, 0x48
call fcn.1403ba980
xor r9d, r9d
xor r8d, r8d
mov edx, 0x30
mov rcx, rax
call fcn.1401375b0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xa8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xa0]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xb8]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x98]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xc0]
mov qword [rax + 0x20], rcx
mov edx, 0x400
mov rcx, qword [rsp + 0xc8]
call fcn.140136c70
add rax, 0xa
mov ecx, 0xffffffff
cmp rax, rcx
jae 0x14013f015
mov edx, 0x400
mov rcx, qword [rsp + 0xc8]
call fcn.140136c70
add rax, 0xa
mov ecx, 0xffffffff
sub rcx, rax
mov rax, rcx
test rax, rax
jbe 0x14013f015
mov edx, 0x400
mov rcx, qword [rsp + 0xc8]
call fcn.140136c70
add rax, 0xa
mov ecx, 0xffffffe7
cmp rax, rcx
jae 0x14013f015
xor eax, eax
cmp eax, 1
je 0x14013f015
mov edx, 0x400
mov rcx, qword [rsp + 0xc8]
call fcn.140136c70
add rax, 0x22
mov r9d, 0xeb2
lea r8, [0x14055a8d0]
mov edx, 1
mov rcx, rax
call fcn.1403ba980
mov qword [rsp + 0x60], rax
jmp 0x14013f01e
mov qword [rsp + 0x60], 0
mov edx, 0x400
mov rcx, qword [rsp + 0xc8]
call fcn.140136c70
add rax, 0xa
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call fcn.1401375b0
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0xc8], 0
jne 0x14013f065
lea rax, [0x140577332]
mov qword [rsp + 0x68], rax
jmp 0x14013f072
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x68], rax
mov r9, qword [rsp + 0x68]
lea r8, [0x14055a918]
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax - 0x18]
mov rcx, qword [rsp + 0x50]
call fcn.140015f80
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [0x140150610]
mov r8d, 0xffffffff
mov rax, qword [rsp + 0xa0]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x90]
call fcn.14013e9d0
mov rcx, qword [rsp + 0x50]
call fcn.140137da0
nop
jmp 0x14013f11e
cmp qword [rsp + 0xb8], 0
je 0x14013f11e
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0xa8]
mov r8d, 5
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call qword [rsp + 0xb8]
nop
jmp 0x14013f29b
cmp dword [rsp + 0x34], 0
jbe 0x14013f255
cmp qword [rsp + 0xb8], 0
je 0x14013f253
mov r9d, 0xec3
lea r8, [0x14055a930]
mov edx, 1
mov ecx, 0x30
call fcn.1403ba980
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14013f1ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, 0xfe
mov r8d, 0xec3
lea rdx, [0x14055a980]
xor ecx, ecx
call fcn.14014da80
mov r8d, 0xec3
lea rdx, [0x14055a9d0]
lea rcx, [0x14055aa18]
call fcn.140015e70
mov ecx, 0xfe
call fcn.14038e600
nop
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xa8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xb8]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x98]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xc0]
mov qword [rax + 0x20], rcx
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x58]
mov qword [rcx + 0x18], rax
cmp qword [rsp + 0xa0], 0
je 0x14013f21c
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x70], rax
jmp 0x14013f225
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x28], rcx
mov r9, qword [rsp + 0x58]
mov r8d, 1
lea rdx, [0x1401507f0]
mov rcx, qword [rsp + 0x90]
call fcn.140140df0
nop
jmp 0x14013f29b
cmp qword [rsp + 0xb8], 0
je 0x14013f29b
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0xa8]
mov r8d, 5
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call qword [rsp + 0xb8]
nop
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.14037c300
add rsp, 0x80
pop rdi
ret