Function at 0x41d2e0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push ebx
push esi
push 7
pop eax
push 3
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x5c]
pop esi
mov dword [ebp - 0x20], 0x574417f9
mov dword [ebp - 0x18], eax
push esi
call fcn.00415aed
xor ebx, ebx
mov dword [ebp - 0x30], ebx
jmp 0x41d31b
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x5c]
or dword [eax + ecx*4], 0xffffffff
inc dword [ebp - 0x30]
cmp dword [ebp - 0x30], esi
jl 0x41d30e
push edi
xor edi, edi
mov dword [ebp - 0x10], ebx
inc edi
jmp 0x41d4e6
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], 0x1ad7ba96
mov dword [ebp - 0x3c], 8
mov dword [ebp - 8], ebx
jmp 0x41d350
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xc], 0xffffffff
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jl 0x41d342
mov dword [ebp - 0xc], 0xffffffec
jmp 0x41d4d9
mov dword [ebp - 8], 0xfffffffa
mov dword [ebp - 4], ebx
jmp 0x41d37b
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x50], 0x650ba430
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x41d36d
mov dword [ebp - 4], ebx
jmp 0x41d396
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x90], 0xffffffff
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x41d385
cmp dword [ebp - 0x10], ebx
je 0x41d414
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, edi
setle cl
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x1c], eax
jg 0x41d3df
mov eax, edi
cmp dword [ebp - 0xc], ebx
jne 0x41d3e1
mov eax, ebx
mov edx, dword [ebp - 8]
xor ecx, ecx
add edx, eax
mov eax, dword [ebp - 0xc]
cmp edx, eax
mov edx, edi
setne cl
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x10]
imul eax, eax, 0x3b94
test eax, eax
jne 0x41d416
mov edx, ebx
mov eax, dword [ebp - 0xc]
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 8]
sete cl
imul eax, ecx
test eax, eax
je 0x41d4be
mov dword [ebp - 8], 0x45a3
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x20], ebx
jl 0x41d4d6
mov dword [ebp - 0x38], 0xfffffffd
mov dword [ebp - 4], ebx
jmp 0x41d47f
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], ebx
jl 0x41d47c
mov byte [ebp - 0x28], bl
cmp byte [ebp - 0x28], bl
je 0x41d477
push ebx
push ebx
push 0xeb2
push ebx
push 0x1c25
push ebx
push 0x17cd
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
dec dword [ebp - 0x18]
jns 0x41d455
inc dword [ebp - 4]
cmp dword [ebp - 4], ebx
jle 0x41d44d
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 8], ebx
jne 0x41d48f
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x50], edx
mov eax, dword [ebp - 8]
cmp eax, edx
setle cl
add ecx, ecx
mov dword [ebp - 0x90], ecx
dec dword [ebp - 0x20]
jns 0x41d441
jmp 0x41d4d6
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x90], eax
mov byte [ebp - 0x26], bl
cmp byte [ebp - 0x26], bl
je 0x41d4d6
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xfffffffd
jge 0x41d361
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jne 0x41d32c
mov eax, dword [ebp - 0x10]
add eax, 8
jne 0x41d50c
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
jne 0x41d50c
mov eax, dword [ebp - 0x5c]
mov esi, ebx
cmp dword [eax + 8], ebx
je 0x41d50e
mov esi, edi
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov eax, dword [ebp - 0x10]
cmp ecx, eax
setne dl
xor eax, eax
cmp esi, 0xffffffff
setl al
xor ecx, ecx
sub edx, eax
mov eax, dword [ebp - 0x5c]
cmp edx, dword [eax + 8]
setg cl
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x5c]
call fcn.00415bbf
push 2
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x80]
pop edi
push edi
call fcn.00415aed
mov dword [ebp - 0x14], ebx
jmp 0x41d559
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x48], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x41d54f
mov dword [ebp - 0x14], ebx
jmp 0x41d571
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x80]
or dword [eax + ecx*4], 0xffffffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x41d564
mov dword [ebp - 4], edi
cmp dword [ebp - 4], ebx
jl 0x41d6c6
push edi
lea ecx, [ebp - 0x68]
call fcn.00415aed
mov dword [ebp - 0x34], 0x9b41dbc4
mov dword [ebp - 0x24], 0xb167d3d8
mov dword [ebp - 0x2c], ebx
jmp 0x41d5aa
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x68]
mov dword [eax + ecx*4], edi
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], edi
jl 0x41d59e
mov esi, dword [ebp - 0x68]
mov dword [esi + 4], edi
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x34], 0xfffffffb
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x3c], 0x2089ce3
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x48]
mov eax, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
xor eax, eax
cmp dword [esi + 4], eax
setne al
xor ecx, ecx
cmp eax, 0xe0c0
sete cl
xor eax, eax
cmp dword [esi + 4], ecx
setge al
cmp eax, 1
jle 0x41d631
mov dword [ebp - 0x34], 0xfa1b4415
inc dword [ebp - 0x24]
jmp 0x41d6ac
mov dword [ebp - 8], ebx
mov dword [ebp - 0x24], ebx
jmp 0x41d6a7
mov eax, dword [esi + 4]
mov eax, dword [ebp + eax*4 - 0x48]
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x24], ebx
je 0x41d64b
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x34]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], edi
cmp dword [ebp - 0x1c], ebx
jl 0x41d6a4
mov dword [ebp - 8], ebx
cmp dword [ebp - 8], edi
jg 0x41d68f
mov edx, dword [ebp - 0x80]
mov eax, dword [esi + 4]
mov ecx, 0x8afc
mov eax, dword [ebp + eax*4 - 0x48]
sub ecx, eax
mov dword [edx + 4], ecx
mov eax, dword [esi + 4]
cmp dword [ebp + eax*4 - 0x48], ebx
jne 0x41d68f
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jle 0x41d66d
mov byte [ebp - 0x27], bl
cmp byte [ebp - 0x27], bl
je 0x41d69f
push ebx
push ebx
call dword [sym.imp.USER32.dll_CopyRect]
dec dword [ebp - 0x1c]
jns 0x41d662
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], edi
jle 0x41d639
dec dword [esi + 4]
jns 0x41d5b5
lea ecx, [ebp - 0x68]
call fcn.00415bbf
dec dword [ebp - 4]
jns 0x41d582
mov byte [ebp - 0x25], bl
pop edi
cmp byte [ebp - 0x25], bl
je 0x41d6d6
push ebx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea ecx, [ebp - 0x80]
call fcn.00415bbf
push 3
lea ecx, [ebp - 0x74]
call fcn.00415aed
lea eax, [ebp - 0x84]
mov dword [ebp - 0x4c], 0xef20fe6e
push eax
lea edx, [ebp - 0x74]
xor cl, cl
call fcn.0041cd3b
pop ecx
xor cl, cl
call fcn.0041c6ed
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x4c]
call fcn.0041d264
lea ecx, [ebp - 0x74]
call fcn.00415bbf
pop esi
pop ebx
mov esp, ebp
pop ebp
ret