Function at 0x1000f647
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1000f6e0
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x1000f6d3
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1000f6d1
push 0x5ffe
push 0x6068
push 0x7854
push 0x50b1
push 0x4c63
push 0x7d14
push 1
push 0x206c
push 0x7069
push 0x5924
push 0x5378
push 0x7da3
push 0x1da3
push 0x2435
push 0x1893
push 0x131a
push 0x3df7
push 0
call fcn.1000edd0
add esp, 0x48
jmp 0x1000f6db
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x1000f835
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x1000f75e
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x1000f73c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 1
jge 0x1000f759
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 0x40]
call fcn.1002106f
mov dword [eax], 0xd4463028
jmp 0x1000f731
jmp 0x1000f835
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x1000f7bd
mov eax, dword [ebp - 8]
cmp dword [eax], 6
jne 0x1000f7a3
mov dword [ebp - 0x10], 1
jmp 0x1000f7a7
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
add eax, 0x13a23
cmp eax, 0xfffffff7
je 0x1000f7bd
mov dword [ebp - 0x14], 1
jmp 0x1000f7c1
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
dec eax
mov ecx, dword [ebp - 8]
sub eax, dword [ecx]
mov dword [ebp - 0x18], eax
push 1
mov ecx, dword [ebp - 0x5c]
call fcn.1002106f
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
cmp dword [ebp - 0x18], 0
je 0x1000f7f4
mov eax, 0xd5be
test eax, eax
je 0x1000f7f4
mov dword [ebp - 0x1c], 1
jmp 0x1000f7f8
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
imul ecx, dword [ebp - 0x1c]
cmp dword [eax], ecx
jl 0x1000f811
mov dword [ebp - 0x20], 1
jmp 0x1000f815
and dword [ebp - 0x20], 0
imul eax, dword [ebp - 0x20], 0xfffffff9
mov ecx, dword [ebp - 8]
cmp eax, dword [ecx]
jle 0x1000f829
mov dword [ebp - 0x24], 1
jmp 0x1000f82d
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret