Function at 0x409ff0
Capabilities:
Delete directory
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x8c
push 0xffffffffffffffff
push 0x4eb081
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x53b098]
xor eax, ebp
mov dword [ebp + 0x88], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x10], 0
push ecx
lea ecx, [ebp + 0x58]
movlpd qword [ebp - 0x1c], xmm0
call fcn.00404d60
mov dword [ebp - 4], 0
lea eax, [ebp + 0x58]
push 0x10
push eax
call fcn.0040cad0
add esp, 8
lea ecx, [ebp]
call fcn.00414360
mov byte [ebp - 4], 1
push 4
mov dword [ebp - 0x20], 0
call fcn.004c35b6
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 2
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 3
lea eax, [ebp + 0x58]
push 0x512a44
push eax
lea eax, [ebp + 0x70]
push eax
call fcn.0040af20
add esp, 0x10
mov byte [ebp - 4], 4
lea ecx, [ebp]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.004147d0
mov bl, al
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.004049a0
mov esi, dword [ebp - 0x20]
test bl, bl
je 0x40a450
lea ecx, [ebp]
call fcn.00414450
test al, al
jne 0x40a151
mov eax, dword [ebp + 0x20]
and eax, 0x10
or eax, 0
je 0x40a0e8
mov al, 1
jmp 0x40a0ea
xor al, al
test al, al
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp + 0x70]
push eax
je 0x40a123
call fcn.0040afd0
add esp, 0xc
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.00409ff0
mov edi, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.004049a0
jmp 0x40a15d
call fcn.0040afd0
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x70]
call fcn.0041d560
movzx eax, al
cdq
mov edi, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.004049a0
jmp 0x40a15d
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edi
lea eax, [ebp]
mov ecx, esi
push eax
call fcn.00414510
test al, al
je 0x40a325
lea ecx, [ebp + 0x28]
call fcn.00404e90
mov ebx, eax
nop word [eax + eax]
mov edi, dword [ebp + 0x20]
and edi, 0x10
mov ecx, edi
or ecx, 0
je 0x40a191
mov al, 1
jmp 0x40a193
xor al, al
test al, al
je 0x40a1e6
lea ecx, [ebp + 0x28]
call fcn.00404c10
test al, al
jne 0x40a1e6
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x40a1ad
mov eax, dword [ebx]
cmp word [eax], 0x2e
jne 0x40a1e6
lea ecx, [ebp + 0x28]
call fcn.00405040
cmp eax, 1
je 0x40a30f
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x40a1ce
mov eax, dword [ebx]
cmp word [eax + 2], 0x2e
jne 0x40a1e6
lea ecx, [ebp + 0x28]
call fcn.00405040
cmp eax, 2
je 0x40a30f
or edi, 0
je 0x40a1ef
mov al, 1
jmp 0x40a1f1
xor al, al
test al, al
je 0x40a285
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x70]
call fcn.00404d40
or dword [ebp - 0x10], 1
lea ecx, [ebp + 0x28]
mov dword [ebp - 0x24], eax
call fcn.00405040
lea ecx, [ebp + 0x58]
mov edi, eax
call fcn.00405040
add edi, eax
lea ecx, [ebp + 0x70]
push edi
call fcn.0040b460
lea ecx, [ebp + 0x58]
call fcn.00404e90
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x40a23b
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0x70]
call fcn.00405310
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x40a251
mov eax, dword [ebx]
push dword [ebx + 0x10]
lea ecx, [ebp + 0x70]
push eax
call fcn.00405310
mov ecx, dword [ebp - 0x24]
call fcn.00409ff0
mov edi, dword [ebp - 0x18]
add edi, eax
mov dword [ebp - 0x18], edi
adc dword [ebp - 0x14], edx
and dword [ebp - 0x10], 0xfffffffe
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.004049a0
jmp 0x40a312
mov byte [ebp - 4], 8
lea ecx, [ebp + 0x40]
call fcn.00404d40
or dword [ebp - 0x10], 2
lea ecx, [ebp + 0x28]
call fcn.00405040
lea ecx, [ebp + 0x58]
mov edi, eax
call fcn.00405040
add edi, eax
lea ecx, [ebp + 0x40]
push edi
call fcn.0040b460
lea ecx, [ebp + 0x58]
call fcn.00404e90
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x40a2c4
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0x40]
call fcn.00405310
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x40a2da
mov eax, dword [ebx]
push dword [ebx + 0x10]
lea ecx, [ebp + 0x40]
push eax
call fcn.00405310
lea ecx, [ebp + 0x40]
call fcn.0041d560
mov edi, dword [ebp - 0x18]
movzx eax, al
cdq
add edi, eax
mov dword [ebp - 0x18], edi
adc dword [ebp - 0x14], edx
and dword [ebp - 0x10], 0xfffffffd
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x40]
call fcn.004049a0
jmp 0x40a312
mov edi, dword [ebp - 0x18]
lea eax, [ebp]
mov ecx, esi
push eax
call fcn.00414510
test al, al
jne 0x40a180
mov ebx, dword [ebp - 0x14]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x40a340
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x40a340
mov dword [esi], 0xffffffff
lea ecx, [ebp + 0x58]
call fcn.00404c20
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x40a467
lea ecx, [ebp + 0x70]
call fcn.00404d40
mov byte [ebp - 4], 9
lea edx, [ebp + 0x70]
lea ecx, [ebp + 0x58]
call fcn.0041da10
test al, al
je 0x40a389
lea ecx, [ebp + 0x70]
call fcn.00404c20
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x40a45b
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.004049a0
lea ecx, [ebp + 0x58]
call fcn.0041d3b0
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
je 0x40a46d
push 0
lea ecx, [ebp + 0x58]
call fcn.00404c20
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x40a3f6
lea ecx, [ebp + 0x70]
call fcn.00404d40
mov byte [ebp - 4], 0xa
lea edx, [ebp + 0x70]
lea ecx, [ebp + 0x58]
call fcn.0041da10
test al, al
je 0x40a3ea
push 0
lea ecx, [ebp + 0x70]
call fcn.00404c20
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.004049a0
lea ecx, [ebp + 0x58]
call fcn.00404c20
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x40a467
lea ecx, [ebp + 0x70]
call fcn.00404d40
mov byte [ebp - 4], 0xb
lea edx, [ebp + 0x70]
lea ecx, [ebp + 0x58]
call fcn.0041da10
test al, al
je 0x40a437
lea ecx, [ebp + 0x70]
call fcn.00404c20
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x40a45b
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.004049a0
mov edx, dword [ebp - 0x24]
lea ecx, [ebp + 0x58]
call fcn.0041d300
jmp 0x40a46d
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
jmp 0x40a328
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.004049a0
add edi, 1
adc ebx, 0
mov byte [ebp - 4], 1
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x40a489
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x40a489
mov dword [esi], 0xffffffff
push 4
push esi
call fcn.004c35e6
add esp, 8
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x28]
call fcn.004049a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x58]
call fcn.004049a0
mov eax, edi
mov edx, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x88]
xor ecx, ebp
call fcn.004c35a5
lea esp, [ebp + 0x8c]
pop ebp
ret