Function at 0x10099b0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
xor ebx, ebx
push 0x10
pop esi
xor eax, eax
cmp dword [ebp + 0xc], 1
mov ecx, esi
lea edi, [ebp - 0x58]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x14], ebx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
jne 0x10098a8
mov edi, reloc.MSVCP60.dll___1__basic_string_GU__char_traits_G_std__V__allocator_G_2__std__QAE_XZ
mov dword [ebp + 0xc], reloc.ADVAPI32.dll_RevertToSelf
jmp 0x10098b0
mov edi, reloc.MSVCP60.dll___1__basic_string_GU__char_traits_G_std__V__allocator_G_2__std__QAE_XZ
mov dword [ebp + 0xc], esi
mov eax, dword [ebp + 0xc]
shl eax, 4
push eax
call fcn.01035a36
cmp eax, ebx
mov dword [ebp - 0x10], eax
jne 0x10098cf
mov dword [ebp - 4], reloc.ADVAPI32.dll_RevertToSelf
jmp 0x1009a74
lea eax, [ebp - 0xc]
push eax
push 0x1004b04
push ebx
push ebx
push ebx
push 3
push 0x20
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_StgOpenStorageEx]
test eax, eax
jge 0x10098f8
mov dword [ebp - 4], reloc.KERNEL32.dll_HeapAlloc
jmp 0x1009a74
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push esi
push 0x1001a30
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x10098ec
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push esi
push edi
push dword [ebp + 0xc]
push eax
call dword [ecx + reloc.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jge 0x1009930
mov dword [ebp - 4], 0x1e
jmp 0x1009a74
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0x18], 1
mov dword [ebp + 8], ebx
jbe 0x1009a5b
add esi, 8
add edi, 4
cmp word [esi - 8], bx
je case.0x100996a.214
mov eax, dword [edi]
add eax, 0xffffff38
cmp eax, 0x73
ja case.0x100996a.214
movzx eax, byte [eax + 0x1009b19]
jmp dword [eax*4 + reloc.KERNEL32.dll_SetErrorMode]
push dword [esi]
call fcn.01035adb
mov dword [ebp - 0x58], eax
jmp 0x1009a3e
push dword [esi]
call fcn.01035adb
mov dword [ebp - 0x54], eax
jmp 0x1009a3e
push dword [esi]
call fcn.01035adb
mov dword [ebp - 0x50], eax
jmp 0x1009a3e
push dword [esi]
call fcn.01035adb
mov dword [ebp - 0x4c], eax
jmp 0x1009a3e
push dword [esi]
call fcn.01035adb
mov dword [ebp - 0x48], eax
jmp 0x1009a3e
push dword [esi]
call fcn.01035adb
mov dword [ebp - 0x44], eax
jmp 0x1009a3e
push dword [esi]
call fcn.01035adb
mov dword [ebp - 0x40], eax
jmp 0x1009a3e
push dword [esi]
call fcn.01035adb
mov dword [ebp - 0x3c], eax
jmp 0x1009a3e
push dword [esi]
call fcn.01035adb
mov dword [ebp - 0x38], eax
jmp 0x1009a3e
push dword [esi]
call fcn.01035adb
mov dword [ebp - 0x34], eax
jmp 0x1009a3e
push dword [esi]
call fcn.01035adb
mov dword [ebp - 0x30], eax
jmp 0x1009a3e
push dword [esi]
call fcn.01035adb
mov dword [ebp - 0x2c], eax
jmp 0x1009a3e
push dword [esi]
call fcn.01035adb
mov dword [ebp - 0x28], eax
jmp 0x1009a3e
push dword [esi]
call fcn.01035adb
mov dword [ebp - 0x24], eax
jmp 0x1009a3e
push dword [esi]
call fcn.01035adb
mov dword [ebp - 0x20], eax
jmp 0x1009a3e
push dword [esi]
call fcn.01035adb
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x1009aca
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
add edi, 8
add esi, 0x10
cmp eax, dword [ebp + 0xc]
jb 0x1009949
mov edi, dword [ebp + 0x10]
push 0x11
pop ecx
lea esi, [ebp - 0x5c]
mov dword [ebp - 0x5c], DocumentPropertiesW
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x1009a81
mov ecx, dword [eax]
push eax
call dword [ecx + LookupPrivilegeValueW]
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x1009a8e
mov ecx, dword [eax]
push eax
call dword [ecx + LookupPrivilegeValueW]
cmp dword [ebp - 0x18], 1
jne 0x1009aa0
push dword [ebp - 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ole32.dll_FreePropVariantArray]
push dword [ebp - 0x10]
call fcn.01035abf
cmp dword [ebp - 0x14], ebx
jne 0x1009ac0
push ebx
lea eax, [ebp - 0x5c]
push eax
call fcn.01036317
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x1009a74