Function at 0x40e010
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b0190
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov edi, dword [esp + 0x70]
xor ebx, ebx
cmp edi, ebx
je 0x40e38e
mov esi, dword [esp + 0x68]
cmp esi, ebx
je 0x40e38e
push edi
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CString::CString_2
push 0x5c
lea ecx, [esp + 0x6c]
mov dword [esp + 0x64], ebx
call sub.MFC42.DLL_CString::ReverseFind
inc eax
lea ecx, [esp + 0x68]
push eax
lea eax, [esp + 0x74]
push eax
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 1
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x70]
mov byte [esp + 0x60], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
call fcn.0040e710
mov ecx, dword [esp + 0x68]
mov byte [esp + 0x60], 2
push ecx
lea ecx, [esp + 0x28]
call fcn.0040e930
test eax, eax
je 0x40e370
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], ebx
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 3
call fcn.0040eb00
test eax, eax
je 0x40e0e9
mov edx, dword [esp + 0x18]
mov byte [esp + 0x70], bl
cmp edx, ebx
sete al
cmp al, bl
je 0x40e0ee
mov byte [esp + 0x70], 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 2
call sub.MFC42.DLL_CString::CString
cmp byte [esp + 0x70], bl
jne 0x40e370
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], ebx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 4
call fcn.0040eb30
test eax, eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 2
sete byte [esp + 0x70]
call sub.MFC42.DLL_CString::CString
cmp byte [esp + 0x70], bl
jne 0x40e370
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], ebx
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x20]
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 5
call fcn.0040eb70
test eax, eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 2
sete byte [esp + 0x70]
call sub.MFC42.DLL_CString::CString
cmp byte [esp + 0x70], bl
jne 0x40e370
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x6c]
cmp edx, eax
ja 0x40e251
push esi
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x6c]
push ebx
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 6
call fcn.0040ead0
test eax, eax
je 0x40e1dd
mov ecx, dword [esp + 0x68]
push ecx
lea ecx, [esp + 0x28]
call fcn.0040e800
test eax, eax
sete al
cmp al, bl
mov byte [esp + 0x70], bl
je 0x40e1e2
mov byte [esp + 0x70], 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0x60], 2
call sub.MFC42.DLL_CString::CString
cmp byte [esp + 0x70], bl
je 0x40e370
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [esp + 0x68]
push 0x4c5874
push edx
lea eax, [esp + 0x78]
push 0x4c3dd4
push eax
mov byte [esp + 0x70], 7
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x80]
add esp, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40e243
mov edx, dword [esp + 0x70]
push edx
call fcn.0040ee90
add esp, 4
mov byte [esp + 0x60], 2
lea ecx, [esp + 0x70]
jmp 0x40e36b
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_4
push 0x4c3dbc
lea ecx, [esp + 0x10]
mov byte [esp + 0x64], 8
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x14]
mov byte [esp + 0x60], 9
cmp eax, ebx
je 0x40e288
push str._crisispack
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push esi
push edi
push str.__s___install___s___s
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x24]
push 5
push edx
call fcn.0040ecc0
add esp, 0x1c
cmp eax, 0x1f
jbe 0x40e354
mov eax, dword [esp + 0x14]
mov byte [esp + 0x60], 8
cmp eax, ebx
lea ecx, [esp + 0xc]
je 0x40e30c
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x60], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x60], bl
call fcn.0040e7a0
lea ecx, [esp + 0x68]
mov dword [esp + 0x60], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x60], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x60], bl
call fcn.0040e7a0
lea ecx, [esp + 0x68]
mov dword [esp + 0x60], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret
lea ecx, [esp + 0xc]
mov byte [esp + 0x60], 8
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x60], 2
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x60], bl
call fcn.0040e7a0
lea ecx, [esp + 0x68]
mov dword [esp + 0x60], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x58]
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret