Function at 0x4842d0
Capabilities:
Delete registry key
Persist via run registry key
Query or enumerate registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4fe022
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
mov eax, dword [0x531d28]
push ebx
push ebp
mov ebx, ecx
push esi
lea esi, [ebx + 4]
push edi
mov ecx, esi
mov dword [esp + 0x170], eax
mov dword [esp + 0x34], esi
call fcn.00401300
mov eax, dword [ebx + 0x38]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x17c], ebp
je 0x48488d
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.d:History
call fcn.00401fd0
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.History
mov byte [esp + 0x188], 1
call fcn.00401fd0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerUser_Shell_Folders
mov byte [esp + 0x18c], 2
call fcn.00401fd0
push SysReAllocStringLen
mov ecx, ebx
mov byte [esp + 0x18c], 0
call fcn.00483e10
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.d:History
call fcn.00401fd0
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.History
mov byte [esp + 0x188], 3
call fcn.00401fd0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov byte [esp + 0x18c], 4
call fcn.00401fd0
push SysReAllocStringLen
mov ecx, ebx
mov byte [esp + 0x18c], 0
call fcn.00483e10
mov eax, dword [ebx + 0x3c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.DaysToKeep
call fcn.00401fd0
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsUrl_History
mov byte [esp + 0x18c], 5
call fcn.00401fd0
push SysReAllocStringLen
mov ecx, ebx
mov byte [esp + 0x18c], 0
call fcn.00483cb0
lea eax, [esp + 0x24]
push eax
push 0x2001f
push ebp
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings5.0CacheExtensible_Cache
push SysReAllocStringLen
mov byte [esp + 0x190], 6
mov dword [esp + 0x38], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebp
jne 0x484493
mov edi, dword [esp + 0x24]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [esp + 0x30], edi
xor esi, esi
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x84]
push edx
push esi
push edi
mov dword [esp + 0x58], 0x100
call ebp
inc esi
test eax, eax
jne 0x4844aa
lea eax, [esp + 0x70]
push eax
call fcn.00484070
add esp, 4
test eax, eax
je 0x48444a
lea ecx, [esp + 0x70]
push ecx
push edi
dec esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x48444a
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x17c], 0xffffffff
call dword [edx + 0x14]
jmp 0x4849e2
lea ecx, [esp + 0x58]
call fcn.004caf2a
push str.d:historyHistory.IE5_
lea ecx, [esp + 0x30]
mov byte [esp + 0x180], 7
call fcn.00401fd0
push 0x50c140
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x188], 8
call fcn.00401e30
add esp, 0xc
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x184], 9
call fcn.004cafbd
mov esi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x17c], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484526
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
je 0x484828
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x58]
call fcn.004cae0a
lea ecx, [esp + 0x58]
mov dword [esp + 0x14], eax
call fcn.004caef1
test eax, eax
jne 0x48481c
mov eax, dword [esp + 0x58]
push 0x10
lea ecx, [esp + 0x5c]
call dword [eax + 0x38]
test eax, eax
je 0x48481c
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x5c]
call fcn.004cb0b5
mov edx, dword [esp + 0x18]
push edx
mov byte [esp + 0x180], 0xa
call fcn.00484070
add esp, 4
test eax, eax
je 0x4847f6
xor esi, esi
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x18]
push 0x2001f
push eax
push edi
lea ecx, [esp + 0x28]
mov byte [esp + 0x188], 0xb
call fcn.004071d0
test eax, eax
je 0x484606
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x14]
push edx
push esi
push 0x2001f
push esi
push esi
push esi
push eax
push edi
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x484a07
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp ecx, esi
je 0x4845f4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov esi, dword [esp + 0x10]
mov dword [esp + 0x1c], esi
jne 0x484a0b
jmp 0x48460a
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.004092f0
push 0x502aa8
push eax
lea ecx, [esp + 0x68]
push ecx
mov byte [esp + 0x194], 0xc
call fcn.00401e30
mov edi, dword [eax]
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push edi
push 2
push 0
push str.CachePath
push esi
call ebp
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48466f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x17c], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484695
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x10
push 8
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
call fcn.0040d3d0
mov edi, eax
push 0x51182c
lea ecx, [esp + 0x50]
mov byte [esp + 0x180], 0xd
call fcn.00401fd0
push edi
push eax
lea ecx, [esp + 0x50]
push ecx
mov byte [esp + 0x188], 0xe
call fcn.004092f0
push 0x511828
push eax
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0x194], 0xf
call fcn.00401e30
mov edi, dword [eax]
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push edi
push 1
push 0
push str.CachePrefix
push esi
call ebp
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484724
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov byte [esp + 0x17c], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48474a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov byte [esp + 0x17c], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484770
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x17c], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484796
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.CacheLimit
push esi
mov dword [esp + 0x28], 0x2000
call ebp
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.CacheOptions
push esi
mov dword [esp + 0x28], 0xb
call ebp
push 4
lea edx, [esp + 0x2c]
push edx
push 4
push 0
push str.CacheRepair
push esi
mov dword [esp + 0x40], 0
call ebp
test esi, esi
je 0x4847f2
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x17c], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48481c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x484534
test edi, edi
je 0x48483b
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x17c], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484861
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x58]
mov byte [esp + 0x17c], 6
call fcn.004caf4e
mov eax, dword [esp + 0x30]
test eax, eax
mov byte [esp + 0x17c], 0
je 0x484889
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x34]
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x4849d0
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push str.d:IeTemp
call fcn.00401fd0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Cache
mov byte [esp + 0x188], 0x10
call fcn.00401fd0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerUser_Shell_Folders
mov byte [esp + 0x18c], 0x11
call fcn.00401fd0
push SysReAllocStringLen
mov ecx, ebx
mov byte [esp + 0x18c], 0
call fcn.00483e10
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push str.d:IeTemp
call fcn.00401fd0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Cache
mov byte [esp + 0x188], 0x12
call fcn.00401fd0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov byte [esp + 0x18c], 0x13
call fcn.00401fd0
push SysReAllocStringLen
mov ecx, ebx
mov byte [esp + 0x18c], 0
call fcn.00483e10
mov eax, dword [ebx + 0x44]
shl eax, 0xa
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push str.CacheLimit
call fcn.00401fd0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings5.0CacheContent
mov byte [esp + 0x18c], 0x14
call fcn.00401fd0
push SysReAllocStringLen
mov ecx, ebx
mov byte [esp + 0x18c], 0
call fcn.00483cb0
mov eax, dword [ebx + 0x44]
shl eax, 0xa
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push str.CacheLimit
call fcn.00401fd0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsCacheContent
mov byte [esp + 0x18c], 0x15
call fcn.00401fd0
mov byte [esp + 0x188], 0
push SysReAllocStringLen
mov ecx, ebx
call fcn.00483cb0
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x17c], 0xffffffff
call dword [eax + 0x14]
mov ecx, dword [esp + 0x174]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x170]
call fcn.004d40be
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x170
ret
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4847f6
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4847f6