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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x17e
push 0
push 0
dec ecx
jne 0x419638
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x419a02
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004195c4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4199bc
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x41960c]
call fcn.004055b4
add esp, 4
mov edx, dword [ebp - 0x10]
mov eax, 0x108
mov dword [edx], eax
imul dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0
call sub.rasapi32.dll_RasEnumEntriesA
test eax, eax
jne 0x4199bc
mov dword [ebp - 0xc0], 0x94
lea eax, [ebp - 0xc0]
push eax
call sub.kernel32.dll_GetVersionExA
lea eax, [ebp - 0x18]
mov edx, 0x105
call fcn.0040473c
lea eax, [ebp - 0x1c]
mov edx, 0x105
call fcn.0040473c
cmp dword [ebp - 0xb0], 2
jne 0x41976a
cmp dword [ebp - 0xbc], 5
jb 0x41976a
push 0
push 0x1a
lea eax, [ebp - 0x18]
call fcn.004046ac
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
test eax, eax
je 0x41972b
lea ecx, [ebp - 0xbc8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00419520
mov edx, dword [ebp - 0xbc8]
lea eax, [ebp - 0x18]
call fcn.0040423c
push 0
push 0x23
lea eax, [ebp - 0x1c]
call fcn.004046ac
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
test eax, eax
je 0x419762
lea ecx, [ebp - 0xbcc]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00419520
mov edx, dword [ebp - 0xbcc]
lea eax, [ebp - 0x1c]
call fcn.0040423c
mov eax, dword [ebp - 4]
call fcn.004193cc
mov dword [ebp - 0x20], 0xffffffff
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4199bc
inc eax
mov dword [ebp - 0x2c], eax
xor esi, esi
mov dword [ebp - 0x4dc], 0x41c
mov ebx, esi
shl ebx, 5
add ebx, esi
mov eax, dword [ebp - 0x10]
lea eax, [eax + ebx*8 + 4]
lea edx, [ebp - 0x4d8]
mov ecx, pe_nt_image_headers32
call fcn.0040282c
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x4dc]
push eax
push 0
call sub.rasapi32.dll_RasGetEntryDialParamsA
mov dword [ebp - 0x14], 0x6e8
lea eax, [ebp - 0xbc4]
xor ecx, ecx
mov edx, dword [ebp - 0x14]
call fcn.00402c90
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xbc4], eax
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xbc4]
push eax
mov eax, dword [ebp - 0x10]
lea eax, [eax + ebx*8 + 4]
push eax
push 0
call sub.rasapi32.dll_RasGetEntryPropertiesA
cmp dword [ebp - 0xb0], 2
jne 0x419936
cmp dword [ebp - 0xbc], 5
jb 0x419936
mov eax, dword [ebp - 0x18]
cmp byte [eax], 0
jne 0x419829
mov eax, dword [ebp - 0x1c]
cmp byte [eax], 0
je 0x419936
lea eax, [ebp - 0x24]
lea edx, [ebp - 0x4d8]
call fcn.00404394
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x24]
call fcn.004061bc
lea eax, [ebp - 0x18]
call fcn.004046ac
push eax
push 0
push 0x419a10
mov eax, dword [ebp - 0x24]
call fcn.00404654
mov edi, eax
push edi
call sub.kernel32.dll_GetPrivateProfileIntA
mov ebx, eax
test ebx, ebx
jne 0x419880
lea eax, [ebp - 0x1c]
call fcn.004046ac
push eax
push 0
push 0x419a10
push edi
call sub.kernel32.dll_GetPrivateProfileIntA
mov ebx, eax
test ebx, ebx
jne 0x4198a4
lea eax, [ebp - 0x18]
call fcn.004046ac
push eax
push 0
push 0x419a10
mov eax, dword [ebp - 0x28]
call fcn.00404654
push eax
call sub.kernel32.dll_GetPrivateProfileIntA
mov ebx, eax
test ebx, ebx
jne 0x4198c8
lea eax, [ebp - 0x1c]
call fcn.004046ac
push eax
push 0
push 0x419a10
mov eax, dword [ebp - 0x28]
call fcn.00404654
push eax
call sub.kernel32.dll_GetPrivateProfileIntA
mov ebx, eax
test ebx, ebx
jbe 0x419936
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xbd4]
call fcn.00407854
mov edx, dword [ebp - 0xbd4]
lea ecx, [ebp - 0xbd0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00412b04
cmp dword [ebp - 0xbd0], 0
je 0x419936
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xbdc]
call fcn.00407854
mov edx, dword [ebp - 0xbdc]
lea ecx, [ebp - 0xbd8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00412b04
mov edx, dword [ebp - 0xbd8]
lea eax, [ebp - 0x1d4]
call fcn.00407bb0
lea eax, [ebp - 0xbe0]
lea edx, [ebp - 0x1d4]
call fcn.00404394
mov eax, dword [ebp - 0xbe0]
push eax
lea eax, [ebp - 0xbe4]
lea edx, [ebp - 0x4d8]
call fcn.00404394
mov eax, dword [ebp - 0xbe4]
push eax
lea eax, [ebp - 0xbe8]
lea edx, [ebp - 0x2d5]
call fcn.00404394
mov eax, dword [ebp - 0xbe8]
push eax
lea eax, [ebp - 0xbec]
lea edx, [ebp - 0xbb4]
call fcn.00404394
mov eax, dword [ebp - 0xbec]
push eax
lea eax, [ebp - 0xbf0]
lea edx, [ebp - 0xba9]
call fcn.00404394
mov eax, dword [ebp - 0xbf0]
pop edx
pop ecx
call dword [ebp - 8]
inc esi
dec dword [ebp - 0x2c]
jne 0x419783
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419a09
lea eax, [ebp - 0xbf0]
mov edx, 0xb
call fcn.004041c8
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004041c8
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004041c8
lea eax, [ebp - 0x10]
mov edx, dword [0x41960c]
call fcn.004056d4
ret