Function at 0x404510
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x416170
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x30], 3
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x424e18
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x34], 4
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x424e14
call sub.MFC42.DLL_CString::CString_2
add esi, 0x210
mov byte [esp + 0x34], 3
mov ecx, esi
call fcn.0040b960
test eax, eax
jge 0x4045ba
mov ecx, esi
call fcn.0040c220
push 0
push 0
push str.Error_Code_:_E_0001__
jmp 0x4047df
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.client
call fcn.0041528a
mov ecx, esi
call fcn.0040bf10
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.dev_tap
call fcn.0041528a
mov ecx, esi
call fcn.0040bf10
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.persist_key
call fcn.0041528a
mov ecx, esi
call fcn.0040bf10
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.persist_tun
call fcn.0041528a
mov ecx, esi
call fcn.0040bf10
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.nobind
call fcn.0041528a
mov ecx, esi
call fcn.0040bf10
mov eax, dword [0x424eb8]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x424ad0
push eax
call edi
add esp, 8
test eax, eax
jne 0x404675
mov eax, dword [0x424ebc]
push 0x424ad0
push eax
call edi
add esp, 8
test eax, eax
jne 0x404675
mov ecx, esi
call fcn.0040c220
push 0
push 0
push str.Error_Code_:_E_0002__
jmp 0x4047df
mov eax, dword [0x424ebc]
mov ecx, dword [0x424eb8]
push eax
push ecx
lea edx, [esp + 0x20]
push str.remote__s__s
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.0040bf10
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.pull
call fcn.0041528a
mov ecx, esi
call fcn.0040bf10
mov eax, dword [0x424e94]
push 0x424ad0
push eax
call edi
add esp, 8
test eax, eax
jne 0x4046ec
mov ecx, esi
call fcn.0040c220
push 0
push 0
push str.Error_Code_:_E_0003__
jmp 0x4047df
push 0x2f
mov ecx, 0x424e94
call sub.MFC42.DLL_CString::ReverseFind
mov ecx, dword [0x424e94]
lea edx, [esp + 0x1c]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
push ecx
push edx
mov ecx, 0x424e94
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
mov ecx, dword [0x424e14]
push eax
push ecx
lea edx, [esp + 0x1c]
push str.ca___s__s_
push edx
mov byte [esp + 0x3c], 5
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::CString
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.0040bf10
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.verb_3
call fcn.0041528a
mov ecx, esi
call fcn.0040bf10
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.mute_10
call fcn.0041528a
mov ecx, esi
call fcn.0040bf10
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.reneg_sec_864000
call fcn.0041528a
mov ecx, esi
call fcn.0040bf10
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.auth_nocache
call fcn.0041528a
mov ecx, esi
call fcn.0040bf10
mov eax, dword [0x424e1c]
push 0x424ad0
push eax
call edi
add esp, 8
test eax, eax
jne 0x404834
mov ecx, esi
call fcn.0040c220
push 0
push 0
push str.Error_Code_:_E_0005__
call sub.MFC42.DLL_AfxMessageBox_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
or eax, 0xffffffff
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret
mov ecx, dword [0x424e20]
mov edx, dword [0x424e1c]
push ecx
push edx
lea eax, [esp + 0x18]
push str.auth_user_pass___s__s_
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.0040bf10
mov eax, dword [0x424ecc]
push 0x5e
push 0
lea ecx, [esp + 0x14]
push eax
push ecx
mov ebp, 1
call sub.MFC42.DLL_AfxExtractSubString
test eax, eax
je 0x4048ce
mov edx, dword [esp + 0xc]
push 0x424ad0
push edx
call edi
add esp, 8
test eax, eax
je 0x4048b3
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.0040bf10
mov ecx, dword [0x424ecc]
mov eax, ebp
push 0x5e
push eax
lea edx, [esp + 0x14]
push ecx
push edx
inc ebp
call sub.MFC42.DLL_AfxExtractSubString
test eax, eax
jne 0x404888
mov ecx, esi
call fcn.0040c220
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebp
add esp, 0x24
ret