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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x250
lea rdi, [rsp + 0x40]
mov ecx, 0x84
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x260]
mov rax, qword [0x1401e1010]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rax, [0x1401e8d4c]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x260]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x90], 0
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0x133e]
test eax, eax
je 0x1400c7b26
lea rax, [0x1401e8df8]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x268]
mov dword [rsp + 0x220], eax
cmp dword [rsp + 0x220], 7
ja case.0x1400c7b5b.1
movsxd rax, dword [rsp + 0x220]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0xc81b0]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x260]
mov eax, dword [rax + 0x20]
inc eax
mov rcx, qword [rsp + 0x260]
mov dword [rcx + 0x20], eax
mov rax, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x260]
mov ecx, dword [rcx + 0x28]
cmp dword [rax + 0x20], ecx
jle 0x1400c7bb6
mov rax, qword [rsp + 0x260]
mov dword [rax + 8], 0xffffff9e
mov rax, qword [rsp + 0x260]
mov dword [rax], 3
mov eax, dword [rsp + 0x90]
jmp 0x1400c8181
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0xaa7]
test eax, eax
je 0x1400c7c39
mov rax, qword [rsp + 0x260]
add rax, 0x158
mov dx, 2
mov rcx, rax
call fcn.1400c7380
mov rax, qword [rsp + 0x260]
mov rax, qword [rax + 0x158]
add rax, 4
mov rcx, qword [rsp + 0x260]
mov rcx, qword [rcx + 0x10]
mov qword [rcx + 0x198], rax
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x1188], 0xffffffffffffffff
je 0x1400c7c37
mov rax, qword [rsp + 0x88]
mov rdx, qword [rax + 0x1188]
mov rcx, qword [rsp + 0x88]
call fcn.1400b0b60
jmp 0x1400c7c53
mov rax, qword [rsp + 0x260]
add rax, 0x158
mov dx, 1
mov rcx, rax
call fcn.1400c7380
mov rax, qword [rsp + 0x260]
mov rax, qword [rax + 0x10]
mov ecx, 1
imul rcx, rcx, 1
add rcx, qword [rax + 0x11d8]
mov rax, rcx
mov dword [rsp + 0x20], 4
xor r9d, r9d
lea r8, [rsp + 0x78]
xor edx, edx
mov rcx, rax
call fcn.1400eb470
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0
je 0x1400c7ca9
mov eax, dword [rsp + 0x90]
jmp 0x1400c8181
mov rcx, qword [rsp + 0x78]
call fcn.14014b100
mov qword [rsp + 0x228], rax
mov rcx, qword [rsp + 0x260]
movsxd rcx, dword [rcx + 0x144]
mov qword [rsp + 0x230], rcx
mov rcx, qword [rsp + 0x60]
call fcn.14014b100
mov rcx, qword [rsp + 0x230]
sub rcx, rax
mov rax, rcx
sub rax, 4
mov rcx, qword [rsp + 0x228]
cmp rcx, rax
jbe 0x1400c7d24
lea rdx, [0x1401e8e10]
mov rcx, qword [rsp + 0x88]
call fcn.1400943f0
mov rcx, qword [rsp + 0x78]
call qword [fcn.14012bfc0]
mov eax, 0x47
jmp 0x1400c8181
mov rax, qword [rsp + 0x260]
movsxd rax, dword [rax + 0x144]
mov rcx, qword [rsp + 0x260]
mov rcx, qword [rcx + 0x158]
add rcx, 2
mov qword [rsp + 0x30], 0
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x78]
lea r8, [0x1401e8e28]
mov rdx, rax
call fcn.1400b3460
mov rcx, qword [rsp + 0x78]
call fcn.14014b100
mov qword [rsp + 0x238], rax
mov rcx, qword [rsp + 0x60]
call fcn.14014b100
mov rcx, qword [rsp + 0x238]
lea rax, [rcx + rax + 4]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0xa8c]
test eax, eax
jne 0x1400c801d
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0xaa7]
test eax, eax
je 0x1400c7e0a
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x1188], 0xffffffffffffffff
je 0x1400c7e0a
mov rax, qword [rsp + 0x88]
mov r9, qword [rax + 0x1188]
lea r8, [0x1401e8d8c]
mov edx, 0x40
lea rcx, [rsp + 0xb0]
call fcn.1400b3460
jmp 0x1400c7e1e
lea rdx, [0x1401e8c44]
lea rcx, [rsp + 0xb0]
call fcn.140154830
mov rax, qword [rsp + 0x260]
mov rax, qword [rax + 0x158]
add rax, qword [rsp + 0x48]
lea r9, [0x1401e8e04]
mov r8, rax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x260]
call fcn.1400c7910
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0
jne 0x1400c7e97
mov rax, qword [rsp + 0x260]
mov rax, qword [rax + 0x158]
add rax, qword [rsp + 0x48]
lea r9, [rsp + 0xb0]
mov r8, rax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x260]
call fcn.1400c7910
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x260]
mov r9d, dword [rax + 0x148]
lea r8, [0x1401e8d1c]
mov edx, 0x40
lea rcx, [rsp + 0xb0]
call fcn.1400b3460
cmp dword [rsp + 0x90], 0
jne 0x1400c7f00
mov rax, qword [rsp + 0x260]
mov rax, qword [rax + 0x158]
add rax, qword [rsp + 0x48]
lea r9, [0x1401e8e38]
mov r8, rax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x260]
call fcn.1400c7910
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0
jne 0x1400c7f42
mov rax, qword [rsp + 0x260]
mov rax, qword [rax + 0x158]
add rax, qword [rsp + 0x48]
lea r9, [rsp + 0xb0]
mov r8, rax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x260]
call fcn.1400c7910
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x260]
mov r9d, dword [rax + 0x24]
lea r8, [0x1401e8d2c]
mov edx, 0x40
lea rcx, [rsp + 0xb0]
call fcn.1400b3460
cmp dword [rsp + 0x90], 0
jne 0x1400c7fa8
mov rax, qword [rsp + 0x260]
mov rax, qword [rax + 0x158]
add rax, qword [rsp + 0x48]
lea r9, [0x1401e8e40]
mov r8, rax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x260]
call fcn.1400c7910
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0
jne 0x1400c7fea
mov rax, qword [rsp + 0x260]
mov rax, qword [rax + 0x158]
add rax, qword [rsp + 0x48]
lea r9, [rsp + 0xb0]
mov r8, rax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x260]
call fcn.1400c7910
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0
je 0x1400c801d
lea rdx, [0x1401e8e48]
mov rcx, qword [rsp + 0x88]
call fcn.1400943f0
mov rcx, qword [rsp + 0x78]
call qword [fcn.14012bfc0]
mov eax, 0x47
jmp 0x1400c8181
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x58]
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x58]
add rcx, 0x10
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, dword [rsp + 0x48]
mov rax, qword [rsp + 0x260]
mov rdx, qword [rax + 0x158]
mov rax, qword [rsp + 0x260]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.WS2_32.dll_sendto]
cdqe
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x58], rax
je 0x1400c80bb
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x110]
mov ecx, eax
call fcn.1400b6ec0
mov r8, rax
lea rdx, [0x1401e8d54]
mov rcx, qword [rsp + 0x88]
call fcn.1400943f0
mov rcx, qword [rsp + 0x78]
call qword [fcn.14012bfc0]
jmp 0x1400c817a
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0xaa7]
test eax, eax
je 0x1400c80fb
mov edx, dword [rsp + 0x268]
mov rcx, qword [rsp + 0x260]
call fcn.1400c79a0
mov dword [rsp + 0x90], eax
jmp 0x1400c8116
mov edx, dword [rsp + 0x268]
mov rcx, qword [rsp + 0x260]
call fcn.1400c7a20
mov dword [rsp + 0x90], eax
jmp 0x1400c817a
mov edx, dword [rsp + 0x268]
mov rcx, qword [rsp + 0x260]
call fcn.1400c79a0
mov dword [rsp + 0x90], eax
jmp 0x1400c817a
mov edx, dword [rsp + 0x268]
mov rcx, qword [rsp + 0x260]
call fcn.1400c7a20
mov dword [rsp + 0x90], eax
jmp 0x1400c817a
mov rax, qword [rsp + 0x260]
mov dword [rax], 3
jmp 0x1400c817a
lea rdx, [0x1401e8e70]
mov rax, qword [rsp + 0x260]
mov rcx, qword [rax + 0x10]
call fcn.1400943f0
mov eax, dword [rsp + 0x90]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_connect
call fcn.140184540
mov rax, rdi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14002d8e0
add rsp, 0x250
pop rdi
ret