Function at 0x401b00
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x402969
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x284
mov al, byte [esp + 3]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov byte [esp + 0x40], al
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x24], cl
lea ecx, [esp + 0x24]
mov dword [esp + 0x2a0], ebx
mov dword [esp + 0x54], ebx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea edx, [esp + 0x20]
mov byte [esp + 0x29c], 1
push edx
call section..text
add esp, 4
test al, al
jne 0x401bb2
mov edi, 0x405124
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x24]
push ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x401bb2
mov edi, dword [esp + 0x24]
mov ecx, ebp
mov eax, ecx
mov esi, 0x405124
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], ebp
mov byte [ecx + ebp], bl
mov edi, dword [esp + 0x24]
cmp edi, ebx
jne 0x401bc0
mov edi, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x50]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
lea edx, [esp + 0x18]
push ecx
push 0x405120
push edx
mov byte [esp + 0x2a8], 2
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x29c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x29c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x29c], 5
call sub.MFC42.DLL_CString::CString
mov bl, 6
lea ecx, [esp + 0x1c]
mov byte [esp + 0x29c], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x18]
push str.Temp.swf
lea ecx, [esp + 0x38]
push eax
push ecx
mov byte [esp + 0x2a8], 7
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea edx, [esp + 0x154]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [esp + 0x34]
mov esi, eax
call fcn.004023e0
cmp esi, 0xffffffff
jne 0x401c9c
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x401cfb
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea eax, [esp + 0x180]
lea ecx, [esp + 0x14]
push eax
push 0x405120
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x20]
add esp, 0xc
lea eax, [esp + 0x50]
lea ecx, [esp + 0x1c]
push edx
push eax
push str._s_s
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x2c]
add esp, 0x10
push edx
call edi
lea eax, [esp + 0x154]
push eax
push esi
call ebp
test eax, eax
jne 0x401ca8
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x29c], bl
call fcn.004023e0
lea ecx, [esp + 0x30]
mov byte [esp + 0x29c], 5
call fcn.004023e0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x29c], 4
call fcn.004023e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x29c], 3
call fcn.004023e0
lea ecx, [esp + 0x38]
mov byte [esp + 0x29c], 2
call fcn.004023e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x29c], 1
call fcn.004023e0
mov eax, dword [esp + 0x24]
xor esi, esi
cmp eax, esi
je 0x401d87
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x401d7e
cmp al, 0xff
je 0x401d7e
dec al
mov byte [ecx], al
jmp 0x401d87
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x298]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x290
ret