Function at 0x1400c21b0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov r14, rcx
lea rdi, str.127.0.0.1:34254could_not_resolve_to_any_addresses
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], 0xf
lea rcx, [rsp + 0x30]
call fcn.140008cc0
mov rbx, rax
test bl, 1
je 0x1400c229a
mov rsi, qword [rsp + 0x38]
test rsi, rsi
je 0x1400c228e
mov rax, qword [rsp + 0x30]
lea rcx, [rsi - 1]
movzx edx, byte [rax]
inc rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rcx
cmp dl, 0x3a
jne 0x1400c228e
mov dword [rsp + 0x68], 0xa
mov qword [rsp + 0x58], 0
mov byte [rsp + 0x6c], 1
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x58]
call fcn.1400085e0
cmp ax, 1
je 0x1400c2252
mov qword [rsp + 0x38], rsi
test ax, ax
je 0x1400c229a
movabs rax, 0xffffffff00
and rbx, rax
shr rbx, 8
movzx eax, dx
shl rax, 0x30
shl rbx, 0x10
or rbx, rax
mov eax, 1
or rax, rbx
test ax, ax
jne 0x1400c22a6
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], 0xf
jmp 0x1400c22ba
xor eax, eax
mov qword [rsp + 0x38], rsi
test ax, ax
jne 0x1400c2252
xor ebx, ebx
xor eax, eax
or rax, rbx
test ax, ax
je 0x1400c227e
movzx eax, ax
cmp eax, 1
jne 0x1400c22ba
cmp qword [rsp + 0x38], 0
je 0x1400c23f9
mov r8d, 0xf
lea rax, [0x1401b5627]
and rax, 0xfffffffffffffff8
sub rax, rdi
movdqa xmm0, xmmword [str.::::::::::::::::]
movdqa xmm1, xmmword [0x140187af0]
movabs rdx, 0x8080808080808080
lea rcx, [0x1401b5ff8]
jmp 0x1400c230a
cmp r8, 0xf
ja 0x1400c23da
mov r9, r8
mov r10, r8
cmp r8, rax
jb 0x1400c232e
mov r11d, r8d
sub r11d, eax
and r11d, 0xf
mov r9, r8
mov r10, rax
sub r9, r11
jb 0x1400c293a
lea r11, [rdi + r8]
sub r11, rdi
sub r11, r9
lea rsi, [r8 + rdi]
dec rsi
nop
test r11, r11
je 0x1400c2360
dec r11
cmp byte [rsi], 0x3a
lea rsi, [rsi - 1]
jne 0x1400c2340
add r11, r9
mov r8, r11
jmp 0x1400c23b4
mov r11, r9
cmp r9, r10
jbe 0x1400c2396
lea r9, [r11 - 0x10]
movdqu xmm2, xmmword [r11 + rdi - 0x10]
movdqa xmm3, xmm2
pxor xmm3, xmm0
paddq xmm3, xmm1
pandn xmm2, xmm3
pshufd xmm3, xmm2, 0xee
por xmm3, xmm2
movq rsi, xmm3
test rsi, rdx
je 0x1400c2360
cmp r11, r8
ja 0x1400c293a
nop
test r11, r11
je 0x1400c23da
lea r8, [r11 - 1]
cmp byte [r11 + rdi - 1], 0x3a
mov r11, r8
jne 0x1400c23a0
cmp r8, 0xe
ja 0x1400c2300
cmp byte [r8 + rdi], 0x3a
jne 0x1400c2300
lea rcx, str.invalid_port_value
cmp r8, 0xe
jne 0x1400c27e0
mov qword [r14 + 8], rcx
mov qword [r14], 1
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x90], rax
movzx eax, byte [0x1401ee110]
mov rcx, qword [0x1401ee100]
test rcx, rcx
jne 0x1400c243c
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400c293a
mov rcx, rax
mov qword [0x1401ee100], rax
mov r8d, 0x20
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1400c293a
mov r13, rax
mov qword [rsp + 0x80], r14
mov word [rax], 0
mov rax, rbx
shr rax, 0x10
and rax, 0xffffffffffffff00
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
or rcx, rax
shr rbx, 0x30
mov word [r13 + 6], bx
mov dword [r13 + 2], ecx
mov rax, qword [rsp + 0x90]
mov qword [r13 + 8], rax
mov eax, dword [rsp + 0x98]
mov dword [r13 + 0x10], eax
mov dword [r13 + 0x14], 0
mov rcx, r13
add rcx, 0x20
mov eax, 1
mov qword [rsp + 0x78], rax
xor ebx, ebx
mov qword [rsp + 0x88], r13
mov qword [rsp + 0xa0], rcx
jmp 0x1400c2510
mov rcx, qword [0x1401ee100]
xor edx, edx
mov r8, r15
call fcn.140104a84
dec rbx
mov rcx, qword [0x1401ee100]
xor edx, edx
mov r8, rbx
call fcn.140104a84
shl r12, 0x20
mov rbx, r12
or rbx, 2
add r13, 0x20
mov rcx, qword [rsp + 0xa0]
cmp r13, rcx
je 0x1400c26fe
movzx r14d, word [r13]
cmp r14w, 2
je 0x1400c26fe
mov esi, dword [r13 + 0x14]
mov r12d, dword [r13 + 0x18]
movzx edi, word [r13 + 0x1c]
movzx eax, word [r13 + 0x12]
mov word [rsp + 0x40], ax
movdqu xmm0, xmmword [r13 + 2]
movdqa xmmword [rsp + 0x30], xmm0
mov rax, qword [0x1401ee0d0]
cmp rax, 3
jne 0x1400c26ed
test r14w, r14w
mov ebp, 0x17
mov eax, 2
cmove ebp, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
mov ecx, ebp
mov edx, 2
xor r8d, r8d
xor r9d, r9d
call sub.ws2_32.dll_WSASocketW
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x1400c25b0
test r14w, r14w
je 0x1400c2630
mov r8d, 0x1c
mov ax, 0x17
movdqu xmm0, xmmword [rsp + 0x32]
jmp 0x1400c2647
mov dword [rsp + 0x9c], r12d
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x2739
je 0x1400c25d2
mov r12d, eax
cmp eax, 0x2726
jne 0x1400c268a
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, ebp
mov edx, 2
xor r8d, r8d
xor r9d, r9d
call sub.ws2_32.dll_WSASocketW
cmp rax, 0xffffffffffffffff
je 0x1400c26db
mov r15, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call sub.kernel32.dll_SetHandleInformation
test eax, eax
je 0x1400c26f7
mov r12d, dword [rsp + 0x9c]
test r14w, r14w
jne 0x1400c259a
nop dword [rax + rax]
movzx edi, word [rsp + 0x34]
mov esi, dword [rsp + 0x30]
mov r8d, 0x10
mov ax, 2
pxor xmm0, xmm0
rol di, 8
mov word [rsp + 0x58], ax
mov word [rsp + 0x5a], di
mov dword [rsp + 0x5c], esi
movdqu xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], r12d
mov rcx, r15
lea rdx, [rsp + 0x58]
call sub.ws2_32.dll_bind
cmp eax, 0xffffffff
jne 0x1400c2740
call sub.ws2_32.dll_WSAGetLastError
mov r12d, eax
mov rcx, r15
call fcn.14010486c
test rbx, rbx
je 0x1400c24f0
mov eax, ebx
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x1400c24f0
test rax, rax
je 0x1400c24f0
mov r15, qword [rbx - 1]
mov rsi, qword [rbx + 7]
mov rcx, r15
call qword [rsi]
cmp qword [rsi + 8], 0
je 0x1400c24dc
cmp qword [rsi + 0x10], 0x11
jb 0x1400c24cb
mov r15, qword [r15 - 8]
jmp 0x1400c24cb
call sub.ws2_32.dll_WSAGetLastError
mov r12d, eax
test rbx, rbx
jne 0x1400c2693
jmp 0x1400c24f0
call fcn.1400d1eb0
jmp 0x1400c2554
call sub.kernel32.dll_GetLastError
jmp 0x1400c267f
mov r14, qword [rsp + 0x80]
mov r13, qword [rsp + 0x88]
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x1400c2729
mov rcx, qword [0x1401ee100]
xor edx, edx
mov r8, r13
call fcn.140104a84
test rbx, rbx
lea rax, str._Ve_
cmovne rax, rbx
mov qword [r14 + 8], rax
jmp 0x1400c23de
mov rax, qword [rsp + 0x80]
mov qword [rax + 8], r15
mov qword [rax], 0
cmp qword [rsp + 0x78], 0
je 0x1400c2771
mov rcx, qword [0x1401ee100]
xor edx, edx
mov r8, qword [rsp + 0x88]
call fcn.140104a84
test rbx, rbx
je 0x1400c23e5
mov eax, ebx
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x1400c23e5
test rax, rax
je 0x1400c23e5
lea rsi, [rbx - 1]
mov rdi, qword [rbx - 1]
mov rbx, qword [rbx + 7]
mov rcx, rdi
call qword [rbx]
cmp qword [rbx + 8], 0
je 0x1400c27ca
cmp qword [rbx + 0x10], 0x11
jb 0x1400c27b9
mov rdi, qword [rdi - 8]
mov rcx, qword [0x1401ee100]
xor edx, edx
mov r8, rdi
call fcn.140104a84
mov rcx, qword [0x1401ee100]
xor edx, edx
mov r8, rsi
call fcn.140104a84
jmp 0x1400c23e5
lea r9, [r8 + rdi]
inc r9
movzx eax, byte [r9]
mov r10d, 0xe
cmp eax, 0x2d
je 0x1400c2810
cmp eax, 0x2b
jne 0x1400c281a
cmp r8, 0xd
je 0x1400c23da
inc r9
mov r10d, 0xd
jmp 0x1400c281a
cmp r8, 0xd
je 0x1400c23da
sub r10, r8
cmp r10, 5
jae 0x1400c287a
xor edx, edx
xor eax, eax
movzx r11d, byte [r9 + rdx]
add r11d, 0xffffffd0
cmp r11d, 9
ja 0x1400c23da
add eax, eax
lea eax, [rax + rax*4]
add eax, r11d
inc rdx
cmp r10, rdx
jne 0x1400c2827
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], r8
mov word [rsp + 0x68], ax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x58]
call fcn.1400d5c60
cmp qword [rsp + 0x30], 0
je 0x1400c28b4
mov rcx, qword [rsp + 0x38]
jmp 0x1400c23da
xor r11d, r11d
mov si, 0xa
xor eax, eax
cmp r10, r11
je 0x1400c284a
movzx ebx, byte [r9 + r11]
mul si
seto dl
add ebx, 0xffffffd0
cmp ebx, 9
ja 0x1400c23da
test dl, dl
jne 0x1400c23da
inc r11
add ax, bx
jae 0x1400c2883
jmp 0x1400c23da
movzx eax, word [rsp + 0x48]
movzx ecx, word [rsp + 0x4e]
mov word [rsp + 0x76], cx
mov ecx, dword [rsp + 0x4a]
mov dword [rsp + 0x72], ecx
movdqu xmm0, xmmword [rsp + 0x38]
mov word [rsp + 0x90], ax
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x70], ax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x58]
call fcn.1400dfd30
mov r13, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
shl rcx, 5
je 0x1400c292a
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], r14
add rcx, r13
jmp 0x1400c24b7
xor ebx, ebx
test rax, rax
jne 0x1400c2718
jmp 0x1400c2729
ud2