Function at 0x41a1db
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x4c]
push edi
mov dword [ebp - 0x2c4], edi
call fcn.00409846
push 0x548c20
lea ecx, [ebp - 0x1c]
call fcn.004058f0
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x4c]
call fcn.0043bf45
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.0040536f
cmp dword [ebp - 0x38], 8
mov eax, dword [ebp - 0x4c]
jae 0x41a232
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x2b8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov dword [ebp - 0x2bc], ebx
cmp ebx, 0xffffffff
je 0x41a3ff
xor esi, esi
test byte [ebp - 0x2b8], 0x10
je 0x41a3d6
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004058f0
lea ecx, [ebp - 0x1c]
call fcn.0040ae91
mov ebx, eax
mov dword [ebp - 0x2c0], ebx
test esi, esi
je 0x41a28b
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx]
push 0
push 1
lea ecx, [ebp - 0x1c]
mov esi, ebx
call fcn.0040536f
mov eax, dword [ebp - 0x2c0]
xor bl, bl
test eax, eax
je 0x41a2fb
inc bl
cmp dword [edi + 0x40], 0
je 0x41a2d4
lea edx, [edi + 0x30]
cmp dword [edx + 0x14], 8
jb 0x41a2b8
mov edx, dword [edx]
lea ecx, [eax + 0x28]
cmp dword [ecx + 0x14], 8
jb 0x41a2c3
mov ecx, dword [ecx]
call fcn.004319e4
neg eax
sbb al, al
and bl, al
mov eax, dword [ebp - 0x2c0]
cmp dword [edi + 0x58], 0
je 0x41a2fb
lea edx, [edi + 0x48]
cmp dword [edx + 0x14], 8
jb 0x41a2e5
mov edx, dword [edx]
lea ecx, [eax + 0x28]
cmp dword [ecx + 0x14], 8
jb 0x41a2f0
mov ecx, dword [ecx]
call fcn.004319e4
neg eax
sbb al, al
and bl, al
test bl, bl
je 0x41a3d0
push edi
lea ecx, [ebp - 0x1c]
call fcn.00409846
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x34]
call fcn.004058f0
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x1c]
call fcn.0043bf45
xor ebx, ebx
lea ecx, [ebp - 0x34]
push ebx
push 1
call fcn.0040536f
push ecx
xor eax, eax
mov dword [ebp - 0x2d0], ebx
push ecx
mov word [ebp - 0x34], ax
mov ecx, esp
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x2cc], ebx
push eax
mov dword [ebp - 0x2c8], ebx
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], ebx
call fcn.004050d6
lea ecx, [ebp - 0x64]
call fcn.00458fb0
push 0x78
mov edi, eax
call fcn.005026c6
pop ecx
test eax, eax
je 0x41a38f
lea ecx, [ebp - 0x2d0]
push ecx
lea ecx, [ebp - 0x34]
push ecx
push edi
mov ecx, eax
call fcn.00448d15
mov edi, eax
jmp 0x41a391
mov edi, ebx
lea ecx, [ebp - 0x64]
call fcn.00459030
lea ecx, [ebp - 0x34]
call fcn.00459030
mov byte [edi + 4], 1
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 4]
lea ecx, [ebp - 0x2d0]
call fcn.0041af12
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
push ebx
push 1
lea ecx, [ebp - 0x1c]
call fcn.0040536f
mov edi, dword [ebp - 0x2c4]
mov ebx, dword [ebp - 0x2bc]
lea eax, [ebp - 0x2b8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41a253
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
je 0x41a3ff
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.0040536f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00501d03
mov esp, ebp
pop ebp
ret