Function at 0x1400c5fb0
Capabilities:
Send data
Send data on socket

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1a0
lea rdi, [rsp + 0x30]
mov ecx, 0x5c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1b0]
mov rax, qword [0x1401e1010]
xor rax, rsp
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x1b0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0x30]
add rax, 0xe8
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x1b8]
mov dword [rsp + 0x190], eax
cmp dword [rsp + 0x190], 4
je 0x1400c6058
cmp dword [rsp + 0x190], 5
je 0x1400c65f3
cmp dword [rsp + 0x190], 6
je 0x1400c6058
cmp dword [rsp + 0x190], 7
je 0x1400c64ae
jmp 0x1400c669f
cmp dword [rsp + 0x1b8], 4
jne 0x1400c6234
mov rax, qword [rsp + 0x1b0]
add rax, 0x150
mov rcx, rax
call fcn.1400c7460
movzx eax, ax
mov dword [rsp + 0x184], eax
mov rax, qword [rsp + 0x1b0]
movzx eax, word [rax + 0x14c]
cmp dword [rsp + 0x184], eax
je 0x1400c61fd
mov rax, qword [rsp + 0x1b0]
movzx eax, word [rax + 0x14c]
test eax, eax
jne 0x1400c60c6
cmp dword [rsp + 0x184], 0xffff
je 0x1400c61fd
mov rax, qword [rsp + 0x1b0]
movzx eax, word [rax + 0x14c]
mov r9d, eax
mov r8d, dword [rsp + 0x184]
lea rdx, [0x1401e8f48]
mov rcx, qword [rsp + 0x30]
call fcn.1400942b0
mov rax, qword [rsp + 0x1b0]
mov eax, dword [rax + 0x20]
inc eax
mov rcx, qword [rsp + 0x1b0]
mov dword [rcx + 0x20], eax
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x1b0]
mov ecx, dword [rcx + 0x28]
cmp dword [rax + 0x20], ecx
jle 0x1400c6151
mov rax, qword [rsp + 0x1b0]
movzx eax, word [rax + 0x14c]
mov r8d, eax
lea rdx, [0x1401e8f70]
mov rcx, qword [rsp + 0x30]
call fcn.1400943f0
mov dword [rsp + 0x40], Ordinal_60
jmp 0x1400c61f4
mov rax, qword [rsp + 0x1b0]
add rax, 0xb8
mov rcx, qword [rsp + 0x1b0]
mov ecx, dword [rcx + 0x140]
add ecx, 4
mov rdx, qword [rsp + 0x1b0]
mov edx, dword [rdx + 0x138]
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, ecx
mov rax, qword [rsp + 0x1b0]
mov rdx, qword [rax + 0x158]
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.WS2_32.dll_sendto]
cdqe
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jge 0x1400c61f4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x80]
mov ecx, eax
call fcn.1400b6ec0
mov r8, rax
lea rdx, [0x1401e8e6c]
mov rcx, qword [rsp + 0x30]
call fcn.1400943f0
mov dword [rsp + 0x40], Ordinal_60
mov eax, dword [rsp + 0x40]
jmp 0x1400c66bc
mov rax, qword [rsp + 0x1b0]
add rax, 0x30
mov rcx, rax
call fcn.1400c59d0
mov rax, qword [rsp + 0x1b0]
movzx eax, word [rax + 0x14c]
inc ax
mov rcx, qword [rsp + 0x1b0]
mov word [rcx + 0x14c], ax
jmp 0x1400c6248
mov eax, 1
mov rcx, qword [rsp + 0x1b0]
mov word [rcx + 0x14c], ax
mov rax, qword [rsp + 0x1b0]
mov dword [rax + 0x20], 0
mov rax, qword [rsp + 0x1b0]
add rax, 0x158
mov dx, 3
mov rcx, rax
call fcn.1400c7380
mov rax, qword [rsp + 0x1b0]
add rax, 0x158
mov rcx, qword [rsp + 0x1b0]
movzx edx, word [rcx + 0x14c]
mov rcx, rax
call fcn.1400c73d0
mov rax, qword [rsp + 0x1b0]
movzx eax, word [rax + 0x14c]
cmp eax, 1
jle 0x1400c62dd
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x1b0]
mov ecx, dword [rcx + 0x144]
cmp dword [rax + 0x140], ecx
jge 0x1400c62dd
mov rax, qword [rsp + 0x1b0]
mov dword [rax], 3
xor eax, eax
jmp 0x1400c66bc
mov rax, qword [rsp + 0x1b0]
mov dword [rax + 0x140], 0
mov rax, qword [rsp + 0x1b0]
mov rax, qword [rax + 0x158]
add rax, 4
mov rcx, qword [rsp + 0x1b0]
mov rcx, qword [rcx + 0x10]
mov qword [rcx + 0x198], rax
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x1b0]
mov ecx, dword [rcx + 0x140]
mov eax, dword [rax + 0x144]
sub eax, ecx
cdqe
lea r8, [rsp + 0x58]
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call fcn.14009e940
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1400c635b
mov eax, dword [rsp + 0x40]
jmp 0x1400c66bc
mov rax, qword [rsp + 0x1b0]
mov eax, dword [rax + 0x140]
add eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x1b0]
mov dword [rcx + 0x140], eax
mov rax, qword [rsp + 0x1b0]
mov rax, qword [rax + 0x10]
mov rax, qword [rax + 0x198]
add rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x1b0]
mov rcx, qword [rcx + 0x10]
mov qword [rcx + 0x198], rax
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x1b0]
mov ecx, dword [rcx + 0x144]
cmp dword [rax + 0x140], ecx
jge 0x1400c63d0
cmp qword [rsp + 0x58], 0
jne 0x1400c6315
mov rax, qword [rsp + 0x1b0]
add rax, 0xb8
mov rcx, qword [rsp + 0x1b0]
mov ecx, dword [rcx + 0x140]
add ecx, 4
mov rdx, qword [rsp + 0x1b0]
mov edx, dword [rdx + 0x138]
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, ecx
mov rax, qword [rsp + 0x1b0]
mov rdx, qword [rax + 0x158]
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.WS2_32.dll_sendto]
cdqe
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jge 0x1400c6475
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x80]
mov ecx, eax
call fcn.1400b6ec0
mov r8, rax
lea rdx, [0x1401e8ebc]
mov rcx, qword [rsp + 0x30]
call fcn.1400943f0
mov eax, gethostname
jmp 0x1400c66bc
mov rax, qword [rsp + 0x1b0]
movsxd rax, dword [rax + 0x140]
mov rcx, qword [rsp + 0x48]
add rax, qword [rcx + 0x18]
mov rcx, qword [rsp + 0x48]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x30]
call fcn.1400b0c00
jmp 0x1400c66b8
mov rax, qword [rsp + 0x1b0]
mov eax, dword [rax + 0x20]
inc eax
mov rcx, qword [rsp + 0x1b0]
mov dword [rcx + 0x20], eax
mov rax, qword [rsp + 0x1b0]
movzx eax, word [rax + 0x14c]
inc eax
and eax, 0xffff
mov rcx, qword [rsp + 0x1b0]
mov r9d, dword [rcx + 0x20]
mov r8d, eax
lea rdx, [0x1401e8fa0]
mov rcx, qword [rsp + 0x30]
call fcn.1400942b0
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x1b0]
mov ecx, dword [rcx + 0x28]
cmp dword [rax + 0x20], ecx
jle 0x1400c6536
mov rax, qword [rsp + 0x1b0]
mov dword [rax + 8], 0xffffff9d
mov rax, qword [rsp + 0x1b0]
mov dword [rax], 3
jmp 0x1400c65ee
mov rax, qword [rsp + 0x1b0]
add rax, 0xb8
mov rcx, qword [rsp + 0x1b0]
mov ecx, dword [rcx + 0x140]
add ecx, 4
mov rdx, qword [rsp + 0x1b0]
mov edx, dword [rdx + 0x138]
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, ecx
mov rax, qword [rsp + 0x1b0]
mov rdx, qword [rax + 0x158]
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.WS2_32.dll_sendto]
cdqe
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jge 0x1400c65db
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x80]
mov ecx, eax
call fcn.1400b6ec0
mov r8, rax
lea rdx, [0x1401e8f9c]
mov rcx, qword [rsp + 0x30]
call fcn.1400943f0
mov eax, gethostname
jmp 0x1400c66bc
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x30]
call fcn.1400b0c00
jmp 0x1400c66b8
mov rax, qword [rsp + 0x1b0]
mov dword [rax], 3
mov rax, qword [rsp + 0x1b0]
add rax, 0x158
mov dx, 5
mov rcx, rax
call fcn.1400c7380
mov rax, qword [rsp + 0x1b0]
add rax, 0x158
mov rcx, qword [rsp + 0x1b0]
movzx edx, word [rcx + 0x14c]
mov rcx, rax
call fcn.1400c73d0
mov rax, qword [rsp + 0x1b0]
add rax, 0xb8
mov rcx, qword [rsp + 0x1b0]
mov ecx, dword [rcx + 0x138]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 4
mov rax, qword [rsp + 0x1b0]
mov rdx, qword [rax + 0x158]
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.WS2_32.dll_sendto]
mov rax, qword [rsp + 0x1b0]
mov dword [rax], 3
jmp 0x1400c66b8
mov r8d, dword [rsp + 0x1b8]
lea rdx, [0x1401e8fd0]
mov rcx, qword [rsp + 0x30]
call fcn.1400943f0
mov eax, dword [rsp + 0x40]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_bind
call fcn.140184540
mov rax, rdi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14002d8e0
add rsp, 0x1a0
pop rdi
ret