Function at 0x4011b0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x40ba26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x370
push ebx
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x179]
mov byte [esp + 0x178], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x27d]
mov byte [esp + 0x27c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor esi, esi
push 6
push 1
mov byte [esp + 0x18], 0
mov word [esp + 0x19], si
stosb byte es:[edi], al
call fcn.00401180
push 0x40e184
call fcn.0040453d
push 5
push 1
call fcn.00401180
mov ebx, dword [esp + 0x3a4]
push ebx
push 0x40e170
call fcn.0040453d
add esp, 0x1c
lea eax, [esp + 0x38]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov cl, byte [esp + 0x13]
push esi
mov byte [esp + 0x2c], cl
lea ecx, [esp + 0x2c]
mov dword [esp + 0x28], eax
call fcn.004019d0
mov edi, 0x40e158
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x38c], esi
mov ebp, ecx
lea ecx, [esp + 0x2c]
push ebp
call fcn.00401a40
test al, al
je 0x4012af
mov edi, dword [esp + 0x2c]
mov ecx, ebp
mov edx, ecx
mov esi, 0x40e158
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
call fcn.00401a20
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4012bc
mov eax, 0x40c100
push eax
call fcn.00404adb
mov ecx, dword [esp + 0x28]
or eax, 0xffffffff
add esp, 4
cmp ecx, eax
jne 0x4012e7
push 1
lea ecx, [esp + 0x2c]
mov dword [esp + 0x38c], eax
call fcn.004019d0
jmp 0x4015dd
push 0
lea eax, [esp + 0x17c]
push 0
lea ecx, [esp + 0x18]
push eax
push ecx
push ebx
call fcn.00404994
add esp, 0x14
test byte [esp + 0x38], 0x10
je 0x4013d7
mov esi, 0x40e154
lea eax, [esp + 0x64]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x40133d
test cl, cl
je 0x401339
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40133d
add eax, 2
add esi, 2
test cl, cl
jne 0x401315
xor eax, eax
jmp 0x401342
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401596
mov esi, 0x40e150
lea eax, [esp + 0x64]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x40137b
test cl, cl
je 0x401377
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40137b
add eax, 2
add esi, 2
test cl, cl
jne 0x401353
xor eax, eax
jmp 0x401380
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401596
lea eax, [esp + 0x64]
lea ecx, [esp + 0x178]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x288]
push 0x40e144
push eax
call fcn.00404942
lea ecx, [esp + 0x290]
push ecx
call fcn.004011b0
mov eax, dword [esp + 0x44]
add esp, 0x18
test eax, eax
jne 0x4013c9
mov eax, 0x40c100
push eax
call fcn.00404adb
add esp, 4
jmp 0x401596
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], dl
call fcn.004019d0
push 6
push 1
mov byte [esp + 0x390], 1
call fcn.00401180
push 0x40e184
call fcn.0040453d
push 5
push 1
call fcn.00401180
lea eax, [esp + 0x78]
lea ecx, [esp + 0x18c]
push eax
lea edx, [esp + 0x28]
push ecx
push edx
push 0x40e12c
call fcn.0040453d
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x24
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
call fcn.00401a40
test al, al
je 0x401471
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov eax, ecx
lea esi, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov byte [ecx + ebp], 0
lea edi, [esp + 0x178]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x40c104]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [esp + 0x1c]
sub edx, ecx
cmp edx, esi
ja 0x401499
call fcn.00401e1b
xor ebx, ebx
cmp esi, ebx
jbe 0x4014e1
mov eax, dword [esp + 0x1c]
push ebx
lea ecx, [esp + 0x18]
lea ebp, [eax + esi]
push ebp
call fcn.00401a40
test al, al
je 0x4014e1
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push ebp
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
lea esi, [esp + 0x17c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.00401a20
lea edi, [esp + 0x64]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
mov eax, dword [0x40c104]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x401505
call fcn.00401e1b
cmp esi, ebx
jbe 0x401548
mov ecx, dword [esp + 0x1c]
push ebx
lea ebp, [ecx + esi]
lea ecx, [esp + 0x18]
push ebp
call fcn.00401a40
test al, al
je 0x401548
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, esi
lea esi, [esp + 0x64]
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.00401a20
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jne 0x401555
mov eax, 0x40c100
push eax
call fcn.00404adb
mov ecx, dword [esp + 0x1c]
add esp, 4
cmp ecx, ebx
mov byte [esp + 0x388], 0
je 0x40158a
mov al, byte [ecx - 1]
test al, al
je 0x401580
cmp al, 0xff
je 0x401580
dec al
mov byte [ecx - 1], al
jmp 0x40158a
dec ecx
push ecx
call fcn.00401e10
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401301
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4015dd
mov al, byte [ecx - 1]
test al, al
je 0x4015d3
cmp al, 0xff
je 0x4015d3
dec al
mov byte [ecx - 1], al
jmp 0x4015dd
dec ecx
push ecx
call fcn.00401e10
add esp, 4
mov ecx, dword [esp + 0x380]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x37c
ret