Function at 0x422580
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp - 0x60]
mov dword [eax + 0x1c8], 0
call dword [sym.imp.AVLF.dll_public:_static_class_AvlfUI____cdecl_AvlfUI::Instance_void_]
mov dword [ebp - 0x10], eax
push 5
push str.DelConfirm
mov ecx, dword [ebp - 0x10]
call dword [sym.imp.AVLF.dll_public:_class_AvlfUiElement____thiscall_AvlfUI::GetUiElement_wchar_t_const___unsigned_long_int_]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x60]
call fcn.004238e0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jle 0x4225ec
push 0x24
push 0x430adc
push str.Are_you_sure_to_delete_selected_files_
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 7
jne 0x4225ec
xor eax, eax
jmp 0x4227ef
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x14]
call fcn.00401920
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x60]
add ecx, 0x15c
call fcn.004244a0
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x60]
add ecx, 0x15c
call fcn.004244d0
push eax
lea ecx, [ebp - 8]
call fcn.00424830
movzx edx, al
test edx, edx
je 0x4227c3
lea ecx, [ebp - 8]
call fcn.00424730
mov eax, dword [eax]
mov ecx, dword [eax + 0x2c]
and ecx, 2
je 0x4227b6
lea ecx, [ebp - 8]
call fcn.00424730
mov edx, dword [ebp - 0x60]
mov ecx, dword [edx + 0x1c4]
cmp ecx, dword [eax]
jne 0x42266b
mov edx, dword [ebp - 0x60]
mov dword [edx + 0x1c4], 0
cmp dword [ebp - 0xc], 1
jg 0x422704
push 0x5c
push 0
lea ecx, [ebp - 8]
call fcn.00424730
mov eax, dword [eax]
mov ecx, dword [eax + 0x30]
add ecx, 0x34
call fcn.0040f230
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4226a7
mov ecx, dword [ebp - 0x28]
add ecx, 2
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x2c]
call fcn.00401920
mov edx, dword [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x18]
call dword [sym.imp.AVLF.dll_public:_wchar_t_const____thiscall_AvlfUiElementText::GetText_void_const]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004103c0
add esp, 0xc
push 0x24
push str.Confirm
lea ecx, [ebp - 0x2c]
call fcn.0040f230
push eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 7
jne 0x4226fc
lea ecx, [ebp - 0x2c]
call fcn.00401a20
jmp 0x4227c3
lea ecx, [ebp - 0x2c]
call fcn.00401a20
lea ecx, [ebp - 8]
call fcn.00424730
mov eax, dword [eax]
mov ecx, dword [eax + 0x30]
add ecx, 0x34
call fcn.0040f230
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 8]
call fcn.00424730
mov ecx, dword [eax]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x3c], 0
je 0x42274f
push 1
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x64], eax
jmp 0x422756
mov dword [ebp - 0x64], 0
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
lea edx, [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x60]
add ecx, 0x15c
call fcn.004245c0
mov dword [ebp - 0x1c], 1
mov ecx, dword [ebp - 0x60]
add ecx, 0x15c
call fcn.00424560
test eax, eax
jne 0x422797
jmp 0x4227c3
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x60]
add ecx, 0x15c
call fcn.004244a0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
jmp 0x4227be
lea ecx, [ebp - 8]
call fcn.00424750
jmp 0x42260d
cmp dword [ebp - 0x1c], 0
je 0x4227de
mov ecx, dword [ebp - 0x60]
call fcn.00421d20
push 1
mov ecx, dword [ebp - 0x60]
add ecx, 4
call fcn.004045d0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x14]
call fcn.00401a20
mov eax, dword [ebp - 0x5c]
mov esp, ebp
pop ebp
ret 0x10