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

Disassembly:
sub esp, 0x450
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x248]
push ebp
push esi
push edi
mov edi, dword [esp + 0x460]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x42009c
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x154]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x258]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
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 + 0x154]
push ecx
call fcn.004153c0
mov al, byte [0x430cfc]
add esp, 8
cmp al, 1
jne 0x40114d
lea edx, [esp + 0x150]
push edx
call fcn.00401fb0
add esp, 4
lea eax, [esp + 0x10]
lea ecx, [esp + 0x150]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0xc], ebp
je 0x401327
push ebx
test byte [esp + 0x14], 0x10
je 0x401249
mov esi, 0x420098
lea eax, [esp + 0x40]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4011ac
test cl, cl
je 0x4011a8
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4011ac
add eax, 2
add esi, 2
test cl, cl
jne 0x401184
xor eax, eax
jmp 0x4011b1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40130b
mov esi, 0x420094
lea eax, [esp + 0x40]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4011ea
test cl, cl
je 0x4011e6
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4011ea
add eax, 2
add esi, 2
test cl, cl
jne 0x4011c2
xor eax, eax
jmp 0x4011ef
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40130b
lea edi, [esp + 0x258]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x35c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x35c]
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 + 0x40]
push ecx
push edx
call fcn.004153c0
lea eax, [esp + 0x364]
push eax
call fcn.004010c0
add esp, 0xc
jmp 0x40130b
lea edi, [esp + 0x258]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x154]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x154]
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 + 0x40]
push ecx
push edx
call fcn.004153c0
add esp, 8
mov ebp, 0x44ac1c
mov ebx, 0x14
lea eax, [esp + 0x40]
lea ecx, [ebp + 0x5b]
push eax
push ecx
call fcn.0041c680
add esp, 8
test eax, eax
jne 0x4012f6
lea edi, [esp + 0x258]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [ebp - 1], 1
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x420090
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add ebp, 0xc4
dec ebx
jne 0x401293
cmp ebp, 0x44da0c
jl 0x40128e
mov ebp, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401170
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x450
ret