Function at 0x1001e0af
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push ebx
push esi
push edi
mov dword [ebp - 4], 0x5d6c05ba
mov bl, dl
xor edx, edx
mov dword [ebp - 0x14], 0x9643747c
push 1
mov dword [ebp - 0x10], edx
mov edi, ecx
mov dword [ebp - 4], edx
pop esi
jmp 0x1001e1e2
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 8], edx
jmp 0x1001e0f7
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x18], 0xeede0b40
inc dword [ebp - 8]
cmp dword [ebp - 8], esi
jl 0x1001e0e9
mov dword [ebp - 8], edx
jmp 0x1001e10f
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x38], 0xd9751230
inc dword [ebp - 8]
cmp dword [ebp - 8], esi
jl 0x1001e101
mov dword [ebp - 0x18], 0xfffffffd
cmp dword [ebp - 0x18], 0xffffffe8
jle 0x1001e1df
mov dword [ebp - 0x10], 0xa8fad749
mov dword [ebp - 0x24], edx
mov dword [ebp - 8], edx
jmp 0x1001e142
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x70], 0xfad5befa
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jl 0x1001e134
mov eax, dword [ebp - 0x68]
xor edx, edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
inc ecx
imul ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
push 0
cmp eax, ecx
mov eax, dword [ebp - 0x10]
setle dl
xor ecx, ecx
cmp edx, eax
pop edx
sete cl
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x68]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x70]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
sub ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
cmp ecx, 0xf6679856
sbb eax, eax
xor ecx, ecx
neg eax
cmp eax, esi
setg cl
sub ecx, dword [ebp - 0x68]
neg ecx
sbb ecx, ecx
inc ecx
mov dword [ebp - 0x24], ecx
dec dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0xffffffe8
jg 0x1001e125
dec dword [ebp - 4]
cmp dword [ebp - 4], 0xfffffffa
jne 0x1001e0dd
test bl, bl
je 0x1001e4a0
push 4
mov dword [ebp - 8], 0xe2db
mov dword [ebp - 4], edx
pop ebx
jmp 0x1001e214
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x98], 0xe57ad95e
inc dword [ebp - 4]
cmp dword [ebp - 4], ebx
jl 0x1001e203
dec dword [ebp - 8]
mov esi, dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 8], edx
jmp 0x1001e25d
mov byte [ebp - 9], dl
cmp byte [ebp - 9], 0
je 0x1001e246
push edx
push edx
call edi
push eax
call esi
push eax
call dword [sym.imp.GDI32.dll_SelectPalette]
xor edx, edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + eax*4 - 0x98]
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x98], ecx
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jle 0x1001e22d
mov dword [ebp - 8], 0xb743d837
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 4], edx
jmp 0x1001e284
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x64], 0x82062403
inc dword [ebp - 4]
cmp dword [ebp - 4], ebx
jl 0x1001e276
mov dword [ebp - 4], edx
jmp 0x1001e29c
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x40], 0x142b9193
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x1001e28e
mov dword [ebp - 4], edx
jmp 0x1001e2b8
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xa8], 0xffff
inc dword [ebp - 4]
cmp dword [ebp - 4], ebx
jl 0x1001e2a7
xor ebx, ebx
mov dword [ebp - 8], edx
inc ebx
cmp dword [ebp - 8], 3
jg 0x1001e33c
push 0xfffffffffffffffc
pop eax
mov dword [ebp - 0x10], 8
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], edx
dec dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
cmp eax, dword [ebp - 0x64]
jle 0x1001e2fe
cmp dword [ebp - 0x64], edx
je 0x1001e300
mov edx, ebx
mov eax, dword [ebp - 8]
xor ecx, ecx
push 0
mov eax, dword [ebp + eax*4 - 0x64]
cmp eax, edx
pop edx
setl cl
mov dword [ebp - 0x7c], ecx
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
push 0xfffffffffffffffc
mov eax, dword [ebp + eax*4 - 0x64]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x1c], ebx
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
pop eax
jle 0x1001e2cc
mov dword [ebp - 8], edx
jmp 0x1001e384
mov dword [ebp - 4], 0xf18
xor edx, edx
mov eax, dword [ebp - 0xa8]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp ecx, eax
setl dl
mov dword [ebp - 0x40], edx
xor edx, edx
mov byte [ebp - 9], dl
cmp byte [ebp - 9], dl
je 0x1001e381
push edx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor edx, edx
inc dword [ebp - 8]
cmp dword [ebp - 8], 9
jl 0x1001e341
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x1001e460
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], 0x6d4f2887
mov dword [ebp - 0x14], 0x664dc9ed
mov dword [ebp - 8], 0x85faafe3
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], 0x12afd77c
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 4], edx
jmp 0x1001e3d9
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x78], 0x87a5eafb
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x1001e3cb
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x10], eax
jle 0x1001e408
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
xor edx, edx
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
setge dl
imul ecx, edx
xor edx, edx
cmp ecx, eax
setl dl
imul edx, dword [ebp - 0x28]
xor ebx, ebx
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], ebx
jmp 0x1001e451
mov byte [ebp - 9], bl
cmp byte [ebp - 9], bl
je 0x1001e44e
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
inc dword [ebp - 8]
cmp dword [ebp - 8], 1
jle 0x1001e43f
push ebx
call dword [sym.imp.GDI32.dll_CreatePalette]
jmp 0x1001e462
xor ebx, ebx
mov dword [ebp - 8], 4
mov byte [ebp - 9], bl
cmp byte [ebp - 9], 0
je 0x1001e484
push 0x2009
push ebx
call edi
push eax
call esi
push eax
call dword [sym.imp.GDI32.dll_Polyline]
mov dword [ebp - 8], ebx
jmp 0x1001e495
cmp dword [ebp - 8], ebx
jne 0x1001e775
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x13
jl 0x1001e489
jmp 0x1001e775
mov dword [ebp - 8], esi
mov dword [ebp - 0x14], 0xb0cadfb1
mov dword [ebp - 4], edx
jmp 0x1001e4bd
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x20], 8
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x1001e4af
mov dword [ebp - 4], edx
jmp 0x1001e4d5
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x54], 0xfffffff6
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x1001e4c7
mov dword [ebp - 4], edx
jmp 0x1001e4ee
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x4c], 0x90f9986e
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jl 0x1001e4e0
mov dword [ebp - 0x20], edx
jmp 0x1001e50e
mov byte [ebp - 9], dl
cmp byte [ebp - 9], 0
je 0x1001e50b
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor edx, edx
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0x1d
jne 0x1001e4f9
inc dword [ebp - 0x4c]
xor edx, edx
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
cmp ecx, eax
mov eax, dword [ebp - 0x14]
setg dl
xor ebx, ebx
cmp edx, eax
mov eax, dword [ebp - 0x50]
setle bl
xor ecx, ecx
imul ebx, eax
mov eax, dword [ebp - 0x54]
cmp ebx, eax
mov eax, dword [ebp - 0x20]
setne cl
imul ecx, esi
sub eax, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x14]
jl 0x1001e557
mov eax, dword [ebp - 0x4c]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 8]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x54], eax
jne 0x1001e57e
xor ebx, ebx
cmp dword [ebp - 0x4c], ebx
jne 0x1001e580
xor esi, esi
mov eax, ebx
inc esi
jmp 0x1001e585
xor ebx, ebx
xor esi, esi
inc esi
mov eax, esi
mov dword [ebp - 0x20], eax
cmp byte [edi], 0
je 0x1001e775
mov dword [ebp - 4], 0xf72b5725
mov dword [ebp - 0x10], 0x2fa5d872
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], 0x5dbd55a
mov dword [ebp - 0x28], 0x26a8acdd
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 4]
dec eax
neg eax
sbb eax, eax
inc eax
sub eax, dword [ebp - 4]
neg eax
sbb eax, eax
xor edx, edx
inc eax
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
cmp ecx, eax
mov eax, dword [ebp - 4]
setge dl
xor ecx, ecx
cmp edx, eax
setg cl
xor edx, edx
imul ecx, dword [ebp - 4]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
cmp ecx, eax
mov eax, dword [ebp - 8]
setl dl
sub eax, edx
je 0x1001e603
mov edx, esi
cmp dword [ebp - 0x14], ebx
jne 0x1001e605
mov edx, ebx
mov eax, dword [ebp - 4]
xor ecx, ecx
cmp edx, eax
setge cl
xor edx, edx
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp eax, 0xfffffffd
mov eax, dword [ebp - 4]
setl dl
xor ecx, ecx
cmp eax, edx
setge cl
xor eax, eax
cmp ecx, 0xf1ef
setg al
add eax, dword [ebp - 4]
neg eax
sbb eax, eax
inc eax
cmp eax, dword [ebp - 4]
jg 0x1001e646
mov ecx, esi
cmp dword [ebp - 0x10], ebx
jne 0x1001e648
mov ecx, ebx
xor eax, eax
cmp ecx, esi
push 9
setne al
pop ecx
cmp ecx, eax
sbb eax, eax
inc eax
sub eax, dword [ebp - 4]
je 0x1001e663
mov edx, esi
cmp dword [ebp - 8], ebx
jne 0x1001e665
mov edx, ebx
mov eax, dword [ebp - 4]
add edx, 0x3633e7a3
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
setg cl
cmp ecx, dword [ebp - 0x28]
jne 0x1001e687
mov ecx, ebx
cmp dword [ebp - 8], ebx
je 0x1001e689
mov ecx, esi
mov eax, dword [ebp - 4]
imul eax, ecx
sub eax, 0x7fad5407
je 0x1001e69b
cmp dword [ebp - 0x14], ebx
jne 0x1001e6a4
cmp dword [ebp - 8], ebx
je 0x1001e753
mov dword [ebp - 0x28], esi
mov dword [ebp - 8], ebx
jmp 0x1001e6ba
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x34], 0x3232af72
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jl 0x1001e6ac
mov esi, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 8], ebx
jmp 0x1001e6e0
mov byte [ebp - 9], bl
cmp byte [ebp - 9], 0
je 0x1001e6dd
call esi
push eax
call dword [sym.imp.USER32.dll_IsIconic]
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffe7
jle 0x1001e6cb
cmp dword [ebp - 4], ebx
je 0x1001e724
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x34], 0xfff8
mov eax, dword [ebp - 0x34]
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setg cl
add ecx, 0x7874d2d
jne 0x1001e70d
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 8]
jne 0x1001e729
cmp dword [ebp - 0x34], ebx
je 0x1001e74b
mov byte [ebp - 9], bl
cmp byte [ebp - 9], 0
je 0x1001e742
push ebx
push ebx
push 0x3c4
call esi
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 8], 0xffffffff
jmp 0x1001e763
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
jmp 0x1001e763
mov byte [ebp - 9], bl
cmp byte [ebp - 9], 0
je 0x1001e763
push ebx
call dword [sym.imp.USER32.dll_RegisterClassA]
push ebx
push 0x2541
push 0x24fa
push ebx
call dword [sym.imp.GDI32.dll_GetPaletteEntries]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret