Function at 0x10007a96
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10059d4d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10007b45
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x10007b29
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x10007b0d
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 2
jge 0x10007b27
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x44]
call fcn.1000e35b
or dword [eax], 0xffffffff
jmp 0x10007b02
jmp 0x10007b40
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
jmp 0x10007c6c
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x10007b86
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x10007b81
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x10007c6c
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x70], eax
xor eax, eax
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
shr eax, 1
inc eax
push eax
lea ecx, [ebp - 0x7c]
call fcn.1000e47b
and dword [ebp - 4], 0
and dword [ebp - 0x1c], 0
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x7c]
call fcn.1000e5e8
dec eax
mov dword [ebp - 0x68], eax
jmp 0x10007bda
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x68]
jae 0x10007c46
push dword [ebp - 0x18]
lea ecx, [ebp - 0x7c]
call fcn.1000e5f0
mov dword [ebp - 0x6c], eax
and dword [ebp - 0x20], 0
jmp 0x10007c04
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], 2
jae 0x10007c44
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
add eax, dword [ebp - 0x1c]
xor edx, edx
div dword [0x100725ec]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
movzx edx, byte [eax + edx]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx]
movzx ecx, byte [ecx + eax]
call fcn.10001ac7
mov ecx, dword [ebp - 0x6c]
add ecx, dword [ebp - 0x20]
mov byte [ecx], al
jmp 0x10007bf6
jmp 0x10007bd3
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x70]
call fcn.1000e51f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.1000e51a
jmp 0x10007c6c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret