Function at 0x4bbea7
Capabilities:
Delete file

Disassembly:
mov eax, 0x4f49ef
call fcn.004e1580
sub esp, 0xc4
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x24], esi
call fcn.004cbba4
mov edi, eax
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x68], edi
mov dword [ebp - 0xd0], edi
je 0x4bbedb
mov eax, dword [edi]
push edi
call dword [eax + 4]
cmp edi, ebx
mov dword [ebp - 4], ebx
je 0x4bc5fc
mov dword [ebp - 0x20], ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x20]
push ecx
push edi
mov byte [ebp - 4], 1
call dword [eax + 0x20]
cmp dword [ebp - 0x20], ebx
je 0x4bc5f2
mov eax, dword [esi + 0x11c]
cmp eax, 2
je 0x4bbf19
cmp eax, 3
je 0x4bbf19
cmp eax, 4
jne 0x4bc5e2
mov dword [ebp - 0x9c], 0x50460c
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], 0xa
push 2
push 0xffffffffffffffff
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004bb15c
mov esi, eax
inc esi
je 0x4bbfed
mov ecx, dword [ebp - 0x24]
lea edi, [esi - 1]
push 2
push edi
call fcn.004bb15c
mov ecx, dword [ebp - 0x24]
inc eax
push edi
mov esi, eax
call sub.MFC42.DLL_CListCtrl::GetItemData
cmp eax, ebx
je 0x4bbfe5
cmp dword [eax + 4], 1
jne 0x4bbf8d
cmp dword [eax + 0x18], 1
jne 0x4bbfe5
mov edi, dword [eax + 8]
xor eax, eax
cmp edi, ebx
mov dword [ebp - 0x18], eax
je 0x4bbfaa
mov eax, dword [edi]
lea ecx, [ebp - 0x18]
push ecx
push 0x52a488
push edi
call dword [eax]
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x4bbfbe
cmp dword [ebp + 8], 1
jne 0x4bbfbe
mov byte [ebp - 4], 2
jmp 0x4bbfdf
cmp edi, ebx
je 0x4bbfd7
mov eax, dword [edi]
push edi
call dword [eax + 4]
push edi
lea ecx, [ebp - 0x9c]
call fcn.0047ca6c
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x4bbfe5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jne 0x4bbf63
mov edi, dword [ebp - 0x98]
cmp edi, ebx
je 0x4bc57d
mov eax, edi
mov edi, dword [edi]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x10], ebx
mov esi, dword [eax + 8]
cmp esi, ebx
je 0x4bc01a
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
push 0x52b448
push esi
call dword [eax]
cmp dword [ebp - 0x10], ebx
mov byte [ebp - 4], 4
je 0x4bc184
mov eax, dword [esi]
push esi
call dword [eax + 0x40]
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x70]
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 6
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x44]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
push dword [ebp - 0x44]
lea ecx, [ebp - 0xa4]
call sub.MFC42.DLL_CString::CString_2
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0xa4]
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x70]
lea ecx, [ebp - 0xa8]
call sub.MFC42.DLL_CString::CString_2
push dword [eax]
mov byte [ebp - 4], 7
call fcn.004d1b65
pop ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x10]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x60]
mov eax, dword [esi]
lea ecx, [ebp - 0x80]
push ecx
push esi
mov dword [ebp - 0x80], ebx
call dword [eax + 0x14]
cmp dword [ebp - 0x80], ebx
jne 0x4bc0c3
mov eax, dword [ebp - 0x20]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
push 0xffffffffffffffff
push str.STATREFPAGESOURCE
call fcn.0040294f
pop ecx
mov dword [ebp - 0x34], eax
pop ecx
mov word [ebp - 0xc8], bx
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 9
cmp eax, ebx
mov dword [ebp - 0x48], ebx
je 0x4bc0f7
mov ecx, dword [eax]
lea edx, [ebp - 0x48]
push edx
push 0x52c6d8
push eax
call dword [ecx]
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0xc8]
push edx
mov byte [ebp - 4], 0xa
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov dword [ebp - 0x64], ebx
mov eax, dword [esi]
lea ecx, [ebp - 0x64]
push ecx
push 0x5096d0
push esi
mov byte [ebp - 4], 0xb
call dword [eax]
mov eax, dword [ebp - 0x64]
push dword [ebp - 0xc0]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x134]
mov eax, dword [esi]
push esi
call dword [eax + 0x38]
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 0xa
cmp eax, ebx
je 0x4bc14c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 9
cmp eax, ebx
je 0x4bc15d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push dword [ebp - 0x34]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x44]
call esi
push dword [ebp - 0x70]
call esi
jmp 0x4bc563
cmp esi, ebx
mov dword [ebp - 0x14], ebx
je 0x4bc199
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push 0x52a488
push esi
call dword [eax]
cmp dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0xc
je 0x4bc367
push dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
push eax
call fcn.0049fabd
push ebx
mov byte [ebp - 4], 0xd
push dword [ebp - 0x2c]
call fcn.004d1e1a
add esp, 0x10
test eax, eax
jne 0x4bc22d
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CString::CString_3
push 0x81e1
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xe
call fcn.004dfe8c
mov ecx, eax
push dword [ebp - 0x2c]
add eax, 4
mov byte [ebp - 4], 0xf
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ecx]
push eax
lea eax, [ebp - 0x4c]
push eax
call sub.MFC42.DLL_CString::Format_1
add esp, 0xc
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xe
call fcn.004dfece
push ebx
push ebx
push dword [ebp - 0x4c]
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
jmp 0x4bc32c
mov eax, dword [esi]
lea ecx, [ebp - 0x6c]
push ecx
push esi
mov dword [ebp - 0x6c], 7
call dword [eax + 0x2c]
cmp dword [ebp - 0x6c], 7
je 0x4bc24a
cmp dword [ebp - 0x6c], 2
jne 0x4bc250
mov eax, dword [esi]
push esi
call dword [eax + 0x3c]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x38]
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x11
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x30]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x30]
push dword [ebp - 0x14]
call fcn.004256e7
push dword [ebp - 0x14]
lea eax, [ebp - 0x3c]
push eax
call fcn.004bbdd2
push dword [ebp - 0x3c]
mov byte [ebp - 4], 0x12
call fcn.004d1b65
add esp, 0x18
test eax, eax
jne 0x4bc33d
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString_3
push 0x496
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::LoadStringA
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CString::CString_3
push dword [ebp - 0x3c]
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0x14
push dword [ebp - 0x24]
push eax
call sub.MFC42.DLL_CString::Format_1
add esp, 0xc
push ebx
push ebx
push dword [ebp - 0x54]
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 0x10
cmp eax, ebx
je 0x4bc31b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 0xd
cmp eax, ebx
je 0x4bc32c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
jmp 0x4bc552
mov eax, dword [esi]
push esi
call dword [eax + 0x40]
mov eax, dword [esi]
lea ecx, [ebp - 0x74]
push ecx
push esi
mov dword [ebp - 0x74], ebx
call dword [eax + 0x14]
cmp dword [ebp - 0x74], ebx
jne 0x4bc35f
mov eax, dword [ebp - 0x20]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esi]
push esi
call dword [eax + 0x38]
jmp 0x4bc2fe
cmp esi, ebx
mov dword [ebp - 0x1c], ebx
je 0x4bc37c
mov eax, dword [esi]
lea ecx, [ebp - 0x1c]
push ecx
push 0x52b438
push esi
call dword [eax]
cmp dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 0x15
je 0x4bc541
mov eax, dword [esi]
lea ecx, [ebp - 0x78]
push ecx
push esi
call dword [eax + 0x2c]
cmp dword [ebp - 0x78], 7
je 0x4bc39f
cmp dword [ebp - 0x78], 2
jne 0x4bc3a5
mov eax, dword [esi]
push esi
call dword [eax + 0x3c]
mov eax, dword [esi]
push esi
call dword [eax + 0x40]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x60], ebx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x19
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x1a
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x28]
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x1b
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x60]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x58]
call sub.MFC42.DLL_CString::operator
push dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CString::operator
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xac]
push eax
call sub.MFC42.DLL_operator_3
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0xac]
call sub.MFC42.DLL_CString::CString
call fcn.004cbba4
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0xcc], edi
je 0x4bc451
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov dword [ebp - 0x40], ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x40]
push ecx
push edi
mov byte [ebp - 4], 0x1d
call dword [eax + 0x34]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x5c], ebx
cmp eax, ebx
je 0x4bc47a
mov ecx, dword [eax]
lea edx, [ebp - 0x5c]
push edx
push 0x52ace0
push eax
call dword [ecx]
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 0x1e
push dword [ebp - 0x28]
mov ecx, dword [eax]
push dword [ebp - 0x60]
push eax
call dword [ecx + 0x8c]
push dword [ebp - 0x28]
lea ecx, [ebp - 0xa0]
call sub.MFC42.DLL_CString::CString_2
push dword [eax]
mov byte [ebp - 4], 0x1f
call fcn.004d1b65
pop ecx
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xa0]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi]
lea ecx, [ebp - 0x7c]
push ecx
push esi
mov dword [ebp - 0x7c], ebx
call dword [eax + 0x14]
cmp dword [ebp - 0x7c], ebx
jne 0x4bc4d8
mov eax, dword [ebp - 0x20]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esi]
push esi
call dword [eax + 0x38]
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 0x1d
cmp eax, ebx
je 0x4bc4ef
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 0x1c
cmp eax, ebx
je 0x4bc500
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebx
mov byte [ebp - 4], 0x1b
je 0x4bc50e
mov eax, dword [edi]
push edi
call dword [eax + 8]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x1a
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x19
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x60]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x18]
call esi
push ebx
call esi
push dword [ebp - 0x28]
call esi
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xc
cmp eax, ebx
je 0x4bc552
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x4bc563
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x4bbff3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4bbff3
cmp dword [ebp - 0x90], ebx
jle 0x4bc594
mov eax, dword [ebp - 0x94]
push dword [eax + 8]
call fcn.0040fff6
pop ecx
mov esi, dword [ebp - 0x98]
cmp esi, ebx
je 0x4bc5b1
mov eax, esi
mov esi, dword [esi]
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x4bc59a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4bc59a
lea ecx, [ebp - 0x9c]
call fcn.0047ca95
mov dword [ebp - 0x9c], 0x50460c
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0x20
call fcn.0047ca95
mov edi, dword [ebp - 0x68]
mov dword [ebp - 0x9c], 0x4f82c8
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x4bc5f2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [edi]
or dword [ebp - 4], 0xffffffff
push edi
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4