Function at 0x4aec70
Capabilities:
Check if file exists
Delete directory
Delete file
Print debug messages
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x553b46
mov eax, dword fs:[0]
push eax
sub esp, 0x35c
mov eax, dword [0x5be9c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x304], ecx
call fcn.0048e5f0
mov ecx, eax
call fcn.0048eba0
movzx eax, al
test eax, eax
je 0x4af6a2
push 8
lea ecx, [ebp - 0xd8]
call sym.xIns.exe_public:_void___thiscall_ReceiverImpl_int__struct_DuiLib::ContextMenuParam_::__autoclassinit2_unsigned_int_
lea ecx, [ebp - 0xd8]
push ecx
call fcn.0048e5f0
mov ecx, eax
call fcn.0048eee0
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c4], 0
lea edx, [ebp - 0xd8]
mov dword [ebp - 0x2d8], edx
push 4
lea ecx, [ebp - 0xa0]
call sym.xIns.exe_public:_void___thiscall_ReceiverImpl_int__struct_DuiLib::ContextMenuParam_::__autoclassinit2_unsigned_int_
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x2d8]
call fcn.00477690
push 4
lea ecx, [ebp - 0xbc]
call sym.xIns.exe_public:_void___thiscall_ReceiverImpl_int__struct_DuiLib::ContextMenuParam_::__autoclassinit2_unsigned_int_
lea ecx, [ebp - 0xbc]
push ecx
mov ecx, dword [ebp - 0x2d8]
call fcn.004776c0
jmp 0x4aed40
lea ecx, [ebp - 0xa0]
call fcn.0048bbf0
lea edx, [ebp - 0xbc]
push edx
lea ecx, [ebp - 0xa0]
call fcn.004780c0
movzx eax, al
test eax, eax
je 0x4aed94
lea ecx, [ebp - 0xa0]
call fcn.00477ff0
push eax
lea ecx, [ebp - 0x10c]
call fcn.004af7d0
lea ecx, [ebp - 0x108]
call fcn.0048fa70
add eax, dword [ebp - 0x2c4]
mov dword [ebp - 0x2c4], eax
lea ecx, [ebp - 0x10c]
call fcn.004927d0
jmp 0x4aed35
push 0xc
lea ecx, [ebp - 0xfc]
call sym.xIns.exe_public:_void___thiscall_ReceiverImpl_int__struct_DuiLib::ContextMenuParam_::__autoclassinit2_unsigned_int_
push 0x585464
lea ecx, [ebp - 0xfc]
push ecx
call fcn.004ab980
mov ecx, eax
call fcn.004abe80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xfc]
call fcn.004a1230
add eax, dword [ebp - 0x2c4]
mov dword [ebp - 0x2c4], eax
mov dword [ebp - 0x2c0], 0
mov edx, dword [ebp - 0x2c4]
push edx
mov eax, dword [ebp - 0x2c0]
push eax
mov ecx, dword [ebp + 8]
call fcn.004af800
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x2e4], ecx
push 4
lea ecx, [ebp - 0x98]
call sym.xIns.exe_public:_void___thiscall_ReceiverImpl_int__struct_DuiLib::ContextMenuParam_::__autoclassinit2_unsigned_int_
lea edx, [ebp - 0x98]
push edx
mov ecx, dword [ebp - 0x2e4]
call fcn.0047c780
push 4
lea ecx, [ebp - 0xc0]
call sym.xIns.exe_public:_void___thiscall_ReceiverImpl_int__struct_DuiLib::ContextMenuParam_::__autoclassinit2_unsigned_int_
lea eax, [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0x2e4]
call fcn.0047c7b0
jmp 0x4aee4b
lea ecx, [ebp - 0x98]
call fcn.004a1270
lea ecx, [ebp - 0xc0]
push ecx
lea ecx, [ebp - 0x98]
call fcn.0047d450
movzx edx, al
test edx, edx
je 0x4aef54
push 8
lea ecx, [ebp - 0xf0]
call sym.xIns.exe_public:_void___thiscall_ReceiverImpl_int__struct_DuiLib::ContextMenuParam_::__autoclassinit2_unsigned_int_
lea ecx, [ebp - 0x98]
call fcn.00473a00
push eax
lea ecx, [ebp - 0xf0]
call fcn.004a1290
mov byte [ebp - 4], 2
push 0x585478
lea ecx, [ebp - 0x368]
call fcn.00471c50
mov byte [ebp - 4], 3
push 0
lea eax, [ebp - 0x368]
push eax
lea ecx, [ebp - 0xf0]
call fcn.004a12e0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x330], esp
push eax
call fcn.00471bc0
mov dword [ebp - 0x310], eax
lea ecx, [ebp - 0x16c]
push ecx
call fcn.004804c0
add esp, 0x20
mov dword [ebp - 0x348], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x368]
call fcn.00471d30
push 0x585480
lea ecx, [ebp - 0x16c]
call fcn.0046d5c0
push eax
call fcn.00493500
add esp, 8
mov eax, dword [ebp - 0x2c0]
add eax, 1
mov dword [ebp - 0x2c0], eax
mov ecx, dword [ebp - 0x2c4]
push ecx
mov edx, dword [ebp - 0x2c0]
push edx
mov ecx, dword [ebp + 8]
call fcn.004af800
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x16c]
call fcn.0046d580
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf0]
call fcn.004a0750
jmp 0x4aee40
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x2dc], eax
push 4
lea ecx, [ebp - 0xa8]
call sym.xIns.exe_public:_void___thiscall_ReceiverImpl_int__struct_DuiLib::ContextMenuParam_::__autoclassinit2_unsigned_int_
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, dword [ebp - 0x2dc]
call fcn.00477690
push 4
lea ecx, [ebp - 0xb8]
call sym.xIns.exe_public:_void___thiscall_ReceiverImpl_int__struct_DuiLib::ContextMenuParam_::__autoclassinit2_unsigned_int_
lea edx, [ebp - 0xb8]
push edx
mov ecx, dword [ebp - 0x2dc]
call fcn.004776c0
jmp 0x4aefab
lea ecx, [ebp - 0xa8]
call fcn.0048bbf0
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004780c0
movzx ecx, al
test ecx, ecx
je 0x4af67f
lea ecx, [ebp - 0xa8]
call fcn.00477ff0
push eax
lea ecx, [ebp - 0xe8]
call fcn.004af7d0
mov byte [ebp - 4], 6
cmp dword [ebp - 0xe8], 0
jne 0x4af35b
push 0xc
lea ecx, [ebp - 0xd0]
call sym.xIns.exe_public:_void___thiscall_ReceiverImpl_int__struct_DuiLib::ContextMenuParam_::__autoclassinit2_unsigned_int_
lea ecx, [ebp - 0xd0]
call fcn.00478100
mov byte [ebp - 4], 7
lea edx, [ebp - 0xe4]
mov dword [ebp - 0x2e0], edx
push 4
lea ecx, [ebp - 0x9c]
call sym.xIns.exe_public:_void___thiscall_ReceiverImpl_int__struct_DuiLib::ContextMenuParam_::__autoclassinit2_unsigned_int_
lea eax, [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0x2e0]
call fcn.0047c780
push 4
lea ecx, [ebp - 0xb4]
call sym.xIns.exe_public:_void___thiscall_ReceiverImpl_int__struct_DuiLib::ContextMenuParam_::__autoclassinit2_unsigned_int_
lea ecx, [ebp - 0xb4]
push ecx
mov ecx, dword [ebp - 0x2e0]
call fcn.0047c7b0
jmp 0x4af063
lea ecx, [ebp - 0x9c]
call fcn.004b0220
lea edx, [ebp - 0xb4]
push edx
lea ecx, [ebp - 0x9c]
call fcn.0047d450
movzx eax, al
test eax, eax
je 0x4af1fe
lea ecx, [ebp - 0x9c]
call fcn.00473a00
push eax
lea ecx, [ebp - 0x22c]
call fcn.00491df0
mov byte [ebp - 4], 8
mov ecx, 1
test ecx, ecx
je 0x4af1c5
lea ecx, [ebp - 0x214]
call fcn.00471ed0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4af1ac
lea ecx, [ebp - 0x214]
call fcn.00471ed0
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x4af1ac
lea ecx, [ebp - 0x214]
call fcn.00471ed0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x4af0f7
jmp 0x4af1aa
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x318], esp
lea edx, [ebp - 0x214]
push edx
call fcn.00471bc0
mov dword [ebp - 0x338], eax
lea eax, [ebp - 0x184]
push eax
call fcn.004804c0
add esp, 0x20
mov dword [ebp - 0x320], eax
mov byte [ebp - 4], 9
push 0x58548c
lea ecx, [ebp - 0x184]
call fcn.0046d5c0
push eax
call fcn.00493500
add esp, 8
mov byte [ebp - 0x90], 0
push 0x7f
push 0
lea ecx, [ebp - 0x8f]
push ecx
call fcn.004c62d0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x214]
call fcn.00471ed0
push eax
push 0x585498
push 0x80
lea edx, [ebp - 0x90]
push edx
call fcn.004c3635
add esp, 0x14
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x184]
call fcn.0046d580
jmp 0x4af1be
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0xd0]
call fcn.0047c7e0
jmp 0x4af1c5
mov edx, dword [ebp - 0x2c0]
add edx, 1
mov dword [ebp - 0x2c0], edx
mov eax, dword [ebp - 0x2c4]
push eax
mov ecx, dword [ebp - 0x2c0]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004af800
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x22c]
call fcn.0048f460
jmp 0x4af058
mov dword [ebp - 0x2c8], 0
jmp 0x4af219
mov edx, dword [ebp - 0x2c8]
add edx, 1
mov dword [ebp - 0x2c8], edx
cmp dword [ebp - 0x2c8], 0xa
jge 0x4af33f
mov dword [ebp - 0x2cc], 0
push 4
lea ecx, [ebp - 0x94]
call sym.xIns.exe_public:_void___thiscall_ReceiverImpl_int__struct_DuiLib::ContextMenuParam_::__autoclassinit2_unsigned_int_
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0xd0]
call fcn.0047c780
lea ecx, [ebp - 0x2f4]
push ecx
lea ecx, [ebp - 0xd0]
call fcn.0047c7b0
push eax
lea ecx, [ebp - 0x94]
call fcn.0047d450
movzx edx, al
test edx, edx
je 0x4af32f
lea ecx, [ebp - 0x94]
call fcn.004b0240
mov ecx, eax
call fcn.00471ed0
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x4af2fd
lea ecx, [ebp - 0x94]
call fcn.004b0240
mov ecx, eax
call fcn.00471ed0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x4af2ce
lea ecx, [ebp - 0x94]
call fcn.0047d3f0
mov eax, dword [ebp - 0x2cc]
add eax, 1
mov dword [ebp - 0x2cc], eax
jmp 0x4af2fb
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x2e8], ecx
mov edx, dword [ebp - 0x2e8]
push edx
lea eax, [ebp - 0x2fc]
push eax
lea ecx, [ebp - 0xd0]
call fcn.004b00c0
mov ecx, dword [eax]
mov dword [ebp - 0x94], ecx
jmp 0x4af32a
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x2ec], edx
mov eax, dword [ebp - 0x2ec]
push eax
lea ecx, [ebp - 0x2f0]
push ecx
lea ecx, [ebp - 0xd0]
call fcn.004b00c0
mov edx, dword [eax]
mov dword [ebp - 0x94], edx
jmp 0x4af24f
cmp dword [ebp - 0x2cc], 0
jne 0x4af33a
jmp 0x4af33f
jmp 0x4af20a
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd0]
call fcn.004782a0
jmp 0x4af66b
cmp dword [ebp - 0xe8], 1
jne 0x4af536
lea eax, [ebp - 0xe4]
mov dword [ebp - 0x2d4], eax
push 4
lea ecx, [ebp - 0xa4]
call sym.xIns.exe_public:_void___thiscall_ReceiverImpl_int__struct_DuiLib::ContextMenuParam_::__autoclassinit2_unsigned_int_
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, dword [ebp - 0x2d4]
call fcn.0047c780
push 4
lea ecx, [ebp - 0xc4]
call sym.xIns.exe_public:_void___thiscall_ReceiverImpl_int__struct_DuiLib::ContextMenuParam_::__autoclassinit2_unsigned_int_
lea edx, [ebp - 0xc4]
push edx
mov ecx, dword [ebp - 0x2d4]
call fcn.0047c7b0
jmp 0x4af3bf
lea ecx, [ebp - 0xa4]
call fcn.004b0220
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0xa4]
call fcn.0047d450
movzx ecx, al
test ecx, ecx
je 0x4af531
lea ecx, [ebp - 0xa4]
call fcn.00473a00
push eax
lea ecx, [ebp - 0x274]
call fcn.00491df0
mov byte [ebp - 4], 0xa
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x30c], esp
lea edx, [ebp - 0x274]
push edx
call fcn.00471bc0
mov dword [ebp - 0x314], eax
lea eax, [ebp - 0x1cc]
push eax
call fcn.004804c0
add esp, 0x20
mov dword [ebp - 0x31c], eax
mov byte [ebp - 4], 0xb
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x324], esp
lea edx, [ebp - 0x25c]
push edx
call fcn.00471bc0
mov dword [ebp - 0x32c], eax
lea eax, [ebp - 0x13c]
push eax
call fcn.004804c0
add esp, 0x20
mov dword [ebp - 0x334], eax
mov byte [ebp - 4], 0xc
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x33c], esp
lea edx, [ebp - 0x244]
push edx
call fcn.00471bc0
mov dword [ebp - 0x344], eax
lea eax, [ebp - 0x124]
push eax
call fcn.004804c0
add esp, 0x20
mov dword [ebp - 0x350], eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x124]
call fcn.0046d5c0
push eax
lea ecx, [ebp - 0x13c]
call fcn.0046d5c0
push eax
lea ecx, [ebp - 0x1cc]
call fcn.0046d5c0
push eax
call fcn.004939f0
add esp, 0xc
mov ecx, dword [ebp - 0x2c0]
add ecx, 1
mov dword [ebp - 0x2c0], ecx
mov edx, dword [ebp - 0x2c4]
push edx
mov eax, dword [ebp - 0x2c0]
push eax
mov ecx, dword [ebp + 8]
call fcn.004af800
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x124]
call fcn.0046d580
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x13c]
call fcn.0046d580
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1cc]
call fcn.0046d580
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x274]
call fcn.0048f460
jmp 0x4af3b4
jmp 0x4af66b
cmp dword [ebp - 0xe8], 2
jne 0x4af66b
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0x2d0], ecx
push 4
lea ecx, [ebp - 0xac]
call sym.xIns.exe_public:_void___thiscall_ReceiverImpl_int__struct_DuiLib::ContextMenuParam_::__autoclassinit2_unsigned_int_
lea edx, [ebp - 0xac]
push edx
mov ecx, dword [ebp - 0x2d0]
call fcn.0047c780
push 4
lea ecx, [ebp - 0xb0]
call sym.xIns.exe_public:_void___thiscall_ReceiverImpl_int__struct_DuiLib::ContextMenuParam_::__autoclassinit2_unsigned_int_
lea eax, [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0x2d0]
call fcn.0047c7b0
jmp 0x4af59a
lea ecx, [ebp - 0xac]
call fcn.004b0220
lea ecx, [ebp - 0xb0]
push ecx
lea ecx, [ebp - 0xac]
call fcn.0047d450
movzx edx, al
test edx, edx
je 0x4af66b
lea ecx, [ebp - 0xac]
call fcn.00473a00
push eax
lea ecx, [ebp - 0x2bc]
call fcn.00491df0
mov byte [ebp - 4], 0xe
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x34c], esp
lea eax, [ebp - 0x2a4]
push eax
call fcn.00471bc0
mov dword [ebp - 0x2f8], eax
lea ecx, [ebp - 0x154]
push ecx
call fcn.004804c0
add esp, 0x20
mov dword [ebp - 0x328], eax
mov byte [ebp - 4], 0xf
push 0x5854b4
lea ecx, [ebp - 0x154]
call fcn.0046d5c0
push eax
call fcn.00493660
add esp, 8
mov edx, dword [ebp - 0x2c0]
add edx, 1
mov dword [ebp - 0x2c0], edx
mov eax, dword [ebp - 0x2c4]
push eax
mov ecx, dword [ebp - 0x2c0]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004af800
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x154]
call fcn.0046d580
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2bc]
call fcn.0048f460
jmp 0x4af58f
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe8]
call fcn.004927d0
jmp 0x4aefa0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xfc]
call fcn.004a1210
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.0048f3c0
jmp 0x4af6be
push 0
push 0x5854d4
push 0x5854dc
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x5854fc
lea edx, [ebp - 0x19c]
push edx
call fcn.004ab980
mov ecx, eax
call fcn.004abd70
mov dword [ebp - 4], 0x10
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x300], esp
lea eax, [ebp - 0x19c]
push eax
call fcn.00471bc0
mov dword [ebp - 0x340], eax
lea ecx, [ebp - 0x1e4]
push ecx
call fcn.004804c0
add esp, 0x20
mov dword [ebp - 0x308], eax
mov byte [ebp - 4], 0x11
lea edx, [ebp - 0x1e4]
push edx
push 0x585518
lea eax, [ebp - 0x1b4]
push eax
call fcn.004b0330
add esp, 0xc
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x1b4]
call fcn.0046d5c0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00493ad0
add esp, 8
push 2
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x374]
mov eax, dword [ebp + 8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x374]
mov eax, dword [edx + 0x1cc]
call eax
mov ecx, dword [ebp + 8]
call fcn.004af8b0
call fcn.004ab980
mov ecx, eax
call fcn.004ad350
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x1b4]
call fcn.0046d580
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x1e4]
call fcn.0046d580
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x19c]
call fcn.00471d30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c2ee0
mov esp, ebp
pop ebp
ret 4