Function at 0x1400317a0
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 [0x1400bf030]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov rdi, rcx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x38], 3
mov dword [rsp + 0x3c], 0x15f90
mov dword [rsp + 0x40], 0x15f90
call fcn.1400358e0
mov rbx, rax
mov rax, qword [rax]
mov rsi, qword [rax + 0x10]
lea r14, [method.ConfigMgmt.virtual_16]
cmp rsi, r14
jne 0x140031842
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xa
xor r9d, r9d
lea r8, [rsp + 0x34]
lea rdx, [0x1400c5770]
mov rcx, rbx
call fcn.140046710
jmp 0x140031871
mov rcx, rsi
call qword [fcn.14005c290]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xa
xor r9d, r9d
lea r8, [rsp + 0x34]
lea rdx, [0x1400c5770]
mov rcx, rbx
call rsi
call fcn.1400358e0
mov rbx, rax
mov rax, qword [rax]
mov rsi, qword [rax + 0x10]
cmp rsi, r14
jne 0x1400318b3
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x18
mov r9d, 1
lea r8, [rsp + 0x38]
lea rdx, [0x1400c5610]
mov rcx, rbx
call fcn.140046710
jmp 0x1400318e5
mov rcx, rsi
call qword [fcn.14005c290]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x18
mov r9d, 1
lea r8, [rsp + 0x38]
lea rdx, [0x1400c5610]
mov rcx, rbx
call rsi
call fcn.1400358e0
mov rbx, rax
mov rax, qword [rax]
mov rsi, qword [rax + 0x10]
cmp rsi, r14
jne 0x140031924
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2bf20
xor r9d, r9d
lea r8, [rsp + 0x3c]
lea rdx, [0x1400c56f0]
mov rcx, rbx
call fcn.140046710
jmp 0x140031953
mov rcx, rsi
call qword [fcn.14005c290]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2bf20
xor r9d, r9d
lea r8, [rsp + 0x3c]
lea rdx, [0x1400c56f0]
mov rcx, rbx
call rsi
call fcn.1400358e0
mov rbx, rax
mov rax, qword [rax]
mov rsi, qword [rax + 0x10]
cmp rsi, r14
jne 0x140031992
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2bf20
xor r9d, r9d
lea r8, [rsp + 0x40]
lea rdx, [0x1400c56d0]
mov rcx, rbx
call fcn.140046710
jmp 0x1400319c1
mov rcx, rsi
call qword [fcn.14005c290]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2bf20
xor r9d, r9d
lea r8, [rsp + 0x40]
lea rdx, [0x1400c56d0]
mov rcx, rbx
call rsi
mov eax, dword [rsp + 0x34]
mov dword [rdi + 0x30], eax
mov eax, dword [rsp + 0x38]
mov dword [rdi + 0x34], eax
mov eax, dword [rsp + 0x3c]
mov dword [rdi + 0x38], eax
mov eax, dword [rsp + 0x40]
mov dword [rdi + 0x3c], 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, [0x1400a33a4]
lea rcx, [rsp + 0xb0]
call fcn.140025050
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e610
mov dword [rax + 0x48], 1
lea rdx, [0x1400a33a8]
mov rcx, rax
call fcn.140025050
mov rcx, rax
lea rdx, str.Socket_server_initialize_called._Initializing_Winsock
call fcn.140025050
nop
lea rcx, [rsp + 0xb0]
call fcn.140024bf0
lea rdx, [rdi + 0x60]
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 0x140031b72
mov dword [rsp + 0xfc], 3
lea rdx, [0x1400a33a4]
lea rcx, [rsp + 0xb0]
call fcn.140025050
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e610
mov dword [rax + 0x48], 1
lea rdx, [0x1400a33a8]
mov rcx, rax
call fcn.140025050
mov rcx, rax
lea rdx, str.WSAStartup_failed:
call fcn.140025050
mov rcx, rax
lea rdx, [rsp + 0x110]
call fcn.140024f30
nop
lea rcx, [rsp + 0xb0]
call fcn.140024bf0
mov eax, dword [rsp + 0x110]
jmp 0x140032925
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, [0x1400a33a4]
lea rcx, [rsp + 0xb0]
call fcn.140025050
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e610
mov dword [rax + 0x48], 1
lea rdx, [0x1400a33a8]
mov rcx, rax
call fcn.140025050
mov rcx, rax
lea rdx, str.Resolving_the_local_address_and_port_to_be_used_by_the_server
call fcn.140025050
nop
lea rcx, [rsp + 0xb0]
call fcn.140024bf0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x98], xmm0
mov qword [rsp + 0x48], rbx
lea rcx, [0x1400c2fd0]
cmp qword [0x1400c2fe8], 0x10
cmovae rcx, qword [0x1400c2fd0]
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 0x140031d2b
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, [0x1400a33a4]
lea rcx, [rsp + 0xb0]
call fcn.140025050
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e610
mov dword [rax + 0x48], 1
lea rdx, [0x1400a33a8]
mov rcx, rax
call fcn.140025050
mov rcx, rax
lea rdx, str.getaddrinfo_failed:
call fcn.140025050
mov rcx, rax
lea rdx, [rsp + 0x110]
call fcn.140024f30
nop
lea rcx, [rsp + 0xb0]
call fcn.140024bf0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
nop
jmp 0x140032925
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.140038c10
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, [0x1400a33a4]
lea rcx, [rsp + 0xb0]
call fcn.140025050
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e610
mov dword [rax + 0x48], 1
lea rdx, [0x1400a33a8]
mov rcx, rax
call fcn.140025050
mov rcx, rax
lea rdx, str.Creating_a_SOCKET_for_the_server_to_listen_for_client_connections
call fcn.140025050
nop
lea rcx, [rsp + 0xb0]
call fcn.140024bf0
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 + 0x1f8], rax
cmp rax, 0xffffffffffffffff
jne 0x140031f21
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, [0x1400a33a4]
lea rcx, [rsp + 0xb0]
call fcn.140025050
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e610
mov dword [rax + 0x48], 1
lea rdx, [0x1400a33a8]
mov rcx, rax
call fcn.140025050
mov rcx, rax
lea rdx, str.Error_at_socket__:
call fcn.140025050
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.140024f30
nop
lea rcx, [rsp + 0xb0]
call fcn.140024bf0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
test rsi, rsi
je 0x140031f1a
mov rcx, rsi
call fcn.14002f3f0
mov eax, ebx
jmp 0x140032925
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, [0x1400a33a4]
lea rcx, [rsp + 0xb0]
call fcn.140025050
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e610
mov dword [rax + 0x48], 1
lea rdx, [0x1400a33a8]
mov rcx, rax
call fcn.140025050
mov rcx, rax
lea rdx, str.Setting_socket_I_O_mode_to_non_blocking
call fcn.140025050
nop
lea rcx, [rsp + 0xb0]
call fcn.140024bf0
mov dword [rsp + 0x50], 1
lea r8, [rsp + 0x50]
mov edx, 0x8004667e
mov rcx, qword [rdi + 0x1f8]
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 0x1400320d5
mov dword [rsp + 0xfc], 3
lea rdx, [0x1400a33a4]
lea rcx, [rsp + 0xb0]
call fcn.140025050
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e610
mov dword [rax + 0x48], 1
lea rdx, [0x1400a33a8]
mov rcx, rax
call fcn.140025050
mov rcx, rax
lea rdx, str.ioctlsocket_failed_with_error:
call fcn.140025050
mov rcx, rax
lea rdx, [rsp + 0x110]
call fcn.140024f30
nop
lea rcx, [rsp + 0xb0]
call fcn.140024bf0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
test rsi, rsi
je 0x140031f1a
mov rcx, rsi
call fcn.14002f3f0
mov eax, ebx
jmp 0x140032925
mov dword [rsp + 0xfc], 1
lea rdx, [0x1400a33a4]
lea rcx, [rsp + 0xb0]
call fcn.140025050
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e610
mov dword [rax + 0x48], 1
lea rdx, [0x1400a33a8]
mov rcx, rax
call fcn.140025050
mov rcx, rax
lea rdx, str.Binding_local_address_with_a_socket
call fcn.140025050
nop
lea rcx, [rsp + 0xb0]
call fcn.140024bf0
mov r8d, dword [r15 + 0x10]
mov rdx, qword [r15 + 0x20]
mov rcx, qword [rdi + 0x1f8]
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x140032235
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, [0x1400a33a4]
lea rcx, [rsp + 0xb0]
call fcn.140025050
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e610
mov dword [rax + 0x48], 1
lea rdx, [0x1400a33a8]
mov rcx, rax
call fcn.140025050
mov rcx, rax
lea rdx, str.bind_failed_with_error:
call fcn.140025050
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.140024f30
nop
lea rcx, [rsp + 0xb0]
call fcn.140024bf0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
test rsi, rsi
je 0x140031f1a
mov rcx, rsi
call fcn.14002f3f0
mov eax, ebx
jmp 0x140032925
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, [0x1400a33a4]
lea rcx, [rsp + 0xb0]
call fcn.140025050
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e610
mov dword [rax + 0x48], 1
lea rdx, [0x1400a33a8]
mov rcx, rax
call fcn.140025050
mov rcx, rax
lea rdx, str.Retrieving_dynamically_assigned_port_and_storing_it_in_Windows_Registry
call fcn.140025050
nop
lea rcx, [rsp + 0xb0]
call fcn.140024bf0
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 + 0x1f8]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x140032410
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.14002a0c0
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xf0], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xd8]
call fcn.14002a0c0
mov dword [rsp + 0xf8], 1
mov dword [rsp + 0xfc], 3
lea rdx, [0x1400a33a4]
lea rcx, [rsp + 0xb0]
call fcn.140025050
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e610
mov dword [rax + 0x48], 1
lea rdx, [0x1400a33a8]
mov rcx, rax
call fcn.140025050
mov rcx, rax
lea rdx, str.getsockname_failed_with_error:
call fcn.140025050
mov rcx, rax
lea rdx, [rsp + 0x110]
call fcn.140024f30
nop
lea rcx, [rsp + 0xb0]
call fcn.140024bf0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
test rsi, rsi
je 0x140031f1a
mov rcx, rsi
call fcn.14002f3f0
mov eax, ebx
jmp 0x140032925
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.14002a0c0
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xf0], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xd8]
call fcn.14002a0c0
mov dword [rsp + 0xf8], 1
mov dword [rsp + 0xfc], 2
lea rdx, [0x1400a33a4]
lea rcx, [rsp + 0xb0]
call fcn.140025050
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e610
mov dword [rax + 0x48], 1
lea rdx, [0x1400a33a8]
mov rcx, rax
call fcn.140025050
mov rcx, rax
lea rdx, [0x1400a35b8]
call fcn.140025050
mov rcx, rax
lea rdx, str.SocketHeciServer::SocketServer::InitializeInternal
call fcn.140025050
mov rcx, rax
lea rdx, [0x1400a33a8]
call fcn.140025050
mov rcx, rax
lea rdx, str.Socket_bound__listening_on_port:
call fcn.140025050
mov rcx, rax
lea rdx, [rsp + 0x110]
call fcn.14002e870
nop
lea rcx, [rsp + 0xb0]
call fcn.140024bf0
lea rcx, [rsp + 0x48]
call fcn.14004dc60
nop
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.14003c020
test al, al
jne 0x140032597
lea rdx, str.SocketHeciServer::SocketServer::InitializeInternal
lea rcx, [rsp + 0x110]
call fcn.140029640
nop
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0xb0]
call fcn.1400242e0
nop
mov rcx, rax
call fcn.1400380b0
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.1400243e0
lea rdx, [0x1400bb068]
lea rcx, [rsp + 0x160]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, qword [rsp + 0x48]
call fcn.140030bd0
nop
lea rcx, [rsp + 0x110]
call fcn.14004de00
nop
lea rcx, [rsp + 0x110]
call fcn.14003b5f0
test al, al
je 0x14003263d
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x110]
call fcn.14003c020
test al, al
jne 0x14003262f
lea rdx, str.SocketHeciServer::SocketServer::InitializeInternal
lea rcx, [rsp + 0x140]
call fcn.140029640
nop
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0xb0]
call fcn.1400242e0
nop
mov rcx, rax
call fcn.1400380b0
mov rdx, rax
lea rcx, [rsp + 0x1c0]
call fcn.1400243e0
lea rdx, [0x1400bb068]
lea rcx, [rsp + 0x1c0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, qword [rsp + 0x110]
call fcn.140030bd0
nop
mov r15d, 0x80000000
mov rcx, qword [rsp + 0x110]
lea rax, [rcx + r15]
cmp rax, 3
jbe 0x140032665
cmp rcx, 0xffffffff80000005
je 0x140032665
call qword [sym.imp.ADVAPI32.DLL_RegCloseKey]
nop
jmp 0x140032680
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + r15]
cmp rax, 3
jbe 0x14003269e
cmp rcx, 0xffffffff80000005
je 0x14003269e
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.14002a0c0
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xf0], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xd8]
call fcn.14002a0c0
mov dword [rsp + 0xf8], 1
mov dword [rsp + 0xfc], 1
lea rdx, [0x1400a33a4]
lea rcx, [rsp + 0xb0]
call fcn.140025050
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e610
mov dword [rax + 0x48], 1
lea rdx, [0x1400a33a8]
mov rcx, rax
call fcn.140025050
mov rcx, rax
lea rdx, str.Listen_for_incoming_connection
call fcn.140025050
nop
lea rcx, [rsp + 0xb0]
call fcn.140024bf0
mov edx, 0x7fffffff
mov rcx, qword [rdi + 0x1f8]
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x14003285e
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.14002a0c0
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xf0], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xd8]
call fcn.14002a0c0
mov dword [rsp + 0xf8], 1
mov dword [rsp + 0xfc], 3
lea rdx, [0x1400a33a4]
lea rcx, [rsp + 0xb0]
call fcn.140025050
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e610
mov dword [rax + 0x48], 1
lea rdx, [0x1400a33a8]
mov rcx, rax
call fcn.140025050
mov rcx, rax
lea rdx, str.Listen_failed_with_error:
call fcn.140025050
mov rcx, rax
lea rdx, [rsp + 0x44]
call fcn.140024f30
nop
lea rcx, [rsp + 0xb0]
call fcn.140024bf0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
test rsi, rsi
je 0x140031f1a
mov rcx, rsi
call fcn.14002f3f0
mov eax, ebx
jmp 0x140032925
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.14002a0c0
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xf0], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xd8]
call fcn.14002a0c0
mov dword [rsp + 0xf8], 1
mov dword [rsp + 0xfc], 2
lea rdx, [0x1400a33a4]
lea rcx, [rsp + 0xb0]
call fcn.140025050
mov dword [rax + 0x48], ebx
mov rdx, rdi
mov rcx, rax
call fcn.14002e610
mov dword [rax + 0x48], 1
lea rdx, [0x1400a33a8]
mov rcx, rax
call fcn.140025050
mov rcx, rax
lea rdx, str.Socket_server_initialization_succeded
call fcn.140025050
nop
lea rcx, [rsp + 0xb0]
call fcn.140024bf0
nop
test rsi, rsi
je 0x140032923
mov rcx, rsi
call fcn.14002f3f0
xor eax, eax
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.14005b100
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret