Function at 0x1001d69a
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10065bb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push esi
push edi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001d7f7
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x68], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x1001d7a7
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call fcn.1001352b
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x74]
call fcn.1001ee75
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
xor edx, edx
push 2
pop ecx
div ecx
test edx, edx
jne 0x1001d77c
lea eax, [ebp - 0x98]
push eax
call fcn.10010d88
pop ecx
mov esi, eax
lea edi, [ebp - 0x8c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x8c]
lea edi, [ebp - 0x80]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call fcn.1001360f
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push 1
push 1
push 0x38d2
push 0x574b
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1001bc94
add esp, 0x20
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x60]
call fcn.1001ef26
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.1001ef21
jmp 0x1001d87b
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x1001d7d5
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 4
jge 0x1001d7f2
mov eax, dword [ebp - 0x10]
push dword [eax]
mov ecx, dword [ebp - 0x4c]
call fcn.1000155c
mov dword [eax], 0x4198d72a
jmp 0x1001d7ca
jmp 0x1001d87b
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x1001d85d
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1001d847
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], 0x28
jl 0x1001d85b
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x1001d83c
jmp 0x1001d87b
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x1001d87b
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret