Function at 0x1002be50
Capabilities:
Delete directory
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x78
push 0xffffffffffffffff
push 0x100e47af
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10123068]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
push ecx
lea ecx, [ebp + 0x44]
movlpd qword [ebp - 0x14], xmm0
call fcn.1000a930
mov dword [ebp - 4], 0
mov edx, 0x10
lea ecx, [ebp + 0x44]
call fcn.10031920
lea ecx, [ebp + 4]
call fcn.10037ee0
mov byte [ebp - 4], 1
push 4
mov dword [ebp - 0x18], 0
call fcn.100ba085
mov dword [ebp], eax
mov byte [ebp - 4], 2
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
lea edx, [ebp + 0x44]
push 0x10107c98
lea ecx, [ebp + 0x5c]
call fcn.1000c6a0
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp + 4]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.10038290
mov bl, al
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x5c]
call fcn.10002b50
mov esi, dword [ebp - 0x18]
test bl, bl
je 0x1002c0ca
lea ecx, [ebp + 4]
call fcn.10038020
test al, al
jne 0x1002bfa0
mov eax, dword [ebp + 0x24]
and eax, 0x10
or eax, 0
je 0x1002bf35
mov al, 1
jmp 0x1002bf37
xor al, al
test al, al
lea edx, [ebp + 0x44]
lea eax, [ebp + 0x2c]
lea ecx, [ebp + 0x5c]
push eax
je 0x1002bf70
call fcn.1000c770
add esp, 4
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.1002be50
mov ebx, eax
mov edi, edx
mov dword [ebp - 0x10], ebx
mov dword [ebp], edi
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x5c]
call fcn.10002b50
jmp 0x1002bfac
call fcn.1000c770
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x5c]
call fcn.1003d240
movzx eax, al
cdq
mov ebx, eax
mov dword [ebp - 0x10], eax
mov edi, edx
mov dword [ebp], edx
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x5c]
call fcn.10002b50
jmp 0x1002bfac
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
mov dword [ebp], edi
mov dword [ebp - 0x10], ebx
lea eax, [ebp + 4]
mov ecx, esi
push eax
call fcn.10038090
test al, al
je 0x1002c0d0
nop
mov edi, dword [ebp + 0x24]
and edi, 0x10
mov eax, edi
or eax, 0
je 0x1002bfd1
mov al, 1
jmp 0x1002bfd3
xor al, al
test al, al
je 0x1002c02c
lea ecx, [ebp + 0x2c]
call fcn.10002af0
test al, al
jne 0x1002c02c
lea ecx, [ebp + 0x2c]
call fcn.10002b60
mov ebx, eax
cmp dword [ebx + 0x14], 8
jb 0x1002bff5
mov eax, dword [ebx]
cmp word [eax], 0x2e
jne 0x1002c02c
lea ecx, [ebp + 0x2c]
call fcn.10002b00
cmp eax, 1
je 0x1002c0af
cmp dword [ebx + 0x14], 8
jb 0x1002c014
mov ebx, dword [ebx]
cmp word [ebx + 2], 0x2e
jne 0x1002c02c
lea ecx, [ebp + 0x2c]
call fcn.10002b00
cmp eax, 2
je 0x1002c0af
or edi, 0
je 0x1002c035
mov al, 1
jmp 0x1002c037
xor al, al
test al, al
lea edx, [ebp + 0x44]
lea eax, [ebp + 0x2c]
push eax
je 0x1002c076
lea ecx, [ebp - 0x30]
call fcn.1000c770
add esp, 4
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.1002be50
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp]
add ebx, eax
mov dword [ebp - 0x10], ebx
adc edi, edx
mov dword [ebp], edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.10002b50
jmp 0x1002c0b5
lea ecx, [ebp + 0x5c]
call fcn.1000c770
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp + 0x5c]
call fcn.1003d240
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp]
movzx eax, al
cdq
add ebx, eax
mov dword [ebp - 0x10], ebx
adc edi, edx
mov dword [ebp], edi
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x5c]
call fcn.10002b50
jmp 0x1002c0b5
mov edi, dword [ebp]
mov ebx, dword [ebp - 0x10]
lea eax, [ebp + 4]
mov ecx, esi
push eax
call fcn.10038090
test al, al
jne 0x1002bfc0
jmp 0x1002c0d0
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1002c0e8
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x1002c0e8
mov dword [esi], 0xffffffff
lea ecx, [ebp + 0x44]
call fcn.10002b10
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1002c204
lea ecx, [ebp + 0x5c]
call fcn.100093e0
mov byte [ebp - 4], 9
lea edx, [ebp + 0x5c]
lea ecx, [ebp + 0x44]
call fcn.1003d6f0
test al, al
je 0x1002c131
lea ecx, [ebp + 0x5c]
call fcn.10002b10
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1002c1f8
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x5c]
call fcn.10002b50
lea ecx, [ebp + 0x44]
call fcn.1003d090
mov dword [ebp], eax
cmp eax, 0xffffffff
je 0x1002c20a
push 0
lea ecx, [ebp + 0x44]
call fcn.10002b10
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1002c19e
lea ecx, [ebp + 0x5c]
call fcn.100093e0
mov byte [ebp - 4], 0xa
lea edx, [ebp + 0x5c]
lea ecx, [ebp + 0x44]
call fcn.1003d6f0
test al, al
je 0x1002c192
push 0
lea ecx, [ebp + 0x5c]
call fcn.10002b10
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x5c]
call fcn.10002b50
lea ecx, [ebp + 0x44]
call fcn.10002b10
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1002c204
lea ecx, [ebp + 0x5c]
call fcn.100093e0
mov byte [ebp - 4], 0xb
lea edx, [ebp + 0x5c]
lea ecx, [ebp + 0x44]
call fcn.1003d6f0
test al, al
je 0x1002c1df
lea ecx, [ebp + 0x5c]
call fcn.10002b10
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1002c1f8
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x5c]
call fcn.10002b50
mov edx, dword [ebp]
lea ecx, [ebp + 0x44]
call fcn.1003cfe0
jmp 0x1002c20a
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x5c]
call fcn.10002b50
add ebx, 1
adc edi, 0
mov byte [ebp - 4], 1
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1002c226
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x1002c226
mov dword [esi], 0xffffffff
push 4
push esi
call fcn.100ba418
add esp, 8
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x2c]
call fcn.10002b50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x44]
call fcn.10002b50
mov eax, ebx
mov edx, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
call fcn.100ba074
lea esp, [ebp + 0x78]
pop ebp
ret