Function at 0x1011b15
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x1023018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x278], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x264], eax
mov eax, dword [ebp + 0x14]
xor ebx, ebx
push 0x24c
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x250]
push ebx
push eax
mov dword [ebp - 0x280], esi
mov dword [ebp - 0x258], ebx
mov dword [ebp - 0x254], ebx
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x260], ebx
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 0x270], ebx
cmp esi, ebx
je 0x1011e98
xor eax, eax
cmp ax, word [esi]
je 0x1011e98
push esi
call fcn.010105aa
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1011bde
test dword [ebp + 0x18], 1
je 0x1011bc1
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
inc eax
jmp 0x1011ea2
lea eax, [ebp - 0x270]
push eax
push esi
call fcn.0101061c
test eax, eax
je 0x1011c4e
cmp dword [ebp - 0x270], 0x80000008
jne 0x1011bb2
push 0x1002890
push esi
call fcn.0101420c
mov dword [ebp - 0x27c], eax
cmp eax, ebx
je 0x1011e2f
push ebx
push eax
call fcn.0101138c
mov dword [ebp - 0x258], eax
cmp eax, ebx
je 0x1011e2f
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x274], eax
cmp eax, 0xffffffff
je 0x1011dcb
push 0x34
lea eax, [ebp - 0x2b4]
push ebx
push eax
mov dword [ebp - 0x2b8], ebx
call sub.msvcrt.dll_memset
mov ebx, dword [sym.imp.KERNEL32.dll_CompareStringW]
add esp, 0xc
jmp 0x1011c92
call edi
push esi
mov dword [ebp - 0x25c], eax
call fcn.010105aa
test eax, eax
je 0x1011bde
push dword [ebp - 0x25c]
push 0x10027e8
push 0x2000000
push 0x102373c
call fcn.0100a7d5
add esp, 0x10
push dword [ebp - 0x25c]
jmp 0x1011e9a
mov esi, dword [ebp - 0x280]
push esi
lea eax, [ebp - 0x2b8]
lea ecx, [ebp - 0x254]
call fcn.01011a41
mov dword [ebp - 0x25c], eax
cmp eax, 1
jne 0x1011d36
test byte [ebp - 0x2b8], 0x10
je 0x1011d14
cmp dword [ebp - 0x278], 0
je 0x1011d36
push 0xffffffffffffffff
push dword [ebp - 0x28c]
mov esi, 0x409
push 0xffffffffffffffff
push 0x10027e4
push eax
push esi
call ebx
dec eax
dec eax
je 0x1011d36
push 0xffffffffffffffff
push dword [ebp - 0x28c]
push 0xffffffffffffffff
push 0x10027dc
push 1
push esi
call ebx
dec eax
dec eax
je 0x1011d36
push dword [ebp - 0x268]
lea eax, [ebp - 0x2b8]
push dword [ebp - 0x264]
push eax
call dword [ebp - 0x278]
jmp 0x1011d30
cmp dword [ebp - 0x264], 0
je 0x1011d36
push dword [ebp - 0x268]
lea eax, [ebp - 0x2b8]
push eax
call dword [ebp - 0x264]
mov dword [ebp - 0x25c], eax
lea esi, [ebp - 0x2b8]
call fcn.01011741
xor esi, esi
inc esi
cmp eax, esi
jne 0x1011d6b
cmp dword [ebp - 0x25c], esi
jne 0x1011d92
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, esi
je 0x1011c8c
cmp dword [ebp - 0x25c], esi
jne 0x1011d92
call edi
cmp eax, 0x12
jne 0x1011d82
mov dword [ebp - 0x26c], esi
jmp 0x1011db8
call edi
push eax
push dword [ebp - 0x258]
push 0x1002770
jmp 0x1011da0
call edi
push eax
push dword [ebp - 0x258]
push 0x1002680
push 0x2000000
push 0x102373c
mov dword [ebp - 0x260], eax
call fcn.0100a7d5
add esp, 0x14
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor ebx, ebx
jmp 0x1011e50
call edi
push eax
push dword [ebp - 0x258]
mov esi, 0x102373c
push 0x1002608
push 0x2000000
push esi
mov dword [ebp - 0x260], eax
call fcn.0100a7d5
mov eax, dword [ebp - 0x258]
add esp, 0x14
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x1011dfb
sub eax, edx
sar eax, 1
cmp eax, 0x104
jb 0x1011e50
push 0x10025a0
push 0x3000000
push esi
call fcn.0100a7d5
add esp, 0xc
mov dword [ebp - 0x260], 0xce
jmp 0x1011e50
call edi
push eax
push esi
push 0x1002518
push 0x2000000
push 0x102373c
mov dword [ebp - 0x260], eax
call fcn.0100a7d5
add esp, 0x14
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
cmp dword [ebp - 0x27c], ebx
je 0x1011e70
push dword [ebp - 0x27c]
push ebx
call edi
push eax
call esi
cmp dword [ebp - 0x258], ebx
je 0x1011e84
push dword [ebp - 0x258]
push ebx
call edi
push eax
call esi
push dword [ebp - 0x260]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x26c]
jmp 0x1011ea2
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100b8c5
leave
ret 0x14