Function at 0x4020b0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x411014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push pe_nt_image_headers32
lea eax, [ebp - 0x130]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [0x411148]
mov eax, dword fs:[0x2c]
mov edi, dword [eax + ecx*4]
movzx eax, byte [edi + 0xd]
push eax
push str.security.host.ruissl
call fcn.00402af0
mov al, byte [ebp + 0xc]
push str.start_n
push 6
mov byte [edi + 0xd], al
call fcn.004027c0
mov eax, dword [ebp + 8]
push eax
push eax
call fcn.00403290
add esp, 0x24
test al, al
jne 0x402131
lea eax, [ebp - 0x130]
push 1
push eax
call fcn.00401f10
add esp, 8
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x10
push eax
lea eax, [ebp - 0x18]
push eax
push dword [edi + 0x14]
call sub.WS2_32.dll_getpeername
test eax, eax
jns 0x402166
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call sub.WS2_32.dll_WSAGetLastError
push eax
push str.getpeername_failed:__d_tid__d_n
call fcn.00402700
cmp word [ebp - 0x18], 1
jne 0x402198
push str.Connect_from__local__AF_UNIX_socket._n
call sub.vmwarebase.DLL_Log
push dword [section..data]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov dword [edi + 8], eax
add esp, 8
mov byte [edi + 0xc], 0
jmp 0x402243
mov esi, dword [ebp - 0x14]
push esi
call sub.WS2_32.dll_inet_ntoa
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
add esp, 4
mov dword [edi + 8], eax
push 0x7f000001
call sub.WS2_32.dll_htonl
cmp esi, eax
jne 0x4021d5
push str.Connect_from_local__loopback__socket._n
call sub.vmwarebase.DLL_Log
add esp, 4
mov byte [edi + 0xc], 0
jmp 0x402243
push dword [ebp - 0x16]
call sub.WS2_32.dll_ntohs
movzx ebx, ax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 8], 0x10
push eax
push dword [edi + 0x14]
call sub.WS2_32.dll_getsockname
test eax, eax
jns 0x402215
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call sub.WS2_32.dll_WSAGetLastError
push eax
push str.getsockname_failed:__d_tid__d_n
call fcn.00402700
cmp esi, dword [ebp - 0x14]
mov edx, str.local
push ebx
setne cl
mov byte [edi + 0xc], cl
mov ecx, str.remote
push dword [edi + 8]
cmove ecx, edx
push ecx
push str.Connect_from__s_socket___s:_u_._n
call sub.vmwarebase.DLL_Log
add esp, 0x10
call fcn.00401d20
push eax
push str.Connect_from__.128s_n
call sub.vmwarebase.DLL_Log
add esp, 8
call fcn.00402480
cmp dword [edi + 0x10], 0
jne 0x402275
lea eax, [ebp - 0x130]
push 1
push eax
call fcn.00401f10
add esp, 8
cmp byte [edi + 0xd], 0
je 0x4022aa
push dword [edi + 0x10]
call sub.vmwarebase.DLL_SSL_Accept
test al, al
mov edx, str.Failed
mov ecx, str.Succeeded
cmove ecx, edx
push ecx
push str.SSL_connection__s_n
push 6
call fcn.004027c0
add esp, 0x10
jmp 0x4022b9
push str.Using_plaintext_connection_n
push 6
call fcn.004027c0
add esp, 8
lea eax, [ebp - 0x130]
push eax
call fcn.00401d40
mov esi, eax
add esp, 4
test esi, esi
je 0x4022ec
push str.Goodbye
push 0
push 0xdd
call fcn.00403b50
xor ecx, ecx
add esp, 0xc
cmp esi, 2
setne cl
mov esi, ecx
lea eax, [ebp - 0x130]
push esi
push eax
call fcn.00401f10
add esp, 8
push 0x2d9
push str.bora_apps_vmauthd_vmauthd.c
push str.NOT_REACHED__s:_d_n
call fcn.00402700
int3