Function at 0x1000f0d6
Capabilities:
Enumerate files on windows

Disassembly:
push 0x2b0
mov eax, 0x1002b31e
call fcn.1002a4e9
mov ebx, ecx
mov dword [ebp - 0x274], ebx
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x27c], eax
mov eax, dword [0x10031ad8]
mov dword [ebp - 0x280], edi
mov dword [ebp - 0x270], eax
and dword [ebp - 4], 0
push 0x10006b10
push edi
lea eax, [ebp - 0x2a8]
push eax
call fcn.10020d16
lea ecx, [ebp - 0x260]
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.10020bd7
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov esi, eax
lea ecx, [ebp - 0x2a8]
mov dword [ebp - 0x290], esi
mov byte [ebp - 4], 0
call fcn.1002161e
xor eax, eax
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 0x2b0], eax
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x278]
call fcn.10025be0
push edi
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 5
call fcn.10025be0
push 0x100062f4
push eax
lea eax, [ebp - 0x29c]
push eax
mov byte [ebp - 4], 6
call fcn.10020d16
lea ecx, [ebp - 0x278]
push ecx
push eax
lea eax, [ebp - 0x2a0]
push eax
mov byte [ebp - 4], 7
call fcn.10020cce
push eax
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 8
call fcn.10025be0
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 7
call fcn.1002161e
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 6
call fcn.1002161e
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 5
call fcn.1002161e
xor edi, edi
cmp edi, dword [ebx + 0x10]
jge 0x1000f300
mov esi, dword [ebx + 0xc]
mov eax, edi
shl eax, 2
lea ecx, [ebp - 0x270]
add esi, eax
call fcn.10020bd7
push eax
push dword [esi]
call dword [sym.imp.MSVCR100.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x1000f2f7
mov eax, dword [ebp - 0x278]
push dword [eax - 8]
mov ecx, dword [ebx + 0xc]
mov edx, edi
shl edx, 2
lea eax, [ebp - 0x294]
add ecx, edx
push eax
call fcn.10020e7e
mov esi, eax
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 9
call fcn.10020bd7
push eax
push dword [esi]
call dword [sym.imp.MSVCR100.dll__wcsicmp]
pop ecx
mov ebx, eax
pop ecx
neg ebx
lea ecx, [ebp - 0x294]
sbb bl, bl
mov byte [ebp - 4], 5
call fcn.1002161e
inc bl
je 0x1000f2df
mov ebx, dword [ebp - 0x280]
mov eax, dword [ebx]
push dword [eax - 8]
mov ecx, dword [ebp - 0x274]
mov ecx, dword [ecx + 0xc]
mov edx, edi
shl edx, 2
lea eax, [ebp - 0x298]
add ecx, edx
push eax
call fcn.10020e14
mov esi, eax
mov ecx, ebx
mov byte [ebp - 4], 0xa
call fcn.10020bd7
push eax
push dword [esi]
call dword [sym.imp.MSVCR100.dll__wcsicmp]
pop ecx
mov ebx, eax
pop ecx
neg ebx
lea ecx, [ebp - 0x298]
sbb bl, bl
mov byte [ebp - 4], 5
call fcn.1002161e
inc bl
jne 0x1000f2f1
mov ebx, dword [ebp - 0x274]
inc edi
cmp edi, dword [ebx + 0x10]
jl 0x1000f20b
jmp 0x1000f2f7
mov ebx, dword [ebp - 0x274]
mov esi, dword [ebp - 0x290]
cmp edi, dword [ebx + 0x10]
je 0x1000f316
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 4
call fcn.1002161e
jmp 0x1000f58e
push 4
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x270]
call fcn.10020e7e
push 0x10006b20
push dword [ebp - 0x284]
call dword [sym.imp.MSVCR100.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x1000f352
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 5
call fcn.1002161e
jmp 0x1000f302
xor ebx, ebx
mov dword [ebp - 0x268], ebx
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x26c], ebx
je 0x1000f373
push ebx
lea eax, [ebp - 0x26c]
push eax
call fcn.10025be0
lea eax, [ebp - 0x26c]
push eax
push 0x1000634c
push 0x17
push ebx
push 0x1000635c
call fcn.10025be0
mov ebx, eax
mov dword [ebp - 0x27c], ebx
test ebx, ebx
js 0x1000f558
lea ecx, [ebp - 0x270]
call fcn.10020bd7
mov ecx, dword [ebp - 0x274]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.10012047
mov ebx, eax
mov dword [ebp - 0x27c], ebx
test ebx, ebx
js 0x1000f558
cmp dword [ebp - 0x264], 0
je 0x1000f3e1
push 0
lea eax, [ebp - 0x264]
push eax
call fcn.10025be0
mov eax, dword [ebp - 0x26c]
mov ecx, dword [eax]
lea edx, [ebp - 0x264]
push edx
push eax
call dword [ecx + 0x34]
cmp dword [ebp - 0x264], 0
je 0x1000f558
mov ebx, dword [ebp - 0x280]
push dword [ebp - 0x268]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x264]
and dword [ebp - 0x268], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x268]
push edx
push eax
call dword [ecx + 0x9c]
mov dword [ebp - 0x27c], eax
test eax, eax
js 0x1000f558
push dword [ebp - 0x268]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x1000f53e
push 0x10005180
push dword [ebp - 0x268]
call dword [sym.imp.MSVCR100.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x1000f484
push 0x100051d8
push dword [ebp - 0x268]
call dword [sym.imp.MSVCR100.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x1000f53e
mov ecx, ebx
call fcn.10020bd7
test eax, eax
jne 0x1000f499
xor edi, edi
mov dword [ebp - 0x288], edi
jmp 0x1000f4b0
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [ebp - 0x288], edi
test edi, edi
je 0x1000f5ab
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 0xd
call fcn.10020bd7
test eax, eax
jne 0x1000f4cd
xor esi, esi
mov dword [ebp - 0x28c], esi
jmp 0x1000f4e4
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x28c], esi
test esi, esi
je 0x1000f5ab
push ecx
lea eax, [ebp - 0x28c]
mov ecx, esp
mov dword [ebp - 0x2b8], esp
push eax
mov byte [ebp - 4], 0xe
call fcn.10025be0
push ecx
lea eax, [ebp - 0x288]
mov ecx, esp
mov dword [ebp - 0x2bc], esp
push eax
mov byte [ebp - 4], 0xf
call fcn.10025be0
mov ecx, dword [ebp - 0x274]
lea eax, [ebp - 0x264]
push eax
mov byte [ebp - 4], 0xe
call fcn.100118a4
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edi
mov byte [ebp - 4], 0xc
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x264]
push eax
call fcn.1000d2c0
cmp dword [ebp - 0x264], 0
pop ecx
jne 0x1000f407
push dword [ebp - 0x268]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 5
call fcn.1002161e
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 4
call fcn.1002161e
mov ebx, dword [ebp - 0x274]
mov esi, dword [ebp - 0x290]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
je 0x1000f5b5
mov edi, dword [ebp - 0x280]
jmp 0x1000f173
push 0x8007000e
call fcn.10025be0
test esi, esi
je 0x1000f5c0
push esi
call dword [sym.imp.kernel32.dll_FindClose]
lea ecx, [ebp - 0x2b4]
call fcn.1000cef2
mov eax, dword [ebp - 0x264]
mov byte [ebp - 4], 2
test eax, eax
je 0x1000f5df
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x26c]
mov byte [ebp - 4], 0
test eax, eax
je 0x1000f5f3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x270]
call fcn.1002161e
mov eax, dword [ebp - 0x27c]
call fcn.1002a56c
ret 4