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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446507
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [section..data]
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 eax, edx
mov dword [ebp - 0x2fc], eax
mov edi, ecx
mov dword [ebp - 0x2dc], edi
push eax
call fcn.004283d0
add esp, 4
mov dword [ebp - 0x74], 7
xor eax, eax
mov dword [ebp - 0x78], 0
lea ecx, [ebp - 0x88]
mov word [ebp - 0x88], ax
push 0xffffffffffffffff
push eax
push edi
call fcn.00404080
push 4
push 0x44ff64
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0
call fcn.00405970
cmp dword [ebp - 0x74], 8
lea ecx, [ebp - 0x2d8]
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov ebx, eax
mov dword [ebp - 0x2f8], ebx
cmp ebx, 0xffffffff
je 0x41d0c9
mov ebx, dword [sym.imp.MSVCR120.dll_memmove]
test byte [ebp - 0x2d8], 0x10
je 0x41ce3c
cmp word [ebp - 0x2ac], 0x2e
je 0x41d0a8
xor eax, eax
mov dword [ebp - 0x44], 7
push 0xffffffffffffffff
push eax
push dword [ebp - 0x2fc]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00404080
xor eax, eax
mov byte [ebp - 4], 1
push 0xffffffffffffffff
push eax
push edi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00404080
push 0x44dcdc
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x314]
call fcn.00418470
add esp, 4
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 3
push ecx
mov edx, eax
lea ecx, [ebp - 0x2f4]
call fcn.004067a0
mov edi, eax
add esp, 4
lea eax, [ebp - 0x58]
cmp eax, edi
je 0x41ccbb
cmp dword [ebp - 0x44], 8
jb 0x41cc62
push dword [ebp - 0x58]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp dword [edi + 0x14], 8
jae 0x41cc91
mov eax, dword [edi + 0x10]
inc eax
je 0x41cc9c
add eax, eax
push eax
lea eax, [ebp - 0x58]
push edi
push eax
call ebx
add esp, 0xc
jmp 0x41cc9c
mov eax, dword [edi]
mov dword [ebp - 0x58], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [ebp - 0x2e0], 8
jb 0x41cccf
push dword [ebp - 0x2f4]
call esi
add esp, 4
xor eax, eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x300], 8
mov dword [ebp - 0x2e0], 7
mov dword [ebp - 0x2e4], 0
mov word [ebp - 0x2f4], ax
jb 0x41cd04
push dword [ebp - 0x314]
call esi
add esp, 4
push 0x44dcdc
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x314]
call fcn.00418470
add esp, 4
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0x2f4]
call fcn.004067a0
mov edi, eax
add esp, 4
lea eax, [ebp - 0x40]
cmp eax, edi
je 0x41cda5
cmp dword [ebp - 0x2c], 8
jb 0x41cd4c
push dword [ebp - 0x40]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp dword [edi + 0x14], 8
jae 0x41cd7b
mov eax, dword [edi + 0x10]
inc eax
je 0x41cd86
add eax, eax
push eax
lea eax, [ebp - 0x40]
push edi
push eax
call ebx
add esp, 0xc
jmp 0x41cd86
mov eax, dword [edi]
mov dword [ebp - 0x40], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [ebp - 0x2e0], 8
jb 0x41cdb9
push dword [ebp - 0x2f4]
call esi
add esp, 4
xor eax, eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x300], 8
mov dword [ebp - 0x2e0], 7
mov dword [ebp - 0x2e4], 0
mov word [ebp - 0x2f4], ax
jb 0x41cdee
push dword [ebp - 0x314]
call esi
add esp, 4
lea eax, [ebp - 0x58]
push eax
call fcn.004283d0
add esp, 4
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x40]
call fcn.0041caf0
cmp dword [ebp - 0x2c], 8
jb 0x41ce13
push dword [ebp - 0x40]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov byte [ebp - 4], al
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x41d0a2
push dword [ebp - 0x58]
jmp 0x41d09d
xor eax, eax
mov dword [ebp - 0x5c], 7
push 0xffffffffffffffff
push eax
push dword [ebp - 0x2fc]
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
call fcn.00404080
xor eax, eax
mov byte [ebp - 4], 5
push 0xffffffffffffffff
push eax
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00404080
push 0x44dcdc
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x314]
call fcn.00418470
add esp, 4
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0x2f4]
call fcn.004067a0
mov edi, eax
add esp, 4
lea eax, [ebp - 0x70]
cmp eax, edi
je 0x41cf2a
cmp dword [ebp - 0x5c], 8
jb 0x41ced1
push dword [ebp - 0x70]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
cmp dword [edi + 0x14], 8
jae 0x41cf00
mov eax, dword [edi + 0x10]
inc eax
je 0x41cf0b
add eax, eax
push eax
lea eax, [ebp - 0x70]
push edi
push eax
call ebx
add esp, 0xc
jmp 0x41cf0b
mov eax, dword [edi]
mov dword [ebp - 0x70], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x60], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [ebp - 0x2e0], 8
jb 0x41cf3e
push dword [ebp - 0x2f4]
call esi
add esp, 4
xor eax, eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x300], 8
mov dword [ebp - 0x2e0], 7
mov dword [ebp - 0x2e4], 0
mov word [ebp - 0x2f4], ax
jb 0x41cf73
push dword [ebp - 0x314]
call esi
add esp, 4
push 0x44dcdc
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x314]
call fcn.00418470
add esp, 4
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 8
push ecx
mov edx, eax
lea ecx, [ebp - 0x2f4]
call fcn.004067a0
mov edi, eax
add esp, 4
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x41d014
cmp dword [ebp - 0x14], 8
jb 0x41cfbb
push dword [ebp - 0x28]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp dword [edi + 0x14], 8
jae 0x41cfea
mov eax, dword [edi + 0x10]
inc eax
je 0x41cff5
add eax, eax
push eax
lea eax, [ebp - 0x28]
push edi
push eax
call ebx
add esp, 0xc
jmp 0x41cff5
mov eax, dword [edi]
mov dword [ebp - 0x28], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [ebp - 0x2e0], 8
jb 0x41d028
push dword [ebp - 0x2f4]
call esi
add esp, 4
xor eax, eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x300], 8
mov dword [ebp - 0x2e0], 7
mov dword [ebp - 0x2e4], 0
mov word [ebp - 0x2f4], ax
jb 0x41d05d
push dword [ebp - 0x314]
call esi
add esp, 4
push 0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00428420
add esp, 0xc
cmp dword [ebp - 0x14], 8
jb 0x41d07d
push dword [ebp - 0x28]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov byte [ebp - 4], al
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x41d0a2
push dword [ebp - 0x70]
call esi
add esp, 4
mov edi, dword [ebp - 0x2dc]
lea eax, [ebp - 0x2d8]
push eax
push dword [ebp - 0x2f8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41cbb2
mov ebx, dword [ebp - 0x2f8]
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x74], 8
jb 0x41d0e1
push dword [ebp - 0x88]
call esi
add esp, 4
mov al, 1
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.00443690
mov esp, ebp
pop ebp
ret