Function at 0x1400b8b24
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.14000e3c0
mov rbx, rax
test bl, 1
je 0x1400b8be7
mov rsi, qword [rsp + 0x38]
test rsi, rsi
je 0x1400b8bb5
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 0x1400b8bb5
lea rdx, [rsp + 0x88]
mov dword [rdx + 0x10], 0xa
mov qword [rdx], 0
mov byte [rdx + 0x14], 1
lea rcx, [rsp + 0x30]
call fcn.14000eca0
cmp ax, 1
jne 0x1400b8bb7
jmp 0x1400b8bc1
xor eax, eax
mov qword [rsp + 0x38], rsi
test ax, ax
je 0x1400b8be7
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 0x1400b8beb
xor ebx, ebx
xor eax, eax
or rax, rbx
test ax, ax
je 0x1400b8e9d
movzx eax, ax
cmp eax, 1
jne 0x1400b8eab
cmp qword [rsp + 0x38], 0
jne 0x1400b8eab
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x78], rax
mov al, byte [0x14017e190]
mov ecx, 0x20
mov edx, 4
call fcn.140004cf0
test rax, rax
je 0x1400b9029
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 + 0x60], rax
mov qword [rsp + 0x70], r14
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x58], rax
mov rbx, qword [rsp + 0xc8]
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
cmp rbx, rax
je 0x1400b8f91
xor r14d, r14d
movzx edi, word [rbx]
cmp di, 2
je 0x1400b8f96
mov esi, 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 [0x14017e118]
cmp rax, 3
je 0x1400b8d2e
call fcn.1400dc410
mov ebp, 2
test di, di
je 0x1400b8d3d
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 0x1400b8d85
test di, di
je 0x1400b8df5
mov r8d, 0x1c
mov ax, 0x17
movups xmm0, xmmword [rsp + 0x32]
jmp 0x1400b8e0c
mov dword [rsp + 0x6c], r13d
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x2739
je 0x1400b8da4
mov r13d, eax
cmp eax, 0x2726
jne 0x1400b8e62
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 0x1400b8e8c
mov r12, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call sub.kernel32.dll_SetHandleInformation
test eax, eax
je 0x1400b8e96
mov r13d, dword [rsp + 0x6c]
jmp 0x1400b8d68
movzx r15d, word [rsp + 0x34]
mov esi, 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], esi
movups xmmword [rsp + 0x90], xmm0
mov dword [rsp + 0xa0], r13d
mov rcx, r12
lea rdx, [rsp + 0x88]
call sub.ws2_32.dll_bind
cmp eax, 0xffffffff
jne 0x1400b9002
call sub.ws2_32.dll_WSAGetLastError
mov r13d, eax
mov rcx, r12
call sub.ws2_32.dll_closesocket
shl r13, 0x20
or r13, 2
mov rcx, r14
call fcn.1400b8a68
add rbx, 0x20
mov r14, r13
cmp rbx, qword [rsp + 0xd8]
jne 0x1400b8cf1
jmp 0x1400b8f99
call sub.ws2_32.dll_WSAGetLastError
mov r13d, eax
jmp 0x1400b8e62
call sub.kernel32.dll_GetLastError
jmp 0x1400b8e57
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.1400114e0
cmp rax, 1
jne 0x1400b8f19
mov rbx, rdx
cmp rdx, 0xf
jae 0x1400b8f13
cmp byte [rbx + rdi], sil
je 0x1400b8f40
cmp rbx, 0xf
jbe 0x1400b8ef1
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.140012090
test al, 1
jne 0x1400b8f88
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.1400dbd40
cmp qword [rdi], 0
je 0x1400b8fc0
mov rax, qword [rsp + 0x38]
jmp 0x1400b8f20
lea rax, str.invalid_port_value
jmp 0x1400b8f20
xor r13d, r13d
jmp 0x1400b8f99
mov r13, r14
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
call fcn.140040804
test r13, r13
lea rax, [0x140131af8]
cmovne rax, r13
mov r14, qword [rsp + 0x70]
jmp 0x1400b8f20
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.1400dbf30
mov rax, qword [rdi]
test rax, rax
jne 0x1400b8cb6
mov rax, qword [rsp + 0xc0]
jmp 0x1400b8f20
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
call fcn.140040804
mov rcx, r14
call fcn.1400b8a68
mov r14, qword [rsp + 0x70]
mov qword [r14 + 8], r12
xor eax, eax
jmp 0x1400b8f29
mov ecx, 4
mov edx, 0x20
call fcn.1400051b0
ud2