Function at 0x14009e3d1
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, 0xf8
mov r14, rcx
lea rdi, str.127.0.0.1:34254could_not_resolve_to_any_addresses
lea rcx, [rsp + 0x30]
mov qword [rcx], rdi
mov qword [rcx + 8], 0xf
call fcn.14000cf10
mov rbx, rax
test bl, 1
je 0x14009e494
mov rsi, qword [rsp + 0x38]
test rsi, rsi
je 0x14009e462
mov rax, qword [rsp + 0x30]
lea rcx, [rsi - 1]
mov dl, byte [rax]
inc rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rcx
cmp dl, 0x3a
jne 0x14009e462
lea rdx, [rsp + 0x88]
mov dword [rdx + 0x10], 0xa
mov qword [rdx], 0
mov byte [rdx + 0x14], 1
lea rcx, [rsp + 0x30]
call fcn.14000d7f0
cmp ax, 1
jne 0x14009e464
jmp 0x14009e46e
xor eax, eax
mov qword [rsp + 0x38], rsi
test ax, ax
je 0x14009e494
movabs rax, 0xffffffff00
and rbx, rax
shr rbx, 8
movzx eax, dx
shl rax, 0x30
shl rbx, 0x10
or rbx, rax
mov eax, 1
jmp 0x14009e498
xor ebx, ebx
xor eax, eax
or rax, rbx
test ax, ax
je 0x14009e759
movzx eax, ax
cmp eax, 1
jne 0x14009e767
cmp qword [rsp + 0x38], 0
jne 0x14009e767
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x78], rax
mov al, byte [0x140161290]
mov ecx, 0x20
mov edx, 4
call fcn.1400077b0
test rax, rax
je 0x14009e8e5
mov word [rax], 0
mov rdx, rbx
shr rdx, 0x10
and rdx, 0xffffffffffffff00
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
or rcx, rdx
shr rbx, 0x30
mov word [rax + 6], bx
mov dword [rax + 2], ecx
mov rcx, qword [rsp + 0x78]
mov qword [rax + 8], rcx
mov ecx, dword [rsp + 0x80]
mov dword [rax + 0x10], ecx
mov dword [rax + 0x14], 0
mov rcx, rax
add rcx, 0x20
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], 1
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], rcx
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], r14
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x60], rax
mov rbx, qword [rsp + 0xc8]
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
cmp rbx, rax
je 0x14009e84d
xor r14d, r14d
movzx esi, word [rbx]
cmp si, 2
je 0x14009e852
mov edi, dword [rbx + 0x14]
mov r13d, dword [rbx + 0x18]
movzx r15d, word [rbx + 0x1c]
movzx eax, word [rbx + 0x12]
mov word [rsp + 0x40], ax
movups xmm0, xmmword [rbx + 2]
movaps xmmword [rsp + 0x30], xmm0
mov rax, qword [0x1401611e8]
cmp rax, 3
jne 0x14009e747
mov ebp, 2
test si, si
je 0x14009e5e9
mov ebp, 0x17
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 r12, rax
cmp rax, 0xffffffffffffffff
je 0x14009e631
test si, si
je 0x14009e6a2
mov r8d, 0x1c
mov ax, 0x17
movups xmm0, xmmword [rsp + 0x32]
jmp 0x14009e6b9
mov dword [rsp + 0x5c], r13d
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2739
je 0x14009e651
mov r13d, eax
cmp eax, 0x2726
jne 0x14009e712
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 0x14009e73c
mov r12, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call sub.kernel32.dll_SetHandleInformation
test eax, eax
je 0x14009e751
mov r13d, dword [rsp + 0x5c]
jmp 0x14009e614
movzx r15d, word [rsp + 0x34]
mov edi, dword [rsp + 0x30]
mov r8d, 0x10
mov ax, 2
xorps xmm0, xmm0
rol r15w, 8
mov word [rsp + 0x88], ax
mov word [rsp + 0x8a], r15w
mov dword [rsp + 0x8c], edi
movups xmmword [rsp + 0x90], xmm0
mov dword [rsp + 0xa0], r13d
mov rcx, r12
lea rdx, [rsp + 0x88]
call qword [sym.imp.ws2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x14009e8be
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r13d, eax
mov rcx, r12
call qword [sym.imp.ws2_32.dll_closesocket]
shl r13, 0x20
or r13, 2
mov rcx, r14
call fcn.14009e363
add rbx, 0x20
mov r14, r13
cmp rbx, qword [rsp + 0xd8]
jne 0x14009e59e
jmp 0x14009e855
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r13d, eax
jmp 0x14009e712
call fcn.1400d2ba0
jmp 0x14009e5da
call qword [sym.imp.kernel32.dll_GetLastError]
jmp 0x14009e706
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], 0xf
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x90], 0xf
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa8], 1
movabs rax, 0x3a0000003a
mov qword [rsp + 0xb0], rax
mov sil, 0x3a
mov ebx, 0xf
mov cl, 0x3a
mov rdx, rdi
mov r8, rbx
call fcn.1400102d0
cmp rax, 1
jne 0x14009e7d5
mov rbx, rdx
cmp rdx, 0xf
jae 0x14009e7cf
cmp byte [rbx + rdi], sil
je 0x14009e7fc
cmp rbx, 0xf
jbe 0x14009e7ad
lea rax, str.invalid_socket_address
mov qword [r14 + 8], rax
mov eax, 1
mov qword [r14], rax
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rbx + rdi]
inc rcx
mov edx, 0xe
sub rdx, rbx
call fcn.1400112e0
test al, 1
jne 0x14009e844
shr eax, 0x10
lea rdx, [rsp + 0x88]
mov qword [rdx], rdi
mov qword [rdx + 8], rbx
mov word [rdx + 0x10], ax
lea rdi, [rsp + 0x30]
mov rcx, rdi
call fcn.1400aab70
cmp qword [rdi], 0
je 0x14009e87c
mov rax, qword [rsp + 0x38]
jmp 0x14009e7dc
lea rax, str.invalid_port_value
jmp 0x14009e7dc
xor r13d, r13d
jmp 0x14009e855
mov r13, r14
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
call fcn.140007a50
test r13, r13
lea rax, [0x14012a500]
cmovne rax, r13
mov r14, qword [rsp + 0x70]
jmp 0x14009e7dc
mov rax, qword [rsp + 0x38]
movups xmm0, xmmword [rsp + 0x40]
lea rdx, [rsp + 0xe0]
movups xmmword [rdx + 8], xmm0
mov qword [rdx], rax
lea rdi, [rsp + 0xb8]
mov rcx, rdi
call fcn.1400aad70
mov rax, qword [rdi]
test rax, rax
jne 0x14009e563
mov rax, qword [rsp + 0xc0]
jmp 0x14009e7dc
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
call fcn.140007a50
mov rcx, r14
call fcn.14009e363
mov r14, qword [rsp + 0x70]
mov qword [r14 + 8], r12
xor eax, eax
jmp 0x14009e7e5
mov ecx, 4
mov edx, 0x20
call fcn.1400ceec0
ud2