Function at 0x4150e0
Capabilities:
Create tcp socket
Create thread
Create udp socket
Get local ipv4 addresses
Get socket information
Start tcp server

Disassembly:
sub esp, 0x298
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x224
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x2c], 0x10
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, ebx
je 0x415133
push 0xf003f
push str.SOFTWAREArray_NetworksArray_SSL_VPN
push reloc.WS2_32.dll_bind
mov ecx, eax
call fcn.0041d2d7
mov esi, eax
jmp 0x415135
xor esi, esi
cmp esi, ebx
mov ebp, esi
je 0x4160d2
cmp dword [esi], ebx
jne 0x4151fd
mov ecx, esi
call fcn.0041d3c3
push esi
call sub.MFC42.DLL_operatordelete
mov eax, dword [0x441ff4]
add esp, 4
cmp eax, ebx
je 0x4151e4
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 3
je 0x41517f
mov ecx, dword [0x441fdc]
cmp dword [ecx], ebx
jne 0x4151e4
cmp eax, 3
jle 0x4151e4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x439d90]
cmp eax, ebx
jge 0x4151a4
mov edx, dword [0x441fa0]
mov dword [0x439d90], edx
call fcn.0041c4b1
test eax, eax
je 0x4151d6
mov eax, dword [0x439d90]
push 3
push eax
push 0x25e
push str.C:_build_rel_sp_8_4_6_2_srcwindows_atpclient_arr_srvs_body.cpp
call fcn.0041c4e1
push str.Array_Service:_creating_version_Reg_key_n
call fcn.0041c506
add esp, 0x14
call fcn.0041c4cc
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0xf003f
push str.SOFTWAREArray_NetworksArray_SSL_VPN
push reloc.WS2_32.dll_bind
call fcn.0041d345
add esp, 0xc
mov ebp, eax
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x48], edx
push 0x3a98
mov dword [esp + 0x38], ecx
mov dword [esp + 0x50], edx
push ebx
push 2
mov dword [esp + 0x44], ecx
mov dword [esp + 0x5c], edx
call fcn.0041bd50
add esp, 0xc
test eax, eax
je 0x4160d2
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp eax, ebx
mov dword [0x441e68], eax
je 0x4160d2
mov dword [esp + 0x18], eax
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x4160d2
push str.127.0.0.1
mov word [esp + 0x30], 2
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0
push 1
push 2
mov dword [esp + 0x3c], eax
mov word [esp + 0x3a], 0
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x10], ebx
jne 0x415333
mov eax, dword [0x441ff4]
test eax, eax
je 0x4160d2
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 1
je 0x4152d0
mov ecx, dword [0x441fdc]
cmp dword [ecx], 0
jne 0x4160d2
cmp eax, 1
jle 0x4160d2
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x439d90]
test eax, eax
jge 0x4152f7
mov edx, dword [0x441fa0]
mov dword [0x439d90], edx
call fcn.0041c4b1
test eax, eax
je 0x4160c4
mov eax, dword [0x439d90]
push 1
push eax
push 0x28a
push str.C:_build_rel_sp_8_4_6_2_srcwindows_atpclient_arr_srvs_body.cpp
call fcn.0041c4e1
add esp, 0x10
call ebx
push eax
push str.Array_Service:_socket___failed_with_error__d_n
call fcn.0041c506
add esp, 8
jmp 0x4160bf
lea ecx, [esp + 0x2c]
push 0x10
push ecx
push ebx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x4153df
mov eax, dword [0x441ff4]
test eax, eax
je 0x4160d2
mov edx, dword [0x441fd4]
mov eax, dword [edx]
cmp eax, 1
je 0x41537c
mov ecx, dword [0x441fdc]
cmp dword [ecx], 0
jne 0x4160d2
cmp eax, 1
jle 0x4160d2
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x439d90]
test eax, eax
jge 0x4153a3
mov edx, dword [0x441fa0]
mov dword [0x439d90], edx
call fcn.0041c4b1
test eax, eax
je 0x4160c4
mov eax, dword [0x439d90]
push 1
push eax
push 0x290
push str.C:_build_rel_sp_8_4_6_2_srcwindows_atpclient_arr_srvs_body.cpp
call fcn.0041c4e1
add esp, 0x10
call ebx
push eax
push str.Array_Service:_failed_to_bind__err_d_n
call fcn.0041c506
add esp, 8
jmp 0x4160bf
lea ecx, [esp + 0x28]
lea edx, [esp + 0x2c]
push ecx
push edx
push ebx
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x41548d
mov eax, dword [0x441ff4]
test eax, eax
je 0x4160d2
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 1
je 0x41542a
mov ecx, dword [0x441fdc]
cmp dword [ecx], 0
jne 0x4160d2
cmp eax, 1
jle 0x4160d2
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x439d90]
test eax, eax
jge 0x415451
mov edx, dword [0x441fa0]
mov dword [0x439d90], edx
call fcn.0041c4b1
test eax, eax
je 0x4160c4
mov eax, dword [0x439d90]
push 1
push eax
push 0x297
push str.C:_build_rel_sp_8_4_6_2_srcwindows_atpclient_arr_srvs_body.cpp
call fcn.0041c4e1
add esp, 0x10
call ebx
push eax
push str.Array_Service:_failed_to_getsockname__err_d_n
call fcn.0041c506
add esp, 8
jmp 0x4160bf
mov ecx, dword [esp + 0x2e]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
mov esi, eax
mov ecx, 0x442408
push esi
call fcn.00420324
mov eax, dword [0x441ff4]
test eax, eax
je 0x41553f
mov edx, dword [0x441fd4]
mov eax, dword [edx]
cmp eax, 3
je 0x4154cf
mov ecx, dword [0x441fdc]
cmp dword [ecx], 0
jne 0x41553f
cmp eax, 3
jle 0x41553f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [0x439d90]
test eax, eax
jge 0x4154f4
mov edx, dword [0x441fa0]
mov dword [0x439d90], edx
call fcn.0041c4b1
test eax, eax
je 0x41552d
mov eax, dword [0x439d90]
push 3
push eax
push 0x29f
push str.C:_build_rel_sp_8_4_6_2_srcwindows_atpclient_arr_srvs_body.cpp
call fcn.0041c4e1
and esi, 0xffff
push esi
push str.Array_Service:_bound_to_port__d_n
call fcn.0041c506
add esp, 0x18
call fcn.0041c4cc
push edi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
push 8
push ecx
push ebx
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
mov eax, dword [0x441ff4]
jne 0x4155eb
test eax, eax
je 0x4160d2
mov edx, dword [0x441fd4]
mov eax, dword [edx]
cmp eax, 1
je 0x415588
mov ecx, dword [0x441fdc]
cmp dword [ecx], 0
jne 0x4160d2
cmp eax, 1
jle 0x4160d2
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x439d90]
test eax, eax
jge 0x4155af
mov edx, dword [0x441fa0]
mov dword [0x439d90], edx
call fcn.0041c4b1
test eax, eax
je 0x4160c4
mov eax, dword [0x439d90]
push 1
push eax
push 0x2a4
push str.C:_build_rel_sp_8_4_6_2_srcwindows_atpclient_arr_srvs_body.cpp
call fcn.0041c4e1
add esp, 0x10
call ebx
push eax
push str.Array_Service:_failed_to_wait_for_read_events_on_port__error_0x_x_n
call fcn.0041c506
add esp, 8
jmp 0x4160bf
test eax, eax
je 0x415674
mov ecx, dword [0x441fd4]
mov eax, dword [ecx]
cmp eax, 3
je 0x415610
mov edx, dword [0x441fdc]
cmp dword [edx], 0
jne 0x415674
cmp eax, 3
jle 0x415674
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x439d90]
test eax, eax
jge 0x415633
mov eax, dword [0x441fa0]
mov dword [0x439d90], eax
call fcn.0041c4b1
test eax, eax
je 0x415666
mov ecx, dword [0x439d90]
push 3
push ecx
push 0x2a8
push str.C:_build_rel_sp_8_4_6_2_srcwindows_atpclient_arr_srvs_body.cpp
call fcn.0041c4e1
push str.about_to_listen..._n
call fcn.0041c506
add esp, 0x14
call fcn.0041c4cc
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 5
push ebx
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
mov eax, dword [0x441ff4]
jne 0x41571b
test eax, eax
je 0x4160d2
mov edx, dword [0x441fd4]
mov eax, dword [edx]
cmp eax, 1
je 0x4156b8
mov ecx, dword [0x441fdc]
cmp dword [ecx], 0
jne 0x4160d2
cmp eax, 1
jle 0x4160d2
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x439d90]
test eax, eax
jge 0x4156df
mov edx, dword [0x441fa0]
mov dword [0x439d90], edx
call fcn.0041c4b1
test eax, eax
je 0x4160c4
mov eax, dword [0x439d90]
push 1
push eax
push 0x2ab
push str.C:_build_rel_sp_8_4_6_2_srcwindows_atpclient_arr_srvs_body.cpp
call fcn.0041c4e1
add esp, 0x10
call ebx
push eax
push str.Array_Service:_failed_to_listen__err_d_n
call fcn.0041c506
add esp, 8
jmp 0x4160bf
test eax, eax
je 0x4157a4
mov ecx, dword [0x441fd4]
mov eax, dword [ecx]
cmp eax, 3
je 0x415740
mov edx, dword [0x441fdc]
cmp dword [edx], 0
jne 0x4157a4
cmp eax, 3
jle 0x4157a4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x439d90]
test eax, eax
jge 0x415763
mov eax, dword [0x441fa0]
mov dword [0x439d90], eax
call fcn.0041c4b1
test eax, eax
je 0x415796
mov ecx, dword [0x439d90]
push 3
push ecx
push 0x2ae
push str.C:_build_rel_sp_8_4_6_2_srcwindows_atpclient_arr_srvs_body.cpp
call fcn.0041c4e1
push str.past_listening_call..._n
call fcn.0041c506
add esp, 0x14
call fcn.0041c4cc
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
cmp eax, esi
mov dword [0x441e64], eax
je 0x4158f6
push esi
push esi
push esi
lea edx, [esp + 0x48]
push 0x3e8
push edx
push eax
mov dword [esp + 0x54], 0xff676980
mov dword [esp + 0x58], esi
call dword [sym.imp.KERNEL32.dll_SetWaitableTimer]
test eax, eax
mov eax, dword [0x441ff4]
jne 0x415861
cmp eax, esi
je 0x4158ea
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 1
je 0x415811
mov ecx, dword [0x441fdc]
cmp dword [ecx], 0
jne 0x4158ea
cmp eax, 1
jle 0x4158ea
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x439d90]
test eax, eax
jge 0x415836
mov edx, dword [0x441fa0]
mov dword [0x439d90], edx
call fcn.0041c4b1
test eax, eax
je 0x4158dc
mov eax, dword [0x439d90]
push 1
push eax
push 0x2b8
push str.C:_build_rel_sp_8_4_6_2_srcwindows_atpclient_arr_srvs_body.cpp
call fcn.0041c4e1
push str.Array_Service_8_4_6_40:_failed_to_create_one_second_timer._n
jmp 0x4158cf
cmp eax, esi
je 0x4158ea
mov ecx, dword [0x441fd4]
mov eax, dword [ecx]
cmp eax, 3
je 0x415886
mov edx, dword [0x441fdc]
cmp dword [edx], 0
jne 0x4158ea
cmp eax, 3
jle 0x4158ea
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x439d90]
test eax, eax
jge 0x4158a9
mov eax, dword [0x441fa0]
mov dword [0x439d90], eax
call fcn.0041c4b1
test eax, eax
je 0x4158dc
mov ecx, dword [0x439d90]
push 3
push ecx
push 0x2bc
push str.C:_build_rel_sp_8_4_6_2_srcwindows_atpclient_arr_srvs_body.cpp
call fcn.0041c4e1
push str.Array_Service_8_4_6_40:_one_second_timer_is_set._n
call fcn.0041c506
add esp, 0x14
call fcn.0041c4cc
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [0x441e64]
mov dword [esp + 0x20], edx
jmp 0x4158fa
mov dword [esp + 0x20], esi
push 0
mov ecx, 0x442408
call fcn.00420362
push 0
mov ecx, 0x442408
call fcn.004204a9
push 3
mov ecx, 0x442408
call fcn.004204c6
push 0
mov ecx, 0x442408
call fcn.004204e3
push 0
mov ecx, 0x442408
call fcn.00420500
push 0
mov ecx, 0x442408
call fcn.0042051d
push str.None
mov ecx, 0x442408
call fcn.00420557
test ebp, ebp
je 0x41597e
cmp dword [ebp], 0
je 0x41597e
mov edi, str.8_4_6_40
or ecx, 0xffffffff
xor eax, eax
push str.8_4_6_40
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 1
push str.ServiceVersion
mov ecx, ebp
call fcn.0041db50
mov eax, dword [0x441ff4]
test eax, eax
je 0x415a11
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 3
je 0x4159a7
mov ecx, dword [0x441fdc]
cmp dword [ecx], 0
jne 0x415a11
cmp eax, 3
jle 0x415a11
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x439d90]
test eax, eax
jge 0x4159cc
mov edx, dword [0x441fa0]
mov dword [0x439d90], edx
call fcn.0041c4b1
test eax, eax
je 0x415a03
mov eax, dword [0x439d90]
push 3
push eax
push 0x2d4
push str.C:_build_rel_sp_8_4_6_2_srcwindows_atpclient_arr_srvs_body.cpp
call fcn.0041c4e1
push str.8_4_6_40
push str.Array_Service_8_4_6_40:_updated_current_version_key_to__s_n
call fcn.0041c506
add esp, 0x18
call fcn.0041c4cc
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
push 0
push 4
call fcn.0041bd50
add esp, 0xc
test eax, eax
je 0x4160d2
mov eax, dword [0x441ff4]
test eax, eax
je 0x415abb
mov ecx, dword [0x441fd4]
mov eax, dword [ecx]
cmp eax, 3
je 0x415a51
mov edx, dword [0x441fdc]
cmp dword [edx], 0
jne 0x415abb
cmp eax, 3
jle 0x415abb
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call ebp
mov edi, eax
mov eax, dword [0x439d90]
test eax, eax
jge 0x415a78
mov eax, dword [0x441fa0]
mov dword [0x439d90], eax
call fcn.0041c4b1
test eax, eax
je 0x415aab
mov ecx, dword [0x439d90]
push 3
push ecx
push 0x2e1
push str.C:_build_rel_sp_8_4_6_2_srcwindows_atpclient_arr_srvs_body.cpp
call fcn.0041c4e1
push str.Service_running..._n
call fcn.0041c506
add esp, 0x14
call fcn.0041c4cc
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x415ac7
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
call fcn.00422816
add esp, 4
test eax, eax
je 0x415ae7
push 0
push 0
push 0x4102a0
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
push 0xffffffffffffffff
lea edx, [esp + 0x1c]
push 0
push edx
push 3
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov esi, eax
cmp esi, 2
jne 0x415dd9
mov eax, dword [0x441e60]
test eax, eax
je 0x415b1f
push 0
push 0
push 0
push 0
push esi
push 0x14
call fcn.0041e7ec
add esp, 0x18
mov eax, dword [0x441f90]
test eax, eax
je 0x415ae7
push 0xf003f
push str.SOFTWAREArray_NetworksArray_SSL_VPN8_4_6_40
push reloc.WS2_32.dll_bind
lea ecx, [esp + 0x90]
call fcn.0041d2d7
mov eax, dword [esp + 0x84]
test eax, eax
je 0x415d46
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x24]
lea ecx, [esp + 0x54]
push eax
push ecx
push 1
push str.hw_enum
lea ecx, [esp + 0x94]
call fcn.0041d7b1
test eax, eax
je 0x415ca9
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x14]
push edx
call fcn.00431b96
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.MSVCRT.dll_free]
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00414ed0
add esp, 8
test eax, eax
jne 0x415c30
mov dword [0x441f90], eax
mov eax, dword [0x441ff4]
test eax, eax
je 0x415d2c
mov edx, dword [0x441fd4]
mov eax, dword [edx]
cmp eax, 3
je 0x415be5
mov ecx, dword [0x441fdc]
cmp dword [ecx], 0
jne 0x415d2c
cmp eax, 3
jle 0x415d2c
call ebx
mov esi, eax
call ebp
mov edi, eax
mov eax, dword [0x439d90]
test eax, eax
jge 0x415c02
mov edx, dword [0x441fa0]
mov dword [0x439d90], edx
call fcn.0041c4b1
test eax, eax
je 0x415d1e
mov eax, dword [0x439d90]
push 3
push eax
push 0x30e
push str.C:_build_rel_sp_8_4_6_2_srcwindows_atpclient_arr_srvs_body.cpp
call fcn.0041c4e1
push str.Array_Service_8_4_6_40:_VPN_adapter_disabled._n
jmp 0x415d11
mov eax, dword [0x441ff4]
test eax, eax
je 0x415d2c
mov ecx, dword [0x441fd4]
mov eax, dword [ecx]
cmp eax, 2
je 0x415c62
mov edx, dword [0x441fdc]
cmp dword [edx], 0
jne 0x415d2c
cmp eax, 2
jle 0x415d2c
call ebx
mov esi, eax
call ebp
mov edi, eax
mov eax, dword [0x439d90]
test eax, eax
jge 0x415c7d
mov eax, dword [0x441fa0]
mov dword [0x439d90], eax
call fcn.0041c4b1
test eax, eax
je 0x415d1e
mov ecx, dword [0x439d90]
push 2
push ecx
push 0x311
push str.C:_build_rel_sp_8_4_6_2_srcwindows_atpclient_arr_srvs_body.cpp
call fcn.0041c4e1
push str.Array_Service_8_4_6_40:_failed_to_disable_VPN_adapter._n
jmp 0x415d11
mov eax, dword [0x441ff4]
test eax, eax
je 0x415d2c
mov edx, dword [0x441fd4]
mov eax, dword [edx]
cmp eax, 3
je 0x415ccf
mov ecx, dword [0x441fdc]
cmp dword [ecx], 0
jne 0x415d2c
cmp eax, 3
jle 0x415d2c
call ebx
mov esi, eax
call ebp
mov edi, eax
mov eax, dword [0x439d90]
test eax, eax
jge 0x415cec
mov edx, dword [0x441fa0]
mov dword [0x439d90], edx
call fcn.0041c4b1
test eax, eax
je 0x415d1e
mov eax, dword [0x439d90]
push 3
push eax
push 0x315
push str.C:_build_rel_sp_8_4_6_2_srcwindows_atpclient_arr_srvs_body.cpp
call fcn.0041c4e1
push str.Array_Service_8_4_6_40:_failed_to_get_enum_reg_val__2_._n
call fcn.0041c506
add esp, 0x14
call fcn.0041c4cc
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x84]
call fcn.0041d3c3
jmp 0x415ae7
mov eax, dword [0x441ff4]
test eax, eax
je 0x415dc8
mov ecx, dword [0x441fd4]
mov eax, dword [ecx]
cmp eax, 3
je 0x415d6c
mov edx, dword [0x441fdc]
cmp dword [edx], 0
jne 0x415dc8
cmp eax, 3
jle 0x415dc8
call ebx
mov esi, eax
call ebp
mov edi, eax
mov eax, dword [0x439d90]
test eax, eax
jge 0x415d87
mov eax, dword [0x441fa0]
mov dword [0x439d90], eax
call fcn.0041c4b1
test eax, eax
je 0x415dba
mov ecx, dword [0x439d90]
push 3
push ecx
push 0x31a
push str.C:_build_rel_sp_8_4_6_2_srcwindows_atpclient_arr_srvs_body.cpp
call fcn.0041c4e1
push str.Array_Service_8_4_6_40:_ver_reg_key_is_invalid._n
call fcn.0041c506
add esp, 0x14
call fcn.0041c4cc
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [esp + 0x84]
call fcn.0041d3c3
jmp 0x415ae7
cmp esi, 1
jne 0x415f18
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x58]
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
test eax, eax
jne 0x415ae7
test byte [esp + 0x58], 8
je 0x415ae7
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x28]
lea eax, [esp + 0x44]
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_accept]
mov ebx, eax
mov eax, dword [0x441ff4]
cmp ebx, 0xffffffff
je 0x415fb7
test eax, eax
je 0x415ee1
mov edx, dword [0x441fd4]
mov eax, dword [edx]
cmp eax, 3
je 0x415e5c
mov ecx, dword [0x441fdc]
cmp dword [ecx], 0
jne 0x415ee1
cmp eax, 3
jle 0x415ee1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x439d90]
test eax, eax
jge 0x415e81
mov edx, dword [0x441fa0]
mov dword [0x439d90], edx
call fcn.0041c4b1
test eax, eax
je 0x415ed3
mov eax, dword [0x439d90]
push 3
push eax
push 0x337
push str.C:_build_rel_sp_8_4_6_2_srcwindows_atpclient_arr_srvs_body.cpp
call fcn.0041c4e1
mov ecx, dword [esp + 0x56]
add esp, 0x10
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
mov edx, dword [esp + 0x48]
and eax, 0xffff
push eax
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push str.Service__accept_from__s:_d_n
call fcn.0041c506
add esp, 0xc
call fcn.0041c4cc
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esp + 0x3c]
push eax
push 0
push ebx
push 0x413a90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x416044
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x415ae7
mov eax, dword [0x441ff4]
test eax, eax
je 0x415fa7
mov ecx, dword [0x441fd4]
mov eax, dword [ecx]
cmp eax, 3
je 0x415f42
mov edx, dword [0x441fdc]
cmp dword [edx], 0
jne 0x415fa7
cmp eax, 3
jle 0x415fa7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [0x439d90]
test eax, eax
jge 0x415f65
mov eax, dword [0x441fa0]
mov dword [0x439d90], eax
call fcn.0041c4b1
test eax, eax
je 0x415f99
mov ecx, dword [0x439d90]
push 3
push ecx
push 0x321
push str.C:_build_rel_sp_8_4_6_2_srcwindows_atpclient_arr_srvs_body.cpp
call fcn.0041c4e1
push esi
push str.Service__wait___d__exit_n
call fcn.0041c506
add esp, 0x18
call fcn.0041c4cc
push edi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4160d2
test eax, eax
je 0x4160d2
mov edx, dword [0x441fd4]
mov eax, dword [edx]
cmp eax, 1
je 0x415fe4
mov ecx, dword [0x441fdc]
cmp dword [ecx], 0
jne 0x4160d2
cmp eax, 1
jle 0x4160d2
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x439d90]
test eax, eax
jge 0x41600b
mov edx, dword [0x441fa0]
mov dword [0x439d90], edx
call fcn.0041c4b1
test eax, eax
je 0x4160c4
mov eax, dword [0x439d90]
push 1
push eax
push 0x332
push str.C:_build_rel_sp_8_4_6_2_srcwindows_atpclient_arr_srvs_body.cpp
call fcn.0041c4e1
add esp, 0x10
call ebx
push eax
push str.Array_Service:_failed_to_accept__err_d_n
call fcn.0041c506
add esp, 8
jmp 0x4160bf
mov eax, dword [0x441ff4]
test eax, eax
je 0x4160d2
mov ecx, dword [0x441fd4]
mov eax, dword [ecx]
cmp eax, 1
je 0x41606e
mov edx, dword [0x441fdc]
cmp dword [edx], 0
jne 0x4160d2
cmp eax, 1
jle 0x4160d2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [0x439d90]
test eax, eax
jge 0x416091
mov eax, dword [0x441fa0]
mov dword [0x439d90], eax
call fcn.0041c4b1
test eax, eax
je 0x4160c4
mov ecx, dword [0x439d90]
push 1
push ecx
push 0x33f
push str.C:_build_rel_sp_8_4_6_2_srcwindows_atpclient_arr_srvs_body.cpp
call fcn.0041c4e1
push str.Array_Service:_failed_to_create_thread_n
call fcn.0041c506
add esp, 0x14
call fcn.0041c4cc
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [0x441e60]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x41619c
push 0xf003f
push str.SOFTWAREArray_NetworksArray_SSL_VPN
push reloc.WS2_32.dll_bind
lea ecx, [esp + 0x80]
call fcn.0041d2d7
mov eax, dword [esp + 0x74]
test eax, eax
je 0x416167
push 0
call fcn.00414ec0
add esp, 4
mov ecx, 0x442408
push 0
call fcn.00420362
push 0
mov ecx, 0x442408
call fcn.004204a9
push 3
mov ecx, 0x442408
call fcn.004204c6
push 0
mov ecx, 0x442408
call fcn.004204e3
push 0
mov ecx, 0x442408
call fcn.00420500
push 0
mov ecx, 0x442408
call fcn.0042051d
push str.None
mov ecx, 0x442408
call fcn.00420557
push 0x9c40
push 0
push 3
call fcn.0041bd50
push 0
push 0
push 0
push 1
push 2
push 0x10
call fcn.0041e7ec
add esp, 0x24
lea ecx, [esp + 0x74]
mov dword [0x441e60], 0
call fcn.0041d3c3
mov eax, dword [0x441e68]
test eax, eax
je 0x4161ac
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4161bb
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov eax, dword [esp]
cmp eax, 0xffffffff
je 0x4161cb
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [0x441e64]
test eax, eax
je 0x4161db
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x298
ret