Function at 0x1400c0fe0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x68
mov rax, qword [0x140298e80]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp dword [rsp + 0x70], 0xe0
jl 0x1400c10df
cmp dword [rsp + 0x70], 0xe7
jg 0x1400c10df
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
sub eax, 0xe0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 7
ja case.default.0x1400c1049
movsxd rax, dword [rsp + 0x34]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0xc12b0]
add rax, rcx
jmp rax
movsx eax, byte [0x1402b4e58]
or eax, 1
mov byte [0x1402b4e58], al
jmp case.default.0x1400c1049
movsx eax, byte [0x1402b4e58]
or eax, 2
mov byte [0x1402b4e58], al
jmp case.default.0x1400c1049
movsx eax, byte [0x1402b4e58]
or eax, 4
mov byte [0x1402b4e58], al
jmp case.default.0x1400c1049
movsx eax, byte [0x1402b4e58]
or eax, 8
mov byte [0x1402b4e58], al
jmp case.default.0x1400c1049
movsx eax, byte [0x1402b4e58]
or eax, 0x10
mov byte [0x1402b4e58], al
jmp case.default.0x1400c1049
movsx eax, byte [0x1402b4e58]
or eax, 0x20
mov byte [0x1402b4e58], al
jmp case.default.0x1400c1049
movsx eax, byte [0x1402b4e58]
or eax, 0x40
mov byte [0x1402b4e58], al
jmp case.default.0x1400c1049
movsx eax, byte [0x1402b4e58]
bts eax, 7
mov byte [0x1402b4e58], al
jmp 0x1400c11b7
mov dword [rsp + 0x30], 0
jmp 0x1400c10f3
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xa
jge 0x1400c111c
movsxd rax, dword [rsp + 0x30]
lea rcx, [0x1402b4e5a]
movsx eax, byte [rcx + rax]
cmp eax, dword [rsp + 0x70]
jne 0x1400c111a
jmp 0x1400c11b7
jmp 0x1400c10e9
mov dword [rsp + 0x30], 0
jmp 0x1400c1130
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xa
jge 0x1400c1165
movsxd rax, dword [rsp + 0x30]
lea rcx, [0x1402b4e5a]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x1400c1163
movsxd rax, dword [rsp + 0x30]
lea rcx, [0x1402b4e5a]
movzx edx, byte [rsp + 0x70]
mov byte [rcx + rax], dl
jmp 0x1400c11b7
jmp 0x1400c1126
mov eax, 1
imul rax, rax, 1
lea rcx, [0x1402b4e5a]
add rcx, rax
mov rax, rcx
mov ecx, 1
imul rcx, rcx, 0
lea rdx, [0x1402b4e5a]
add rdx, rcx
mov rcx, rdx
mov r8d, 0xa
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
mov eax, 1
imul rax, rax, 9
lea rcx, [0x1402b4e5a]
movzx edx, byte [rsp + 0x70]
mov byte [rcx + rax], dl
cmp qword [0x1402b45e0], 0
ja 0x1400c11cb
mov eax, 0xffffdcd8
jmp 0x1400c129e
mov eax, dword [0x1402b45f8]
inc eax
mov dword [0x1402b45f8], eax
mov dword [0x1402b45fc], 0x123c2c2f
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov dword [0x1402b45f4], eax
mov r8d, ntohs
lea rdx, [0x1402b4e58]
lea rcx, [0x1402b4600]
call sub.VCRUNTIME140.dll_memcpy
mov dword [rsp + 0x38], Ordinal_32
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
lea rax, [0x1402b4e10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x38]
lea rdx, [0x1402b45f0]
mov rcx, qword [0x1402b45e0]
call qword [sym.imp.WS2_32.dll_sendto]
mov dword [rsp + 0x40], reloc.WS2_32.dll_recv
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x400
lea rdx, [0x1402b4a00]
mov rcx, qword [0x1402b45e0]
call qword [sym.imp.WS2_32.dll_recvfrom]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jge 0x1400c128b
mov eax, 0xffffdcdb
jmp 0x1400c129e
lea rdx, [0x1402b45f0]
lea rcx, [0x1402b4a00]
call fcn.1400c0ac0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401dae20
add rsp, 0x68
ret