Function at 0x405aa0
Capabilities:
Delete directory
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4544c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 0
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 3
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 4
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x469230]
mov eax, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x40]
mov esi, dword [eax - 8]
mov byte [esp + 0x38], 5
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
je 0x405b8d
add esi, 0xffffffd9
lea edx, [esp + 0x24]
push esi
push edx
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 6
call fcn.004149b6
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 5
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x4692a0]
lea ecx, [esp + 0x24]
mov eax, dword [eax - 8]
add eax, 0xffffffd9
push eax
push ecx
mov ecx, 0x4692a0
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 7
call fcn.004149b6
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 5
call sub.MFC42.DLL_CString::CString
jmp 0x405ba9
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x20]
push edx
call fcn.004149b6
push 0x4692a0
lea ecx, [esp + 0x1c]
call fcn.004149b6
lea eax, [esp + 0x24]
push 3
push eax
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 8
call fcn.004149b6
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004149b6
lea edx, [esp + 0x1c]
push str.DirRecycler.645FF040_5081_101B_9F08_00AA002F954E
lea eax, [esp + 0x28]
push edx
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 9
call fcn.004149b6
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 5
call sub.MFC42.DLL_CString::CString
push str.DirRecycler.645FF040_5081_101B_9F08_00AA002F954E_nul_system_files.._
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 8]
mov byte [esp + 0x34], 0xa
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x469268]
mov bl, 0xb
test eax, eax
mov byte [esp + 0x34], bl
je 0x405c89
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x46929c
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x40], 0xc
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x3c], bl
call fcn.004132c0
jmp 0x405c99
mov eax, dword [0x46929c]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.00412990
add esp, 8
test eax, eax
je 0x405f35
mov edx, dword [0x4690a4]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edx
call esi
mov eax, dword [0x4690a0]
push eax
call esi
lea ecx, [esp + 0x3c]
push str._system.._
lea edx, [esp + 0x28]
push ecx
push edx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 0xd
call fcn.004149b6
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 8]
lea ecx, [esp + 0x24]
push eax
push 0x465358
push ecx
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 0xe
call fcn.004149b6
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_CString::CString
push 0x465358
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 8]
lea eax, [esp + 0x24]
push edx
push str.cmd__c_rmdir
push eax
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0xf
call fcn.004149b6
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_CString::CString
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call sub.MFC42.DLL_CString::CString_1
call fcn.00412a80
mov eax, dword [esp + 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
add esp, 4
push eax
call esi
lea ecx, [esp + 0x14]
push str._nul_system_files.._
lea edx, [esp + 0x28]
push ecx
push edx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 0x10
call fcn.004149b6
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 8]
push eax
push 0x465358
lea ecx, [esp + 0x2c]
push ecx
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 0x11
call fcn.004149b6
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_CString::CString
push 0x465358
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator
push str.cmd__c_rmdir
lea ecx, [esp + 0x10]
call fcn.004149ce
lea edx, [esp + 8]
lea ecx, [esp + 0xc]
push edx
call sub.MFC42.DLL_CString::operator_1
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call sub.MFC42.DLL_CString::CString_1
call fcn.00412a80
add esp, 4
lea ecx, [esp + 0x14]
lea edx, [esp + 0x24]
push str._nul_
push ecx
push edx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 0x12
call fcn.004149b6
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_CString::CString
push str.cmd__c_rd
lea ecx, [esp + 0x10]
call fcn.004149ce
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
call sub.MFC42.DLL_CString::operator_1
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call sub.MFC42.DLL_CString::CString_1
call fcn.00412a80
mov eax, dword [esp + 0x18]
add esp, 4
push eax
call esi
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0x4692a4
call fcn.004149b6
lea edx, [esp + 0x18]
mov ecx, 0x4692a0
push edx
call fcn.004149b6
lea ecx, [esp + 8]
mov byte [esp + 0x34], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop esi
pop ebx
add esp, 0x30
ret
lea ecx, [esp + 8]
mov byte [esp + 0x34], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x2c]
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x30
ret