Function at 0x4030c0
Capabilities:
Check os version
Read .ini file

Disassembly:
sub esp, 0x7c8
push ebx
push ebp
push esi
push edi
push str.GetWindowsDirectoryA
mov ebx, ecx
push str.KERNEL32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0xc8]
push 0x105
push ecx
call eax
lea edx, [esp + 0xc8]
push 0x5c
push edx
call fcn.00416040
mov edx, eax
or ecx, 0xffffffff
add esp, 8
mov edi, str.Documents_and_Settings_
xor eax, eax
inc edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xc8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x23
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0xd0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Application_DataMicrosoftNetworkConnectionspbk_rasphone.pbk
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x2d8]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 0
call dword [0x429800]
lea ecx, [esp + 0x2d0]
push str.MicrosoftNetworkConnectionspbk_rasphone.pbk
push ecx
lea edx, [esp + 0x2d8]
push 0x42413c
push edx
call dword [0x4298bc]
add esp, 0x10
lea edx, [esp + 0x34]
lea eax, [esp + 0xc8]
lea ecx, [esp + 0x2d0]
push edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x44]
mov esi, 2
cmp eax, esi
jne 0x403201
cmp dword [esp + 0x38], 5
jb 0x403201
mov ecx, ebx
call fcn.00402f60
push 0x1000
call fcn.00415686
mov ebp, eax
lea eax, [esp + 0x30]
add esp, 4
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], esi
mov ecx, 0x400
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx]
push esi
push 0x1000
push ebp
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
cmp byte [ebp], 0
je 0x403469
jmp 0x403252
mov esi, dword [esp + 0x14]
push ebp
mov ecx, ebx
call fcn.00403900
mov dword [esp + 0x20], eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1d0]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x3d8]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x5d8]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x6d8]
push esi
lea edx, [esp + 0x1d4]
rep stosd dword es:[edi], eax
push 0x100
push edx
mov ecx, 0x40
lea edi, [esp + 0x4e4]
push eax
push str.DialParamsUID
rep stosd dword es:[edi], eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jle 0x4033b2
mov eax, dword [ebx + 0x10]
xor edi, edi
test eax, eax
jle 0x4033b2
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x1d0]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x403310
test cl, cl
je 0x40330c
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x403310
add eax, 2
add esi, 2
test cl, cl
jne 0x4032ec
xor eax, eax
jmp 0x403315
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x403331
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x10]
inc edi
add ecx, 0x301
cmp edi, eax
mov dword [esp + 0x1c], ecx
jl 0x4032e1
jmp 0x4033ae
mov eax, dword [esp + 0x10]
lea ecx, [edi + edi*2]
shl ecx, 8
add eax, ecx
or ecx, 0xffffffff
lea esi, [esp + 0x3d8]
lea edx, [edi + eax]
xor eax, eax
mov dword [esp + 0x10], esi
lea edi, [edx + 0x200]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [edx + 0x100]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea esi, [esp + 0x5d8]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x10], esi
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [edx + 0x300], 1
mov eax, dword [ebx + 8]
inc eax
mov dword [ebx + 8], eax
mov esi, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
lea ecx, [esp + 0x6dc]
push 0x100
push ecx
push 0
push str.PhoneNumber
push ebp
call edi
push esi
lea edx, [esp + 0x4dc]
push 0x100
push edx
push 0
push str.Device
push ebp
call edi
lea eax, [esp + 0x4d8]
mov ecx, ebx
push eax
call fcn.00403900
lea ecx, [esp + 0x3d8]
mov esi, eax
push ecx
mov ecx, ebx
call fcn.00403900
mov ecx, dword [esp + 0x20]
mov edi, eax
lea edx, [esp + 0x6d8]
push esi
lea eax, [esp + 0x5dc]
push edx
push eax
push edi
lea edx, [esp + 0x1e0]
push ecx
push edx
mov ecx, ebx
call fcn.004034a0
mov eax, dword [esp + 0x20]
push eax
call fcn.00415694
push edi
call fcn.00415694
push esi
call fcn.00415694
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov al, byte [ecx + ebp + 1]
lea ebp, [ecx + ebp + 1]
test al, al
jne 0x40324e
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
add ecx, 4
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], eax
jne 0x403220
push ebp
call fcn.00415694
add esp, 4
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c8
ret