Function at 0x401e1f
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c4
mov eax, dword [0x410040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x103
xor ebx, ebx
push edi
lea eax, [ebp - 0x217]
push ebx
push eax
mov byte [ebp - 0x218], bl
call fcn.004067c0
push edi
lea eax, [ebp - 0x427]
push ebx
push eax
mov byte [ebp - 0x428], bl
call fcn.004067c0
push edi
lea eax, [ebp - 0x31f]
push ebx
push eax
mov byte [ebp - 0x320], bl
call fcn.004067c0
push edi
lea eax, [ebp - 0x52f]
push ebx
push eax
mov byte [ebp - 0x530], bl
call fcn.004067c0
mov esi, dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
add esp, 0x30
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push 0x21
push ebx
call esi
test eax, eax
jge 0x401eb6
lea eax, [ebp - 0x218]
push eax
push 1
push ebx
push 0x21
push ebx
call esi
lea eax, [ebp - 0x428]
push eax
push ebx
push ebx
push 0x1a
push ebx
call esi
test eax, eax
jge 0x401ed7
lea eax, [ebp - 0x428]
push eax
push 1
push ebx
push 0x1a
push ebx
call esi
lea eax, [ebp - 0x218]
push eax
push str._s
mov esi, 0x104
lea eax, [ebp - 0x320]
push esi
push eax
call fcn.00402861
add esp, 0x10
lea eax, [ebp - 0x778]
push eax
lea eax, [ebp - 0x320]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x8c0], eax
cmp eax, 0xffffffff
je 0x4020e0
push str.PlaySushi
lea eax, [ebp - 0x74c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
lea ecx, [ebp - 0x74c]
sub eax, ecx
setns byte [ebp - 0x8b9]
test byte [ebp - 0x778], 0x10
je 0x40205d
push 0x40e060
mov eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40205d
push 0x40e064
lea eax, [ebp - 0x74c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40205d
lea eax, [ebp - 0x74c]
push eax
lea eax, [ebp - 0x218]
push eax
push str._s_s
lea eax, [ebp - 0x530]
push esi
push eax
call fcn.00402861
add esp, 0x14
lea eax, [ebp - 0x8b8]
push eax
lea eax, [ebp - 0x530]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x8c4], eax
cmp eax, 0xffffffff
je 0x40205d
push str.PlaySushi
lea eax, [ebp - 0x88c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
lea ecx, [ebp - 0x88c]
sub eax, ecx
js 0x402036
push edi
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call fcn.004067c0
lea eax, [ebp - 0x88c]
push eax
lea eax, [ebp - 0x74c]
push eax
lea eax, [ebp - 0x218]
push eax
push str._s_s_s
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.00402861
add esp, 0x24
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 4
push ebx
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea eax, [ebp - 0x8b8]
push eax
push dword [ebp - 0x8c4]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401fbf
push dword [ebp - 0x8c4]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp - 0x8b9], bl
je 0x4020b9
push edi
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call fcn.004067c0
lea eax, [ebp - 0x74c]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x40dcc0
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.00402861
add esp, 0x20
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 4
push ebx
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea eax, [ebp - 0x778]
push eax
push dword [ebp - 0x8c0]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401f1b
push dword [ebp - 0x8c0]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x428]
push eax
push 0x40e080
lea eax, [ebp - 0x320]
push esi
push eax
call fcn.00402861
add esp, 0x10
lea eax, [ebp - 0x778]
push eax
lea eax, [ebp - 0x320]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x8c0], eax
cmp eax, 0xffffffff
je 0x4021b6
push 0x40e060
lea eax, [ebp - 0x74c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40218f
push 0x40e064
lea eax, [ebp - 0x74c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40218f
push edi
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call fcn.004067c0
lea eax, [ebp - 0x74c]
push eax
lea eax, [ebp - 0x428]
push eax
push str._sMacromediaFlash_Playermacromedia.com_support_flashplayer_syscontent.playsushi.com_s
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.00402861
add esp, 0x20
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x778]
push eax
push dword [ebp - 0x8c0]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40211f
push dword [ebp - 0x8c0]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x428]
push eax
push str._sMacromediaFlash_Playermacromedia.com_support_flashplayer_syscontent.playsushi.com
lea eax, [ebp - 0x320]
push esi
push eax
call fcn.00402861
add esp, 0x10
lea eax, [ebp - 0x320]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push edi
lea eax, [ebp - 0x637]
push ebx
push eax
mov byte [ebp - 0x638], bl
call fcn.004067c0
lea eax, [ebp - 0x218]
push eax
push str.cmd.exe__c_del___splaysushi___F__Q__S
lea eax, [ebp - 0x638]
push esi
push eax
call fcn.00402861
lea eax, [ebp - 0x638]
push eax
push str.PS_Cookie_removal
call fcn.00401a3e
mov ecx, dword [ebp - 4]
add esp, 0x24
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.00402852
leave
ret