Function at 0x100b8070
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f271e
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x1012d034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x2d8], esi
mov dword [ebp - 0x2cc], ecx
xor ebx, ebx
mov dword [ebp - 0x2d0], ebx
mov eax, dword [0x101327f4]
test al, 1
jne 0x100b80e4
or eax, 1
mov dword [0x101327f8], ebx
push 0x100f7380
mov dword [0x101327f4], eax
mov dword [0x101327fc], ebx
mov dword [0x10132800], ebx
call fcn.100ebe7b
add esp, 4
mov ecx, dword [0x101327fc]
mov eax, 0x2aaaaaab
sub ecx, dword [0x101327f8]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x100b8413
push str.C:Users_
lea ecx, [ebp - 0x70]
call fcn.10001f10
push 0x1010a228
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10007140
push 0x24c
lea eax, [ebp - 0x2bc]
mov byte [ebp - 4], 1
push 0
push eax
mov dword [ebp - 0x2c0], 0
call sub.MSVCR120.dll_memset
add esp, 0x18
lea ecx, [ebp - 0x2c0]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x2dc], esi
cmp esi, 0xffffffff
jne 0x100b81b5
cmp dword [ebp - 0x2c], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x100b818b
push dword [ebp - 0x40]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x100b81ad
push dword [ebp - 0x70]
call esi
add esp, 4
or eax, 0xffffffff
jmp 0x100b8564
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jmp 0x100b81c0
test byte [ebp - 0x2c0], 0x10
je 0x100b8378
cmp word [ebp - 0x294], 0x2e
je 0x100b82b4
push 7
xor eax, eax
mov dword [ebp - 0x14], 7
push str.Default
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.10001e10
mov byte [ebp - 4], 2
or ebx, 1
cmp word [ebp - 0x294], 0
mov dword [ebp - 0x2d0], ebx
jne 0x100b8219
xor ecx, ecx
jmp 0x100b8231
lea ecx, [ebp - 0x294]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100b8222
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x294]
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push 0
call fcn.100032d0
test eax, eax
je 0x100b82b4
push str.Public
lea ecx, [ebp - 0x58]
call fcn.10001f10
mov edx, eax
mov dword [ebp - 4], 3
or ebx, 2
cmp word [ebp - 0x294], 0
mov dword [ebp - 0x2d0], ebx
jne 0x100b8277
xor ecx, ecx
jmp 0x100b8295
lea ecx, [ebp - 0x294]
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100b8280
sub ecx, esi
mov esi, dword [ebp - 0x2dc]
sar ecx, 1
push ecx
lea eax, [ebp - 0x294]
mov ecx, edx
push eax
push dword [edx + 0x10]
push 0
call fcn.100032d0
mov byte [ebp - 0x2c1], 1
test eax, eax
jne 0x100b82bb
mov byte [ebp - 0x2c1], 0
test bl, 2
je 0x100b82e5
and ebx, 0xfffffffd
cmp dword [ebp - 0x44], 8
jb 0x100b82d1
push dword [ebp - 0x58]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 1
test bl, 1
je 0x100b8302
and ebx, 0xfffffffe
cmp dword [ebp - 0x14], 8
jb 0x100b8302
push dword [ebp - 0x28]
call edi
add esp, 4
cmp byte [ebp - 0x2c1], 0
je 0x100b8378
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [ebp - 0x294], ax
jne 0x100b832c
xor ecx, ecx
jmp 0x100b8344
lea ecx, [ebp - 0x294]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100b8335
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x28]
call fcn.10001e10
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
mov ecx, 0x101327f8
call fcn.10034ff0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
jb 0x100b8378
push dword [ebp - 0x28]
call edi
add esp, 4
lea eax, [ebp - 0x2c0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100b81c0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push str.Everyone
lea ecx, [ebp - 0x58]
call fcn.10001f10
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 5
push eax
mov ecx, 0x101327f8
call fcn.10034ff0
cmp dword [ebp - 0x44], 8
jb 0x100b83c2
push dword [ebp - 0x58]
call edi
add esp, 4
cmp dword [ebp - 0x2c], 8
jb 0x100b83d0
push dword [ebp - 0x40]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x100b83f9
push dword [ebp - 0x70]
call edi
add esp, 4
mov esi, dword [ebp - 0x2d8]
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
push 0
push 0
lea eax, [ebp - 0x2d4]
mov dword [ebp - 0x2c8], 0
push eax
push 0
push 0
push 4
mov ebx, 1
mov dword [ebp - 0x2d4], 0
push ebx
push dword [ebp - 0x2cc]
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
test eax, eax
je 0x100b847a
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetNamedSecurityInfo_error:__d
push 1
push 0x94
push 0x1010a284
push 0x1010a2a4
call fcn.100e13e0
add esp, 0x18
jmp 0x100b8551
push 3
push 1
push 0x10000000
push esi
lea eax, [ebp - 0x2fc]
push eax
call dword [sym.imp.ADVAPI32.dll_BuildExplicitAccessWithNameW]
mov edi, dword [0x101327fc]
mov esi, dword [0x101327f8]
cmp esi, edi
je 0x100b84cb
cmp dword [esi + 0x14], 8
jb 0x100b84ab
mov eax, dword [esi]
jmp 0x100b84ad
mov eax, esi
push 3
push 1
push 0x10000000
push eax
lea eax, [ebp - 0x2fc]
push eax
call dword [sym.imp.ADVAPI32.dll_BuildExplicitAccessWithNameW]
add esi, 0x18
cmp esi, edi
jne 0x100b84a1
lea eax, [ebp - 0x2c8]
push eax
push dword [ebp - 0x2d4]
lea eax, [ebp - 0x2fc]
push eax
push 1
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
je 0x100b850a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetEntriesInAcl_error:__d
push 1
push 0xa7
push 0x1010a2dc
push 0x1010a2fc
jmp 0x100b8547
push 0
push dword [ebp - 0x2c8]
push 0
push 0
push 4
push 1
push dword [ebp - 0x2cc]
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
test eax, eax
je 0x100b8551
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetNamedSecurityInfo_error:__d
push 1
push 0xaf
push 0x1010a338
push str.EnableFileAccountPrivilege
call fcn.100e13e0
add esp, 0x18
xor ebx, ebx
mov eax, dword [ebp - 0x2c8]
test eax, eax
je 0x100b8562
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret