Function at 0x1400dd4c0
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.1400142b0
mov rbx, rax
test bl, 1
je 0x1400dd5aa
mov rsi, qword [rsp + 0x38]
test rsi, rsi
je 0x1400dd59e
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 0x1400dd59e
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.140013bd0
cmp ax, 1
je 0x1400dd562
mov qword [rsp + 0x38], rsi
test ax, ax
je 0x1400dd5aa
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 0x1400dd5b6
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], 0xf
jmp 0x1400dd5ca
xor eax, eax
mov qword [rsp + 0x38], rsi
test ax, ax
jne 0x1400dd562
xor ebx, ebx
xor eax, eax
or rax, rbx
test ax, ax
je 0x1400dd58e
movzx eax, ax
cmp eax, 1
jne 0x1400dd5ca
cmp qword [rsp + 0x38], 0
je 0x1400dd709
mov r8d, 0xf
lea rax, [0x140172297]
and rax, 0xfffffffffffffff8
sub rax, rdi
movdqa xmm0, xmmword [str.::::::::::::::::]
movdqa xmm1, xmmword [0x140128140]
movabs rdx, 0x8080808080808080
lea rcx, [0x1401727f8]
jmp 0x1400dd61a
cmp r8, 0xf
ja 0x1400dd6ea
mov r9, r8
mov r10, r8
cmp r8, rax
jb 0x1400dd63e
mov r11d, r8d
sub r11d, eax
and r11d, 0xf
mov r9, r8
mov r10, rax
sub r9, r11
jb 0x1400ddc4a
lea r11, [rdi + r8]
sub r11, rdi
sub r11, r9
lea rsi, [r8 + rdi]
dec rsi
nop
test r11, r11
je 0x1400dd670
dec r11
cmp byte [rsi], 0x3a
lea rsi, [rsi - 1]
jne 0x1400dd650
add r11, r9
mov r8, r11
jmp 0x1400dd6c4
mov r11, r9
cmp r9, r10
jbe 0x1400dd6a6
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 0x1400dd670
cmp r11, r8
ja 0x1400ddc4a
nop
test r11, r11
je 0x1400dd6ea
lea r8, [r11 - 1]
cmp byte [r11 + rdi - 1], 0x3a
mov r11, r8
jne 0x1400dd6b0
cmp r8, 0xe
ja 0x1400dd610
cmp byte [r8 + rdi], 0x3a
jne 0x1400dd610
lea rcx, str.invalid_port_value
cmp r8, 0xe
jne 0x1400ddaf0
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 [0x1401a4170]
mov rcx, qword [0x1401a4160]
test rcx, rcx
jne 0x1400dd74c
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400ddc4a
mov rcx, rax
mov qword [0x1401a4160], rax
mov r8d, 0x20
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x1400ddc4a
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 0x1400dd820
mov rcx, qword [0x1401a4160]
xor edx, edx
mov r8, r15
call sub.KERNEL32.dll_HeapFree
dec rbx
mov rcx, qword [0x1401a4160]
xor edx, edx
mov r8, rbx
call sub.KERNEL32.dll_HeapFree
shl r12, 0x20
mov rbx, r12
or rbx, 2
add r13, 0x20
mov rcx, qword [rsp + 0xa0]
cmp r13, rcx
je 0x1400dda0e
movzx r14d, word [r13]
cmp r14w, 2
je 0x1400dda0e
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 [0x1401a4130]
cmp rax, 3
jne 0x1400dd9fd
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 0x1400dd8c0
test r14w, r14w
je 0x1400dd940
mov r8d, 0x1c
mov ax, 0x17
movdqu xmm0, xmmword [rsp + 0x32]
jmp 0x1400dd957
mov dword [rsp + 0x9c], r12d
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x2739
je 0x1400dd8e2
mov r12d, eax
cmp eax, 0x2726
jne 0x1400dd99a
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 0x1400dd9eb
mov r15, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call sub.KERNEL32.dll_SetHandleInformation
test eax, eax
je 0x1400dda07
mov r12d, dword [rsp + 0x9c]
test r14w, r14w
jne 0x1400dd8aa
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 0x1400dda50
call sub.ws2_32.dll_WSAGetLastError
mov r12d, eax
mov rcx, r15
call fcn.14012054c
test rbx, rbx
je 0x1400dd800
mov eax, ebx
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x1400dd800
test rax, rax
je 0x1400dd800
mov r15, qword [rbx - 1]
mov rsi, qword [rbx + 7]
mov rcx, r15
call qword [rsi]
cmp qword [rsi + 8], 0
je 0x1400dd7ec
cmp qword [rsi + 0x10], 0x11
jb 0x1400dd7db
mov r15, qword [r15 - 8]
jmp 0x1400dd7db
call sub.ws2_32.dll_WSAGetLastError
mov r12d, eax
test rbx, rbx
jne 0x1400dd9a3
jmp 0x1400dd800
call fcn.1400dff60
jmp 0x1400dd864
call sub.KERNEL32.dll_GetLastError
jmp 0x1400dd98f
mov r14, qword [rsp + 0x80]
mov r13, qword [rsp + 0x88]
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x1400dda39
mov rcx, qword [0x1401a4160]
xor edx, edx
mov r8, r13
call sub.KERNEL32.dll_HeapFree
test rbx, rbx
lea rax, [0x1401722c8]
cmovne rax, rbx
mov qword [r14 + 8], rax
jmp 0x1400dd6ee
mov rax, qword [rsp + 0x80]
mov qword [rax + 8], r15
mov qword [rax], 0
cmp qword [rsp + 0x78], 0
je 0x1400dda81
mov rcx, qword [0x1401a4160]
xor edx, edx
mov r8, qword [rsp + 0x88]
call sub.KERNEL32.dll_HeapFree
test rbx, rbx
je 0x1400dd6f5
mov eax, ebx
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x1400dd6f5
test rax, rax
je 0x1400dd6f5
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 0x1400ddada
cmp qword [rbx + 0x10], 0x11
jb 0x1400ddac9
mov rdi, qword [rdi - 8]
mov rcx, qword [0x1401a4160]
xor edx, edx
mov r8, rdi
call sub.KERNEL32.dll_HeapFree
mov rcx, qword [0x1401a4160]
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
jmp 0x1400dd6f5
lea r9, [r8 + rdi]
inc r9
movzx eax, byte [r9]
mov r10d, 0xe
cmp eax, 0x2d
je 0x1400ddb20
cmp eax, 0x2b
jne 0x1400ddb2a
cmp r8, 0xd
je 0x1400dd6ea
inc r9
mov r10d, 0xd
jmp 0x1400ddb2a
cmp r8, 0xd
je 0x1400dd6ea
sub r10, r8
cmp r10, 5
jae 0x1400ddb8a
xor edx, edx
xor eax, eax
movzx r11d, byte [r9 + rdx]
add r11d, 0xffffffd0
cmp r11d, 9
ja 0x1400dd6ea
add eax, eax
lea eax, [rax + rax*4]
add eax, r11d
inc rdx
cmp r10, rdx
jne 0x1400ddb37
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.1400e39d0
cmp qword [rsp + 0x30], 0
je 0x1400ddbc4
mov rcx, qword [rsp + 0x38]
jmp 0x1400dd6ea
xor r11d, r11d
mov si, 0xa
xor eax, eax
cmp r10, r11
je 0x1400ddb5a
movzx ebx, byte [r9 + r11]
mul si
seto dl
add ebx, 0xffffffd0
cmp ebx, 9
ja 0x1400dd6ea
test dl, dl
jne 0x1400dd6ea
inc r11
add ax, bx
jae 0x1400ddb93
jmp 0x1400dd6ea
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.1400ed2c0
mov r13, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
shl rcx, 5
je 0x1400ddc3a
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], r14
add rcx, r13
jmp 0x1400dd7c7
xor ebx, ebx
test rax, rax
jne 0x1400dda28
jmp 0x1400dda39
ud2