Function at 0x40f184
Capabilities:
Delete directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd20
push ebx
push esi
push edi
mov eax, 0x569374
call fcn.00544234
mov dword [ebp - 0x2b8], 1
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.005527d4
inc dword [ebp - 0x2b8]
mov word [ebp - 0x2c4], 0xc
mov byte [ebp - 0x2d5], 0
mov word [ebp - 0x2c4], 0x18
mov word [ebp - 0x2c4], 0x24
xor edx, edx
mov dword [ebp - 0x274], edx
lea ecx, [ebp - 0x274]
push ecx
inc dword [ebp - 0x2b8]
cmp dword [ebp + 0xc], 0
je 0x40f201
lea eax, [ebp + 0xc]
push eax
call fcn.00403214
pop ecx
mov edx, dword [eax + 8]
jmp 0x40f203
xor edx, edx
lea eax, [ebp + 0xc]
mov ecx, 1
call fcn.00552c50
lea eax, [ebp - 0x274]
push eax
mov edx, 0x568d0d
lea eax, [ebp - 0x278]
call fcn.00552794
inc dword [ebp - 0x2b8]
lea edx, [ebp - 0x278]
pop eax
call fcn.005529f8
push eax
dec dword [ebp - 0x2b8]
lea eax, [ebp - 0x278]
mov edx, 2
call fcn.00552924
dec dword [ebp - 0x2b8]
lea eax, [ebp - 0x274]
mov edx, 2
call fcn.00552924
pop ecx
test cl, cl
je 0x40f2d2
mov word [ebp - 0x2c4], 0x30
xor eax, eax
mov dword [ebp - 0x27c], eax
lea edx, [ebp - 0x27c]
push edx
inc dword [ebp - 0x2b8]
cmp dword [ebp + 0xc], 0
je 0x40f29e
lea ecx, [ebp + 0xc]
push ecx
call fcn.00403214
pop ecx
mov ecx, dword [eax + 8]
jmp 0x40f2a0
xor ecx, ecx
dec ecx
lea eax, [ebp + 0xc]
mov edx, 1
call fcn.00552c50
lea edx, [ebp - 0x27c]
lea eax, [ebp + 0xc]
call fcn.0055294c
dec dword [ebp - 0x2b8]
lea eax, [ebp - 0x27c]
mov edx, 2
call fcn.00552924
mov word [ebp - 0x2c4], 0x3c
lea edi, [ebp - 0x270]
xor eax, eax
mov ecx, 0x270
rep stosb byte es:[edi], al
lea eax, [ebp - 0x270]
mov dword [ebp - 0x2dc], eax
mov eax, dword [ebp - 0x2dc]
add eax, 0x14
call fcn.00407850
inc dword [ebp - 0x2b8]
inc dword [ebp - 0x2b8]
mov word [ebp - 0x2c4], 0x48
mov dword [ebp - 0x2e0], 0x1ff
mov word [ebp - 0x2c4], 0x54
mov edx, 0x568d0f
lea eax, [ebp - 0x280]
call fcn.00552794
inc dword [ebp - 0x2b8]
lea edx, [ebp - 0x280]
xor ecx, ecx
mov dword [ebp - 0x284], ecx
lea ecx, [ebp - 0x284]
inc dword [ebp - 0x2b8]
lea eax, [ebp + 0xc]
call fcn.00552974
lea edx, [ebp - 0x284]
push edx
mov edx, 0x568d11
lea eax, [ebp - 0x288]
call fcn.00552794
inc dword [ebp - 0x2b8]
lea edx, [ebp - 0x288]
xor eax, eax
mov dword [ebp - 0x28c], eax
lea ecx, [ebp - 0x28c]
inc dword [ebp - 0x2b8]
pop eax
call fcn.00552974
lea eax, [ebp - 0x28c]
mov eax, dword [eax]
lea ecx, [ebp - 0x270]
mov edx, dword [ebp - 0x2e0]
call fcn.00464c0c
test eax, eax
sete al
and eax, 1
push eax
dec dword [ebp - 0x2b8]
lea eax, [ebp - 0x28c]
mov edx, 2
call fcn.00552924
dec dword [ebp - 0x2b8]
lea eax, [ebp - 0x288]
mov edx, 2
call fcn.00552924
dec dword [ebp - 0x2b8]
lea eax, [ebp - 0x284]
mov edx, 2
call fcn.00552924
dec dword [ebp - 0x2b8]
lea eax, [ebp - 0x280]
mov edx, 2
call fcn.00552924
pop ecx
test cl, cl
je 0x40f74a
mov word [ebp - 0x2c4], 0x60
test byte [ebp - 0x260], 0x10
je 0x40f5f9
mov word [ebp - 0x2c4], 0x6c
mov edx, 0x568d15
lea eax, [ebp - 0x290]
call fcn.00552794
inc dword [ebp - 0x2b8]
lea edx, [ebp - 0x290]
lea eax, [ebp - 0x25c]
call fcn.005529f8
test al, al
jne 0x40f4b9
mov edx, 0x568d17
lea eax, [ebp - 0x294]
call fcn.00552794
inc dword [ebp - 0x2b8]
lea edx, [ebp - 0x294]
lea eax, [ebp - 0x25c]
call fcn.005529f8
test al, al
setne cl
and ecx, 1
push ecx
dec dword [ebp - 0x2b8]
lea eax, [ebp - 0x294]
mov edx, 2
call fcn.00552924
pop ecx
test ecx, ecx
je 0x40f4bd
xor eax, eax
jmp 0x40f4c2
mov eax, 1
push eax
dec dword [ebp - 0x2b8]
lea eax, [ebp - 0x290]
mov edx, 2
call fcn.00552924
pop ecx
test cl, cl
je 0x40f710
mov word [ebp - 0x2c4], 0x78
mov edx, 0x568d1a
lea eax, [ebp - 0x298]
call fcn.00552794
inc dword [ebp - 0x2b8]
lea edx, [ebp - 0x298]
xor eax, eax
mov dword [ebp - 0x29c], eax
lea ecx, [ebp - 0x29c]
inc dword [ebp - 0x2b8]
lea eax, [ebp + 0xc]
call fcn.00552974
lea eax, [ebp - 0x29c]
xor edx, edx
mov dword [ebp - 0x2a0], edx
lea ecx, [ebp - 0x2a0]
inc dword [ebp - 0x2b8]
lea edx, [ebp - 0x25c]
call fcn.00552974
lea eax, [ebp - 0x2a0]
push dword [eax]
push dword [ebp + 8]
call fcn.0040f184
add esp, 8
test al, al
sete cl
and ecx, 1
push ecx
dec dword [ebp - 0x2b8]
lea eax, [ebp - 0x2a0]
mov edx, 2
call fcn.00552924
dec dword [ebp - 0x2b8]
lea eax, [ebp - 0x29c]
mov edx, 2
call fcn.00552924
dec dword [ebp - 0x2b8]
lea eax, [ebp - 0x298]
mov edx, 2
call fcn.00552924
pop ecx
test cl, cl
je 0x40f710
xor eax, eax
push eax
dec dword [ebp - 0x2b8]
dec dword [ebp - 0x2b8]
lea eax, [ebp - 0x25c]
mov edx, 2
call fcn.00552924
dec dword [ebp - 0x2b8]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.00552924
pop eax
mov edx, dword [ebp - 0x2d4]
mov dword fs:[0], edx
jmp 0x40f7da
push 0x80
mov word [ebp - 0x2c4], 0x84
xor ecx, ecx
mov dword [ebp - 0x2a4], ecx
lea ecx, [ebp - 0x2a4]
inc dword [ebp - 0x2b8]
lea edx, [ebp - 0x25c]
lea eax, [ebp + 0xc]
call fcn.00552974
cmp dword [ebp - 0x2a4], 0
je 0x40f63a
mov eax, dword [ebp - 0x2a4]
jmp 0x40f63f
mov eax, 0x568d1c
push eax
call sub.KERNEL32.DLL_SetFileAttributesW
dec dword [ebp - 0x2b8]
lea eax, [ebp - 0x2a4]
mov edx, 2
call fcn.00552924
mov word [ebp - 0x2c4], 0x90
mov edx, 0x568d1e
lea eax, [ebp - 0x2a8]
call fcn.00552794
inc dword [ebp - 0x2b8]
lea edx, [ebp - 0x2a8]
xor eax, eax
mov dword [ebp - 0x2ac], eax
lea ecx, [ebp - 0x2ac]
inc dword [ebp - 0x2b8]
lea eax, [ebp + 0xc]
call fcn.00552974
lea eax, [ebp - 0x2ac]
xor edx, edx
mov dword [ebp - 0x2b0], edx
lea ecx, [ebp - 0x2b0]
inc dword [ebp - 0x2b8]
lea edx, [ebp - 0x25c]
call fcn.00552974
lea eax, [ebp - 0x2b0]
mov eax, dword [eax]
call fcn.00551834
dec dword [ebp - 0x2b8]
lea eax, [ebp - 0x2b0]
mov edx, 2
call fcn.00552924
dec dword [ebp - 0x2b8]
lea eax, [ebp - 0x2ac]
mov edx, 2
call fcn.00552924
dec dword [ebp - 0x2b8]
lea eax, [ebp - 0x2a8]
mov edx, 2
call fcn.00552924
lea eax, [ebp - 0x270]
call fcn.00464c5c
test eax, eax
je 0x40f42d
mov byte [ebp - 0x2d5], 1
mov word [ebp - 0x2c4], 0x48
jmp 0x40f74a
lea eax, [ebp - 0x270]
call fcn.00464c80
cmp byte [ebp - 0x2d5], 0
je 0x40f774
cmp dword [ebp + 0xc], 0
je 0x40f769
mov edx, dword [ebp + 0xc]
jmp 0x40f76e
mov edx, 0x568d20
push edx
call sub.KERNEL32.DLL_RemoveDirectoryW
dec dword [ebp - 0x2b8]
dec dword [ebp - 0x2b8]
lea eax, [ebp - 0x25c]
mov edx, 2
call fcn.00552924
mov word [ebp - 0x2c4], 0x18
mov word [ebp - 0x2c4], 0xc
jmp 0x40f7b2
mov al, byte [ebp - 0x2d5]
push eax
dec dword [ebp - 0x2b8]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.00552924
pop eax
mov edx, dword [ebp - 0x2d4]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret