Function at 0x405987
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.0046de61
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.00405d74
push 0
push 0
push 0x2a
push 0
call fcn.00405da5
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_FoldersCookies
push 0x80000301
push 0
push 3
push 3
mov ebx, 0x4729a0
call fcn.0046de79
add esp, 0x28
mov dword [ebp - 0xc], eax
push 0x5608c1
push dword [ebp - 0xc]
mov ecx, 2
call fcn.0040108c
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x405a36
push ebx
call fcn.0046de73
add esp, 4
lea eax, [ebp - 0x18]
push eax
push 1
push 0
push dword [ebp - 0x10]
mov eax, 0
call fcn.0046de5b
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x405a64
push ebx
call fcn.0046de73
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x405a78
push ebx
call fcn.0046de73
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.scripting.FileSystemObject
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x475c60
call fcn.0046de79
add esp, 0x28
test eax, eax
je 0x405d26
push 0x56029c
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00401e3d
add esp, 8
cmp eax, 0
jne 0x405b85
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_FoldersCookies
push 0x80000301
push 0
push 3
push 3
mov ebx, 0x4729a0
call fcn.0046de79
add esp, 0x28
mov dword [ebp - 0xc], eax
push 0x5608c1
push dword [ebp - 0xc]
mov ecx, 2
call fcn.0040108c
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x405b28
push ebx
call fcn.0046de73
add esp, 4
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x405b47
mov eax, 0x56029c
push eax
push reloc.WS2_32.dll_connect
push 0
push str.DeleteFile
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x473490
call fcn.0046de79
add esp, 0x34
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x405b80
push ebx
call fcn.0046de73
add esp, 4
jmp 0x405d26
lea eax, [ebp - 0x18]
push eax
push 1
push 0
push str.C:Documents_and_SettingsIBMCookies.txt
mov eax, 0
call fcn.0046de5b
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x405bb9
push ebx
call fcn.0046de73
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x56029c
push dword [ebp - 4]
call fcn.00401e3d
add esp, 8
cmp eax, 0
je 0x405d26
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x405bfd
mov eax, 0x56029c
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x405c11
mov eax, 0x56029c
push eax
push 4
mov ebx, 0x46eb70
call fcn.0046de79
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x405cec
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_FoldersCookies
push 0x80000301
push 0
push 3
push 3
mov ebx, 0x4729a0
call fcn.0046de79
add esp, 0x28
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
push 0x56091a
push dword [ebp - 0xc]
mov ecx, 3
call fcn.0040108c
add esp, 0xc
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x405c8f
push ebx
call fcn.0046de73
add esp, 4
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x405cae
mov eax, 0x56029c
push eax
push reloc.WS2_32.dll_connect
push 0
push str.DeleteFile
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x473490
call fcn.0046de79
add esp, 0x34
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x405ce7
push ebx
call fcn.0046de73
add esp, 4
jmp 0x405cec
lea eax, [ebp - 0x18]
push eax
push 1
push 0
push 0
mov eax, 0
call fcn.0046de5b
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x405d1d
push ebx
call fcn.0046de73
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x405bbd
call fcn.00405f3d
push dword [ebp - 0x18]
mov eax, 1
call fcn.0046de5b
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x405d4b
push ebx
call fcn.0046de73
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x475c30
call fcn.0046de79
add esp, 0x10
call fcn.0046de73
add esp, 4
mov esp, ebp
pop ebp
ret 8