Function at 0x1000feb5
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
movzx eax, byte [ebp + 0x2c]
test eax, eax
je 0x1000ff4c
lea eax, [ebp + 0x14]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x1000fef3
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x1000ff47
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x1000ff2a
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 0x1000ff47
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 0x6c]
call fcn.1000bcce
mov dword [eax], 0xfffffffe
jmp 0x1000ff1f
jmp 0x10010205
mov eax, dword [ebp + 8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x38]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xac]
movzx eax, byte [eax]
test eax, eax
je 0x10010000
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1000ffdb
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 3
jge 0x1000fffb
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x84]
call fcn.1000bcce
mov dword [eax], 0x87f2fb5a
jmp 0x1000ffd0
jmp 0x10010205
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0xfffffffc
jb 0x10010095
mov dword [ebp - 0x2c], 1
jmp 0x10010099
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0x478c9dff
jne 0x100100ab
mov dword [ebp - 0x14], 1
jmp 0x100100af
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
cmp dword [ebp - 0x14], 0xfff7
ja 0x100100c9
mov dword [ebp - 0x44], 1
jmp 0x100100cd
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
add ecx, dword [ebp - 0x44]
cmp dword [eax], ecx
jne 0x100100e5
mov dword [ebp - 0x24], 1
jmp 0x100100e9
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
jl 0x100100fc
mov dword [ebp - 0x3c], 1
jmp 0x10010100
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x3c], eax
jge 0x10010113
mov dword [ebp - 0x18], 1
jmp 0x10010117
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x18], eax
jg 0x1001012a
mov dword [ebp - 0x10], 1
jmp 0x1001012e
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
push 2
mov ecx, dword [ebp - 0xb8]
call fcn.1000bcce
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp dword [ebp - 0x10], 0
jne 0x1001015c
mov eax, dword [ebp - 0x4c]
cmp dword [eax], 0
jne 0x1001015c
and dword [ebp - 0x34], 0
jmp 0x10010163
mov dword [ebp - 0x34], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x34], eax
jle 0x10010176
mov dword [ebp - 0x1c], 1
jmp 0x1001017a
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [eax]
jne 0x10010195
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
je 0x10010195
mov dword [ebp - 0x28], 1
jmp 0x10010199
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0xffffffff
jb 0x100101a8
mov dword [ebp - 0x30], 1
jmp 0x100101ac
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
jle 0x100101bf
mov dword [ebp - 0x40], 1
jmp 0x100101c3
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x40]
dec ecx
imul ecx, ecx, 0x7279
cmp dword [eax], ecx
jle 0x100101e7
mov dword [ebp - 0x48], 1
jmp 0x100101eb
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
add eax, 0x2e8326ad
mov ecx, dword [ebp - 0x50]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret