Function at 0x41e9b0
Capabilities:
Delete directory
Delete file

Disassembly:
sub esp, 0x4c
lea ecx, [esp]
push ebx
push ebp
push esi
push edi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x40]
call fcn.00423170
lea eax, [esp + 0x60]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x20]
push 1
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x42c070
push eax
call ebp
add esp, 8
test eax, eax
je 0x41ea43
lea edx, [esp + 0x1c]
push 1
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x42bf30
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x41ea43
mov bl, 1
jmp 0x41ea45
xor bl, bl
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x41ea79
lea eax, [esp + 0x10]
push 0x42c070
lea ecx, [esp + 0x24]
push eax
push ecx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x10]
push 0x42cb74
lea eax, [esp + 0x24]
push edx
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
lea ecx, [esp + 0x20]
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x41ec6b
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov bl, 1
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CFileFind::FindNextFileA
test eax, eax
jne 0x41eac8
xor bl, bl
mov edx, dword [esp + 0x40]
push 0x10
lea ecx, [esp + 0x44]
call dword [edx + 0x40]
test eax, eax
je 0x41eb3c
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x41ec63
lea eax, [esp + 0x20]
lea ecx, [esp + 0x40]
push eax
call sub.MFC42.DLL_CFileFind::GetFilePath
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x42d1a8
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call sub.MFC42.DLL_CString::CString_3
call fcn.0041e9b0
add esp, 0xc
jmp 0x41ec63
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x40]
push eax
call sub.MFC42.DLL_CFileFind::GetFilePath
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x64]
push 0x42d1a8
push ecx
call ebp
add esp, 8
test eax, eax
je 0x41ebb1
lea edx, [esp + 0x24]
lea ecx, [esp + 0x40]
push edx
call sub.MFC42.DLL_CFileFind::GetFileName
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::MakeLower
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
je 0x41ec63
mov edx, dword [esp + 0x14]
push edx
call edi
test eax, eax
jne 0x41ec63
push 0x42b5f8
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_1
mov esi, eax
test esi, esi
jl 0x41ec63
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x38]
mov eax, dword [eax - 8]
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Right
push eax
push 0x42cd30
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString_2
push eax
lea edx, [esp + 0x38]
push esi
push edx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::Left
push eax
lea eax, [esp + 0x38]
push eax
call sub.MFC42.DLL_operator_3
lea ecx, [esp + 0x2c]
push eax
push ecx
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x14]
push edx
call edi
test bl, bl
jne 0x41eab9
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CFileFind::Close
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x41ed38
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push eax
call edi
test eax, eax
jne 0x41ed38
push 0x42b5f8
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_1
mov esi, eax
test esi, esi
jl 0x41ed38
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x2c]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
sub eax, esi
push eax
push edx
call sub.MFC42.DLL_CString::Right
push eax
push 0x42cd30
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_2
push eax
lea eax, [esp + 0x3c]
push esi
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Left
lea ecx, [esp + 0x40]
push eax
push ecx
call sub.MFC42.DLL_operator_3
lea edx, [esp + 0x6c]
push eax
push edx
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
push eax
call edi
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x4c
ret