Function at 0x1400e3ab0
Capabilities:
Create tcp socket
Create udp socket
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf8
lea rdi, str.127.0.0.1:34254could_not_resolve_to_any_addresses
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0xf
lea rcx, [rsp + 0x38]
call fcn.14000b3b0
mov rbx, rax
test bl, 1
je 0x1400e3c9d
mov r8, qword [rsp + 0x40]
test r8, r8
je 0x1400e3c98
mov r10, qword [rsp + 0x38]
cmp byte [r10], 0x3a
jne 0x1400e3c98
mov r9, r8
dec r9
je 0x1400e3c98
movabs rax, 0xffffffff00
and rbx, rax
shr rbx, 8
xor r11d, r11d
mov si, 0xa
xor eax, eax
nop word cs:[rax + rax]
movzx ebp, byte [r10 + r11 + 1]
add ebp, 0xffffffd0
cmp ebp, 9
ja 0x1400e3b73
mul si
jo 0x1400e3c98
mov ecx, eax
add ax, bp
jb 0x1400e3c98
movsx eax, bp
add eax, ecx
inc r11
cmp r9, r11
jne 0x1400e3b40
xor ecx, ecx
jmp 0x1400e3b7c
mov rcx, r9
sub rcx, r11
mov r9d, r11d
mov qword [rsp + 0x40], rcx
test r9d, r9d
je 0x1400e3c98
movzx eax, ax
shl rax, 0x30
shl rbx, 0x10
or rbx, rax
mov eax, 1
or rax, rbx
cmp ax, 1
jne 0x1400e3cae
cmp qword [rsp + 0x40], 0
jne 0x1400e3cc3
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0xb0], eax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xa8], rax
movzx eax, byte [0x140196310]
mov edx, 0x20
xor ecx, ecx
call fcn.1400f0c90
test rax, rax
je 0x1400e41b4
mov rsi, rax
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 [rsi + 6], bx
mov dword [rsi + 2], ecx
mov rax, qword [rsp + 0xa8]
mov qword [rsi + 8], rax
mov eax, dword [rsp + 0xb0]
mov dword [rsi + 0x10], eax
mov dword [rsi + 0x14], 0
mov rax, rsi
add rax, 0x20
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xc8], 1
mov qword [rsp + 0xd0], rax
mov rax, rsi
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
cmp rsi, rax
je 0x1400e4036
xor edi, edi
jmp 0x1400e3dd4
mov qword [rsp + 0x40], r8
xor ebx, ebx
xor eax, eax
or rax, rbx
cmp ax, 1
je 0x1400e3baa
movzx eax, ax
test eax, eax
jne 0x1400e3cc3
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0xf
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0xf
mov qword [rsp + 0x48], 0
mov byte [rsp + 0x60], 1
movabs rax, 0x3a0000003a
mov qword [rsp + 0x58], rax
mov bl, 0x3a
mov r8d, 0xf
jmp 0x1400e3d06
cmp r8, 0xf
ja 0x1400e3d5e
mov cl, 0x3a
mov rdx, rdi
call fcn.14000d7a0
cmp rax, 1
jne 0x1400e3d5e
mov r8, rdx
cmp rdx, 0xf
jae 0x1400e3d00
cmp byte [r8 + rdi], bl
jne 0x1400e3d00
mov r9, r8
lea rsi, str.invalid_port_value
sub r9, 0xe
je 0x1400e3d65
lea rcx, [r8 + rdi]
inc rcx
cmp r8, 0xd
jne 0x1400e3fd0
movzx eax, byte [rcx]
cmp eax, 0x2b
je 0x1400e3d65
mov r9d, 1
cmp eax, 0x2d
je 0x1400e3d65
jmp 0x1400e4082
lea rsi, str.invalid_socket_address
mov eax, 1
mov rdx, rsi
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [0x140196260]
xor edx, edx
mov r8, r15
call qword [sym.imp.kernel32.dll_HeapFree]
dec rdi
mov rcx, qword [0x140196260]
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapFree]
shl r12, 0x20
or r12, 2
add rsi, 0x20
mov rdi, r12
cmp rsi, qword [rsp + 0xd8]
je 0x1400e4039
movzx r13d, word [rsi]
cmp r13w, 2
je 0x1400e4068
mov r14d, dword [rsi + 0x14]
mov r12d, dword [rsi + 0x18]
movzx ebx, word [rsi + 0x1c]
movzx eax, word [rsi + 0x12]
mov word [rsp + 0x90], ax
movups xmm0, xmmword [rsi + 2]
movaps xmmword [rsp + 0x80], xmm0
mov rax, qword [0x140196268]
cmp rax, 3
jne 0x1400e3fbe
test r13w, r13w
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 qword [sym.imp.ws2_32.dll_WSASocketW]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x1400e3e80
test r13w, r13w
je 0x1400e3f00
mov r8d, 0x1c
mov ax, 0x17
movups xmm0, xmmword [rsp + 0x82]
jmp 0x1400e3f1d
mov dword [rsp + 0x6c], r12d
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2739
je 0x1400e3ea0
mov r12d, eax
cmp eax, 0x2726
jne 0x1400e3f63
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 0x1400e3fa5
mov r15, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call qword [sym.imp.kernel32.dll_SetHandleInformation]
test eax, eax
je 0x1400e3fc8
mov r12d, dword [rsp + 0x6c]
test r13w, r13w
jne 0x1400e3e5f
nop dword [rax + rax]
movzx ebx, word [rsp + 0x84]
mov r14d, dword [rsp + 0x80]
xorps xmm0, xmm0
mov r8d, 0x10
mov ax, 2
rol bx, 8
mov word [rsp + 0x38], ax
mov word [rsp + 0x3a], bx
mov dword [rsp + 0x3c], r14d
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], r12d
mov rcx, r15
lea rdx, [rsp + 0x38]
call qword [sym.imp.ws2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x1400e4136
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r12d, eax
mov rcx, r15
call qword [sym.imp.ws2_32.dll_closesocket]
mov eax, edi
and eax, 3
cmp eax, 1
jne 0x1400e3db7
mov r15, qword [rdi - 1]
mov rbx, qword [rdi + 7]
mov rax, qword [rbx]
test rax, rax
je 0x1400e3f86
mov rcx, r15
call rax
cmp qword [rbx + 8], 0
je 0x1400e3da2
cmp qword [rbx + 0x10], 0x11
jb 0x1400e3d90
mov r15, qword [r15 - 8]
jmp 0x1400e3d90
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r12d, eax
mov eax, edi
and eax, 3
cmp eax, 1
jne 0x1400e3db7
jmp 0x1400e3f71
call fcn.1401235c0
jmp 0x1400e3e18
call qword [sym.imp.kernel32.dll_GetLastError]
jmp 0x1400e3f57
cmp byte [rcx], 0x2b
jne 0x1400e4075
lea rcx, [rdi + r8]
add rcx, 2
mov r9d, 0xd
sub r9, r8
cmp r8, 8
ja 0x1400e4082
xor r10d, r10d
mov r11w, 0xa
xor eax, eax
nop
cmp r9, r10
je 0x1400e40b3
mul r11w
seto bl
movzx edx, byte [rcx + r10]
add edx, 0xffffffd0
cmp edx, 9
ja 0x1400e3d65
test bl, bl
jne 0x1400e3d65
inc r10
add ax, dx
jae 0x1400e4000
jmp 0x1400e3d65
xor r12d, r12d
cmp qword [rsp + 0x78], 0
je 0x1400e4055
mov rcx, qword [0x140196260]
xor edx, edx
mov r8, qword [rsp + 0x70]
call qword [sym.imp.kernel32.dll_HeapFree]
test r12, r12
lea rsi, [0x14015bbb0]
cmovne rsi, r12
jmp 0x1400e3d65
mov r12, rdi
cmp qword [rsp + 0x78], 0
jne 0x1400e4041
jmp 0x1400e4055
neg r9
cmp r8, 9
jbe 0x1400e3ff4
xor edx, edx
xor eax, eax
nop word cs:[rax + rax]
movzx r10d, byte [rcx + rdx]
add r10d, 0xffffffd0
cmp r10d, 9
ja 0x1400e3d65
add eax, eax
lea eax, [rax + rax*4]
add eax, r10d
inc rdx
cmp r9, rdx
jne 0x1400e4090
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], r8
mov word [rsp + 0x48], ax
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x38]
call fcn.1400efcd0
cmp qword [rsp + 0x80], 0
mov rsi, qword [rsp + 0x88]
jne 0x1400e3d65
movups xmm0, xmmword [rsp + 0x90]
movups xmmword [rsp + 0xe8], xmm0
mov qword [rsp + 0xe0], rsi
lea rcx, [rsp + 0xb8]
lea rdx, [rsp + 0xe0]
call fcn.1400eff10
mov rax, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xc0]
test rax, rax
jne 0x1400e3c66
jmp 0x1400e3d65
cmp qword [rsp + 0x78], 0
je 0x1400e4152
mov rcx, qword [0x140196260]
xor edx, edx
mov r8, qword [rsp + 0x70]
call qword [sym.imp.kernel32.dll_HeapFree]
mov eax, edi
and eax, 3
cmp eax, 1
jne 0x1400e41aa
mov rsi, qword [rdi - 1]
mov rbx, qword [rdi + 7]
mov rax, qword [rbx]
test rax, rax
je 0x1400e4171
mov rcx, rsi
call rax
dec rdi
cmp qword [rbx + 8], 0
je 0x1400e4198
cmp qword [rbx + 0x10], 0x11
jb 0x1400e4186
mov rsi, qword [rsi - 8]
mov rcx, qword [0x140196260]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [0x140196260]
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapFree]
xor eax, eax
mov rsi, r15
jmp 0x1400e3d6a
mov ecx, 4
mov edx, 0x20
call fcn.140119090
int3