Function at 0x4ffbb0
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 [0x579810], 0
je 0x4ffc79
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 0x4ffc79
mov dword [ebp - 0xa0], 0xa0
lea eax, [ebp - 0xa0]
push eax
push dword [0x579810]
call dword [ebp - 0x91c]
cmp dword [ebp - 0x9c], 0x2000
jne 0x4ffc79
push 5
call fcn.005001b0
pop ecx
leave
ret
push 0
call fcn.005001b0
pop ecx
cmp dword [ebp - 0x914], 0
je 0x4ffe0a
cmp byte [ebp + 8], 0
je 0x4ffe0a
push 0x28
push 0
lea eax, [ebp - 0xc8]
push eax
call fcn.0040f420
add esp, 0xc
mov dword [ebp - 0xc8], 0x28
push 4
call fcn.005001b0
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 0x4ffcff
push 0
call fcn.005001b0
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 0x4ffd6a
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 0x4ffd98
push 0
call fcn.005001b0
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 0x4ffde2
cmp dword [ebp - 0x918], 0
je 0x4ffde2
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.005001b0
pop ecx
jmp 0x4ffdf9
mov eax, dword [ebp - 0x924]
mov edx, dword [eax + 4]
mov dword [0x579810], edx
push 5
call fcn.005001b0
pop ecx
push dword [ebp - 0x924]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x500168
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 0x4ffe83
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 0x4ffeb1
push 0
call fcn.005001b0
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 0x4ffee9
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 0x4fff5a
cmp dword [ebp - 0x918], 0
je 0x4fff5a
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.005001b0
pop ecx
jmp 0x50015c
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.0040e930
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 0x4fffc7
lea eax, [ebp - 0x6f8]
push eax
lea eax, [ebp - 0x6f4]
push eax
push 0
call dword [ebp - 0x938]
mov dword [ebp - 0x934], eax
jmp 0x4ffff5
push 0
call fcn.005001b0
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 0x500063
cmp dword [ebp - 0x918], 0
je 0x500063
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.005001b0
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.0053dde0
add esp, 0xc
mov dword [ebp - 0x808], 0x10
push 4
call fcn.005001b0
pop ecx
cmp dword [ebp - 0x93c], 0
je 0x5000d2
push 0x579810
push 0x4ff9c0
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 0x50010a
push 0
call fcn.005001b0
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 [0x579810], 0
leave
ret
cmp dword [ebp - 0x934], 0
je 0x50015c
cmp dword [ebp - 0x918], 0
je 0x50015c
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.005001b0
pop ecx
mov dword [0x579810], 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