Function at 0x4117eb
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
mov eax, dword [0x450060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
and dword [ebp - 0x268], 0
mov eax, dword [ebp + 0x10]
inc eax
mov dword [ebp - 0x264], eax
or dword [ebp - 0x26c], 0xffffffff
and dword [ebp - 8], 0
and dword [ebp - 4], 0
or dword [ebp - 0xc], 0xffffffff
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.0040f074
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jge 0x411849
jmp 0x411a57
push 0
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.0040be53
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jge 0x411870
jmp 0x411a57
push 0
push 0x406044
lea eax, [ebp - 4]
push eax
call fcn.0040c3a6
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jge 0x411899
jmp 0x411a57
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0xffffffff
jne 0x4118fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x268], eax
push dword [ebp - 0x268]
call fcn.00407c6d
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jge 0x4118fd
push dword [ebp - 0x268]
push 0x3c6
push 0x405ffc
call fcn.0040e33f
jmp 0x411a57
mov eax, dword [ebp - 0x260]
and eax, 0x10
je 0x41190d
jmp 0x411a10
mov esi, dword [ebp - 0x240]
xor edi, edi
mov eax, dword [ebp - 0x244]
xor edx, edx
mov cl, 0x20
call fcn.0044a1a0
add esi, eax
adc edi, edx
mov dword [ebp - 0x278], esi
mov dword [ebp - 0x274], edi
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x27c]
mov ecx, dword [ebp - 0x278]
cmp ecx, dword [eax + 0x10]
jne 0x411a10
mov eax, dword [ebp - 0x27c]
mov ecx, dword [ebp - 0x274]
cmp ecx, dword [eax + 0x14]
jne 0x411a10
push 0
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.0040be53
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jge 0x411991
jmp 0x411a57
push 0
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040c3a6
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jge 0x4119bc
jmp 0x411a57
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x264]
push eax
mov eax, dword [ebp + 0xc]
add eax, 4
push eax
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp - 4]
call fcn.00411aad
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jl 0x411a10
push 0
push dword [ebp - 4]
mov eax, dword [ebp + 0x14]
add eax, 4
push eax
call fcn.0040be53
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jge 0x411a0e
jmp 0x411a57
jmp 0x411a2b
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4118fd
cmp dword [ebp - 0xc], 0xffffffff
jne 0x411a4b
push 2
call fcn.00407c6d
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jge 0x411a4b
jmp 0x411a57
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
or dword [ebp - 0xc], 0xffffffff
cmp dword [ebp - 0xc], 0xffffffff
je 0x411a66
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x26c], 0xffffffff
je 0x411a7b
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 4], 0
je 0x411a89
push dword [ebp - 4]
call fcn.0040c820
cmp dword [ebp - 8], 0
je 0x411a97
push dword [ebp - 8]
call fcn.0040c820
mov eax, dword [ebp - 0x268]
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042cd6d
leave
ret 0x10