Function at 0x40af67
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.0040ecdf
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
push 0
push 0x2a
push 0
mov eax, 0x13
call fcn.0040eceb
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, 0x4121d0
call fcn.0040ecf7
add esp, 0x28
mov dword [ebp - 0xc], eax
push str..txt
push dword [ebp - 0xc]
mov ecx, 2
call fcn.0040112c
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40b016
push ebx
call fcn.0040ecd9
add esp, 4
lea eax, [ebp - 0x18]
push eax
push 1
push 0
push dword [ebp - 0x10]
mov eax, 0
call fcn.0040ecd3
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40b044
push ebx
call fcn.0040ecd9
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40b058
push ebx
call fcn.0040ecd9
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, 0x412c70
call fcn.0040ecf7
add esp, 0x28
test eax, eax
je 0x40b36f
push 0x4970d4
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040184c
add esp, 8
cmp eax, 0
jne 0x40b165
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, 0x4121d0
call fcn.0040ecf7
add esp, 0x28
mov dword [ebp - 0xc], eax
push str..txt
push dword [ebp - 0xc]
mov ecx, 2
call fcn.0040112c
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40b108
push ebx
call fcn.0040ecd9
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 0x40b127
mov eax, 0x4970d4
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.DeleteFile
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x412ad0
call fcn.0040ecf7
add esp, 0x34
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40b160
push ebx
call fcn.0040ecd9
add esp, 4
jmp 0x40b36f
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, 0x4121d0
call fcn.0040ecf7
add esp, 0x28
mov dword [ebp - 0xc], eax
push str..txt
push dword [ebp - 0xc]
mov ecx, 2
call fcn.0040112c
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40b1c0
push ebx
call fcn.0040ecd9
add esp, 4
lea eax, [ebp - 0x18]
push eax
push 1
push 0
push dword [ebp - 0x10]
mov eax, 0
call fcn.0040ecd3
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40b1ee
push ebx
call fcn.0040ecd9
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40b202
push ebx
call fcn.0040ecd9
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x4970d4
push dword [ebp - 4]
call fcn.0040184c
add esp, 8
cmp eax, 0
je 0x40b36f
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 0x40b246
mov eax, 0x4970d4
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40b25a
mov eax, 0x4970d4
push eax
push 4
mov ebx, 0x40f750
call fcn.0040ecf7
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x40b335
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, 0x4121d0
call fcn.0040ecf7
add esp, 0x28
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
push 0x497145
push dword [ebp - 0xc]
mov ecx, 3
call fcn.0040112c
add esp, 0xc
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40b2d8
push ebx
call fcn.0040ecd9
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 0x40b2f7
mov eax, 0x4970d4
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.DeleteFile
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x412ad0
call fcn.0040ecf7
add esp, 0x34
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40b330
push ebx
call fcn.0040ecd9
add esp, 4
jmp 0x40b335
lea eax, [ebp - 0x18]
push eax
push 1
push 0
push 0
mov eax, 0
call fcn.0040ecd3
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40b366
push ebx
call fcn.0040ecd9
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x40b206
push dword [ebp - 0x18]
mov eax, 1
call fcn.0040ecd3
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40b38f
push ebx
call fcn.0040ecd9
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x412c60
call fcn.0040ecf7
add esp, 0x10
call fcn.0040ecd9
add esp, 4
mov esp, ebp
pop ebp
ret 8