Function at 0x40fb40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465a16
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x47c5a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, ecx
mov eax, dword [edi + 0x6c]
xor ebx, ebx
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x9c], eax
cmp eax, ebx
je 0x40fd6e
push str.vpnroute
lea ecx, [ebp - 0xec]
call fcn.00402de0
push esi
push 0xffffffffffffffff
push str.RouteCount
lea eax, [ebp - 0xec]
push str.2401
mov dword [ebp - 4], ebx
mov dword [edi + 0x6c], eax
mov dword [ebp - 0x94], ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 0xffffffff
je 0x40fbcc
mov dword [ebp - 0x94], eax
xor esi, esi
cmp dword [ebp - 0x94], ebx
jbe 0x40fd40
lea ebx, [ebx]
push str.vpnrouteItem
lea ecx, [ebp - 0x13c]
call fcn.00402de0
xor eax, eax
push esi
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x13c]
push str.Route_d.ip
push edx
mov byte [ebp - 4], 1
mov dword [edi + 0x6c], ecx
mov byte [ebp - 0x50], bl
mov dword [ebp - 0x4f], eax
mov dword [ebp - 0x4b], eax
mov dword [ebp - 0x47], eax
mov dword [ebp - 0x43], eax
mov dword [ebp - 0x3f], eax
mov dword [ebp - 0x3b], eax
mov dword [ebp - 0x37], eax
mov word [ebp - 0x33], ax
mov byte [ebp - 0x31], al
mov byte [ebp - 0x90], bl
mov dword [ebp - 0x8f], eax
mov dword [ebp - 0x8b], eax
mov dword [ebp - 0x87], eax
mov dword [ebp - 0x83], eax
mov dword [ebp - 0x7f], eax
mov dword [ebp - 0x7b], eax
mov dword [ebp - 0x77], eax
mov word [ebp - 0x73], ax
mov byte [ebp - 0x71], al
mov byte [ebp - 0x30], bl
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
mov byte [ebp - 0x70], bl
mov dword [ebp - 0x6f], eax
mov dword [ebp - 0x6b], eax
mov dword [ebp - 0x67], eax
mov dword [ebp - 0x63], eax
mov dword [ebp - 0x5f], eax
mov dword [ebp - 0x5b], eax
mov dword [ebp - 0x57], eax
mov word [ebp - 0x53], ax
mov byte [ebp - 0x51], al
call fcn.00440e5a
push esi
lea eax, [ebp - 0x90]
push str.Route_d.mask
push eax
call fcn.00440e5a
mov ecx, dword [ebp - 0x98]
add esp, 0x18
push ecx
push 0x1f
lea edx, [ebp - 0x30]
push edx
push 0x472d70
lea eax, [ebp - 0x50]
push eax
push str.2401
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x30]
push ecx
push 0x46b07c
mov ecx, edi
call fcn.00406e90
mov edx, dword [ebp - 0x98]
push edx
push 0x1f
lea eax, [ebp - 0x70]
push eax
push 0x472d70
lea ecx, [ebp - 0x90]
push ecx
push str.2401
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x70]
push edx
push str.mask
mov ecx, edi
call fcn.00406e90
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0xec]
call fcn.00402720
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], bl
call fcn.00402fa0
inc esi
cmp esi, dword [ebp - 0x94]
jb 0x40fbe0
mov esi, dword [ebp - 0x9c]
lea ecx, [ebp - 0xec]
mov edx, ecx
mov dword [edi + 0x6c], ecx
push edx
mov ecx, esi
call fcn.00402720
lea ecx, [ebp - 0xec]
mov dword [edi + 0x6c], esi
mov dword [ebp - 4], 0xffffffff
call fcn.00402fa0
push 1
mov ecx, edi
call fcn.00407280
movzx eax, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043fe0a
mov esp, ebp
pop ebp
ret 4