Function at 0x140032480
Capabilities:
Get local ipv4 addresses
Get socket information
Initialize winsock library
Resolve dns
Set socket configuration

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x230
mov qword [rax - 0x1a0], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400c0030]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov rdi, rcx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x34], 0xa
mov dword [rsp + 0x38], 8
mov dword [rsp + 0x3c], 0x15f90
mov dword [rsp + 0x40], 0x15f90
call fcn.1400365c0
mov rbx, rax
mov rax, qword [rax]
mov rsi, qword [rax + 0x10]
lea r14, [method.ConfigMgmt.virtual_16]
cmp rsi, r14
jne 0x140032522
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xa
xor r9d, r9d
lea r8, [rsp + 0x34]
lea rdx, [0x1400c67a0]
mov rcx, rbx
call fcn.1400473f0
jmp 0x140032551
mov rcx, rsi
call qword [fcn.14005d040]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xa
xor r9d, r9d
lea r8, [rsp + 0x34]
lea rdx, [0x1400c67a0]
mov rcx, rbx
call rsi
call fcn.1400365c0
mov rbx, rax
mov rax, qword [rax]
mov rsi, qword [rax + 0x10]
cmp rsi, r14
jne 0x140032593
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x18
mov r9d, 1
lea r8, [rsp + 0x38]
lea rdx, [0x1400c6640]
mov rcx, rbx
call fcn.1400473f0
jmp 0x1400325c5
mov rcx, rsi
call qword [fcn.14005d040]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x18
mov r9d, 1
lea r8, [rsp + 0x38]
lea rdx, [0x1400c6640]
mov rcx, rbx
call rsi
call fcn.1400365c0
mov rbx, rax
mov rax, qword [rax]
mov rsi, qword [rax + 0x10]
cmp rsi, r14
jne 0x140032604
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2bf20
xor r9d, r9d
lea r8, [rsp + 0x3c]
lea rdx, [0x1400c6720]
mov rcx, rbx
call fcn.1400473f0
jmp 0x140032633
mov rcx, rsi
call qword [fcn.14005d040]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2bf20
xor r9d, r9d
lea r8, [rsp + 0x3c]
lea rdx, [0x1400c6720]
mov rcx, rbx
call rsi
call fcn.1400365c0
mov rbx, rax
mov rax, qword [rax]
mov rsi, qword [rax + 0x10]
cmp rsi, r14
jne 0x140032672
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2bf20
xor r9d, r9d
lea r8, [rsp + 0x40]
lea rdx, [0x1400c6700]
mov rcx, rbx
call fcn.1400473f0
jmp 0x1400326a1
mov rcx, rsi
call qword [fcn.14005d040]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2bf20
xor r9d, r9d
lea r8, [rsp + 0x40]
lea rdx, [0x1400c6700]
mov rcx, rbx
call rsi
mov eax, dword [rsp + 0x34]
mov dword [rdi + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rdi + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov dword [rdi + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rdi + 0x44], eax
lea r14, vtable.LogItem.0
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0xd0], 7
xor ebx, ebx
mov qword [rsp + 0xc8], rbx
mov word [rsp + 0xb8], bx
mov qword [rsp + 0xf0], 7
mov qword [rsp + 0xe8], rbx
mov word [rsp + 0xd8], bx
mov dword [rsp + 0xf8], 1
mov dword [rsp + 0xfc], 2
lea rdx, [0x1400a4444]
lea rcx, [rsp + 0xb0]
call fcn.140025060
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e620
mov dword [rax + 0x48], 1
lea rdx, [0x1400a4448]
mov rcx, rax
call fcn.140025060
mov rcx, rax
lea rdx, str.Socket_server_initialize_called._Initializing_Winsock
call fcn.140025060
nop
lea rcx, [rsp + 0xb0]
call fcn.140024c00
lea rdx, [rdi + 0x68]
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rsp + 0x110], eax
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0xd0], 7
mov qword [rsp + 0xc8], rbx
mov word [rsp + 0xb8], bx
mov qword [rsp + 0xf0], 7
mov qword [rsp + 0xe8], rbx
mov word [rsp + 0xd8], bx
mov dword [rsp + 0xf8], 1
test eax, eax
je 0x140032852
mov dword [rsp + 0xfc], 3
lea rdx, [0x1400a4444]
lea rcx, [rsp + 0xb0]
call fcn.140025060
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e620
mov dword [rax + 0x48], 1
lea rdx, [0x1400a4448]
mov rcx, rax
call fcn.140025060
mov rcx, rax
lea rdx, str.WSAStartup_failed:
call fcn.140025060
mov rcx, rax
lea rdx, [rsp + 0x110]
call fcn.140024f40
nop
lea rcx, [rsp + 0xb0]
call fcn.140024c00
mov eax, dword [rsp + 0x110]
jmp 0x140033605
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x6c], 2
mov dword [rsp + 0x70], 1
mov dword [rsp + 0x74], 6
mov dword [rsp + 0x68], 1
mov dword [rsp + 0xfc], 1
lea rdx, [0x1400a4444]
lea rcx, [rsp + 0xb0]
call fcn.140025060
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e620
mov dword [rax + 0x48], 1
lea rdx, [0x1400a4448]
mov rcx, rax
call fcn.140025060
mov rcx, rax
lea rdx, str.Resolving_the_local_address_and_port_to_be_used_by_the_server
call fcn.140025060
nop
lea rcx, [rsp + 0xb0]
call fcn.140024c00
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x98], xmm0
mov qword [rsp + 0x48], rbx
lea rcx, [0x1400c4000]
cmp qword [0x1400c4018], 0x10
cmovae rcx, qword [0x1400c4000]
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x68]
xor edx, edx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [rsp + 0x110], eax
test eax, eax
je 0x140032a0b
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0xd0], 7
mov qword [rsp + 0xc8], rbx
mov word [rsp + 0xb8], bx
mov qword [rsp + 0xf0], 7
mov qword [rsp + 0xe8], rbx
mov word [rsp + 0xd8], bx
mov dword [rsp + 0xf8], 1
mov dword [rsp + 0xfc], 3
lea rdx, [0x1400a4444]
lea rcx, [rsp + 0xb0]
call fcn.140025060
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e620
mov dword [rax + 0x48], 1
lea rdx, [0x1400a4448]
mov rcx, rax
call fcn.140025060
mov rcx, rax
lea rdx, str.getaddrinfo_failed:
call fcn.140025060
mov rcx, rax
lea rdx, [rsp + 0x110]
call fcn.140024f40
nop
lea rcx, [rsp + 0xb0]
call fcn.140024c00
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
nop
jmp 0x140033605
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x110], xmm0
mov r8, qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x110]
call fcn.1400398f0
mov rsi, qword [rsp + 0x118]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0xa0], rsi
mov r15, qword [rsp + 0x110]
mov qword [rsp + 0x98], r15
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0xd0], 7
mov qword [rsp + 0xc8], rbx
mov word [rsp + 0xb8], bx
mov qword [rsp + 0xf0], 7
mov qword [rsp + 0xe8], rbx
mov word [rsp + 0xd8], bx
mov dword [rsp + 0xf8], 1
mov dword [rsp + 0xfc], 1
lea rdx, [0x1400a4444]
lea rcx, [rsp + 0xb0]
call fcn.140025060
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e620
mov dword [rax + 0x48], 1
lea rdx, [0x1400a4448]
mov rcx, rax
call fcn.140025060
mov rcx, rax
lea rdx, str.Creating_a_SOCKET_for_the_server_to_listen_for_client_connections
call fcn.140025060
nop
lea rcx, [rsp + 0xb0]
call fcn.140024c00
mov r8d, dword [r15 + 0xc]
mov edx, dword [r15 + 8]
mov ecx, dword [r15 + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rdi + 0x200], rax
cmp rax, 0xffffffffffffffff
jne 0x140032c01
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0xd0], 7
mov qword [rsp + 0xc8], rbx
mov word [rsp + 0xb8], bx
mov qword [rsp + 0xf0], 7
mov qword [rsp + 0xe8], rbx
mov word [rsp + 0xd8], bx
mov dword [rsp + 0xf8], 1
mov dword [rsp + 0xfc], 3
lea rdx, [0x1400a4444]
lea rcx, [rsp + 0xb0]
call fcn.140025060
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e620
mov dword [rax + 0x48], 1
lea rdx, [0x1400a4448]
mov rcx, rax
call fcn.140025060
mov rcx, rax
lea rdx, str.Error_at_socket__:
call fcn.140025060
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.140024f40
nop
lea rcx, [rsp + 0xb0]
call fcn.140024c00
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
test rsi, rsi
je 0x140032bfa
mov rcx, rsi
call fcn.140030080
mov eax, ebx
jmp 0x140033605
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0xd0], 7
mov qword [rsp + 0xc8], rbx
mov word [rsp + 0xb8], bx
mov qword [rsp + 0xf0], 7
mov qword [rsp + 0xe8], rbx
mov word [rsp + 0xd8], bx
mov dword [rsp + 0xf8], 1
mov dword [rsp + 0xfc], 1
lea rdx, [0x1400a4444]
lea rcx, [rsp + 0xb0]
call fcn.140025060
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e620
mov dword [rax + 0x48], 1
lea rdx, [0x1400a4448]
mov rcx, rax
call fcn.140025060
mov rcx, rax
lea rdx, str.Setting_socket_I_O_mode_to_non_blocking
call fcn.140025060
nop
lea rcx, [rsp + 0xb0]
call fcn.140024c00
mov dword [rsp + 0x50], 1
lea r8, [rsp + 0x50]
mov edx, 0x8004667e
mov rcx, qword [rdi + 0x200]
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov dword [rsp + 0x110], eax
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0xd0], 7
mov qword [rsp + 0xc8], rbx
mov word [rsp + 0xb8], bx
mov qword [rsp + 0xf0], 7
mov qword [rsp + 0xe8], rbx
mov word [rsp + 0xd8], bx
mov dword [rsp + 0xf8], 1
test eax, eax
je 0x140032db5
mov dword [rsp + 0xfc], 3
lea rdx, [0x1400a4444]
lea rcx, [rsp + 0xb0]
call fcn.140025060
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e620
mov dword [rax + 0x48], 1
lea rdx, [0x1400a4448]
mov rcx, rax
call fcn.140025060
mov rcx, rax
lea rdx, str.ioctlsocket_failed_with_error:
call fcn.140025060
mov rcx, rax
lea rdx, [rsp + 0x110]
call fcn.140024f40
nop
lea rcx, [rsp + 0xb0]
call fcn.140024c00
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
test rsi, rsi
je 0x140032bfa
mov rcx, rsi
call fcn.140030080
mov eax, ebx
jmp 0x140033605
mov dword [rsp + 0xfc], 1
lea rdx, [0x1400a4444]
lea rcx, [rsp + 0xb0]
call fcn.140025060
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e620
mov dword [rax + 0x48], 1
lea rdx, [0x1400a4448]
mov rcx, rax
call fcn.140025060
mov rcx, rax
lea rdx, str.Binding_local_address_with_a_socket
call fcn.140025060
nop
lea rcx, [rsp + 0xb0]
call fcn.140024c00
mov r8d, dword [r15 + 0x10]
mov rdx, qword [r15 + 0x20]
mov rcx, qword [rdi + 0x200]
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x140032f15
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0xd0], 7
mov qword [rsp + 0xc8], rbx
mov word [rsp + 0xb8], bx
mov qword [rsp + 0xf0], 7
mov qword [rsp + 0xe8], rbx
mov word [rsp + 0xd8], bx
mov dword [rsp + 0xf8], 1
mov dword [rsp + 0xfc], 3
lea rdx, [0x1400a4444]
lea rcx, [rsp + 0xb0]
call fcn.140025060
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e620
mov dword [rax + 0x48], 1
lea rdx, [0x1400a4448]
mov rcx, rax
call fcn.140025060
mov rcx, rax
lea rdx, str.bind_failed_with_error:
call fcn.140025060
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.140024f40
nop
lea rcx, [rsp + 0xb0]
call fcn.140024c00
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
test rsi, rsi
je 0x140032bfa
mov rcx, rsi
call fcn.140030080
mov eax, ebx
jmp 0x140033605
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0xd0], 7
mov qword [rsp + 0xc8], rbx
mov word [rsp + 0xb8], bx
mov qword [rsp + 0xf0], 7
mov qword [rsp + 0xe8], rbx
mov word [rsp + 0xd8], bx
mov dword [rsp + 0xf8], 1
mov dword [rsp + 0xfc], 1
lea rdx, [0x1400a4444]
lea rcx, [rsp + 0xb0]
call fcn.140025060
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e620
mov dword [rax + 0x48], 1
lea rdx, [0x1400a4448]
mov rcx, rax
call fcn.140025060
mov rcx, rax
lea rdx, str.Retrieving_dynamically_assigned_port_and_storing_it_in_Windows_Registry
call fcn.140025060
nop
lea rcx, [rsp + 0xb0]
call fcn.140024c00
xor eax, eax
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x138], rax
mov dword [rsp + 0x44], reloc.WS2_32.dll_recv
lea r8, [rsp + 0x44]
lea rdx, [rsp + 0x130]
mov rcx, qword [rdi + 0x200]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x1400330f0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x110], eax
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0xc8], rbx
mov qword [rsp + 0xd0], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xb8]
call fcn.14002a0d0
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xf0], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xd8]
call fcn.14002a0d0
mov dword [rsp + 0xf8], 1
mov dword [rsp + 0xfc], 3
lea rdx, [0x1400a4444]
lea rcx, [rsp + 0xb0]
call fcn.140025060
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e620
mov dword [rax + 0x48], 1
lea rdx, [0x1400a4448]
mov rcx, rax
call fcn.140025060
mov rcx, rax
lea rdx, str.getsockname_failed_with_error:
call fcn.140025060
mov rcx, rax
lea rdx, [rsp + 0x110]
call fcn.140024f40
nop
lea rcx, [rsp + 0xb0]
call fcn.140024c00
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
test rsi, rsi
je 0x140032bfa
mov rcx, rsi
call fcn.140030080
mov eax, ebx
jmp 0x140033605
movzx ecx, word [rsp + 0x132]
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rsp + 0x110], ax
movzx eax, ax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0xc8], rbx
mov qword [rsp + 0xd0], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xb8]
call fcn.14002a0d0
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xf0], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xd8]
call fcn.14002a0d0
mov dword [rsp + 0xf8], 1
mov dword [rsp + 0xfc], 2
lea rdx, [0x1400a4444]
lea rcx, [rsp + 0xb0]
call fcn.140025060
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e620
mov dword [rax + 0x48], 1
lea rdx, [0x1400a4448]
mov rcx, rax
call fcn.140025060
mov rcx, rax
lea rdx, [0x1400a4658]
call fcn.140025060
mov rcx, rax
lea rdx, str.SocketHeciServer::SocketServer::InitializeInternal
call fcn.140025060
mov rcx, rax
lea rdx, [0x1400a4448]
call fcn.140025060
mov rcx, rax
lea rdx, str.Socket_bound__listening_on_port:
call fcn.140025060
mov rcx, rax
lea rdx, [rsp + 0x110]
call fcn.14002e880
nop
lea rcx, [rsp + 0xb0]
call fcn.140024c00
lea rcx, [rsp + 0x48]
call fcn.14004e960
nop
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.14003cd00
test al, al
jne 0x140033277
lea rdx, str.SocketHeciServer::SocketServer::InitializeInternal
lea rcx, [rsp + 0x110]
call fcn.140029650
nop
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0xb0]
call fcn.1400242f0
nop
mov rcx, rax
call fcn.140038d90
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.1400243f0
lea rdx, [0x1400bc478]
lea rcx, [rsp + 0x160]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, qword [rsp + 0x48]
call fcn.140031890
nop
lea rcx, [rsp + 0x110]
call fcn.14004eb00
nop
lea rcx, [rsp + 0x110]
call fcn.14003c2d0
test al, al
je 0x14003331d
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x110]
call fcn.14003cd00
test al, al
jne 0x14003330f
lea rdx, str.SocketHeciServer::SocketServer::InitializeInternal
lea rcx, [rsp + 0x140]
call fcn.140029650
nop
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0xb0]
call fcn.1400242f0
nop
mov rcx, rax
call fcn.140038d90
mov rdx, rax
lea rcx, [rsp + 0x1c0]
call fcn.1400243f0
lea rdx, [0x1400bc478]
lea rcx, [rsp + 0x1c0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, qword [rsp + 0x110]
call fcn.140031890
nop
mov r15d, 0x80000000
mov rcx, qword [rsp + 0x110]
lea rax, [rcx + r15]
cmp rax, 3
jbe 0x140033345
cmp rcx, 0xffffffff80000005
je 0x140033345
call qword [sym.imp.advapi32.dll_RegCloseKey]
nop
jmp 0x140033360
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + r15]
cmp rax, 3
jbe 0x14003337e
cmp rcx, 0xffffffff80000005
je 0x14003337e
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0xc8], rbx
mov qword [rsp + 0xd0], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xb8]
call fcn.14002a0d0
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xf0], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xd8]
call fcn.14002a0d0
mov dword [rsp + 0xf8], 1
mov dword [rsp + 0xfc], 1
lea rdx, [0x1400a4444]
lea rcx, [rsp + 0xb0]
call fcn.140025060
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e620
mov dword [rax + 0x48], 1
lea rdx, [0x1400a4448]
mov rcx, rax
call fcn.140025060
mov rcx, rax
lea rdx, str.Listen_for_incoming_connection
call fcn.140025060
nop
lea rcx, [rsp + 0xb0]
call fcn.140024c00
mov edx, 0x7fffffff
mov rcx, qword [rdi + 0x200]
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x14003353e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x44], eax
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0xc8], rbx
mov qword [rsp + 0xd0], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xb8]
call fcn.14002a0d0
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xf0], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xd8]
call fcn.14002a0d0
mov dword [rsp + 0xf8], 1
mov dword [rsp + 0xfc], 3
lea rdx, [0x1400a4444]
lea rcx, [rsp + 0xb0]
call fcn.140025060
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e620
mov dword [rax + 0x48], 1
lea rdx, [0x1400a4448]
mov rcx, rax
call fcn.140025060
mov rcx, rax
lea rdx, str.Listen_failed_with_error:
call fcn.140025060
mov rcx, rax
lea rdx, [rsp + 0x44]
call fcn.140024f40
nop
lea rcx, [rsp + 0xb0]
call fcn.140024c00
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
test rsi, rsi
je 0x140032bfa
mov rcx, rsi
call fcn.140030080
mov eax, ebx
jmp 0x140033605
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0xc8], rbx
mov qword [rsp + 0xd0], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xb8]
call fcn.14002a0d0
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xf0], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xd8]
call fcn.14002a0d0
mov dword [rsp + 0xf8], 1
mov dword [rsp + 0xfc], 2
lea rdx, [0x1400a4444]
lea rcx, [rsp + 0xb0]
call fcn.140025060
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e620
mov dword [rax + 0x48], 1
lea rdx, [0x1400a4448]
mov rcx, rax
call fcn.140025060
mov rcx, rax
lea rdx, str.Socket_server_initialization_succeded
call fcn.140025060
nop
lea rcx, [rsp + 0xb0]
call fcn.140024c00
nop
test rsi, rsi
je 0x140033603
mov rcx, rsi
call fcn.140030080
xor eax, eax
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.14005beb0
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret