Function at 0x4de180
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 [0x534f50], 0
je 0x4de248
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 0x4de248
mov dword [ebp - 0xa0], 0xa0
lea eax, [ebp - 0xa0]
push eax
push dword [0x534f50]
call dword [ebp - 0x91c]
cmp word [ebp - 0x9c], 0x2000
jne 0x4de248
push 5
call fcn.004de780
pop ecx
leave
ret
push 0
call fcn.004de780
pop ecx
cmp dword [ebp - 0x914], 0
je 0x4de3d9
cmp byte [ebp + 8], 0
je 0x4de3d9
push 0x28
push 0
lea eax, [ebp - 0xc8]
push eax
call fcn.0040e350
add esp, 0xc
mov dword [ebp - 0xc8], 0x28
push 4
call fcn.004de780
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 0x4de2ce
push 0
call fcn.004de780
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 0x4de339
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 0x4de367
push 0
call fcn.004de780
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 0x4de3b1
cmp dword [ebp - 0x918], 0
je 0x4de3b1
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.004de780
pop ecx
jmp 0x4de3c8
mov eax, dword [ebp - 0x924]
mov edx, dword [eax + 4]
mov dword [0x534f50], edx
push 5
call fcn.004de780
pop ecx
push dword [ebp - 0x924]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4de737
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 0x4de452
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 0x4de480
push 0
call fcn.004de780
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 0x4de4b8
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 0x4de529
cmp dword [ebp - 0x918], 0
je 0x4de529
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.004de780
pop ecx
jmp 0x4de72b
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.0040dcc0
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 0x4de596
lea eax, [ebp - 0x6f8]
push eax
lea eax, [ebp - 0x6f4]
push eax
push 0
call dword [ebp - 0x938]
mov dword [ebp - 0x934], eax
jmp 0x4de5c4
push 0
call fcn.004de780
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 0x4de632
cmp dword [ebp - 0x918], 0
je 0x4de632
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.004de780
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.004f4a80
add esp, 0xc
mov dword [ebp - 0x808], 0x10
push 4
call fcn.004de780
pop ecx
cmp dword [ebp - 0x93c], 0
je 0x4de6a1
push 0x534f50
push 0x4ddf90
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 0x4de6d9
push 0
call fcn.004de780
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 [0x534f50], 0
leave
ret
cmp dword [ebp - 0x934], 0
je 0x4de72b
cmp dword [ebp - 0x918], 0
je 0x4de72b
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.004de780
pop ecx
mov dword [0x534f50], 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