Function at 0x406af8
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
push 8
call fcn.004080e9
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 0xc], esp
push 0
push 0
push 0x2a
push 0
mov eax, 0x13
call fcn.00408107
cmp dword [ebp - 0xc], esp
je 0x406b61
push 6
call fcn.00408101
add esp, 4
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_FoldersCookies
push 0x80000301
push 0
push 3
push 3
mov ebx, 0x40a180
call fcn.004080e3
add esp, 0x28
mov dword [ebp - 0xc], eax
push str..txt
push dword [ebp - 0xc]
mov ecx, 2
call fcn.004017da
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x406bbc
push ebx
call fcn.004080ef
add esp, 4
lea eax, [ebp - 0x18]
push eax
push 1
push 0
push dword [ebp - 0x10]
mov eax, 0
call fcn.004080dd
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x406bea
push ebx
call fcn.004080ef
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x406bfe
push ebx
call fcn.004080ef
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.scripting.FileSystemObject
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x40b3b0
call fcn.004080e3
add esp, 0x28
test eax, eax
je 0x406eac
push 0x4a7c99
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00401bef
add esp, 8
cmp eax, 0
jne 0x406d0b
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_FoldersCookies
push 0x80000301
push 0
push 3
push 3
mov ebx, 0x40a180
call fcn.004080e3
add esp, 0x28
mov dword [ebp - 0xc], eax
push str..txt
push dword [ebp - 0xc]
mov ecx, 2
call fcn.004017da
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x406cae
push ebx
call fcn.004080ef
add esp, 4
push 0x80000301
push 0
push 1
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x406ccd
mov eax, 0x4a7c99
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.DeleteFile
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x40aa70
call fcn.004080e3
add esp, 0x34
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x406d06
push ebx
call fcn.004080ef
add esp, 4
jmp 0x406eac
lea eax, [ebp - 0x18]
push eax
push 1
push 0
push str.C:Documents_and_SettingsIBMCookies.txt
mov eax, 0
call fcn.004080dd
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x406d3f
push ebx
call fcn.004080ef
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x4a7c99
push dword [ebp - 4]
call fcn.00401bef
add esp, 8
cmp eax, 0
je 0x406eac
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x406d83
mov eax, 0x4a7c99
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x406d97
mov eax, 0x4a7c99
push eax
push 4
mov ebx, 0x408840
call fcn.004080e3
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x406e72
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_FoldersCookies
push 0x80000301
push 0
push 3
push 3
mov ebx, 0x40a180
call fcn.004080e3
add esp, 0x28
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
push 0x4a84fc
push dword [ebp - 0xc]
mov ecx, 3
call fcn.004017da
add esp, 0xc
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x406e15
push ebx
call fcn.004080ef
add esp, 4
push 0x80000301
push 0
push 1
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x406e34
mov eax, 0x4a7c99
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.DeleteFile
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x40aa70
call fcn.004080e3
add esp, 0x34
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x406e6d
push ebx
call fcn.004080ef
add esp, 4
jmp 0x406e72
lea eax, [ebp - 0x18]
push eax
push 1
push 0
push 0
mov eax, 0
call fcn.004080dd
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x406ea3
push ebx
call fcn.004080ef
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x406d43
push dword [ebp - 0x18]
mov eax, 1
call fcn.004080dd
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x406ecc
push ebx
call fcn.004080ef
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x40b380
call fcn.004080e3
add esp, 0x10
call fcn.004080ef
add esp, 4
mov esp, ebp
pop ebp
ret 8