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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446667
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.00427ad0
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.00405630
push 4
push 0x44ff5c
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0
call fcn.00404690
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 0x41cd19
mov ebx, dword [sym.imp.MSVCR120.dll_memmove]
test byte [ebp - 0x2d8], 0x10
je 0x41ca8c
cmp word [ebp - 0x2ac], 0x2e
je 0x41ccf8
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.00405630
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.00405630
push 0x44f41c
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x314]
call fcn.00417f90
add esp, 4
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 3
push ecx
mov edx, eax
lea ecx, [ebp - 0x2f4]
call fcn.0040c7c0
mov edi, eax
add esp, 4
lea eax, [ebp - 0x58]
cmp eax, edi
je 0x41c90b
cmp dword [ebp - 0x44], 8
jb 0x41c8b2
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 0x41c8e1
mov eax, dword [edi + 0x10]
inc eax
je 0x41c8ec
add eax, eax
push eax
lea eax, [ebp - 0x58]
push edi
push eax
call ebx
add esp, 0xc
jmp 0x41c8ec
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 0x41c91f
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 0x41c954
push dword [ebp - 0x314]
call esi
add esp, 4
push 0x44f41c
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x314]
call fcn.00417f90
add esp, 4
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0x2f4]
call fcn.0040c7c0
mov edi, eax
add esp, 4
lea eax, [ebp - 0x40]
cmp eax, edi
je 0x41c9f5
cmp dword [ebp - 0x2c], 8
jb 0x41c99c
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 0x41c9cb
mov eax, dword [edi + 0x10]
inc eax
je 0x41c9d6
add eax, eax
push eax
lea eax, [ebp - 0x40]
push edi
push eax
call ebx
add esp, 0xc
jmp 0x41c9d6
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 0x41ca09
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 0x41ca3e
push dword [ebp - 0x314]
call esi
add esp, 4
lea eax, [ebp - 0x58]
push eax
call fcn.00427ad0
add esp, 4
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x40]
call fcn.0041c740
cmp dword [ebp - 0x2c], 8
jb 0x41ca63
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 0x41ccf2
push dword [ebp - 0x58]
jmp 0x41cced
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.00405630
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.00405630
push 0x44f41c
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x314]
call fcn.00417f90
add esp, 4
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0x2f4]
call fcn.0040c7c0
mov edi, eax
add esp, 4
lea eax, [ebp - 0x70]
cmp eax, edi
je 0x41cb7a
cmp dword [ebp - 0x5c], 8
jb 0x41cb21
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 0x41cb50
mov eax, dword [edi + 0x10]
inc eax
je 0x41cb5b
add eax, eax
push eax
lea eax, [ebp - 0x70]
push edi
push eax
call ebx
add esp, 0xc
jmp 0x41cb5b
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 0x41cb8e
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 0x41cbc3
push dword [ebp - 0x314]
call esi
add esp, 4
push 0x44f41c
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x314]
call fcn.00417f90
add esp, 4
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 8
push ecx
mov edx, eax
lea ecx, [ebp - 0x2f4]
call fcn.0040c7c0
mov edi, eax
add esp, 4
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x41cc64
cmp dword [ebp - 0x14], 8
jb 0x41cc0b
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 0x41cc3a
mov eax, dword [edi + 0x10]
inc eax
je 0x41cc45
add eax, eax
push eax
lea eax, [ebp - 0x28]
push edi
push eax
call ebx
add esp, 0xc
jmp 0x41cc45
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 0x41cc78
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 0x41ccad
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.00427b20
add esp, 0xc
cmp dword [ebp - 0x14], 8
jb 0x41cccd
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 0x41ccf2
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 0x41c802
mov ebx, dword [ebp - 0x2f8]
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x74], 8
jb 0x41cd31
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.00443810
mov esp, ebp
pop ebp
ret