Function at 0x14001fd40
Capabilities:
Connect socket
Delete directory
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1400711c0]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r15, rdx
mov r13, rcx
lea rcx, [rbp - 0x80]
call fcn.14002df20
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xor r14d, r14d
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x58], r14b
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], r14b
mov dword [rsp + 0x30], WSAGetLastError
mov r12b, 1
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov ecx, edx
call qword [sym.imp.WS2_32.dll_WSASocketA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001fe0e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.14000fff0
mov dword [rbx], eax
mov rdx, r15
mov rcx, r13
call fcn.140020330
mov ebx, eax
jmp 0x140020253
mov rcx, rdi
call fcn.1400209b0
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.14001f6e0
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rdx, qword [rsp + 0x38]
lea rcx, [rbp - 0x80]
call fcn.14002df60
lea rsi, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_srcip.cpp
test eax, eax
jne 0x14001fe8d
lea rcx, [rbp - 0x80]
call fcn.14002df50
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.1400140b0
mov rdx, rax
mov r8d, ebx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x14001ff96
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.14000fff0
mov dword [rbx], eax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov esi, dword [rax]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x14001ff07
call fcn.14000fcc0
mov rdi, rax
test rax, rax
je 0x14001ff07
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov dword [rsp + 0x28], 0x280
lea rax, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_srcip.cpp
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rdi
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.14000f4d0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, rdi
call fcn.1400102a0
cmp qword [rsp + 0x48], 0
je 0x14001ff7b
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__unlink]
test eax, eax
jne 0x14001ff62
cmp qword [rsp + 0x68], 0
je 0x14001ff62
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__rmdir]
mov qword [rsp + 0x68], r14
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rax, qword [rsp + 0x58]
mov byte [rax], 0
mov qword [rsp + 0x48], r14
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rax, qword [rsp + 0x38]
mov byte [rax], 0
test r12b, r12b
je 0x140020246
mov rdx, r15
mov rcx, r13
call fcn.140020330
mov ebx, eax
jmp 0x140020253
xor r12b, r12b
mov edx, 1
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_listen]
test eax, eax
jne 0x14001fe75
lea r8, [rsp + 0x30]
lea rdx, [rbp]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x140020032
call fcn.14000fcc0
mov rsi, rax
test rax, rax
je 0x14002002b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov dword [rsp + 0x28], 0x254
lea rax, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_srcip.cpp
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.14000f4d0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, rsi
call fcn.1400102a0
lea rsi, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_srcip.cpp
xor r8d, r8d
mov edx, 1
mov ecx, edx
call fcn.140020a50
mov qword [r15], rax
cmp rax, 0xffffffffffffffff
je 0x14001fe75
mov r8d, dword [rsp + 0x30]
lea rdx, [rbp]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1400200f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r14d, dword [rax]
mov rcx, qword [r15]
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x1400200e4
call fcn.14000fcc0
mov rsi, rax
test rax, rax
je 0x1400200e4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov dword [rsp + 0x28], 0x27a
lea rax, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_srcip.cpp
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.14000f4d0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, rsi
call fcn.1400102a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], r14d
xor r14d, r14d
jmp 0x14001fe8d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_accept]
mov qword [r13], rax
cmp rax, 0xffffffffffffffff
jne 0x140020162
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
mov rbx, rax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov dword [rsp + 0x20], 0x265
mov r9, rsi
mov r8, rbx
lea rdx, str._s___s:_d__n
call fcn.14000f4d0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, rbx
call fcn.1400102a0
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x1400201cd
call fcn.14000fcc0
mov rdi, rax
test rax, rax
je 0x1400201cd
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov dword [rsp + 0x28], 0x269
mov qword [rsp + 0x20], rsi
mov r9d, ebx
mov r8, rdi
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.14000f4d0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, rdi
call fcn.1400102a0
cmp qword [rsp + 0x48], 0
je 0x140020241
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__unlink]
test eax, eax
jne 0x140020228
cmp qword [rsp + 0x68], 0
je 0x140020228
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__rmdir]
mov qword [rsp + 0x68], r14
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rax, qword [rsp + 0x58]
mov byte [rax], r12b
mov qword [rsp + 0x48], r14
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rax, qword [rsp + 0x38]
mov byte [rax], r12b
mov ebx, r14d
jmp 0x140020253
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], esi
mov ebx, 0xffffffff
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140020293
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002028e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002028e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140053810
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400202e6
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400202e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400202e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140053810
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x58], 0
lea rcx, [rbp - 0x80]
call fcn.140020b70
mov eax, ebx
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140053e80
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret