Function at 0x52ff50
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push edi
sub esp, 0xa48
push ecx
lea edi, [esp + 4]
mov eax, 0xcccccccc
mov ecx, 0x292
rep stosd dword es:[edi], eax
pop ecx
push str.RasDlg.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0xa14], eax
push str.RasApi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0xa18], eax
push str.RasPhonebookDlgA
push dword [ebp - 0xa14]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xa1c], eax
push str.RasGetErrorStringA
push dword [ebp - 0xa18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xa20], eax
cmp dword [0x602768], 0
je 0x53001c
push str.RasGetConnectStatusA
push dword [ebp - 0xa18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xa24], eax
cmp dword [ebp - 0xa24], 0
je 0x53001c
mov dword [ebp - 0xa4], 0xa0
lea eax, [ebp - 0xa4]
push eax
push dword [0x602768]
call dword [ebp - 0xa24]
cmp dword [ebp - 0xa0], 0x2000
jne 0x53001c
push 5
call fcn.005306c0
pop ecx
lea esp, [ebp - 4]
pop edi
pop ebp
ret
push 0
call fcn.005306c0
pop ecx
cmp dword [ebp - 0xa1c], 0
je 0x5301b5
cmp byte [ebp + 8], 0
je 0x5301b5
push 0x28
push 0
lea eax, [ebp - 0xcc]
push eax
call fcn.0040e050
add esp, 0xc
mov dword [ebp - 0xcc], 0x28
push 4
call fcn.005306c0
pop ecx
lea eax, [ebp - 0xcc]
push eax
push 0
push 0
call dword [ebp - 0xa1c]
mov dword [ebp - 0xa28], eax
cmp dword [ebp - 0xa28], 0
jne 0x5300a6
push 0
call fcn.005306c0
pop ecx
push dword [ebp - 0xa14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0xa18]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea esp, [ebp - 4]
pop edi
pop ebp
ret
push 0x19c
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0xa2c], eax
mov eax, dword [ebp - 0xa2c]
mov dword [eax], 0x19c
mov dword [ebp - 0xd0], 0x19c
push str.RasEnumConnectionsA
push dword [ebp - 0xa18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xa30], eax
cmp dword [ebp - 0xa30], 0
je 0x530111
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xd0]
push eax
push dword [ebp - 0xa2c]
call dword [ebp - 0xa30]
mov dword [ebp - 0xa28], eax
jmp 0x530143
push 0
call fcn.005306c0
pop ecx
push dword [ebp - 0xa2c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0xa14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0xa18]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea esp, [ebp - 4]
pop edi
pop ebp
ret
cmp dword [ebp - 0xa28], 0
je 0x53018d
cmp dword [ebp - 0xa20], 0
je 0x53018d
push 0xff
lea eax, [ebp - 0x1d4]
push eax
push dword [ebp - 0xa28]
call dword [ebp - 0xa20]
push 0
push str.RAS_Error
lea eax, [ebp - 0x1d4]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.005306c0
pop ecx
jmp 0x5301a4
mov eax, dword [ebp - 0xa2c]
mov edx, dword [eax + 4]
mov dword [0x602768], edx
push 5
call fcn.005306c0
pop ecx
push dword [ebp - 0xa2c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x530697
push 0x108
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0xa34], eax
mov dword [ebp - 0x1d8], 0
mov dword [ebp - 0x1dc], 0
mov eax, dword [ebp - 0xa34]
mov dword [eax], 0x108
push str.RasEnumEntriesA
push dword [ebp - 0xa18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xa38], eax
cmp dword [ebp - 0xa38], 0
je 0x53022e
lea eax, [ebp - 0x1dc]
push eax
lea eax, [ebp - 0x1d8]
push eax
push dword [ebp - 0xa34]
push 0
push 0
call dword [ebp - 0xa38]
mov dword [ebp - 0xa3c], eax
jmp 0x530260
push 0
call fcn.005306c0
pop ecx
push dword [ebp - 0xa34]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0xa14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0xa18]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea esp, [ebp - 4]
pop edi
pop ebp
ret
cmp dword [ebp - 0xa3c], 0x25b
jne 0x530298
push dword [ebp - 0xa34]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x1d8]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0xa34], eax
mov eax, dword [ebp - 0xa34]
mov dword [eax], 0x108
lea eax, [ebp - 0x1dc]
push eax
lea eax, [ebp - 0x1d8]
push eax
push dword [ebp - 0xa34]
push 0
push 0
call dword [ebp - 0xa38]
mov dword [ebp - 0xa3c], eax
cmp dword [ebp - 0xa3c], 0
je 0x530309
cmp dword [ebp - 0xa20], 0
je 0x530309
push 0xff
lea eax, [ebp - 0x2dc]
push eax
push dword [ebp - 0xa3c]
call dword [ebp - 0xa20]
push 0
push str.RAS_Error
lea eax, [ebp - 0x2dc]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.005306c0
pop ecx
jmp 0x53068b
lea edi, [ebp - 0x6f8]
mov eax, 0
mov ecx, 0x107
rep stosd dword es:[edi], eax
mov dword [ebp - 0x6f8], 0x41c
mov eax, dword [ebp - 0xa34]
add eax, 4
push eax
lea eax, [ebp - 0x6f8]
add eax, 4
push eax
call fcn.0040d350
pop ecx
pop ecx
mov dword [ebp - 0x6fc], 0
push str.RasGetEntryDialParamsA
push dword [ebp - 0xa18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xa40], eax
cmp dword [ebp - 0xa40], 0
je 0x530388
lea eax, [ebp - 0x6fc]
push eax
lea eax, [ebp - 0x6f8]
push eax
push 0
call dword [ebp - 0xa40]
mov dword [ebp - 0xa3c], eax
jmp 0x5303ba
push 0
call fcn.005306c0
pop ecx
push dword [ebp - 0xa34]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0xa14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0xa18]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea esp, [ebp - 4]
pop edi
pop ebp
ret
cmp dword [ebp - 0xa3c], 0
je 0x53042c
cmp dword [ebp - 0xa20], 0
je 0x53042c
push 0xff
lea eax, [ebp - 0x7fc]
push eax
push dword [ebp - 0xa3c]
call dword [ebp - 0xa20]
push 0
push str.RAS_Error
lea eax, [ebp - 0x7fc]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.005306c0
pop ecx
push dword [ebp - 0xa34]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0xa14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0xa18]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea esp, [ebp - 4]
pop edi
pop ebp
ret
push str.RasGetEntryPropertiesA
push dword [ebp - 0xa18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xa44], eax
mov dword [ebp - 0x800], 0
cmp dword [ebp - 0xa44], 0
je 0x530592
push 0
push 0
lea eax, [ebp - 0x800]
push eax
push 0
mov eax, dword [ebp - 0xa34]
add eax, 4
push eax
push 0
call dword [ebp - 0xa44]
push dword [ebp - 0x800]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0xa48], eax
cmp dword [ebp - 0xa48], 0
jne 0x5304b6
push 0
push str.entry
push 0x123
push str.PPPSocketWin.cpp
push 4
push 0x83
call fcn.004a4f70
add esp, 0x18
mov eax, dword [ebp - 0xa48]
mov dword [eax], 0x6e8
push 0
push 0
lea eax, [ebp - 0x800]
push eax
push dword [ebp - 0xa48]
mov eax, dword [ebp - 0xa34]
add eax, 4
push eax
push 0
call dword [ebp - 0xa44]
mov dword [ebp - 0xa3c], eax
cmp dword [ebp - 0xa3c], 0
je 0x530569
cmp dword [ebp - 0xa20], 0
je 0x530569
push 0xff
lea eax, [ebp - 0x900]
push eax
push dword [ebp - 0xa3c]
call dword [ebp - 0xa20]
push 0
push str.RAS_Error
lea eax, [ebp - 0x900]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.005306c0
pop ecx
push dword [ebp - 0xa34]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0xa48]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0xa14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0xa18]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea esp, [ebp - 4]
pop edi
pop ebp
ret
mov eax, dword [ebp - 0xa48]
add eax, 0x1b
push eax
lea eax, [ebp - 0x6f8]
add eax, 0x105
push eax
call fcn.0040d350
pop ecx
pop ecx
push dword [ebp - 0xa48]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push str.RasDialA
push dword [ebp - 0xa18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xa4c], eax
lea edi, [ebp - 0x910]
mov eax, 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x910], 0x10
push 4
call fcn.005306c0
pop ecx
cmp dword [ebp - 0xa4c], 0
je 0x5305fd
push 0x602768
push 0x52fd60
push 0
lea eax, [ebp - 0x6f8]
push eax
push 0
lea eax, [ebp - 0x910]
push eax
call dword [ebp - 0xa4c]
mov dword [ebp - 0xa3c], eax
jmp 0x530639
push 0
call fcn.005306c0
pop ecx
push dword [ebp - 0xa34]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0xa14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0xa18]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x602768], 0
lea esp, [ebp - 4]
pop edi
pop ebp
ret
cmp dword [ebp - 0xa3c], 0
je 0x53068b
cmp dword [ebp - 0xa20], 0
je 0x53068b
push 0xff
lea eax, [ebp - 0xa10]
push eax
push dword [ebp - 0xa3c]
call dword [ebp - 0xa20]
push 0
push str.RAS_Error
lea eax, [ebp - 0xa10]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.005306c0
pop ecx
mov dword [0x602768], 0
push dword [ebp - 0xa34]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea esp, [ebp - 4]
pop edi
pop ebp
ret