Function at 0x14009442c
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.14000f0a0
mov rbx, rax
test bl, 1
je 0x1400944ef
mov rsi, qword [rsp + 0x38]
test rsi, rsi
je 0x1400944bd
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 0x1400944bd
lea rdx, [rsp + 0x88]
mov dword [rdx + 0x10], 0xa
mov qword [rdx], 0
mov byte [rdx + 0x14], 1
lea rcx, [rsp + 0x30]
call fcn.14000f980
cmp ax, 1
jne 0x1400944bf
jmp 0x1400944c9
xor eax, eax
mov qword [rsp + 0x38], rsi
test ax, ax
je 0x1400944ef
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 0x1400944f3
xor ebx, ebx
xor eax, eax
or rax, rbx
test ax, ax
je 0x1400947b7
movzx eax, ax
cmp eax, 1
jne 0x1400947c5
cmp qword [rsp + 0x38], 0
jne 0x1400947c5
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x78], rax
mov al, byte [0x1401222b8]
mov ecx, 0x20
mov edx, 4
call fcn.140034c70
test rax, rax
je 0x140094943
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 0x1400948ab
xor r14d, r14d
movzx esi, word [rbx]
cmp si, 2
je 0x1400948b0
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 [0x140122228]
cmp rax, 3
jne 0x1400947a5
mov ebp, 2
test si, si
je 0x140094644
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 qword [sym.imp.ws2_32.dll_WSASocketW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x14009468d
test si, si
je 0x140094700
mov r8d, 0x1c
mov ax, 0x17
movups xmm0, xmmword [rsp + 0x32]
jmp 0x140094717
mov dword [rsp + 0x5c], r13d
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2739
je 0x1400946ad
mov r13d, eax
cmp eax, 0x2726
jne 0x140094770
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, ebp
mov edx, 2
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x14009479a
mov r12, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call qword [sym.imp.kernel32.dll_SetHandleInformation]
test eax, eax
je 0x1400947af
mov r13d, dword [rsp + 0x5c]
jmp 0x140094670
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 0x14009491c
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.1400943b5
add rbx, 0x20
mov r14, r13
cmp rbx, qword [rsp + 0xd8]
jne 0x1400945f9
jmp 0x1400948b3
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r13d, eax
jmp 0x140094770
call fcn.1400bb120
jmp 0x140094635
call qword [sym.imp.kernel32.dll_GetLastError]
jmp 0x140094764
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.140011f80
cmp rax, 1
jne 0x140094833
mov rbx, rdx
cmp rdx, 0xf
jae 0x14009482d
cmp byte [rbx + rdi], sil
je 0x14009485a
cmp rbx, 0xf
jbe 0x14009480b
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.140013480
test al, 1
jne 0x1400948a2
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.14009c910
cmp qword [rdi], 0
je 0x1400948da
mov rax, qword [rsp + 0x38]
jmp 0x14009483a
lea rax, str.invalid_port_value
jmp 0x14009483a
xor r13d, r13d
jmp 0x1400948b3
mov r13, r14
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
call fcn.140094953
test r13, r13
lea rax, [0x1400ee1c8]
cmovne rax, r13
mov r14, qword [rsp + 0x70]
jmp 0x14009483a
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.14009cb10
mov rax, qword [rdi]
test rax, rax
jne 0x1400945be
mov rax, qword [rsp + 0xc0]
jmp 0x14009483a
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
call fcn.140094953
mov rcx, r14
call fcn.1400943b5
mov r14, qword [rsp + 0x70]
mov qword [r14 + 8], r12
xor eax, eax
jmp 0x140094843
mov ecx, 4
mov edx, 0x20
call fcn.1400b5bc0
int3