Function at 0x140142190
Capabilities:
Read file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x20]
mov ecx, reloc.WS2_32.dll_sendto
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x90]
add eax, 8
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x64], 0
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x80]
call fcn.140138230
mov ecx, 8
imul rcx, rcx, 0
mov rax, qword [rax + rcx]
mov qword [rsp + 0x68], rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call fcn.1403b6030
mov r9, qword [rsp + 0x68]
mov r8d, reloc.WS2_32.dll_recv
mov edx, 1
mov rcx, qword [rsp + 0x80]
call fcn.1403b55a0
cmp rax, 0x10
je 0x140142233
mov eax, 1
jmp 0x140142501
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0xc], 0
jne 0x14014224e
mov dword [rsp + 0x34], reloc.WS2_32.dll_recv
jmp 0x1401422d5
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0xc]
add eax, 4
xor r8d, r8d
mov edx, eax
mov rcx, qword [rsp + 0x68]
call fcn.1403b6030
mov r9, qword [rsp + 0x68]
mov r8d, 4
mov edx, 1
lea rcx, [rsp + 0x34]
call fcn.1403b55a0
cmp rax, 4
je 0x140142295
mov eax, 1
jmp 0x140142501
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0xc]
mov ecx, dword [rsp + 0x34]
lea rax, [rcx + rax + 8]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x80]
cmp eax, dword [rcx + 4]
jbe 0x1401422d5
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 8]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x80]
cmp dword [rax + 8], 0
je 0x14014236a
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x34], eax
ja 0x14014236a
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x80]
cmp eax, dword [rcx + 8]
jbe 0x14014236a
xor r8d, r8d
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 8]
mov rcx, qword [rsp + 0x68]
call fcn.1403b6030
mov rax, qword [rsp + 0x80]
add rax, 8
mov r9, qword [rsp + 0x68]
mov r8d, 4
mov edx, 1
mov rcx, rax
call fcn.1403b55a0
cmp rax, 4
je 0x14014235d
mov eax, 1
jmp 0x140142501
mov dword [rsp + 0x64], 1
jmp 0x1401422d5
mov rax, qword [rsp + 0x80]
cmp dword [rax + 8], 0
jne 0x14014238f
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x34]
mov dword [rax + 8], ecx
mov dword [rsp + 0x64], 1
cmp dword [rsp + 0x64], 0
je 0x1401423e8
mov rax, qword [rsp + 0x80]
add rax, 8
sub rax, qword [rsp + 0x80]
xor r8d, r8d
mov edx, eax
mov rcx, qword [rsp + 0x68]
call fcn.1403b6030
mov rax, qword [rsp + 0x80]
add rax, 8
mov r9, qword [rsp + 0x68]
mov r8d, 4
mov edx, 1
mov rcx, rax
call fcn.1403b7ca0
mov rcx, qword [rsp + 0x68]
call fcn.1403b4b00
nop
xor r8d, r8d
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x68]
call fcn.1403b6030
mov dword [rsp + 0x54], 0
mov r9, qword [rsp + 0x68]
mov r8d, 4
mov edx, 1
lea rcx, [rsp + 0x54]
call fcn.1403b7ca0
mov r9, qword [rsp + 0x68]
mov r8d, 4
mov edx, 1
lea rcx, [rsp + 0x90]
call fcn.1403b7ca0
cmp dword [rsp + 0x90], 0
jbe 0x140142463
mov eax, dword [rsp + 0x90]
mov r9, qword [rsp + 0x68]
mov r8d, eax
mov edx, 1
mov rcx, qword [rsp + 0x88]
call fcn.1403b7ca0
mov rcx, qword [rsp + 0x68]
call fcn.1403b4b00
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0xc], 0
je 0x1401424b8
xor r8d, r8d
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 0xc]
mov rcx, qword [rsp + 0x68]
call fcn.1403b6030
mov r9, qword [rsp + 0x68]
mov r8d, 4
mov edx, 1
lea rcx, [rsp + 0x34]
call fcn.1403b7ca0
mov rcx, qword [rsp + 0x68]
call fcn.1403b4b00
nop
mov rax, qword [rsp + 0x80]
add rax, 0xc
sub rax, qword [rsp + 0x80]
xor r8d, r8d
mov edx, eax
mov rcx, qword [rsp + 0x68]
call fcn.1403b6030
mov r9, qword [rsp + 0x68]
mov r8d, 4
mov edx, 1
lea rcx, [rsp + 0x34]
call fcn.1403b7ca0
mov rcx, qword [rsp + 0x68]
call fcn.1403b4b00
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_bind
call fcn.14037c300
mov rax, rdi
add rsp, 0x70
pop rdi
ret