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

Disassembly:
push 0xffffffffffffffff
push 0x4f7e82
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
mov eax, dword [0x52bd18]
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 0x482a0d
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.00481f90
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.00481f90
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.00481e30
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 0x482613
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 0x48262a
lea eax, [esp + 0x70]
push eax
call fcn.004821f0
add esp, 4
test eax, eax
je 0x4825ca
lea ecx, [esp + 0x70]
push ecx
push edi
dec esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x4825ca
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x17c], 0xffffffff
call dword [edx + 0x14]
jmp 0x482b62
lea ecx, [esp + 0x58]
call fcn.004c4fe8
push str.d:historyHistory.IE5_
lea ecx, [esp + 0x30]
mov byte [esp + 0x180], 7
call fcn.00401fd0
push 0x506274
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.004c507b
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 0x4826a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
je 0x4829a8
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x58]
call fcn.004c4ec8
lea ecx, [esp + 0x58]
mov dword [esp + 0x14], eax
call fcn.004c4faf
test eax, eax
jne 0x48299c
mov eax, dword [esp + 0x58]
push 0x10
lea ecx, [esp + 0x5c]
call dword [eax + 0x38]
test eax, eax
je 0x48299c
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x5c]
call fcn.004c5173
mov edx, dword [esp + 0x18]
push edx
mov byte [esp + 0x180], 0xa
call fcn.004821f0
add esp, 4
test eax, eax
je 0x482976
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.004072b0
test eax, eax
je 0x482786
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 0x482b87
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp ecx, esi
je 0x482774
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov esi, dword [esp + 0x10]
mov dword [esp + 0x1c], esi
jne 0x482b8b
jmp 0x48278a
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.00409450
push 0x4fcaa0
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 0x4827ef
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 0x482815
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.0040d5a0
mov edi, eax
push 0x50b94c
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.00409450
push 0x50b948
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 0x4828a4
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 0x4828ca
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 0x4828f0
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 0x482916
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 0x482972
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 0x48299c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4826b4
test edi, edi
je 0x4829bb
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 0x4829e1
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.004c500c
mov eax, dword [esp + 0x30]
test eax, eax
mov byte [esp + 0x17c], 0
je 0x482a09
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x34]
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x482b50
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.00481f90
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.00481f90
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.00481e30
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.00481e30
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.004ce183
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x170
ret
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x482976
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x482976