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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x428be3
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x442580]
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 - 0x2a4], edx
mov ebx, ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2a8], eax
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
xor edi, edi
mov dword [ebp - 4], eax
push edi
push edi
mov dword [ebp - 0x29c], edi
call fcn.00413390
mov dword [ebp - 0x2a0], eax
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
call esi
cmp eax, 0x104
jg 0x411e88
mov eax, dword [ebp - 0x2a8]
cmp dword [eax + 4], edi
je 0x411e88
mov edx, eax
mov ecx, ebx
call fcn.00411c40
test al, al
je 0x411e88
lea ecx, [ebp - 0x2a0]
call fcn.00413090
push dword [ebp - 0x2a0]
call fcn.00414c6e
add esp, 4
cmp dword [ebp - 0x14], 8
jb 0x411e81
push dword [ebp - 0x28]
call fcn.00414c6e
add esp, 4
xor eax, eax
jmp 0x41218d
cmp byte [ebp + 8], 0
je 0x411f05
push ebx
call esi
cmp eax, 0x104
jle 0x411e9c
mov esi, ebx
jmp 0x411eda
push ebx
xor eax, eax
push 0x445f40
mov word [0x446148], ax
call dword [sym.imp.SHLWAPI.dll_PathCanonicalizeW]
test eax, eax
jne 0x411ec0
push ebx
push 0x445f40
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp byte [ebp + 0xc], 0
je 0x411ed5
push 0x445f40
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
jmp 0x411eda
mov esi, 0x445f40
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411ee0
sub ecx, edx
mov edx, dword [ebp - 0x2a4]
sar ecx, 1
mov edx, dword [edx]
lea eax, [ecx + ecx]
mov ecx, dword [ebp - 0x2a4]
push eax
push esi
call dword [edx + 4]
cmp word [ebx], 0
jne 0x411f0f
xor ecx, ecx
jmp 0x411f23
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411f14
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.00412dc0
push 2
push 0x43ec0c
lea ecx, [ebp - 0x28]
call fcn.00412dc0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x298]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2ac], eax
cmp eax, 0xffffffff
jne 0x411fb0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push ebx
push str.FindFirstFile_failed_on___s__with_error_0x_.8X._n
call fcn.004148ca
add esp, 0xc
lea ecx, [ebp - 0x2a0]
call fcn.00413090
push dword [ebp - 0x2a0]
call fcn.00414c6e
add esp, 4
cmp dword [ebp - 0x14], 8
jb 0x411fa1
push dword [ebp - 0x28]
call fcn.00414c6e
add esp, 4
mov eax, esi
jmp 0x41218d
test byte [ebp - 0x298], 0x10
lea eax, [ebp - 0x26c]
je 0x41204d
mov ecx, 0x43ec7c
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x411fee
test dx, dx
je 0x411fea
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x411fee
add eax, 4
add ecx, 4
test dx, dx
jne 0x411fc8
xor eax, eax
jmp 0x411ff3
sbb eax, eax
or eax, 1
test eax, eax
je 0x41209d
mov ecx, 0x43ec80
lea eax, [ebp - 0x26c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41202c
test dx, dx
je 0x412028
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41202c
add eax, 4
add ecx, 4
test dx, dx
jne 0x412006
xor eax, eax
jmp 0x412031
sbb eax, eax
or eax, 1
test eax, eax
je 0x41209d
push 1
lea eax, [ebp - 0x26c]
push eax
push ebx
lea ecx, [ebp - 0x44]
call fcn.00411b00
mov byte [ebp - 4], 2
jmp 0x41205d
push 0
push eax
push ebx
lea ecx, [ebp - 0x44]
call fcn.00411b00
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x2a0]
push eax
push dword [esi + 4]
push esi
call fcn.004138d0
mov ecx, 0x71c71c6
sub ecx, edi
cmp ecx, 1
jb 0x4120d5
mov dword [esi + 4], eax
inc edi
mov ecx, dword [eax + 4]
mov byte [ebp - 4], 1
mov dword [ebp - 0x29c], edi
mov dword [ecx], eax
cmp dword [ebp - 0x30], 8
jb 0x41209d
push dword [ebp - 0x44]
call fcn.00414c6e
add esp, 4
lea eax, [ebp - 0x298]
push eax
push dword [ebp - 0x2ac]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x411fb0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov esi, eax
cmp esi, 0x12
je 0x4120df
call edi
push eax
push ebx
push str.FindNextFile_failed_while_listing___s_.__n_Error_0x_.8X._n
jmp 0x411f6f
push str.list_T__too_long
call fcn.00427575
push dword [ebp - 0x2ac]
xor edi, edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push ecx
lea ecx, [ebp - 0x2a0]
call fcn.004133d0
mov ebx, dword [ebp - 0x2a0]
mov esi, dword [ebx]
cmp esi, ebx
je 0x412161
cmp byte [esi + 0x20], 0
lea ecx, [esi + 8]
je 0x412132
cmp dword [ecx + 0x14], 8
jb 0x412116
mov ecx, dword [ecx]
push dword [ebp + 0x14]
mov edx, dword [ebp - 0x2a4]
push dword [ebp - 0x2a8]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00411dc0
jmp 0x412152
cmp dword [ecx + 0x14], 8
jb 0x41213a
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x2a4]
push ecx
push dword [ebp - 0x2a8]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00411c90
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x412161
mov esi, dword [esi]
cmp esi, ebx
jne 0x412105
lea ecx, [ebp - 0x2a0]
call fcn.00413090
push dword [ebp - 0x2a0]
call fcn.00414c6e
add esp, 4
cmp dword [ebp - 0x14], 8
jb 0x41218b
push dword [ebp - 0x28]
call fcn.00414c6e
add esp, 4
mov eax, edi
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.00413975
mov esp, ebp
pop ebp
ret