Function at 0x41f680
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x47320c
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x490018]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
lea ebx, [ebp + 8]
push eax
mov ecx, ebx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov ecx, dword [esp + 0x54]
push ecx
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov edx, dword [esp + 0x58]
push edx
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push 0x47d6d8
lea ecx, [ebp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push 0x47d6d8
lea ecx, [ebp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov eax, dword [esp + 0x5c]
xor edi, edi
lea esi, [ebp + 0x28]
push eax
mov ecx, esi
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x24], edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov ecx, dword [esi]
mov eax, dword [ecx - 0xc]
cmp eax, edi
je 0x41f731
dec eax
push eax
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::operator__]
cmp ax, 0x5c
je 0x41f731
push 0x47d53c
mov ecx, esi
call dword [0x476390]
mov dword [esp + 0x18], vtable.TempHandler.0
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x44], 2
push ebx
lea ecx, [esp + 0x50]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov byte [esp + 0x44], 3
lea esi, [esp + 0x4c]
call fcn.00401a10
push 5
lea edx, [esp + 0x5c]
push edx
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x20]
push eax
mov ecx, 1
call fcn.0041dae0
mov byte [esp + 0x44], 4
lea esi, [ebp + 0x14]
push eax
mov ecx, esi
mov dword [esp + 0x58], esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov byte [esp + 0x44], 3
lea ecx, [esp + 0x58]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esi]
lea ebx, [ebp + 0x38]
mov dword [esp + 0x58], ecx
cmp dword [ebx + 4], edi
je 0x41f7e5
mov edx, dword [ebx]
mov eax, dword [edx + 0x24]
mov ecx, ebx
call eax
lea ecx, [ebx + 8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::clear_void_]
mov dword [ebx + 0x24], 2
mov dword [ebx + 0x28], 4
mov dword [ebx + 4], edi
mov edx, dword [ebx]
mov eax, dword [esp + 0x58]
mov edx, dword [edx + 0x20]
push 1
push 5
push eax
mov ecx, ebx
call edx
mov edi, eax
and eax, 1
mov dword [ebx + 4], eax
je 0x41f80f
mov dword [ebx + 0x28], 1
mov dword [ebx + 0x24], 5
mov eax, edi
not eax
test al, 1
je 0x41f826
push esi
lea ecx, [ebp + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
jmp 0x41f991
mov eax, dword [ebp + 8]
push 2
lea esi, [ebp + 0xc8]
push eax
mov edi, 1
call fcn.0042ad70
mov esi, eax
mov ecx, esi
not ecx
test cl, 1
je 0x41f8b5
lea eax, [ebp + 8]
push eax
lea ecx, [ebp + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
cmp dword [ebx + 4], 0
je 0x41f881
mov edx, dword [ebx]
mov eax, dword [edx + 0x24]
mov ecx, ebx
call eax
lea ecx, [ebx + 8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::clear_void_]
mov dword [ebx + 0x24], 2
mov dword [ebx + 0x28], 4
mov dword [ebx + 4], 0
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0x44], 2
lea ecx, [esp + 0x4c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.0041d990
mov eax, esi
jmp 0x41f9b3
push 0x47d6d8
lea ecx, [esp + 0x18]
call dword [0x4763f4]
mov byte [esp + 0x44], 5
push 0x296a
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::LoadStringW]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x54]
push eax
lea ecx, [ebp + 0x28]
call fcn.00403fa0
add esp, 8
mov byte [esp + 0x44], 6
mov ecx, dword [esp + 0x50]
push 2
lea esi, [ebp + 0x158]
push ecx
mov edi, 1
call fcn.0042ad70
mov edi, eax
mov edx, edi
not edx
test dl, 1
je 0x41f941
lea eax, [esp + 0x50]
push eax
lea ecx, [ebp + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov esi, ebx
call fcn.0042ad30
lea esi, [ebp + 0xc8]
call fcn.0042ad30
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp + 0xc8]
mov eax, dword [edx + 0xc]
lea ecx, [ebp + 0xc8]
call eax
lea ecx, [ebp + 0x158]
mov ebx, edx
mov edx, dword [ecx]
mov esi, eax
mov eax, dword [edx + 0xc]
call eax
add eax, esi
adc edx, ebx
mov dword [ebp + 0x1e8], eax
mov dword [ebp + 0x1ec], edx
mov byte [esp + 0x44], 5
lea ecx, [esp + 0x50]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x44], 3
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x44], 2
lea ecx, [esp + 0x4c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.0041d990
mov eax, edi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x14