Function at 0x101af23
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
mov eax, 0x1057725
call fcn.0101d9b8
sub esp, 0x280
mov eax, dword [0x106406c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x280], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x274], esi
mov dword [ebp - 0x284], eax
call fcn.01010c62
and dword [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.01010c62
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x270]
call fcn.01010c62
mov byte [ebp - 4], 2
push 0x105
lea ecx, [ebp - 0x268]
call fcn.01011310
mov ecx, dword [ebp - 0x268]
push dword [ecx - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x101afd9
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x270]
call fcn.01010c92
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.01010c92
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.01010c92
jmp 0x101b280
push edi
or edi, 0xffffffff
push edi
lea ecx, [ebp - 0x268]
call fcn.01010a85
push 0x100419c
lea ecx, [ebp - 0x26c]
call fcn.0101236d
mov byte [ebp - 4], 3
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.01025680
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x26c]
call fcn.01010c92
push dword [ebp - 0x270]
mov ecx, esi
call fcn.010168a1
test eax, eax
jne 0x101b068
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x270]
call fcn.01010c92
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.01010c92
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x264]
call fcn.01010c92
jmp 0x101b27f
push 0x1005828
push esi
lea eax, [ebp - 0x26c]
push eax
call fcn.010116f7
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x264]
call fcn.010113c1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x26c]
call fcn.01010c92
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, edi
mov dword [ebp - 0x26c], eax
je 0x101b037
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, 0x1005824
push ebx
test byte [ebp - 0x260], 0x10
je 0x101b16a
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x1005820
lea eax, [ebp - 0x234]
push eax
call ebx
test eax, eax
je 0x101b15d
push 0x1005818
lea eax, [ebp - 0x234]
push eax
call ebx
test eax, eax
je 0x101b15d
push esi
push dword [ebp - 0x274]
lea eax, [ebp - 0x28c]
push eax
call fcn.010116f7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x234]
push ecx
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.010116f7
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x264]
call fcn.010113c1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x278]
call fcn.01010c92
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28c]
call fcn.01010c92
mov ecx, dword [ebp - 0x280]
jmp 0x101b21f
test byte [ebp - 0x260], 0x10
jne 0x101b22a
push 0x100580c
call edi
mov ebx, eax
lea eax, [ebp - 0x234]
push eax
call edi
cmp eax, ebx
jle 0x101b22a
mov eax, 0x100580c
push eax
push eax
call edi
mov ebx, eax
lea eax, [ebp - 0x234]
push eax
call edi
sub eax, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea eax, [ebp + eax*2 - 0x234]
push eax
call ebx
test eax, eax
jne 0x101b22a
push 0x10057f4
lea eax, [ebp - 0x234]
push eax
call ebx
test eax, eax
je 0x101b22a
push esi
push dword [ebp - 0x274]
lea eax, [ebp - 0x27c]
push eax
call fcn.010116f7
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x234]
push ecx
push eax
lea eax, [ebp - 0x288]
push eax
call fcn.010116f7
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x264]
call fcn.010113c1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x288]
call fcn.01010c92
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x27c]
call fcn.01010c92
mov ecx, dword [ebp - 0x284]
push dword [ebp - 0x264]
call fcn.010133e2
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x101b0c2
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x270]
call fcn.01010c92
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.01010c92
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.01010c92
pop ebx
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
call fcn.0101cfec
leave
ret 8