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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0xa00
mov rax, qword [0x1400a7038]
xor rax, rsp
mov qword [rsp + 0x9f0], rax
mov rdi, rcx
mov qword [rsp + 0x80], rcx
mov dword [rsp + 0x54], 0xa
mov dword [rsp + 0x58], 8
mov dword [rsp + 0x5c], 0x15f90
mov dword [rsp + 0x60], 0x15f90
call fcn.140030eb0
mov r10, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x10]
lea rcx, [rsp + 0x54]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0xa
xor r9d, r9d
lea r8, [rsp + 0x54]
lea rdx, [0x1400ab950]
mov rcx, r10
call qword [0x140089940]
call fcn.140030eb0
mov r10, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x10]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x18
mov r9d, 1
lea r8, [rsp + 0x58]
lea rdx, [0x1400ab8f0]
mov rcx, r10
call qword [0x140089940]
call fcn.140030eb0
mov r10, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x10]
lea rcx, [rsp + 0x5c]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x2bf20
xor r9d, r9d
lea r8, [rsp + 0x5c]
lea rdx, [0x1400ab930]
mov rcx, r10
call qword [0x140089940]
call fcn.140030eb0
mov r10, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x10]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x2bf20
xor r9d, r9d
lea r8, [rsp + 0x60]
lea rdx, [0x1400ab910]
mov rcx, r10
call qword [0x140089940]
mov eax, dword [rsp + 0x54]
mov dword [rdi + 0x38], eax
mov eax, dword [rsp + 0x58]
mov dword [rdi + 0x3c], eax
mov eax, dword [rsp + 0x5c]
mov dword [rdi + 0x40], eax
mov eax, dword [rsp + 0x60]
mov dword [rdi + 0x44], eax
lea r15, vtable.LogItem.0
mov qword [rsp + 0x1f0], r15
call fcn.1400201b0
mov rdx, rax
lea rcx, [rsp + 0x1f8]
call fcn.1400264e0
nop
lea rdx, [rsp + 0x1f8]
lea rcx, [rsp + 0x108]
call fcn.1400264e0
mov rdx, rax
lea rcx, [rsp + 0x218]
call fcn.14001ff90
nop
lea rdx, [rsp + 0x1f8]
lea rcx, [rsp + 0x128]
call fcn.1400264e0
mov rdx, rax
lea rcx, [rsp + 0x238]
call fcn.14001ff90
mov dword [rsp + 0x258], 1
mov dword [rsp + 0x25c], 1
lea rdx, [0x140093ce4]
lea rcx, [rsp + 0x1f0]
call fcn.140020c20
xor esi, esi
mov dword [rax + 0x68], esi
mov rdx, rdi
mov rcx, rax
call fcn.140029240
mov dword [rax + 0x68], 1
lea rdx, [0x140093ce8]
mov rcx, rax
call fcn.140020c20
mov rcx, rax
lea rdx, str.Socket_server_initialize_called._Initializing_Winsock
call fcn.140020c20
nop
lea rcx, [rsp + 0x1f0]
call fcn.140020720
lea rdx, [rdi + 0x68]
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rsp + 0x40], eax
test eax, eax
je 0x14002cdf8
mov qword [rsp + 0x1f0], r15
call fcn.1400201b0
mov rdx, rax
lea rcx, [rsp + 0x1f8]
call fcn.1400264e0
nop
lea rdx, [rsp + 0x1f8]
lea rcx, [rsp + 0x128]
call fcn.1400264e0
mov rdx, rax
lea rcx, [rsp + 0x218]
call fcn.14001ff90
nop
lea rdx, [rsp + 0x1f8]
lea rcx, [rsp + 0x108]
call fcn.1400264e0
mov rdx, rax
lea rcx, [rsp + 0x238]
call fcn.14001ff90
mov dword [rsp + 0x258], 1
mov dword [rsp + 0x25c], 3
lea rdx, [0x140093ce4]
lea rcx, [rsp + 0x1f0]
call fcn.140020c20
mov dword [rax + 0x68], esi
mov rdx, rdi
mov rcx, rax
call fcn.140029240
mov dword [rax + 0x68], 1
lea rdx, [0x140093ce8]
mov rcx, rax
call fcn.140020c20
mov rcx, rax
lea rdx, str.WSAStartup_failed:
call fcn.140020c20
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.140020b20
nop
lea rcx, [rsp + 0x1f0]
call fcn.140020720
mov eax, dword [rsp + 0x40]
jmp 0x14002daa9
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xd0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xe0], xmm1
mov dword [rsp + 0xc4], 2
mov dword [rsp + 0xc8], 1
mov dword [rsp + 0xcc], 6
mov dword [rsp + 0xc0], 1
mov qword [rsp + 0x260], r15
call fcn.1400201b0
mov rdx, rax
lea rcx, [rsp + 0x268]
call fcn.1400264e0
nop
lea rdx, [rsp + 0x268]
lea rcx, [rsp + 0x148]
call fcn.1400264e0
mov rdx, rax
lea rcx, [rsp + 0x288]
call fcn.14001ff90
nop
lea rdx, [rsp + 0x268]
lea rcx, [rsp + 0x168]
call fcn.1400264e0
mov rdx, rax
lea rcx, [rsp + 0x2a8]
call fcn.14001ff90
mov dword [rsp + 0x2c8], 1
mov dword [rsp + 0x2cc], 1
lea rdx, [0x140093ce4]
lea rcx, [rsp + 0x260]
call fcn.140020c20
mov dword [rax + 0x68], esi
mov rdx, rdi
mov rcx, rax
call fcn.140029240
mov dword [rax + 0x68], 1
lea rdx, [0x140093ce8]
mov rcx, rax
call fcn.140020c20
mov rcx, rax
lea rdx, str.Resolving_the_local_address_and_port_to_be_used_by_the_server
call fcn.140020c20
nop
lea rcx, [rsp + 0x260]
call fcn.140020720
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xb0], xmm0
mov qword [rsp + 0xa8], rsi
lea rcx, [0x1400a8f90]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rcx, qword [0x1400a8f90]
lea r9, [rsp + 0xa8]
lea r8, [rsp + 0xc0]
xor edx, edx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [rsp + 0x40], eax
test eax, eax
je 0x14002d04c
mov qword [rsp + 0x260], r15
call fcn.1400201b0
mov rdx, rax
lea rcx, [rsp + 0x268]
call fcn.1400264e0
nop
lea rdx, [rsp + 0x268]
lea rcx, [rsp + 0x168]
call fcn.1400264e0
mov rdx, rax
lea rcx, [rsp + 0x288]
call fcn.14001ff90
nop
lea rdx, [rsp + 0x268]
lea rcx, [rsp + 0x148]
call fcn.1400264e0
mov rdx, rax
lea rcx, [rsp + 0x2a8]
call fcn.14001ff90
mov dword [rsp + 0x2c8], 1
mov dword [rsp + 0x2cc], 3
lea rdx, [0x140093ce4]
lea rcx, [rsp + 0x260]
call fcn.140020c20
mov dword [rax + 0x68], esi
mov rdx, rdi
mov rcx, rax
call fcn.140029240
mov dword [rax + 0x68], 1
lea rdx, [0x140093ce8]
mov rcx, rax
call fcn.140020c20
mov rcx, rax
lea rdx, str.getaddrinfo_failed:
call fcn.140020c20
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.140020b20
nop
lea rcx, [rsp + 0x260]
call fcn.140020720
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
nop
jmp 0x14002daa9
mov rax, qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov qword [rsp + 0x48], rax
mov r14, qword [rsp + 0xa8]
mov qword [rsp + 0xf0], r14
lea rax, [rsp + 0x48]
mov qword [rsp + 0xf8], rax
mov byte [rsp + 0x100], 1
mov ecx, 0x20
call fcn.140055f48
mov rbx, rax
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x48]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_resource_struct_addrinfo____ptr64__void____cdecl___struct_addrinfo____ptr64__.0
mov qword [rbx], rax
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], r14
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0xb8], rbx
mov qword [rsp + 0x300], r15
call fcn.1400201b0
mov rdx, rax
lea rcx, [rsp + 0x308]
call fcn.1400264e0
nop
lea rdx, [rsp + 0x308]
lea rcx, [rsp + 0x188]
call fcn.1400264e0
mov rdx, rax
lea rcx, [rsp + 0x328]
call fcn.14001ff90
nop
lea rdx, [rsp + 0x308]
lea rcx, [rsp + 0x2e0]
call fcn.1400264e0
mov rdx, rax
lea rcx, [rsp + 0x348]
call fcn.14001ff90
mov dword [rsp + 0x368], 1
mov dword [rsp + 0x36c], 1
lea rdx, [0x140093ce4]
lea rcx, [rsp + 0x300]
call fcn.140020c20
mov dword [rax + 0x68], esi
mov rdx, rdi
mov rcx, rax
call fcn.140029240
mov dword [rax + 0x68], 1
lea rdx, [0x140093ce8]
mov rcx, rax
call fcn.140020c20
mov rcx, rax
lea rdx, str.Creating_a_SOCKET_for_the_server_to_listen_for_client_connections
call fcn.140020c20
nop
lea rcx, [rsp + 0x300]
call fcn.140020720
mov r8d, dword [r14 + 0xc]
mov edx, dword [r14 + 8]
mov ecx, dword [r14 + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rdi + 0x200], rax
cmp rax, 0xffffffffffffffff
jne 0x14002d28f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x98], eax
lea rcx, [rsp + 0x4b0]
call fcn.1400204e0
nop
mov dword [rax + 0x6c], 3
lea rdx, [0x140093ce4]
mov rcx, rax
call fcn.140020c20
mov dword [rax + 0x68], esi
mov rdx, rdi
mov rcx, rax
call fcn.140029240
mov dword [rax + 0x68], 1
lea rdx, [0x140093ce8]
mov rcx, rax
call fcn.140020c20
mov rcx, rax
lea rdx, str.Error_at_socket__:
call fcn.140020c20
mov rcx, rax
lea rdx, [rsp + 0x98]
call fcn.140020b20
nop
lea rcx, [rsp + 0x4b0]
call fcn.140020720
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
mov edi, 0xffffffff
mov ecx, edi
lock xadd dword [rbx + 8], ecx
cmp ecx, 1
jne 0x14002d288
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rcx, rbx
call qword [0x140089940]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14002d288
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [0x140089940]
mov eax, esi
jmp 0x14002daa9
lea rcx, [rsp + 0x520]
call fcn.1400204e0
nop
mov dword [rax + 0x6c], 1
lea rdx, [0x140093ce4]
mov rcx, rax
call fcn.140020c20
mov dword [rax + 0x68], esi
mov rdx, rdi
mov rcx, rax
call fcn.140029240
mov dword [rax + 0x68], 1
lea rdx, [0x140093ce8]
mov rcx, rax
call fcn.140020c20
mov rcx, rax
lea rdx, str.Setting_socket_I_O_mode_to_non_blocking
call fcn.140020c20
nop
lea rcx, [rsp + 0x520]
call fcn.140020720
mov dword [rsp + 0x88], 1
lea r8, [rsp + 0x88]
mov edx, 0x8004667e
mov rcx, qword [rdi + 0x200]
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov dword [rsp + 0x40], eax
test eax, eax
je 0x14002d3e8
lea rcx, [rsp + 0x590]
call fcn.1400204e0
nop
mov dword [rax + 0x6c], 3
lea rdx, [0x140093ce4]
mov rcx, rax
call fcn.140020c20
mov dword [rax + 0x68], esi
mov rdx, rdi
mov rcx, rax
call fcn.140029240
mov dword [rax + 0x68], 1
lea rdx, [0x140093ce8]
mov rcx, rax
call fcn.140020c20
mov rcx, rax
lea rdx, str.ioctlsocket_failed_with_error:
call fcn.140020c20
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.140020b20
nop
lea rcx, [rsp + 0x590]
call fcn.140020720
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
mov edi, 0xffffffff
mov ecx, edi
lock xadd dword [rbx + 8], ecx
cmp ecx, 1
jne 0x14002d288
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rcx, rbx
call qword [0x140089940]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14002d288
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [0x140089940]
mov eax, esi
jmp 0x14002daa9
lea rcx, [rsp + 0x600]
call fcn.1400204e0
nop
mov dword [rax + 0x6c], 1
lea rdx, [0x140093ce4]
mov rcx, rax
call fcn.140020c20
mov dword [rax + 0x68], esi
mov rdx, rdi
mov rcx, rax
call fcn.140029240
mov dword [rax + 0x68], 1
lea rdx, [0x140093ce8]
mov rcx, rax
call fcn.140020c20
mov rcx, rax
lea rdx, str.Binding_local_address_with_a_socket
call fcn.140020c20
nop
lea rcx, [rsp + 0x600]
call fcn.140020720
mov r8d, dword [r14 + 0x10]
mov rdx, qword [r14 + 0x20]
mov rcx, qword [rdi + 0x200]
call qword [sym.imp.WS2_32.dll_bind]
mov dword [rsp + 0x40], eax
cmp eax, 0xffffffff
jne 0x14002d542
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0xa0], eax
lea rcx, [rsp + 0x670]
call fcn.1400204e0
nop
mov dword [rax + 0x6c], 3
lea rdx, [0x140093ce4]
mov rcx, rax
call fcn.140020c20
mov dword [rax + 0x68], esi
mov rdx, rdi
mov rcx, rax
call fcn.140029240
mov dword [rax + 0x68], 1
lea rdx, [0x140093ce8]
mov rcx, rax
call fcn.140020c20
mov rcx, rax
lea rdx, str.bind_failed_with_error:
call fcn.140020c20
mov rcx, rax
lea rdx, [rsp + 0xa0]
call fcn.140020b20
nop
lea rcx, [rsp + 0x670]
call fcn.140020720
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
mov edi, 0xffffffff
mov ecx, edi
lock xadd dword [rbx + 8], ecx
cmp ecx, 1
jne 0x14002d288
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rcx, rbx
call qword [0x140089940]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14002d288
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [0x140089940]
mov eax, esi
jmp 0x14002daa9
lea rcx, [rsp + 0x6e0]
call fcn.1400204e0
nop
mov dword [rax + 0x6c], 1
lea rdx, [0x140093ce4]
mov rcx, rax
call fcn.140020c20
mov dword [rax + 0x68], esi
mov rdx, rdi
mov rcx, rax
call fcn.140029240
mov dword [rax + 0x68], 1
lea rdx, [0x140093ce8]
mov rcx, rax
call fcn.140020c20
mov rcx, rax
lea rdx, str.Retrieving_dynamically_assigned_port_and_storing_it_in_Windows_Registry
call fcn.140020c20
nop
lea rcx, [rsp + 0x6e0]
call fcn.140020720
xorps xmm0, xmm0
movups xmmword [rsp + 0x2d0], xmm0
mov dword [rsp + 0x8c], reloc.WS2_32.dll_recv
lea r8, [rsp + 0x8c]
lea rdx, [rsp + 0x2d0]
mov rcx, qword [rdi + 0x200]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x14002d6b5
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x90], eax
lea rcx, [rsp + 0x750]
call fcn.1400204e0
nop
mov dword [rax + 0x6c], 3
lea rdx, [0x140093ce4]
mov rcx, rax
call fcn.140020c20
mov dword [rax + 0x68], esi
mov rdx, rdi
mov rcx, rax
call fcn.140029240
mov dword [rax + 0x68], 1
lea rdx, [0x140093ce8]
mov rcx, rax
call fcn.140020c20
mov rcx, rax
lea rdx, str.getsockname_failed_with_error:
call fcn.140020c20
mov rcx, rax
lea rdx, [rsp + 0x90]
call fcn.140020b20
nop
lea rcx, [rsp + 0x750]
call fcn.140020720
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
mov edi, 0xffffffff
mov ecx, edi
lock xadd dword [rbx + 8], ecx
cmp ecx, 1
jne 0x14002d288
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rcx, rbx
call qword [0x140089940]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14002d288
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [0x140089940]
mov eax, esi
jmp 0x14002daa9
movzx ecx, word [rsp + 0x2d2]
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rsp + 0x50], ax
movzx eax, ax
mov dword [rsp + 0x70], eax
lea rcx, [rsp + 0x7c0]
call fcn.1400204e0
nop
mov dword [rax + 0x6c], 2
lea rdx, [0x140093ce4]
mov rcx, rax
call fcn.140020c20
mov dword [rax + 0x68], esi
mov rdx, rdi
mov rcx, rax
call fcn.140029240
mov dword [rax + 0x68], 1
lea rdx, [0x140093ce8]
mov rcx, rax
call fcn.140020c20
mov rcx, rax
lea rdx, [0x140093ef8]
call fcn.140020c20
mov rcx, rax
lea rdx, str.SocketHeciServer::SocketServer::InitializeInternal
call fcn.140020c20
mov rcx, rax
lea rdx, [0x140093ce8]
call fcn.140020c20
mov rcx, rax
lea rdx, str.Socket_bound__listening_on_port:
call fcn.140020c20
mov rcx, rax
lea rdx, [rsp + 0x50]
call fcn.140029460
nop
lea rcx, [rsp + 0x7c0]
call fcn.140020720
lea rcx, [rsp + 0x68]
call fcn.1400489e0
nop
lea r8, [rsp + 0x70]
lea rcx, [rsp + 0x68]
call fcn.140038470
test al, al
je 0x14002dad2
mov rcx, qword [rsp + 0x68]
call fcn.14002b680
nop
lea rdx, [0x1400ab7d0]
lea rcx, [rsp + 0x1a8]
call fcn.1400264e0
mov r14, rax
mov qword [rsp + 0xa0], rax
mov rdx, rax
lea rcx, [rsp + 0x1c8]
call fcn.1400264e0
mov r8, rax
lea rcx, [rsp + 0x78]
call fcn.140036f20
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x14002d80e
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x14002d809
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002d845
mov rcx, r8
call fcn.140055f30
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], 0
lea rcx, [rsp + 0x78]
call fcn.140037330
test al, al
je 0x14002d857
lea r8, [rsp + 0x70]
lea rcx, [rsp + 0x78]
call fcn.140038470
test al, al
je 0x14002db2a
jmp 0x14002d84c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rsp + 0x78]
call fcn.14002b680
nop
mov r14d, 0x80000000
mov rcx, qword [rsp + 0x78]
lea rax, [rcx + r14]
cmp rax, 3
jbe 0x14002d87c
cmp rcx, 0xffffffff80000005
je 0x14002d87c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x14002d896
mov rcx, qword [rsp + 0x68]
lea rax, [rcx + r14]
cmp rax, 3
jbe 0x14002d8b4
cmp rcx, 0xffffffff80000005
je 0x14002d8b4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x8a0]
call fcn.1400204e0
nop
mov dword [rax + 0x6c], 1
lea rdx, [0x140093ce4]
mov rcx, rax
call fcn.140020c20
mov dword [rax + 0x68], esi
mov rdx, rdi
mov rcx, rax
call fcn.140029240
mov dword [rax + 0x68], 1
lea rdx, [0x140093ce8]
mov rcx, rax
call fcn.140020c20
mov rcx, rax
lea rdx, str.Listen_for_incoming_connection
call fcn.140020c20
nop
lea rcx, [rsp + 0x8a0]
call fcn.140020720
mov edx, 0x7fffffff
mov rcx, qword [rdi + 0x200]
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x14002da07
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x80], eax
lea rcx, [rsp + 0x910]
call fcn.1400204e0
nop
mov dword [rax + 0x6c], 3
lea rdx, [0x140093ce4]
mov rcx, rax
call fcn.140020c20
mov dword [rax + 0x68], esi
mov rdx, rdi
mov rcx, rax
call fcn.140029240
mov dword [rax + 0x68], 1
lea rdx, [0x140093ce8]
mov rcx, rax
call fcn.140020c20
mov rcx, rax
lea rdx, str.Listen_failed_with_error:
call fcn.140020c20
mov rcx, rax
lea rdx, [rsp + 0x80]
call fcn.140020b20
nop
lea rcx, [rsp + 0x910]
call fcn.140020720
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
mov edi, 0xffffffff
mov ecx, edi
lock xadd dword [rbx + 8], ecx
cmp ecx, 1
jne 0x14002d288
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rcx, rbx
call qword [0x140089940]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14002d288
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [0x140089940]
mov eax, esi
jmp 0x14002daa9
lea rcx, [rsp + 0x980]
call fcn.1400204e0
nop
mov dword [rax + 0x6c], 1
lea rdx, [0x140093ce4]
mov rcx, rax
call fcn.140020c20
mov dword [rax + 0x68], esi
mov rdx, rdi
mov rcx, rax
call fcn.140029240
mov dword [rax + 0x68], 1
lea rdx, [0x140093ce8]
mov rcx, rax
call fcn.140020c20
mov rcx, rax
lea rdx, str.Socket_server_initialization_succeded
call fcn.140020c20
nop
lea rcx, [rsp + 0x980]
call fcn.140020720
nop
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14002daa7
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [0x140089940]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14002daa7
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [0x140089940]
xor eax, eax
mov rcx, qword [rsp + 0x9f0]
xor rcx, rsp
call fcn.140055f10
lea r11, [rsp + 0xa00]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
lea rdx, str.SocketHeciServer::SocketServer::InitializeInternal
lea rcx, [rsp + 0x2e0]
call fcn.1400264a0
nop
lea rdx, [rsp + 0x2e0]
lea rcx, [rsp + 0x450]
call fcn.14001fc20
nop
mov rcx, rax
call fcn.140033b50
mov rdx, rax
lea rcx, [rsp + 0x390]
call fcn.14001fcb0
lea rdx, [0x1400a2b30]
lea rcx, [rsp + 0x390]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.SocketHeciServer::SocketServer::InitializeInternal
lea rcx, [rsp + 0x370]
call fcn.1400264a0
nop
lea rdx, [rsp + 0x370]
lea rcx, [rsp + 0x450]
call fcn.14001fc20
nop
mov rcx, rax
call fcn.140033b50
mov rdx, rax
lea rcx, [rsp + 0x3f0]
call fcn.14001fcb0
lea rdx, [0x1400a2b30]
lea rcx, [rsp + 0x3f0]
call sub.VCRUNTIME140.dll__CxxThrowException
int3