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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5febce
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x69def4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2f8], ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x2f0], eax
mov dword [ebp - 0x2f4], esi
test eax, eax
jne 0x41c571
xor eax, eax
jmp 0x41c911
test esi, esi
je 0x41c56a
push eax
lea ecx, [ebp - 0x70]
xor ebx, ebx
call fcn.00405c70
push 3
push 0x60bd68
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], ebx
call fcn.0040f7f0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
push esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00405c70
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
call fcn.00433170
add esp, 4
mov dword [ebp - 0x2e4], ebx
mov dword [ebp - 0x2e0], ebx
mov dword [ebp - 0x2dc], ebx
push 0x60bf50
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.00405c70
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00405c70
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00432910
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp eax, 8
jb 0x41c630
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407310
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 3
cmp eax, 8
jb 0x41c663
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00407310
mov ecx, dword [ebp - 0x2e0]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x2e4]
xor esi, esi
imul ecx
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 0x2e8], esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x2ec], eax
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x2fc], edi
cmp edi, 0xffffffff
je 0x41c81f
lea eax, [ebp - 0x2d8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x41c817
cmp word [ebp - 0x2ac], 0x2e
je 0x41c6b8
mov ax, word [ebp - 0x2aa]
test ax, ax
je 0x41c6b8
cmp ax, 0x2e
jne 0x41c6f4
cmp word [ebp - 0x2a8], 0
je 0x41c6b8
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040ada0
test byte [ebp - 0x2d8], 0x10
je 0x41c771
push dword [ebp - 0x2f0]
lea ecx, [ebp - 0x28]
call fcn.00405c70
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x28]
call fcn.0040f6e0
push 0x609b38
lea ecx, [ebp - 0x28]
call fcn.0046d7c0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x2f4]
cmovae eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2f8]
push eax
call fcn.0041c520
lea ecx, [ebp - 0x28]
test eax, eax
jne 0x41c80b
mov byte [ebp - 4], 3
call fcn.00405cd0
jmp 0x41c6b8
lea eax, [ebp - 0x40]
push eax
call fcn.00433170
mov esi, dword [ebp - 0x2e4]
add esp, 4
cmp esi, dword [ebp - 0x2e0]
je 0x41c6b8
nop
cmp dword [esi + 0x14], 8
jb 0x41c79a
mov eax, dword [esi]
jmp 0x41c79c
mov eax, esi
push eax
lea ecx, [ebp - 0x28]
call fcn.00405c70
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
mov edi, dword [ebp - 0x14]
cmp edi, 8
mov ebx, dword [ebp - 0x28]
push ecx
push dword [ebp - 0x18]
cmovae eax, ebx
push eax
call fcn.00407020
mov edx, dword [ebp - 0x2e8]
add esp, 0x10
test eax, eax
lea ecx, [edx + 1]
cmovne ecx, edx
mov dword [ebp - 0x2e8], ecx
cmp edi, 8
jb 0x41c7f5
lea eax, [edi + 1]
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.00407310
add esi, 0x18
cmp esi, dword [ebp - 0x2e0]
jne 0x41c790
mov edi, dword [ebp - 0x2fc]
jmp 0x41c6b8
mov ebx, 1
call fcn.00405cd0
jmp 0x41c819
xor ebx, ebx
mov esi, dword [ebp - 0x2e8]
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
jle 0x41c838
cmp esi, dword [ebp - 0x2ec]
mov eax, 1
cmovge ebx, eax
mov eax, dword [ebp - 0x2e4]
test eax, eax
je 0x41c8a8
push dword [ebp - 0x2ec]
lea ecx, [ebp - 0x2e4]
push ecx
push dword [ebp - 0x2e0]
push eax
call fcn.00413340
mov ecx, dword [ebp - 0x2dc]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x2e4]
add esp, 0x10
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x2e4]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.00412c80
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2dc], 0
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x41c8bd
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00407310
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x41c8e6
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407310
mov ecx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp ecx, 8
jb 0x41c90f
inc ecx
push ecx
push dword [ebp - 0x70]
lea ecx, [ebp - 0x70]
call fcn.00407310
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005caa5c
mov esp, ebp
pop ebp
ret 8