Function at 0x470500
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x93c
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
mov ecx, 0x24f
rep stosd dword es:[edi], eax
pop edi
pop ecx
push str.RasDlg.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x90c], eax
push str.RasApi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x910], eax
push str.RasPhonebookDlgA
push dword [ebp - 0x90c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x914], eax
push str.RasGetErrorStringA
push dword [ebp - 0x910]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x918], eax
cmp dword [0x4bcc24], 0
je 0x4705c9
push str.RasGetConnectStatusA
push dword [ebp - 0x910]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x91c], eax
cmp dword [ebp - 0x91c], 0
je 0x4705c9
mov dword [ebp - 0xa0], 0xa0
lea eax, [ebp - 0xa0]
push eax
push dword [0x4bcc24]
call dword [ebp - 0x91c]
cmp dword [ebp - 0x9c], 0x2000
jne 0x4705c9
push 5
call fcn.00470b00
pop ecx
leave
ret
push 0
call fcn.00470b00
pop ecx
cmp dword [ebp - 0x914], 0
je 0x47075a
cmp byte [ebp + 8], 0
je 0x47075a
push 0x28
push 0
lea eax, [ebp - 0xc8]
push eax
call fcn.00404520
add esp, 0xc
mov dword [ebp - 0xc8], 0x28
push 4
call fcn.00470b00
pop ecx
lea eax, [ebp - 0xc8]
push eax
push 0
push 0
call dword [ebp - 0x914]
mov dword [ebp - 0x920], eax
cmp dword [ebp - 0x920], 0
jne 0x47064f
push 0
call fcn.00470b00
pop ecx
push dword [ebp - 0x90c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0x910]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
leave
ret
push 0x19c
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x924], eax
mov eax, dword [ebp - 0x924]
mov dword [eax], 0x19c
mov dword [ebp - 0xcc], 0x19c
push str.RasEnumConnectionsA
push dword [ebp - 0x910]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x928], eax
cmp dword [ebp - 0x928], 0
je 0x4706ba
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 0x924]
call dword [ebp - 0x928]
mov dword [ebp - 0x920], eax
jmp 0x4706e8
push 0
call fcn.00470b00
pop ecx
push dword [ebp - 0x924]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x90c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0x910]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
leave
ret
cmp dword [ebp - 0x920], 0
je 0x470732
cmp dword [ebp - 0x918], 0
je 0x470732
push 0xff
lea eax, [ebp - 0x1d0]
push eax
push dword [ebp - 0x920]
call dword [ebp - 0x918]
push 0
push str.RAS_Error
lea eax, [ebp - 0x1d0]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.00470b00
pop ecx
jmp 0x470749
mov eax, dword [ebp - 0x924]
mov edx, dword [eax + 4]
mov dword [0x4bcc24], edx
push 5
call fcn.00470b00
pop ecx
push dword [ebp - 0x924]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x470ab8
push 0x108
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x92c], eax
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0x92c]
mov dword [eax], 0x108
push str.RasEnumEntriesA
push dword [ebp - 0x910]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x930], eax
cmp dword [ebp - 0x930], 0
je 0x4707d3
lea eax, [ebp - 0x1d8]
push eax
lea eax, [ebp - 0x1d4]
push eax
push dword [ebp - 0x92c]
push 0
push 0
call dword [ebp - 0x930]
mov dword [ebp - 0x934], eax
jmp 0x470801
push 0
call fcn.00470b00
pop ecx
push dword [ebp - 0x92c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x90c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0x910]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
leave
ret
cmp dword [ebp - 0x934], 0x25b
jne 0x470839
push dword [ebp - 0x92c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x1d4]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x92c], eax
mov eax, dword [ebp - 0x92c]
mov dword [eax], 0x108
lea eax, [ebp - 0x1d8]
push eax
lea eax, [ebp - 0x1d4]
push eax
push dword [ebp - 0x92c]
push 0
push 0
call dword [ebp - 0x930]
mov dword [ebp - 0x934], eax
cmp dword [ebp - 0x934], 0
je 0x4708aa
cmp dword [ebp - 0x918], 0
je 0x4708aa
push 0xff
lea eax, [ebp - 0x2d8]
push eax
push dword [ebp - 0x934]
call dword [ebp - 0x918]
push 0
push str.RAS_Error
lea eax, [ebp - 0x2d8]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.00470b00
pop ecx
jmp 0x470aac
mov dword [ebp - 0x6f4], 0x41c
mov eax, dword [ebp - 0x92c]
add eax, 4
push eax
lea eax, [ebp - 0x6f4]
add eax, 4
push eax
call fcn.00403a90
pop ecx
pop ecx
mov dword [ebp - 0x6f8], 0
push str.RasGetEntryDialParamsA
push dword [ebp - 0x910]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x938], eax
cmp dword [ebp - 0x938], 0
je 0x470917
lea eax, [ebp - 0x6f8]
push eax
lea eax, [ebp - 0x6f4]
push eax
push 0
call dword [ebp - 0x938]
mov dword [ebp - 0x934], eax
jmp 0x470945
push 0
call fcn.00470b00
pop ecx
push dword [ebp - 0x92c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x90c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0x910]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
leave
ret
cmp dword [ebp - 0x934], 0
je 0x4709b3
cmp dword [ebp - 0x918], 0
je 0x4709b3
push 0xff
lea eax, [ebp - 0x7f8]
push eax
push dword [ebp - 0x934]
call dword [ebp - 0x918]
push 0
push str.RAS_Error
lea eax, [ebp - 0x7f8]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.00470b00
pop ecx
push dword [ebp - 0x92c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x90c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0x910]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
leave
ret
push str.RasDialA
push dword [ebp - 0x910]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x93c], eax
push 0x10
push 0
lea eax, [ebp - 0x808]
push eax
call fcn.0049dec0
add esp, 0xc
mov dword [ebp - 0x808], 0x10
push 4
call fcn.00470b00
pop ecx
cmp dword [ebp - 0x93c], 0
je 0x470a22
push 0x4bcc24
push 0x470310
push 0
lea eax, [ebp - 0x6f4]
push eax
push 0
lea eax, [ebp - 0x808]
push eax
call dword [ebp - 0x93c]
mov dword [ebp - 0x934], eax
jmp 0x470a5a
push 0
call fcn.00470b00
pop ecx
push dword [ebp - 0x92c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x90c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0x910]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4bcc24], 0
leave
ret
cmp dword [ebp - 0x934], 0
je 0x470aac
cmp dword [ebp - 0x918], 0
je 0x470aac
push 0xff
lea eax, [ebp - 0x908]
push eax
push dword [ebp - 0x934]
call dword [ebp - 0x918]
push 0
push str.RAS_Error
lea eax, [ebp - 0x908]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.00470b00
pop ecx
mov dword [0x4bcc24], 0
push dword [ebp - 0x92c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x90c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0x910]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
leave
ret