Function at 0x412830
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x417c46
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
movsx eax, word [esp + 0x154]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x15c]
push edi
push eax
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
push 0
lea edx, [esp + 0x14]
push 0x41e730
lea eax, [esp + 0x30]
push edx
push eax
mov dword [esp + 0x168], 0
call fcn.0040b100
push 0
lea ecx, [esp + 0x24]
push 0x41e730
lea edx, [esp + 0x48]
push ecx
push edx
mov byte [esp + 0x178], 1
call fcn.0040b100
push 0
lea eax, [esp + 0x34]
push 0x41e730
lea ecx, [esp + 0x3c]
push eax
push ecx
mov byte [esp + 0x188], 2
call fcn.0040b100
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 0x34
lea ecx, [esp + 0x14]
mov ebp, eax
call sub.MFC42.DLL_CString::CString
push 0
lea edx, [esp + 0x14]
push 0x41e730
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.0040b100
push 0
lea ecx, [esp + 0x24]
push 0x41e730
lea edx, [esp + 0x44]
push ecx
push edx
mov byte [esp + 0x178], 3
call fcn.0040b100
push 0
lea eax, [esp + 0x34]
push 0x41e730
lea ecx, [esp + 0x60]
push eax
push ecx
mov byte [esp + 0x188], 4
call fcn.0040b100
push 0
lea edx, [esp + 0x44]
push 0x41e730
lea eax, [esp + 0x5c]
push edx
push eax
mov byte [esp + 0x198], 5
call fcn.0040b100
add esp, 0x40
lea ecx, [esp + 0x18]
mov byte [esp + 0x158], 6
call sub.MFC42.DLL_CString::CString_3
mov byte [esp + 0x158], 7
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0
lea ecx, [esp + 0x54]
push 0
mov eax, dword [eax + 0x90]
lea edx, [esp + 0x44]
push ecx
push edx
push eax
call dword [sym.imp.MSVCRT.dll__splitpath]
add esp, 0x14
lea ecx, [esp + 0x50]
lea edx, [esp + 0x3c]
lea eax, [esp + 0x18]
push ecx
push edx
push str._s_s
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, esi
push 5
push 0x3ea
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
push 5
push 0x411
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
mov al, byte [esi + 0x184]
mov bl, 8
test al, al
mov byte [esp + 0x158], bl
jne 0x412a26
lea ecx, [esp + 0x28]
push 0x41eb50
lea edx, [esp + 0x18]
push ecx
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x15c], 9
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0x158], bl
lea ecx, [esp + 0x14]
jmp 0x412a80
lea eax, [esp + 0x28]
lea ecx, [esp + 0x20]
push eax
push 0x41eb40
push ecx
call sub.MFC42.DLL_operator_2
push 0x41eb34
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x164], 0xa
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x15c], 0xb
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], 0xa
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x158], bl
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x1c]
mov ecx, esi
push eax
push 0x3ea
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
lea ecx, [esp + 0x24]
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
call sub.MFC42.DLL_operator_1
lea edi, [esi + 0x84]
push eax
mov ecx, edi
mov byte [esp + 0x15c], 0xc
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x158], bl
call sub.MFC42.DLL_CString::CString
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x90], eax
mov eax, dword [esp + 0x34]
push 1
push edx
mov edx, dword [esp + 0x38]
push eax
push ebp
push edx
lea ecx, [esi + 0x94]
push 4
call fcn.00409220
test eax, eax
jne 0x412b22
mov eax, dword [esi + 0x8c]
test eax, eax
jne 0x412ba4
mov al, byte [esi + 0x184]
push 0
test al, al
push 0
jne 0x412b9a
push 0x41eaf4
jmp 0x412b9f
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_4
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov byte [esp + 0x164], 0xd
call sub.MFC42.DLL_CString::CString_4
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
mov byte [esp + 0x168], 0xe
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x94]
mov byte [esp + 0x164], bl
call fcn.00409e10
test eax, eax
jne 0x412bc2
mov eax, dword [esi + 0x8c]
test eax, eax
jne 0x412ba4
mov al, byte [esi + 0x184]
push 0
test al, al
push 0
jne 0x412b9a
push 0x41eaf4
jmp 0x412b9f
push 0x41ead0
call sub.MFC42.DLL_AfxMessageBox
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esi + 0x20]
push 0
push 0
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x412c66
lea ecx, [esp + 0x44]
call fcn.0040af20
push esi
lea ecx, [esp + 0x48]
mov byte [esp + 0x15c], 0xf
call fcn.0040af60
push 0xa
lea ecx, [esp + 0x28]
push 0x7404
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
call sub.MFC42.DLL_operator_1
push str.__auto
lea ecx, [esp + 0x2c]
push eax
push ecx
mov byte [esp + 0x16c], 0x10
call sub.MFC42.DLL_operator
push ecx
lea ecx, [esp + 0x24]
mov edx, esp
mov dword [esp + 0x4c], esp
push ecx
push eax
push edx
mov byte [esp + 0x170], 0x11
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x50]
call fcn.0040b020
lea ecx, [esp + 0x20]
mov byte [esp + 0x158], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x158], bl
call fcn.0040afe0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x158], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x158], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x158], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x158], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x158], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x158], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x158], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x158], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x158], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x150]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14c
ret 8