Function at 0x100f22d0
Capabilities:
Delete directory

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x78
push 0xffffffffffffffff
push 0x10184f77
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10200854]
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 - 0x18], xmm0
call fcn.10004e10
mov dword [ebp - 4], 0
mov edx, 0x10
lea ecx, [ebp + 0x44]
call fcn.100f0fe0
lea ecx, [ebp + 4]
call fcn.10107c40
mov byte [ebp - 4], 1
push 4
mov dword [ebp], 0
call fcn.101611e4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 1
mov dword [ebp], eax
mov byte [ebp - 4], 3
lea edx, [ebp + 0x44]
push 0x101c32b8
lea ecx, [ebp + 0x5c]
call fcn.1000e4a0
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp + 4]
push ecx
push eax
lea ecx, [ebp]
call fcn.10107f80
mov bl, al
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x5c]
call fcn.100047b0
mov esi, dword [ebp]
test bl, bl
je 0x100f251c
mov ecx, dword [ebp + 0x24]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x100f23ab
mov al, 1
jmp 0x100f23ad
xor al, al
test al, al
je 0x100f23ef
mov edx, dword [ebp + 0x3c]
test edx, edx
je 0x100f23ef
mov edi, dword [ebp + 0x40]
lea eax, [ebp + 0x2c]
mov ebx, dword [ebp + 0x2c]
cmp edi, 8
cmovae eax, ebx
cmp word [eax], 0x2e
jne 0x100f23ef
cmp edx, 1
je 0x100f23e7
cmp edi, 8
lea eax, [ebp + 0x2c]
cmovae eax, ebx
cmp word [eax + 2], 0x2e
jne 0x100f23ef
cmp edx, 2
jne 0x100f23ef
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
jmp 0x100f2445
or ecx, 0
je 0x100f23f8
mov al, 1
jmp 0x100f23fa
xor al, al
test al, al
lea edx, [ebp + 0x44]
lea eax, [ebp + 0x2c]
lea ecx, [ebp + 0x5c]
push eax
je 0x100f241d
call fcn.10066900
add esp, 4
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.100f22d0
jmp 0x100f2435
call fcn.10066900
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x5c]
call fcn.10111810
movzx eax, al
cdq
mov edi, edx
mov ebx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x5c]
call fcn.100047b0
lea eax, [ebp + 4]
mov ecx, esi
push eax
call fcn.10107d40
test al, al
je 0x100f2522
mov ecx, dword [ebp + 0x24]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x100f2469
mov al, 1
jmp 0x100f246b
xor al, al
test al, al
je 0x100f24a3
mov edx, dword [ebp + 0x3c]
test edx, edx
je 0x100f24a3
cmp dword [ebp + 0x40], 8
lea eax, [ebp + 0x2c]
cmovae eax, dword [ebp + 0x2c]
cmp word [eax], 0x2e
jne 0x100f24a3
cmp edx, 1
je 0x100f2507
cmp dword [ebp + 0x40], 8
lea eax, [ebp + 0x2c]
cmovae eax, dword [ebp + 0x2c]
cmp word [eax + 2], 0x2e
jne 0x100f24a3
cmp edx, 2
je 0x100f2507
or ecx, 0
je 0x100f24ac
mov al, 1
jmp 0x100f24ae
xor al, al
test al, al
lea edx, [ebp + 0x44]
lea eax, [ebp + 0x2c]
push eax
je 0x100f24dc
lea ecx, [ebp - 0x30]
call fcn.10066900
add esp, 4
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.100f22d0
add ebx, eax
adc edi, edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
jmp 0x100f2502
lea ecx, [ebp + 0x5c]
call fcn.10066900
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp + 0x5c]
call fcn.10111810
movzx eax, al
cdq
add ebx, eax
adc edi, edx
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x5c]
call fcn.100047b0
lea eax, [ebp + 4]
mov ecx, esi
push eax
call fcn.10107d40
test al, al
jne 0x100f2458
jmp 0x100f2522
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x100f253a
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x100f253a
mov dword [esi], 0xffffffff
cmp dword [ebp + 0x58], 8
lea eax, [ebp + 0x44]
cmovae eax, dword [ebp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x100f2637
mov dword [ebp + 0x6c], eax
mov dword [ebp + 0x70], eax
mov dword [ebp + 0x6c], eax
mov dword [ebp + 0x70], 7
mov word [ebp + 0x5c], ax
mov byte [ebp - 4], 9
lea edx, [ebp + 0x5c]
lea ecx, [ebp + 0x44]
call fcn.10111e20
test al, al
je 0x100f2595
cmp dword [ebp + 0x70], 8
lea eax, [ebp + 0x5c]
cmovae eax, dword [ebp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x100f262b
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x5c]
call fcn.100047b0
lea ecx, [ebp + 0x44]
call fcn.10111470
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x100f263d
xor edx, edx
lea ecx, [ebp + 0x44]
call fcn.10111390
cmp dword [ebp + 0x58], 8
lea ecx, [ebp + 0x44]
cmovae ecx, dword [ebp + 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x100f2637
mov dword [ebp + 0x6c], eax
mov dword [ebp + 0x70], eax
mov dword [ebp + 0x6c], eax
mov dword [ebp + 0x70], 7
mov word [ebp + 0x5c], ax
mov byte [ebp - 4], 0xa
lea edx, [ebp + 0x5c]
lea ecx, [ebp + 0x44]
call fcn.10111e20
test al, al
je 0x100f2612
cmp dword [ebp + 0x70], 8
lea eax, [ebp + 0x5c]
cmovae eax, dword [ebp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x100f262b
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x5c]
call fcn.100047b0
mov edx, dword [ebp - 0x10]
lea ecx, [ebp + 0x44]
call fcn.10111390
jmp 0x100f263d
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x5c]
call fcn.100047b0
add ebx, 1
adc edi, 0
mov byte [ebp - 4], 1
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x100f2659
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x100f2659
mov dword [esi], 0xffffffff
push 4
push esi
call fcn.10161214
add esp, 8
mov dword [ebp], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x2c]
call fcn.100047b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x44]
call fcn.100047b0
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.101611d3
lea esp, [ebp + 0x78]
pop ebp
ret