Function at 0x1003a79f
Capabilities:
Delete directory

Disassembly:
push 0x2c
mov eax, 0x100889a6
call fcn.100853c9
mov edi, ecx
mov dword [ebp - 0x18], edi
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x20]
push edx
xor ebx, ebx
and dword [ebp - 0x20], ebx
mov eax, dword [ecx]
push ecx
mov dword [ebp - 0x24], ebx
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x100a0bc0]
call esi
test eax, eax
js 0x1003a8ce
cmp dword [ebp - 0x20], ebx
jbe 0x1003a8ce
and dword [ebp - 0x1c], 0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
and dword [ebp - 4], 0
push ecx
push ebx
mov esi, dword [eax]
push eax
mov ecx, dword [esi + 0x1c]
call dword [0x100a0bc0]
call dword [esi + 0x1c]
test eax, eax
js 0x1003a8a3
and dword [ebp - 0x38], 0
and dword [ebp - 0x34], 0
and dword [ebp - 0x30], 0
and dword [ebp - 0x2c], 0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x38]
mov ecx, dword [ebp - 0x1c]
call fcn.100393b1
test eax, eax
js 0x1003a89b
xor edi, edi
cmp dword [ebp - 0x34], edi
jbe 0x1003a89b
cmp edi, dword [ebp - 0x34]
jae 0x1003a975
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x18]
push dword [esi + edi*4]
call fcn.1003a6bf
test eax, eax
js 0x1003a892
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.1003c77d
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1003a878
mov ecx, dword [eax]
push dword [esi + edi*4]
push eax
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x100a0bc0]
call esi
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
test eax, eax
je 0x1003a895
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100a0bc0]
call esi
jmp 0x1003a895
mov dword [ebp - 0x24], eax
inc edi
cmp edi, dword [ebp - 0x34]
jb 0x1003a83a
lea ecx, [ebp - 0x38]
call fcn.1003833f
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1003a8be
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100a0bc0]
call esi
inc ebx
cmp ebx, dword [ebp - 0x20]
jb 0x1003a7e0
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x24]
mov eax, dword [edi + 0x18]
lea edx, [ebp - 0x28]
and dword [ebp - 0x28], 0
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x58]
mov ecx, esi
call dword [0x100a0bc0]
call esi
test eax, eax
js 0x1003a93e
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x1003a93b
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 3
mov ecx, dword [eax + 0x18]
lea eax, [ebp - 0x14]
push eax
lea eax, [edi - 1]
push eax
mov esi, dword [ecx]
push ecx
mov ecx, dword [esi + 0x5c]
call dword [0x100a0bc0]
call dword [esi + 0x5c]
test eax, eax
js 0x1003a929
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
sub edi, 1
jne 0x1003a8f4
mov edi, dword [ebp - 0x18]
xor esi, esi
test ebx, ebx
jns 0x1003a955
push 1
push esi
push 3
push esi
push 0x77
push esi
push ebx
mov ecx, edi
call fcn.10039d8d
push esi
push esi
push 0x1000
push esi
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
push ecx
push esi
lea ecx, [edi + 0x24]
call fcn.1003cd86
call fcn.10085378
ret 4
push 0x80070057
call dword [sym.imp.PhotoBase.dll_void___stdcall_ATL::BaseAtlThrow_long_int_]
int3