Function at 0x40f2d6
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
mov eax, 0x414e98
call fcn.00413720
sub esp, 0x12c
push ebx
push esi
lea eax, [ebp - 0x24]
push edi
push eax
xor esi, esi
push 0x20006
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionRun
mov ebx, ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x40f372
and byte [ebp - 0x138], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x137]
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x138]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp dword [0x424fa4], esi
mov edi, 0x4242d0
je 0x40f35f
push eax
lea eax, [ebp - 0x138]
push eax
push 1
push esi
push edi
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [0x424fa4], esi
jne 0x40f369
push edi
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.PPPoE2.ini
lea eax, [ebp - 0x34]
push 0x4251c0
push eax
call sub.MFC42.DLL_operator
push eax
mov ecx, 0x424f84
mov dword [ebp - 4], esi
call sub.MFC42.DLL_CString::operator
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_3
cmp dword [0x4251bc], 1
mov byte [ebp - 4], 2
mov esi, str.user
jne 0x40f4ac
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x147
push dword [ebx + 0x200]
call edi
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebx + 0x1e0]
call sub.MFC42.DLL_CComboBox::GetLBText
push 0
push 0
push 0x147
push dword [ebx + 0x1c0]
call edi
lea ecx, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebx + 0x1a0]
call sub.MFC42.DLL_CComboBox::GetLBText
push dword [ebp - 0x1c]
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
call edi
push dword [ebp - 0x20]
mov dword [0x4251c8], eax
call edi
mov dword [0x424f94], eax
add esp, 4
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.hour
call fcn.0041320c
push ecx
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x14], esp
push esi
call fcn.0041320c
mov byte [ebp - 4], 2
call fcn.0040f991
pop ecx
lea eax, [ebp - 0x20]
pop ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x422fdc
call fcn.0041320c
push ecx
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x10], esp
push esi
call fcn.0041320c
mov byte [ebp - 4], 2
call fcn.0040f991
add esp, 0xc
push 0xa
mov edi, dword [sym.imp.MSVCRT.dll__itoa]
pop ebx
lea eax, [ebp - 0x2e]
push ebx
push eax
push dword [0x424f98]
call edi
lea eax, [ebp - 0x2c]
push ebx
push eax
push dword [0x424f8c]
call edi
lea eax, [ebp - 0x26]
push ebx
push eax
push dword [0x4251bc]
call edi
lea eax, [ebp - 0x2a]
push ebx
push eax
push dword [0x424fac]
call edi
lea eax, [ebp - 0x28]
push ebx
push eax
push dword [0x424fa4]
call edi
add esp, 0x38
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0041320c
push ecx
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.autostart
call fcn.0041320c
push ecx
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x10], esp
push esi
call fcn.0041320c
mov byte [ebp - 4], 2
call fcn.0040f991
pop ecx
lea eax, [ebp - 0x2a]
pop ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0041320c
push ecx
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.redial
call fcn.0041320c
push ecx
mov byte [ebp - 4], bl
mov ecx, esp
mov dword [ebp - 0x10], esp
push esi
call fcn.0041320c
mov byte [ebp - 4], 2
call fcn.0040f991
pop ecx
lea eax, [ebp - 0x2e]
pop ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0041320c
push ecx
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.autodial
call fcn.0041320c
push ecx
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x10], esp
push esi
call fcn.0041320c
mov byte [ebp - 4], 2
call fcn.0040f991
pop ecx
lea eax, [ebp - 0x2c]
pop ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0041320c
push ecx
mov byte [ebp - 4], 0xd
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.saveonlinetime
call fcn.0041320c
push ecx
mov byte [ebp - 4], 0xe
mov ecx, esp
mov dword [ebp - 0x10], esp
push esi
call fcn.0041320c
mov byte [ebp - 4], 2
call fcn.0040f991
pop ecx
lea eax, [ebp - 0x26]
pop ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0041320c
push ecx
mov byte [ebp - 4], 0xf
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.limittime
call fcn.0041320c
push ecx
mov byte [ebp - 4], 0x10
mov ecx, esp
mov dword [ebp - 0x10], esp
push esi
call fcn.0041320c
mov byte [ebp - 4], 2
call fcn.0040f991
add esp, 0xc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret