Function at 0x1085b29
Capabilities:
Delete file

Disassembly:
push 0x4a0
mov eax, 0x10d5cc5
call fcn.0100c4d0
mov eax, dword [ebp + 8]
and dword [ebp - 0x454], 0
mov dword [ebp - 0x430], eax
mov eax, dword [ebp + 0xc]
mov edi, ecx
push 0
lea ecx, [ebp - 0x464]
mov dword [ebp - 0x448], eax
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::constructor_long_int_]
xor esi, esi
inc esi
push 0x1086168
lea ecx, [ebp - 0x464]
mov dword [ebp - 4], esi
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]
mov dword [ebp - 0x434], ebx
test ebx, ebx
jg 0x1085bb7
push 0x8000ffff
lea ecx, [ebp - 0x464]
call dword [sym.imp.mmcbase.DLL_public:_class_mmcerror::SC____thiscall_mmcerror::SC::operator_long_int_]
mov ecx, dword [ebp - 0x430]
push eax
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::constructor_class_mmcerror::SC_const__]
mov dword [ebp - 0x454], esi
jmp 0x10860f2
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 - 0x448]
push eax
call fcn.0107f204
push eax
lea ecx, [ebp - 0x464]
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 - 0x464]
call dword [sym.imp.mmcbase.DLL_public:_bool___thiscall_mmcerror::SC::operator_bool_void_const]
test al, al
je 0x1085c25
mov ecx, dword [ebp - 0x430]
lea eax, [ebp - 0x464]
push eax
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::constructor_class_mmcerror::SC_const__]
jmp 0x1085bac
push 0x108615c
lea ecx, [ebp - 0x450]
call sub.MFC42u.dll_CString::CString
cmp byte [ebp + 0x14], 0
mov byte [ebp - 4], 3
mov dword [ebp - 0x44c], 0x1086158
jne 0x1085c53
mov dword [ebp - 0x44c], 0x1086154
mov eax, dword [edi + 0x178]
mov ecx, dword [eax]
and dword [ebp - 0x440], 0
and dword [ebp - 0x438], 0
push eax
mov dword [ebp - 0x43c], esi
call dword [ecx + 0x14]
cmp eax, esi
je 0x1085c8c
mov eax, dword [edi + 0x178]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
cmp eax, 4
jne 0x1085f0a
xor ecx, ecx
push 8
pop edx
mov eax, ebx
mul edx
seto cl
mov dword [ebp - 0x43c], ebx
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.0100f31c
pop ecx
mov dword [ebp - 0x468], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x1085ce3
push 0x107f3d2
push 0x107f3bf
push ebx
lea esi, [eax + 4]
push 8
push esi
mov dword [eax], ebx
call fcn.0100c8df
mov dword [ebp - 0x42c], esi
jmp 0x1085cea
and dword [ebp - 0x42c], 0
mov eax, dword [ebp - 0x42c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x440], eax
test eax, eax
jne 0x1085d14
push 0x8007000e
lea ecx, [ebp - 0x464]
call dword [sym.imp.mmcbase.DLL_public:_class_mmcerror::SC____thiscall_mmcerror::SC::operator_long_int_]
jmp 0x108613c
xor ecx, ecx
push 4
pop edx
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0100f31c
pop ecx
mov dword [ebp - 0x438], eax
test eax, eax
je 0x1085cfe
mov eax, dword [edi + 0x178]
mov ecx, dword [eax + 0x4c]
call fcn.0100e4e1
mov esi, eax
push 0x8000ffff
push esi
lea eax, [ebp - 0x47c]
push eax
mov dword [ebp - 0x444], esi
call fcn.0100a3ae
push eax
lea ecx, [ebp - 0x464]
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 - 0x464]
call dword [sym.imp.mmcbase.DLL_public:_bool___thiscall_mmcerror::SC::operator_bool_void_const]
test al, al
jne 0x108613c
test esi, esi
jne 0x1085d9a
xor eax, eax
jmp 0x1085d9d
mov eax, dword [esi + 0x20]
push dword [ebp - 0x438]
push ebx
push 0x1211
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x108613c
and dword [ebp - 0x424], 0
test ebx, ebx
jle 0x1085e6c
mov ebx, dword [ebp - 0x42c]
jmp 0x1085dd5
mov esi, dword [ebp - 0x444]
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x420]
add esp, 0xc
mov dword [ebp - 0x4a4], eax
lea eax, [ebp - 0x4ac]
push eax
push dword [ebp - 0x424]
mov ecx, esi
mov dword [ebp - 0x4ac], 0xa
mov dword [ebp - 0x49c], 0x208
call fcn.01055747
test eax, eax
je 0x108613c
push dword [ebp - 0x4a4]
mov esi, dword [ebp - 0x494]
mov ecx, ebx
call fcn.0100a411
shl esi, 0xf
sar esi, 0x1f
inc dword [ebp - 0x424]
mov eax, dword [ebp - 0x424]
mov dword [ebx + 4], esi
add ebx, 8
cmp eax, dword [ebp - 0x434]
jl 0x1085dcf
mov ebx, dword [ebp - 0x434]
and dword [ebp - 0x424], 0
test ebx, ebx
jle 0x1085ee7
mov ecx, dword [ebp - 0x424]
mov eax, dword [ebp - 0x438]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x42c]
lea eax, [ecx + eax*8]
cmp dword [eax + 4], 0
jne 0x1085ed9
movzx esi, byte [ebp + 0x10]
mov eax, dword [eax]
push esi
push eax
push dword [ebp - 0x428]
mov ecx, edi
call fcn.01083aba
test al, al
je 0x108611f
lea eax, [ebx - 1]
cmp dword [ebp - 0x424], eax
jge 0x1085ed9
push esi
push dword [ebp - 0x44c]
mov ecx, edi
push dword [ebp - 0x428]
call fcn.01083aba
test al, al
je 0x108611f
inc dword [ebp - 0x424]
cmp dword [ebp - 0x424], ebx
jl 0x1085e77
movzx eax, byte [ebp + 0x10]
push eax
push dword [ebp - 0x450]
mov ecx, edi
push dword [ebp - 0x428]
call fcn.01083aba
test al, al
je 0x108611f
xor esi, esi
inc esi
lea ecx, [ebp - 0x424]
call sub.MFC42u.dll_CString::CString_2
mov eax, dword [edi + 0x178]
mov ebx, dword [eax + 0x4c]
and dword [ebp - 0x434], 0
cmp byte [ebp + 0x18], 0
mov byte [ebp - 4], 6
mov dword [ebp - 0x468], ebx
je 0x1085f3f
mov dword [ebp - 0x434], 2
push dword [ebp - 0x434]
mov ecx, ebx
push 0xffffffffffffffff
call fcn.0107e863
mov dword [ebp - 0x42c], eax
cmp eax, 0xffffffff
je 0x1086089
xor esi, esi
cmp dword [ebp - 0x43c], esi
jle 0x1086044
mov ecx, dword [ebp - 0x440]
test ecx, ecx
je 0x1085fb6
mov eax, dword [ebp - 0x438]
mov eax, dword [eax + esi*4]
cmp dword [ecx + eax*8 + 4], 0
jne 0x1086037
push eax
push dword [ebp - 0x42c]
lea eax, [ebp - 0x444]
push eax
mov ecx, ebx
call sub.MFC42u.dll_CListCtrl::GetItemText
push eax
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 7
call sub.MFC42u.dll_CString::operator_1
lea ecx, [ebp - 0x444]
jmp 0x1085fe1
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 sub.MFC42u.dll_CString::operator_1
lea ecx, [ebp - 0x46c]
mov byte [ebp - 4], 6
call fcn.0100a3e5
movzx ebx, byte [ebp + 0x10]
push ebx
push dword [ebp - 0x424]
mov ecx, edi
push dword [ebp - 0x428]
call fcn.01083aba
test al, al
je 0x1086110
mov eax, dword [ebp - 0x43c]
dec eax
cmp esi, eax
jge 0x1086031
push ebx
push dword [ebp - 0x44c]
mov ecx, edi
push dword [ebp - 0x428]
call fcn.01083aba
test al, al
je 0x1086110
mov ebx, dword [ebp - 0x468]
inc esi
cmp esi, dword [ebp - 0x43c]
jl 0x1085f6b
movzx eax, byte [ebp + 0x10]
push eax
push dword [ebp - 0x450]
mov ecx, edi
push dword [ebp - 0x428]
call fcn.01083aba
test al, al
je 0x1086110
push dword [ebp - 0x434]
mov ecx, ebx
push dword [ebp - 0x42c]
call fcn.0107e863
mov dword [ebp - 0x42c], eax
cmp eax, 0xffffffff
jne 0x1085f5d
xor esi, esi
inc esi
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 3
call fcn.0100a3e5
mov ecx, dword [ebp - 0x440]
test ecx, ecx
je 0x10860a9
push 3
call fcn.01083a69
cmp dword [ebp - 0x438], 0
je 0x10860be
push dword [ebp - 0x438]
call fcn.0100f30b
pop ecx
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x430]
lea eax, [ebp - 0x464]
push eax
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::constructor_class_mmcerror::SC_const__]
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x454], esi
mov byte [ebp - 4], 1
call fcn.0100a3e5
lea ecx, [ebp - 0x464]
mov byte [ebp - 4], 0
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::destructor_void_]
mov eax, dword [ebp - 0x430]
call fcn.0100c50d
ret 0x18
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 3
call fcn.0100a3e5
cmp byte [ebp + 0x1c], 0
je 0x108613c
mov eax, dword [ebp - 0x448]
push dword [eax]
mov ecx, edi
push dword [ebp - 0x428]
push 2
call fcn.0107f195
mov eax, dword [ebp - 0x448]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
inc esi
jmp 0x1086098