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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442fa7
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.00425100
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.00404d90
push 4
push 0x44bf6c
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0
call fcn.00403bd0
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 0x41c8e9
mov ebx, dword [sym.imp.MSVCR120.dll_memmove]
test byte [ebp - 0x2d8], 0x10
je 0x41c65c
cmp word [ebp - 0x2ac], 0x2e
je 0x41c8c8
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.00404d90
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.00404d90
push 0x44b464
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x314]
call fcn.004179f0
add esp, 4
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 3
push ecx
mov edx, eax
lea ecx, [ebp - 0x2f4]
call fcn.0040bf40
mov edi, eax
add esp, 4
lea eax, [ebp - 0x58]
cmp eax, edi
je 0x41c4db
cmp dword [ebp - 0x44], 8
jb 0x41c482
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 0x41c4b1
mov eax, dword [edi + 0x10]
inc eax
je 0x41c4bc
add eax, eax
push eax
lea eax, [ebp - 0x58]
push edi
push eax
call ebx
add esp, 0xc
jmp 0x41c4bc
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 0x41c4ef
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 0x41c524
push dword [ebp - 0x314]
call esi
add esp, 4
push 0x44b464
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x314]
call fcn.004179f0
add esp, 4
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0x2f4]
call fcn.0040bf40
mov edi, eax
add esp, 4
lea eax, [ebp - 0x40]
cmp eax, edi
je 0x41c5c5
cmp dword [ebp - 0x2c], 8
jb 0x41c56c
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 0x41c59b
mov eax, dword [edi + 0x10]
inc eax
je 0x41c5a6
add eax, eax
push eax
lea eax, [ebp - 0x40]
push edi
push eax
call ebx
add esp, 0xc
jmp 0x41c5a6
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 0x41c5d9
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 0x41c60e
push dword [ebp - 0x314]
call esi
add esp, 4
lea eax, [ebp - 0x58]
push eax
call fcn.00425100
add esp, 4
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x40]
call fcn.0041c310
cmp dword [ebp - 0x2c], 8
jb 0x41c633
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 0x41c8c2
push dword [ebp - 0x58]
jmp 0x41c8bd
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.00404d90
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.00404d90
push 0x44b464
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x314]
call fcn.004179f0
add esp, 4
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0x2f4]
call fcn.0040bf40
mov edi, eax
add esp, 4
lea eax, [ebp - 0x70]
cmp eax, edi
je 0x41c74a
cmp dword [ebp - 0x5c], 8
jb 0x41c6f1
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 0x41c720
mov eax, dword [edi + 0x10]
inc eax
je 0x41c72b
add eax, eax
push eax
lea eax, [ebp - 0x70]
push edi
push eax
call ebx
add esp, 0xc
jmp 0x41c72b
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 0x41c75e
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 0x41c793
push dword [ebp - 0x314]
call esi
add esp, 4
push 0x44b464
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x314]
call fcn.004179f0
add esp, 4
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 8
push ecx
mov edx, eax
lea ecx, [ebp - 0x2f4]
call fcn.0040bf40
mov edi, eax
add esp, 4
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x41c834
cmp dword [ebp - 0x14], 8
jb 0x41c7db
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 0x41c80a
mov eax, dword [edi + 0x10]
inc eax
je 0x41c815
add eax, eax
push eax
lea eax, [ebp - 0x28]
push edi
push eax
call ebx
add esp, 0xc
jmp 0x41c815
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 0x41c848
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 0x41c87d
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.00425150
add esp, 0xc
cmp dword [ebp - 0x14], 8
jb 0x41c89d
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 0x41c8c2
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 0x41c3d2
mov ebx, dword [ebp - 0x2f8]
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x74], 8
jb 0x41c901
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.00440154
mov esp, ebp
pop ebp
ret