Function at 0x1088ac5
Capabilities:
Delete file

Disassembly:
mov eax, 0x10f39be
call fcn.01003440
sub esp, 0x49c
mov eax, dword [0x1116788]
and dword [ebp - 0x43c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov edi, ecx
push 0
lea ecx, [ebp - 0x460]
mov dword [ebp - 0x464], esi
mov dword [ebp - 0x444], eax
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::constructor_long_int_]
push 0x10890d8
lea ecx, [ebp - 0x460]
mov dword [ebp - 4], 1
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::SetFunctionName_unsigned_short_int_const__]
mov eax, dword [edi + 0x178]
mov ebx, dword [eax + 0x94]
test ebx, ebx
jg 0x1088b4d
push 0x8000ffff
lea ecx, [ebp - 0x460]
call dword [sym.imp.mmcbase.DLL_public:_class_mmcerror::SC____thiscall_mmcerror::SC::operator_long_int_]
push eax
mov ecx, esi
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::constructor_class_mmcerror::SC_const__]
jmp 0x1088bb5
and dword [ebp - 0x428], 0
lea eax, [ebp - 0x428]
push eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x47c]
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp - 0x444]
push eax
call fcn.010819f5
push eax
lea ecx, [ebp - 0x460]
mov byte [ebp - 4], 2
call dword [sym.imp.mmcbase.DLL_public:_class_mmcerror::SC____thiscall_mmcerror::SC::operator_class_mmcerror::SC_const__]
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 1
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::destructor_void_]
lea ecx, [ebp - 0x460]
call dword [sym.imp.mmcbase.DLL_public:_bool___thiscall_mmcerror::SC::operator_bool_void_const]
test al, al
je 0x1088bd6
lea eax, [ebp - 0x460]
push eax
mov ecx, esi
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::constructor_class_mmcerror::SC_const__]
lea ecx, [ebp - 0x460]
mov dword [ebp - 0x43c], 1
mov byte [ebp - 4], 0
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::destructor_void_]
mov eax, esi
jmp 0x108906f
push 0x10890d0
lea ecx, [ebp - 0x440]
call sub.MFC42u.dll_CString::CString_3
cmp byte [ebp + 0x14], 0
mov byte [ebp - 4], 3
mov dword [ebp - 0x448], 0x10890cc
jne 0x1088c04
mov dword [ebp - 0x448], 0x10890c8
mov eax, dword [edi + 0x178]
mov ecx, dword [eax]
and dword [ebp - 0x450], 0
and dword [ebp - 0x434], 0
xor esi, esi
inc esi
push eax
mov dword [ebp - 0x438], esi
call dword [ecx + 0x14]
cmp eax, esi
je 0x1088c40
mov eax, dword [edi + 0x178]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
cmp eax, 4
jne 0x1088e81
lea eax, [ebx*8 + 4]
push eax
mov dword [ebp - 0x438], ebx
call sub.MFC42u.dll_operatornew
pop ecx
mov dword [ebp - 0x468], eax
test eax, eax
mov byte [ebp - 4], 4
je 0x1088c82
push 0x1081c09
push 0x1081bf6
push ebx
lea esi, [eax + 4]
push 8
push esi
mov dword [eax], ebx
call fcn.0101f3ed
mov dword [ebp - 0x42c], esi
jmp 0x1088c89
and dword [ebp - 0x42c], 0
mov eax, dword [ebp - 0x42c]
test eax, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x450], eax
je 0x1088cb3
mov eax, ebx
shl eax, 2
push eax
call sub.MFC42u.dll_operatornew
test eax, eax
pop ecx
mov dword [ebp - 0x434], eax
jne 0x1088cc9
push 0x8007000e
lea ecx, [ebp - 0x460]
call dword [sym.imp.mmcbase.DLL_public:_class_mmcerror::SC____thiscall_mmcerror::SC::operator_long_int_]
jmp 0x10890b4
mov eax, dword [edi + 0x178]
mov ecx, dword [eax + 0x4c]
call fcn.01008d0e
mov esi, eax
push 0x8000ffff
push esi
lea eax, [ebp - 0x47c]
push eax
mov dword [ebp - 0x44c], esi
call fcn.0102f887
push eax
lea ecx, [ebp - 0x460]
mov byte [ebp - 4], 5
call dword [sym.imp.mmcbase.DLL_public:_class_mmcerror::SC____thiscall_mmcerror::SC::operator_class_mmcerror::SC_const__]
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 3
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::destructor_void_]
lea ecx, [ebp - 0x460]
call dword [sym.imp.mmcbase.DLL_public:_bool___thiscall_mmcerror::SC::operator_bool_void_const]
test al, al
jne 0x10890b4
test esi, esi
jne 0x1088d2e
xor eax, eax
jmp 0x1088d31
mov eax, dword [esi + 0x20]
push dword [ebp - 0x434]
push ebx
push 0x1211
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x10890b4
and dword [ebp - 0x430], 0
test ebx, ebx
jle 0x1088de6
mov eax, dword [ebp - 0x42c]
mov dword [ebp - 0x424], eax
jmp 0x1088d6f
mov esi, dword [ebp - 0x44c]
lea eax, [ebp - 0x420]
mov dword [ebp - 0x4a0], eax
lea eax, [ebp - 0x4a8]
push eax
push dword [ebp - 0x430]
mov ecx, esi
mov dword [ebp - 0x4a8], 0xa
mov dword [ebp - 0x498], 0x208
call fcn.010106d9
test eax, eax
je 0x10890b4
push dword [ebp - 0x4a0]
mov ecx, dword [ebp - 0x424]
mov esi, dword [ebp - 0x490]
call fcn.01024df3
mov eax, dword [ebp - 0x424]
add dword [ebp - 0x424], 8
shl esi, 0xf
sar esi, 0x1f
inc dword [ebp - 0x430]
cmp dword [ebp - 0x430], ebx
mov dword [eax + 4], esi
jl 0x1088d69
and dword [ebp - 0x424], 0
test ebx, ebx
jle 0x1088e61
mov ecx, dword [ebp - 0x424]
mov eax, dword [ebp - 0x434]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x42c]
lea eax, [ecx + eax*8]
cmp dword [eax + 4], 0
jne 0x1088e53
movzx esi, byte [ebp + 0x10]
mov eax, dword [eax]
push esi
push eax
push dword [ebp - 0x428]
mov ecx, edi
call fcn.01081c13
test al, al
je 0x1089097
lea eax, [ebx - 1]
cmp dword [ebp - 0x424], eax
jge 0x1088e53
push esi
push dword [ebp - 0x448]
mov ecx, edi
push dword [ebp - 0x428]
call fcn.01081c13
test al, al
je 0x1089097
inc dword [ebp - 0x424]
cmp dword [ebp - 0x424], ebx
jl 0x1088df1
movzx eax, byte [ebp + 0x10]
push eax
push dword [ebp - 0x440]
mov ecx, edi
push dword [ebp - 0x428]
call fcn.01081c13
test al, al
je 0x1089097
lea ecx, [ebp - 0x424]
call sub.MFC42u.dll_CString::CString_1
mov eax, dword [edi + 0x178]
mov ebx, dword [eax + 0x4c]
and dword [ebp - 0x430], 0
cmp byte [ebp + 0x18], 0
mov byte [ebp - 4], 6
mov dword [ebp - 0x468], ebx
je 0x1088eb6
mov dword [ebp - 0x430], 2
push dword [ebp - 0x430]
push 0xffffffffffffffff
jmp 0x1088fd6
xor esi, esi
cmp dword [ebp - 0x438], esi
jle 0x1088faa
mov ecx, dword [ebp - 0x450]
test ecx, ecx
je 0x1088f1c
mov eax, dword [ebp - 0x434]
mov eax, dword [eax + esi*4]
cmp dword [ecx + eax*8 + 4], 0
jne 0x1088f9d
push eax
push dword [ebp - 0x42c]
lea eax, [ebp - 0x44c]
push eax
mov ecx, ebx
call sub.MFC42u.dll_CListCtrl::GetItemText
push eax
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 7
call fcn.0104a0a2
lea ecx, [ebp - 0x44c]
jmp 0x1088f47
push esi
push dword [ebp - 0x42c]
lea eax, [ebp - 0x46c]
push eax
mov ecx, ebx
call sub.MFC42u.dll_CListCtrl::GetItemText
push eax
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 8
call fcn.0104a0a2
lea ecx, [ebp - 0x46c]
mov byte [ebp - 4], 6
call sub.MFC42u.dll_CString::CString
movzx ebx, byte [ebp + 0x10]
push ebx
push dword [ebp - 0x424]
mov ecx, edi
push dword [ebp - 0x428]
call fcn.01081c13
test al, al
je 0x1089088
mov eax, dword [ebp - 0x438]
dec eax
cmp esi, eax
jge 0x1088f97
push ebx
push dword [ebp - 0x448]
mov ecx, edi
push dword [ebp - 0x428]
call fcn.01081c13
test al, al
je 0x1089088
mov ebx, dword [ebp - 0x468]
inc esi
cmp esi, dword [ebp - 0x438]
jl 0x1088ed1
movzx eax, byte [ebp + 0x10]
push eax
push dword [ebp - 0x440]
mov ecx, edi
push dword [ebp - 0x428]
call fcn.01081c13
test al, al
je 0x1089088
push dword [ebp - 0x430]
push dword [ebp - 0x42c]
mov ecx, ebx
call fcn.01080867
cmp eax, 0xffffffff
mov dword [ebp - 0x42c], eax
jne 0x1088ec3
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 3
call sub.MFC42u.dll_CString::CString
mov ecx, dword [ebp - 0x450]
test ecx, ecx
je 0x108900c
push 3
call fcn.01086885
cmp dword [ebp - 0x434], 0
je 0x1089021
push dword [ebp - 0x434]
call sub.MFC42u.dll_operatordelete
pop ecx
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x464]
lea eax, [ebp - 0x460]
push eax
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::constructor_class_mmcerror::SC_const__]
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x43c], 1
mov byte [ebp - 4], 1
call sub.MFC42u.dll_CString::CString
lea ecx, [ebp - 0x460]
mov byte [ebp - 4], 0
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::destructor_void_]
mov eax, dword [ebp - 0x464]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.010032ea
leave
ret 0x18
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 3
call sub.MFC42u.dll_CString::CString
cmp byte [ebp + 0x1c], 0
je 0x10890b4
mov eax, dword [ebp - 0x444]
push dword [eax]
mov ecx, edi
push dword [ebp - 0x428]
push 2
call fcn.01081981
mov eax, dword [ebp - 0x444]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1088ffb