Function at 0x404b26
Capabilities:
Delete registry value
Disable system features via registry on windows
Query or enumerate registry value
Read .ini file
Set registry value

Disassembly:
mov eax, 0x40797c
call fcn.00407400
sub esp, 0x128
and byte [ebp - 0x18], 0
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x17]
and byte [ebp - 0x16], al
and byte [ebp - 0xb4], al
stosb byte es:[edi], al
lea edi, [ebp - 0x15]
mov ebx, ecx
stosb byte es:[edi], al
push 0x1f
lea edi, [ebp - 0xb3]
pop ecx
and byte [ebp - 0x22], 0
rep stosd dword es:[edi], eax
push dword [ebx + 0x78]
mov esi, dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x21]
stosb byte es:[edi], al
lea eax, [ebp - 0x18]
push 2
push eax
push 0x40a7a8
mov edi, str.firstset
push str.ievalue
push edi
call esi
push dword [ebx + 0x78]
lea eax, [ebp - 0x16]
push 2
push eax
push 0x40a7a8
push str.regvalue
push edi
call esi
push dword [ebx + 0x78]
lea eax, [ebp - 0xb4]
push 0x80
push eax
push str.about:blank
push str.firstie
push edi
call esi
push dword [ebx + 0x78]
lea eax, [ebp - 0x22]
push 2
push eax
push 0x40a7a8
push str.isfirst
push edi
call esi
push 1
lea eax, [ebp - 0x22]
pop edi
push eax
mov dword [ebp - 0x28], edi
call dword [sym.imp.MSVCRT.dll_atoi]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, edi
pop ecx
jne 0x404cc1
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_ExplorerMain
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404cc1
and byte [ebp - 0x134], al
push 0x1f
pop ecx
lea edi, [ebp - 0x133]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x20]
mov edi, str.Start_Page
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x28]
push eax
push 0
push edi
mov dword [ebp - 0x20], 0x80
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x404cbe
lea eax, [ebp - 0x134]
lea ecx, [ebp - 0x14]
push eax
call sub.MFC42.DLL_CString::CString_2
and dword [ebp - 4], 0
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_2
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
je 0x404caa
lea eax, [ebp - 0xb4]
push 0x80
push eax
push dword [ebp - 0x28]
push 0
push edi
push dword [ebp - 0x10]
call ebx
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
push 1
pop edi
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
cmp eax, edi
pop ecx
jne 0x404dcb
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
push str.SoftwarePoliciesMicrosoftInternet_ExplorerControl_Panel
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404d95
and byte [ebp - 0x34], al
lea edi, [ebp - 0x33]
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
mov edi, str.HomePage
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
push 0
push edi
mov dword [ebp - 0x20], 5
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x404d70
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x14]
push eax
call sub.MFC42.DLL_CString::CString_2
push 0x40a83c
push dword [ebp - 0x14]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
je 0x404d66
mov ax, word [0x40a83c]
push 2
mov word [ebp - 0x1a], ax
lea eax, [ebp - 0x1a]
push eax
push dword [ebp - 0x28]
push 0
push edi
push dword [ebp - 0x10]
call ebx
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
jmp 0x404d90
mov ax, word [0x40a83c]
push 2
mov word [ebp - 0x1a], ax
lea eax, [ebp - 0x1a]
push eax
push dword [ebp - 0x28]
push 0
push edi
push dword [ebp - 0x10]
call ebx
push dword [ebp - 0x10]
call esi
push 1
pop edi
jmp 0x404e0c
lea eax, [ebp - 0x10]
push eax
push str.SoftwarePoliciesMicrosoftInternet_ExplorerControl_Panel
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov ax, word [0x40a83c]
push 2
mov word [ebp - 0x1a], ax
lea eax, [ebp - 0x1a]
push eax
push edi
push 0
push str.HomePage
push dword [ebp - 0x10]
call ebx
push dword [ebp - 0x10]
jmp 0x404e0a
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
test eax, eax
pop ecx
jne 0x404e0c
lea eax, [ebp - 0x14]
push eax
push 0xf003f
push 0
push str.SoftwarePoliciesMicrosoftInternet_ExplorerControl_Panel
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404e0c
push str.HomePage
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 0x14]
call esi
lea eax, [ebp - 0x16]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
cmp eax, edi
pop ecx
jne 0x404eb2
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404e82
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 4
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
push 0
push str.DisableRegistryTools
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x404e78
cmp dword [ebp - 0x2c], edi
je 0x404ef3
mov dword [ebp - 0x14], edi
push 4
lea eax, [ebp - 0x14]
jmp 0x404e9e
mov dword [ebp - 0x14], edi
push 4
lea eax, [ebp - 0x14]
jmp 0x404e9e
lea eax, [ebp - 0x10]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov dword [ebp - 0x20], edi
push 4
lea eax, [ebp - 0x20]
push eax
push 4
push 0
push str.DisableRegistryTools
push dword [ebp - 0x10]
call ebx
push dword [ebp - 0x10]
jmp 0x404ef1
lea eax, [ebp - 0x16]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
test eax, eax
pop ecx
jne 0x404ef3
lea eax, [ebp - 0x2c]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404ef3
push str.DisableRegistryTools
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 0x2c]
call esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret