Function at 0x100f0570
Capabilities:
Delete directory

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x78
push 0xffffffffffffffff
push 0x10183037
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x101fe854]
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.100ef290
lea ecx, [ebp + 4]
call fcn.10105ed0
mov byte [ebp - 4], 1
push 4
mov dword [ebp], 0
call fcn.1015f474
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 0x101c10f4
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.10106210
mov bl, al
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x5c]
call fcn.100047b0
mov esi, dword [ebp]
test bl, bl
je 0x100f07bc
mov ecx, dword [ebp + 0x24]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x100f064b
mov al, 1
jmp 0x100f064d
xor al, al
test al, al
je 0x100f068f
mov edx, dword [ebp + 0x3c]
test edx, edx
je 0x100f068f
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 0x100f068f
cmp edx, 1
je 0x100f0687
cmp edi, 8
lea eax, [ebp + 0x2c]
cmovae eax, ebx
cmp word [eax + 2], 0x2e
jne 0x100f068f
cmp edx, 2
jne 0x100f068f
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
jmp 0x100f06e5
or ecx, 0
je 0x100f0698
mov al, 1
jmp 0x100f069a
xor al, al
test al, al
lea edx, [ebp + 0x44]
lea eax, [ebp + 0x2c]
lea ecx, [ebp + 0x5c]
push eax
je 0x100f06bd
call fcn.10066900
add esp, 4
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.100f0570
jmp 0x100f06d5
call fcn.10066900
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x5c]
call fcn.1010fa90
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.10105fd0
test al, al
je 0x100f07c2
mov ecx, dword [ebp + 0x24]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x100f0709
mov al, 1
jmp 0x100f070b
xor al, al
test al, al
je 0x100f0743
mov edx, dword [ebp + 0x3c]
test edx, edx
je 0x100f0743
cmp dword [ebp + 0x40], 8
lea eax, [ebp + 0x2c]
cmovae eax, dword [ebp + 0x2c]
cmp word [eax], 0x2e
jne 0x100f0743
cmp edx, 1
je 0x100f07a7
cmp dword [ebp + 0x40], 8
lea eax, [ebp + 0x2c]
cmovae eax, dword [ebp + 0x2c]
cmp word [eax + 2], 0x2e
jne 0x100f0743
cmp edx, 2
je 0x100f07a7
or ecx, 0
je 0x100f074c
mov al, 1
jmp 0x100f074e
xor al, al
test al, al
lea edx, [ebp + 0x44]
lea eax, [ebp + 0x2c]
push eax
je 0x100f077c
lea ecx, [ebp - 0x30]
call fcn.10066900
add esp, 4
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.100f0570
add ebx, eax
adc edi, edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
jmp 0x100f07a2
lea ecx, [ebp + 0x5c]
call fcn.10066900
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp + 0x5c]
call fcn.1010fa90
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.10105fd0
test al, al
jne 0x100f06f8
jmp 0x100f07c2
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x100f07da
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x100f07da
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 0x100f08d7
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.101100a0
test al, al
je 0x100f0835
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 0x100f08cb
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x5c]
call fcn.100047b0
lea ecx, [ebp + 0x44]
call fcn.1010f6f0
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x100f08dd
xor edx, edx
lea ecx, [ebp + 0x44]
call fcn.1010f610
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 0x100f08d7
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.101100a0
test al, al
je 0x100f08b2
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 0x100f08cb
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x5c]
call fcn.100047b0
mov edx, dword [ebp - 0x10]
lea ecx, [ebp + 0x44]
call fcn.1010f610
jmp 0x100f08dd
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 0x100f08f9
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x100f08f9
mov dword [esi], 0xffffffff
push 4
push esi
call fcn.1015f4a4
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.1015f463
lea esp, [ebp + 0x78]
pop ebp
ret