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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ff4b
mov eax, dword fs:[0]
push eax
sub esp, 0x790
mov eax, dword [0x497040]
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 ebx, edx
mov edi, ecx
mov dword [ebp - 0x798], edi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x410]
push edi
push str._s.
push eax
mov dword [ebp - 0x794], esi
call fcn.0041b070
add esp, 0xc
lea eax, [ebp - 0x790]
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x79c], eax
cmp eax, 0xffffffff
je 0x41990a
nop dword [eax]
mov ecx, dword [ebp - 0x790]
and cl, 0x12
cmp cl, 0x10
jne 0x4198e9
lea ecx, [ebp - 0x764]
mov eax, 0x48d944
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x419640
test dl, dl
je 0x41963c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x419640
add eax, 2
add ecx, 2
test dl, dl
jne 0x419620
xor eax, eax
jmp 0x419645
sbb eax, eax
or eax, 1
test eax, eax
je 0x4198e9
lea ecx, [ebp - 0x764]
mov eax, 0x48d948
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x419678
test dl, dl
je 0x419674
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x419678
add eax, 2
add ecx, 2
test dl, dl
jne 0x419658
xor eax, eax
jmp 0x41967d
sbb eax, eax
or eax, 1
test eax, eax
je 0x4198e9
cmp byte [ebp + 8], 0
je 0x4197a3
test esi, esi
je 0x4197a3
mov ecx, esi
mov eax, edi
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4196c0
test dl, dl
je 0x4196bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4196c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4196a0
xor eax, eax
jmp 0x4196c5
sbb eax, eax
or eax, 1
test eax, eax
je 0x4197a3
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4196d2
sub ecx, edx
lea eax, [ebp - 0x764]
push eax
lea eax, [ecx + 1]
add eax, edi
push eax
lea eax, [ebp - 0x210]
push 0x49139c
push eax
call fcn.0041b070
lea edi, [ebp - 0x210]
mov byte [ebp - 0x650], 0
add esp, 0x10
mov dword [ebp - 0x61c], 0
mov dword [ebp - 0x618], 0
lea ecx, [edi + 1]
mov dword [ebp - 0x614], 0
nop word [eax + eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x419730
sub edi, ecx
cmp edi, 0x32
ja 0x419764
test edi, edi
jne 0x41974a
mov byte [ebp - 0x650], al
jmp 0x419791
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x650]
push 0x33
push eax
call fcn.0043dfab
add esp, 0xc
jmp 0x419791
lea esi, [edi + 1]
mov byte [ebp - 0x650], 0
push esi
call fcn.0042f4e2
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x61c], eax
push ecx
push esi
push eax
mov dword [ebp - 0x614], edi
call fcn.0043dfab
add esp, 0x10
mov dword [ebp - 0x618], edi
mov dword [ebp - 4], 0
jmp 0x41983f
lea esi, [ebp - 0x764]
mov byte [ebp - 0x650], 0
mov dword [ebp - 0x61c], 0
lea ecx, [esi + 1]
mov dword [ebp - 0x618], 0
mov dword [ebp - 0x614], 0
mov al, byte [esi]
inc esi
test al, al
jne 0x4197d1
sub esi, ecx
cmp esi, 0x32
ja 0x419805
test esi, esi
jne 0x4197eb
mov byte [ebp - 0x650], al
jmp 0x419832
lea eax, [ebp - 0x764]
push eax
lea eax, [ebp - 0x650]
push 0x33
push eax
call fcn.0043dfab
add esp, 0xc
jmp 0x419832
lea edi, [esi + 1]
mov byte [ebp - 0x650], 0
push edi
call fcn.0042f4e2
lea ecx, [ebp - 0x764]
mov dword [ebp - 0x61c], eax
push ecx
push edi
push eax
mov dword [ebp - 0x614], esi
call fcn.0043dfab
add esp, 0x10
mov dword [ebp - 0x618], esi
mov dword [ebp - 4], 1
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x650]
cmp ecx, dword [ebx + 8]
je 0x41987f
mov byte [ecx], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
cmp dword [ebp - 0x618], 0x32
cmova eax, dword [ebp - 0x61c]
push eax
call fcn.004017c0
add dword [ebx + 4], 0x40
jmp 0x419888
push eax
push ecx
mov ecx, ebx
call fcn.0040d340
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x61c]
test eax, eax
je 0x4198a2
push eax
call fcn.0042f4eb
add esp, 4
cmp byte [ebp + 8], 0
mov edi, dword [ebp - 0x798]
je 0x4198e3
lea eax, [ebp - 0x764]
push eax
push edi
lea eax, [ebp - 0x610]
push 0x49139c
push eax
call fcn.0041b070
mov esi, dword [ebp - 0x794]
lea ecx, [ebp - 0x610]
push esi
push dword [ebp + 8]
mov edx, ebx
call fcn.00419580
add esp, 0x18
jmp 0x4198e9
mov esi, dword [ebp - 0x794]
lea eax, [ebp - 0x790]
push eax
push dword [ebp - 0x79c]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x419600
mov eax, dword [ebp - 0x79c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
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.0042f4a5
mov esp, ebp
pop ebp
ret