Function at 0x41d22d
Capabilities:
Delete directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xab4
mov eax, dword [0x42b004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
xor edi, edi
mov dword [ebp - 0xab0], ebx
call fcn.0041e321
test eax, eax
je 0x41d266
test esi, esi
jne 0x41d266
and dword [ebp - 0xab4], ebx
jmp 0x41d270
mov dword [ebp - 0xab4], 1
call fcn.00425269
cmp eax, 6
jne 0x41d28c
call fcn.0041e14e
test eax, eax
je 0x41d28c
xor ebx, ebx
inc ebx
mov dword [ebp - 0xab0], ebx
call fcn.00427d43
test eax, eax
jne 0x41d5d7
push eax
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, 0x208
lea ecx, [ebp - 0x290]
push 0x401cf0
mov edx, esi
call fcn.004183cc
test eax, eax
js 0x41d5d1
push 0x403878
mov edx, esi
lea ecx, [ebp - 0x8a0]
call fcn.004183cc
test eax, eax
js 0x41d5d1
push 0x9b
push 0x4038c0
lea eax, [ebp - 0x490]
push 0x200
push eax
call fcn.004184ca
add esp, 0x10
test eax, eax
js 0x41d5d1
push 0x403a10
mov edx, 0x80
lea ecx, [ebp - 0x88]
call fcn.004183cc
test eax, eax
js 0x41d5d1
test ebx, ebx
jne 0x41d351
push esi
call fcn.004293af
mov edi, eax
pop ecx
test edi, edi
je 0x41d351
lea eax, [ebp - 0xaac]
mov dword [ebp - 0xaac], esi
xor ecx, ecx
mov edx, edi
push eax
inc ecx
call fcn.0041d7cf
test eax, eax
jne 0x41d351
push edi
call fcn.004293bf
pop ecx
xor edi, edi
push esi
call fcn.004293af
mov ebx, eax
pop ecx
test ebx, ebx
je 0x41d390
lea eax, [ebp - 0xaac]
mov dword [ebp - 0xaac], 0x104
push eax
mov edx, ebx
xor ecx, ecx
call fcn.0041dc19
test eax, eax
je 0x41d387
mov ecx, ebx
call fcn.00424fe2
test eax, eax
jne 0x41d390
push ebx
call fcn.004293bf
pop ecx
xor ebx, ebx
push esi
call fcn.004293af
mov esi, eax
pop ecx
test esi, esi
je 0x41d3ce
push 0
lea edx, [ebp - 0xaac]
mov dword [ebp - 0xaac], 0x104
mov ecx, esi
call fcn.0041de52
test eax, eax
je 0x41d3c5
mov ecx, esi
call fcn.00424fe2
test eax, eax
jne 0x41d3ce
push esi
call fcn.004293bf
pop ecx
xor esi, esi
cmp dword [ebp - 0xab0], 0
jne 0x41d3f4
cmp dword [ebp - 0xab4], 0
jne 0x41d3e9
xor edx, edx
mov ecx, edi
call fcn.0041c160
test edi, edi
je 0x41d3f4
push edi
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test esi, esi
je 0x41d3ff
push esi
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test ebx, ebx
je 0x41d40a
push ebx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
cmp dword [ebp - 0xab0], 0
jne 0x41d420
cmp dword [ebp - 0xab4], 0
je 0x41d5a9
push 0x403918
mov edx, 0x208
lea ecx, [ebp - 0x698]
call fcn.004183cc
lea ecx, [ebp - 0x290]
call fcn.0041cc60
push 0x402148
mov edx, 0x208
lea ecx, [ebp - 0xaa8]
call fcn.004183cc
test ebx, ebx
je 0x41d4d8
xor edx, edx
mov ecx, 0x403964
call fcn.00425bcb
test eax, eax
je 0x41d4be
call fcn.0041d0f5
lea eax, [ebp - 0x8a0]
mov edx, ebx
push eax
sub esp, 0xc
lea eax, [ebp - 0x290]
lea ecx, [ebp - 0x290]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x490]
push eax
lea eax, [ebp - 0x698]
push eax
lea eax, [ebp - 0xaa8]
push eax
call fcn.0041cd61
test eax, eax
js 0x41d4d8
push 0
push ebx
push 5
push 0x1000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
jmp 0x41d4d8
xor edx, edx
mov ecx, 0x403964
inc edx
call fcn.00425bcb
test eax, eax
jne 0x41d4d8
xor edx, edx
mov ecx, ebx
call fcn.0041c160
test edi, edi
je 0x41d5a9
xor edx, edx
mov ecx, 0x403984
inc edx
call fcn.00425bcb
test eax, eax
je 0x41d55a
cmp dword [ebp - 0xab0], 0
jne 0x41d5a9
lea eax, [ebp - 0x8a0]
mov edx, edi
push eax
sub esp, 0xc
lea eax, [ebp - 0x290]
lea ecx, [ebp - 0x290]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x490]
push eax
lea eax, [ebp - 0x698]
push eax
lea eax, [ebp - 0xaa8]
push eax
call fcn.0041cd61
test eax, eax
js 0x41d548
push 0
push edi
push 5
push 0x1000
jmp 0x41d5a3
push eax
push 0x4039b4
push 2
call fcn.00427cda
add esp, 0xc
jmp 0x41d5a9
test esi, esi
je 0x41d5a9
lea eax, [ebp - 0x8a0]
mov edx, esi
push eax
sub esp, 0xc
lea eax, [ebp - 0x290]
lea ecx, [ebp - 0x290]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x490]
push eax
lea eax, [ebp - 0x698]
push eax
lea eax, [ebp - 0xaa8]
push eax
call fcn.0041cd61
test eax, eax
js 0x41d5a9
push 0
push esi
push 5
push 0x10
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
test ebx, ebx
je 0x41d5b4
push ebx
call fcn.004293bf
pop ecx
test esi, esi
je 0x41d5c6
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push esi
call fcn.004293bf
pop ecx
test edi, edi
je 0x41d5d1
push edi
call fcn.004293bf
pop ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00429770
mov esp, ebp
pop ebp
ret