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

Disassembly:
push 0xffffffffffffffff
push 0x42b524
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a4
mov eax, dword [0x4377f4]
xor eax, esp
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c0]
mov dword [esp + 0x1ac], eax
push edi
mov dword [esp + 0x14], esi
mov al, byte [esp + 0x1ec]
xor ebx, ebx
cmp al, bl
mov dword [esp + 0x1bc], ebx
je 0x41a1f8
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x41a1ef
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 8]
push edx
push esi
push ecx
push eax
call fcn.00402aec
mov eax, dword [esi + 4]
push eax
call fcn.0041c5ad
add esp, 0x14
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ebp, 0xf
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
push ebx
push 0x42c5d4
lea ecx, [esp + 0x20]
mov byte [esp + 0x1c4], 1
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.004027cf
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x1cc]
push ecx
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0x1c8], 2
call fcn.004198e0
mov eax, dword [esp + 0x3c]
mov edi, 0x10
add esp, 0xc
cmp eax, edi
mov byte [esp + 0x1bc], 1
jb 0x41a270
mov eax, dword [esp + 0x1c]
push eax
call fcn.0041c5ad
add esp, 4
push str..
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00402e85
mov ecx, dword [eax + 0x18]
add esp, 0xc
cmp ecx, edi
jb 0x41a293
mov eax, dword [eax + 4]
jmp 0x41a296
add eax, 4
lea ecx, [esp + 0x70]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp dword [esp + 0x30], 0x10
mov dword [esp + 0x10], edi
jb 0x41a2c0
mov edx, dword [esp + 0x1c]
push edx
call fcn.0041c5ad
add esp, 4
lea esp, [esp]
cmp edi, 0xffffffff
je 0x41a498
lea eax, [esp + 0x9c]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41a2e0
sub eax, edx
push eax
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x40]
call fcn.004027cf
mov edx, dword [esp + 0x4c]
cmp edx, ebx
mov byte [esp + 0x1bc], 3
je 0x41a357
cmp edx, 1
mov ecx, edx
jb 0x41a317
mov ecx, 1
cmp dword [esp + 0x50], 0x10
mov esi, dword [esp + 0x3c]
jae 0x41a326
lea esi, [esp + 0x3c]
mov edi, 0x42de88
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x41a336
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x41a34f
cmp edx, 1
jb 0x41a34f
xor eax, eax
cmp edx, 1
setne al
cmp eax, ebx
je 0x41a468
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
push 2
push 0x42de84
push edx
push ebx
lea ecx, [esp + 0x48]
call fcn.00401f5c
test eax, eax
je 0x41a470
lea eax, [esp + 0x9c]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41a387
sub eax, edx
push eax
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x20]
call fcn.004027cf
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0x1c8], 4
call fcn.004198e0
mov eax, dword [esp + 0x3c]
add esp, 0xc
cmp eax, 0x10
mov byte [esp + 0x1bc], 3
jb 0x41a3df
mov edx, dword [esp + 0x1c]
push edx
call fcn.0041c5ad
add esp, 4
test byte [esp + 0x70], 0x10
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
je 0x41a446
cmp byte [esp + 0x1e8], bl
je 0x41a407
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.00403b67
mov eax, dword [esp + 0x1e4]
cmp al, bl
je 0x41a452
mov ecx, dword [esp + 0x1e8]
push ebx
push ecx
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x5c], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x68]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.004026ab
push esi
call fcn.0041a180
add esp, 0x2c
jmp 0x41a452
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.00403b67
cmp dword [esp + 0x50], 0x10
mov byte [esp + 0x1bc], 1
jb 0x41a48c
mov ecx, dword [esp + 0x3c]
push ecx
jmp 0x41a484
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
cmp dword [esp + 0x50], 0x10
mov byte [esp + 0x1bc], 1
jb 0x41a48c
mov edx, dword [esp + 0x3c]
push edx
call fcn.0041c5ad
add esp, 4
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
lea eax, [esp + 0x70]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41a2c0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x6c]
mov esi, 0x10
cmp eax, esi
jb 0x41a4cd
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0041c5ad
add esp, 4
cmp dword [esp + 0x1e0], esi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
jb 0x41a4f2
mov edx, dword [esp + 0x1cc]
push edx
call fcn.0041c5ad
add esp, 4
mov ecx, dword [esp + 0x1b4]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1a8]
pop ebp
pop ebx
xor ecx, esp
call fcn.0041c2f6
add esp, 0x1b0
ret