Function at 0x10144c1
Capabilities:
Delete directory
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa90
mov eax, dword [0x102a0ec]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 4
mov dword [ebp - 4], eax
mov dword [ebp - 0xa8c], ebx
call fcn.01017179
push ebx
mov dword [ebp - 0xa88], eax
call dword [sym.imp.ole32.dll_CoInitialize]
mov edi, 0x208
push edi
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
mov dword [ebp - 0xa78], eax
mov esi, 0x104
je 0x101456f
push edi
push eax
call fcn.01028264
test eax, eax
jl 0x101455d
push esi
lea eax, [ebp - 0x464]
push eax
push 2
push dword [0x102aec0]
call dword [sym.imp.USER32.dll_LoadStringW]
push dword [ebp - 0xa78]
call fcn.01016cfc
lea eax, [ebp - 0x464]
push eax
push esi
push dword [ebp - 0xa78]
call fcn.0100d4ff
push dword [ebp - 0xa78]
call fcn.01018429
test eax, eax
jne 0x101456f
push dword [ebp - 0xa78]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [ebp - 0xa78], ebx
push edi
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
mov dword [ebp - 0xa7c], eax
je 0x10145c4
lea ecx, [ebp - 0xa90]
push ecx
push eax
xor eax, eax
cmp dword [ebp - 0xa88], ebx
mov dword [ebp - 0xa90], esi
sete al
push eax
call fcn.01015fca
test eax, eax
je 0x10145b2
push dword [ebp - 0xa7c]
call fcn.01018429
test eax, eax
jne 0x10145c4
push dword [ebp - 0xa7c]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [ebp - 0xa7c], ebx
push edi
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
mov dword [ebp - 0xa80], eax
je 0x1014619
lea ecx, [ebp - 0xa90]
push ecx
push eax
xor eax, eax
cmp dword [ebp - 0xa88], ebx
mov dword [ebp - 0xa90], esi
sete al
push eax
call fcn.010161e9
test eax, eax
je 0x1014607
push dword [ebp - 0xa80]
call fcn.01018429
test eax, eax
jne 0x1014619
push dword [ebp - 0xa80]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [ebp - 0xa80], ebx
push edi
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
cmp edi, ebx
pop ecx
mov dword [ebp - 0xa84], edi
je 0x101465e
push 4
lea eax, [ebp - 0xa90]
push eax
push edi
mov dword [ebp - 0xa90], esi
call fcn.01016266
test eax, eax
je 0x101464f
push edi
call fcn.01018429
test eax, eax
jne 0x101465e
push edi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [ebp - 0xa84], ebx
mov edi, ebx
cmp dword [ebp - 0xa78], ebx
jne 0x101467e
cmp dword [ebp - 0xa7c], ebx
jne 0x101467e
cmp dword [ebp - 0xa80], ebx
jne 0x101467e
cmp edi, ebx
je 0x1014add
push dword [ebp - 0xa78]
call fcn.01016cfc
push dword [ebp - 0xa7c]
call fcn.01016cfc
push dword [ebp - 0xa80]
call fcn.01016cfc
push edi
call fcn.01016cfc
mov dword [ebp - 0xa88], ebx
mov edi, 0x12b
mov eax, dword [ebp - 0xa88]
sub eax, ebx
push esi
je 0x101470d
dec eax
je 0x1014702
dec eax
je 0x10146f7
dec eax
je 0x10146ec
dec eax
je 0x10146e1
dec eax
je 0x10146d6
dec eax
lea eax, [ebp - 0x20c]
push eax
push 0x10
jmp 0x1014716
lea eax, [ebp - 0x20c]
push eax
push 0x11
jmp 0x1014716
lea eax, [ebp - 0x20c]
push eax
push 0xe
jmp 0x1014716
lea eax, [ebp - 0x20c]
push eax
push 0xf
jmp 0x1014716
lea eax, [ebp - 0x20c]
push eax
push 0xb
jmp 0x1014716
lea eax, [ebp - 0x20c]
push eax
push 3
jmp 0x1014716
lea eax, [ebp - 0x20c]
push eax
push 0x6e
push dword [0x102aec0]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp dword [ebp - 0xa78], ebx
je 0x101475d
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0xa78]
lea eax, [ebp - 0x464]
push 0x1005aa4
push edi
push eax
call fcn.0100d4d1
add esp, 0x14
test eax, eax
jl 0x101475d
lea eax, [ebp - 0x464]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0xa7c], ebx
je 0x1014798
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0xa7c]
lea eax, [ebp - 0x464]
push 0x1005aa4
push edi
push eax
call fcn.0100d4d1
add esp, 0x14
test eax, eax
jl 0x1014798
lea eax, [ebp - 0x464]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0xa80], ebx
je 0x10147d3
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0xa80]
lea eax, [ebp - 0x464]
push 0x1005aa4
push edi
push eax
call fcn.0100d4d1
add esp, 0x14
test eax, eax
jl 0x10147d3
lea eax, [ebp - 0x464]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0xa84], ebx
je 0x101480e
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0xa84]
lea eax, [ebp - 0x464]
push 0x1005aa4
push edi
push eax
call fcn.0100d4d1
add esp, 0x14
test eax, eax
jl 0x101480e
lea eax, [ebp - 0x464]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc dword [ebp - 0xa88]
cmp dword [ebp - 0xa88], 7
jl 0x10146b0
push esi
push ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.010190e9
test eax, eax
je 0x10149e9
lea eax, [ebp - 0x20c]
push eax
call fcn.01016cfc
push 0x1002570
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0100d4ff
lea eax, [ebp - 0x20c]
push eax
call fcn.01016f8a
test eax, eax
jne 0x1014895
push esi
push ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.010190e9
test eax, eax
je 0x1014895
lea eax, [ebp - 0x20c]
push eax
call fcn.01016cfc
push 0x1002668
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0100d4ff
lea eax, [ebp - 0x20c]
push eax
call fcn.01016f8a
test eax, eax
je 0x10149e9
push esi
lea eax, [ebp - 0x86c]
push eax
call fcn.010139a9
lea eax, [ebp - 0x20c]
push eax
call fcn.010138a8
push ebx
push 0xa28
push ebx
push 5
call fcn.01018dae
test eax, eax
je 0x101492c
push esi
lea eax, [ebp - 0xa74]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
test eax, eax
je 0x1014949
push 0x9b
push 0x1005b68
lea eax, [ebp - 0x664]
push 0xff
push eax
call fcn.0100d4d1
add esp, 0x10
test eax, eax
jl 0x1014949
push 0x82
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
mov dword [ebp - 0xa8c], eax
je 0x1014949
push 0x10058f4
push 0x40
push eax
call fcn.0100c535
jmp 0x1014949
push 0x100
lea eax, [ebp - 0x664]
push eax
push 0xa0
push dword [0x102aec0]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp dword [ebp + 8], ebx
je 0x1014981
push dword [ebp - 0xa84]
call fcn.01018429
test eax, eax
je 0x10149e9
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0xa8c]
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x86c]
push eax
push dword [ebp - 0xa84]
jmp 0x10149dd
push dword [ebp - 0xa80]
call fcn.01018429
test eax, eax
je 0x10149b0
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0xa8c]
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x86c]
push eax
push dword [ebp - 0xa80]
jmp 0x10149dd
push dword [ebp - 0xa7c]
call fcn.01018429
test eax, eax
je 0x10149e9
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0xa8c]
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x86c]
push eax
push dword [ebp - 0xa7c]
lea eax, [ebp - 0x20c]
push eax
call fcn.01013a9b
cmp dword [ebp - 0xa78], ebx
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, dword [sym.imp.SHELL32.dll_SHChangeNotify]
je 0x1014a22
push dword [ebp - 0xa78]
call edi
push ebx
push dword [ebp - 0xa78]
push 5
push 0x10
call esi
push ebx
push dword [ebp - 0xa78]
push 5
push 0x1000
call esi
cmp dword [ebp - 0xa7c], ebx
je 0x1014a3f
push dword [ebp - 0xa7c]
call edi
push ebx
push dword [ebp - 0xa7c]
push 5
push 0x10
call esi
cmp dword [ebp - 0xa80], ebx
je 0x1014a5c
push dword [ebp - 0xa80]
call edi
push ebx
push dword [ebp - 0xa80]
push 5
push 0x10
call esi
cmp dword [ebp - 0xa84], ebx
je 0x1014a79
push dword [ebp - 0xa84]
call edi
push ebx
push dword [ebp - 0xa84]
push 5
push 0x10
call esi
cmp dword [ebp - 0xa78], ebx
je 0x1014a8d
push dword [ebp - 0xa78]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
cmp dword [ebp - 0xa7c], ebx
je 0x1014aa1
push dword [ebp - 0xa7c]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
cmp dword [ebp - 0xa80], ebx
je 0x1014ab5
push dword [ebp - 0xa80]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
cmp dword [ebp - 0xa84], ebx
je 0x1014ac9
push dword [ebp - 0xa84]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
cmp dword [ebp - 0xa8c], ebx
je 0x1014add
push dword [ebp - 0xa8c]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0101672d
leave
ret 4