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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46047f
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x3a8
mov eax, dword [0x4771c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
cmp dword [ebp + 0xc], 5
jle 0x408b11
xor eax, eax
xor edx, edx
jmp 0x408f5d
xorps xmm0, xmm0
movlpd qword [ebp - 0x2b4], xmm0
mov dword [ebp - 4], 0
push 0x46d1cc
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.0041aaf0
add esp, 0xc
mov dword [ebp - 0x320], eax
mov byte [ebp - 4], 1
lea edx, [ebp - 0x2ac]
push edx
lea ecx, [ebp - 0x44]
call fcn.00411c20
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2b8], eax
cmp dword [ebp - 0x2b8], 0xffffffff
jne 0x408bb8
push str.Error_finding_first_file_in_the_folder_
push 0x47a9c8
call fcn.0041abb0
add esp, 8
mov dword [ebp - 0x2c8], eax
push 0x41aea0
mov ecx, dword [ebp - 0x2c8]
call fcn.00410b50
nop
xorps xmm0, xmm0
movlpd qword [ebp - 0x318], xmm0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00411d10
mov eax, dword [ebp - 0x318]
mov edx, dword [ebp - 0x314]
jmp 0x408f5d
mov dword [ebp - 0x2bc], 0
mov eax, dword [ebp - 0x2bc]
add eax, 1
mov dword [ebp - 0x2bc], eax
cmp dword [ebp - 0x2bc], 0xf9
jle 0x408c12
mov ecx, dword [ebp - 0x2b4]
mov edx, dword [ebp - 0x2b0]
mov dword [ebp - 0x2f8], ecx
mov dword [ebp - 0x2f4], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00411d10
mov eax, dword [ebp - 0x2f8]
mov edx, dword [ebp - 0x2f4]
jmp 0x408f5d
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00411e60
mov dword [ebp - 0x31c], eax
mov byte [ebp - 4], 2
push 0x46d1fc
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0041aed0
add esp, 8
movzx edx, al
test edx, edx
jne 0x408c5b
push 0x46d200
lea eax, [ebp - 0x2c]
push eax
call fcn.0041aed0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x408c6d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00411d10
nop
jmp 0x408ec4
push 0x46d208
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x33c]
push eax
call fcn.0041aaf0
add esp, 0xc
mov dword [ebp - 0x2cc], eax
mov ecx, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d0], ecx
mov byte [ebp - 4], 3
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.0041aef0
add esp, 0xc
mov dword [ebp - 0x324], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x33c]
call fcn.00411d10
nop
mov edx, dword [ebp - 0x2ac]
and edx, 0x10
je 0x408d1b
mov eax, dword [ebp + 0xc]
add eax, 1
push eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.00408ad0
add esp, 8
mov dword [ebp - 0x300], eax
mov dword [ebp - 0x2fc], edx
mov edx, dword [ebp - 0x2b4]
add edx, dword [ebp - 0x300]
mov eax, dword [ebp - 0x2b0]
adc eax, dword [ebp - 0x2fc]
mov dword [ebp - 0x2b4], edx
mov dword [ebp - 0x2b0], eax
jmp 0x408eab
mov ecx, dword [ebp - 0x28c]
mov dword [ebp - 0x2c4], ecx
mov edx, dword [ebp - 0x290]
mov dword [ebp - 0x2c0], edx
mov eax, dword [ebp - 0x2b4]
add eax, dword [ebp - 0x2c4]
mov ecx, dword [ebp - 0x2b0]
adc ecx, dword [ebp - 0x2c0]
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 0x2b0], ecx
mov edx, dword [ebp - 0x2c0]
push edx
mov eax, dword [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x3b4]
push ecx
call fcn.004046b0
add esp, 0xc
mov dword [ebp - 0x2d4], eax
mov edx, dword [ebp - 0x2d4]
mov dword [ebp - 0x2e4], edx
mov byte [ebp - 4], 6
lea eax, [ebp - 0x5c]
push eax
push str._FIL_
lea ecx, [ebp - 0x39c]
push ecx
call fcn.0041af60
add esp, 0xc
mov dword [ebp - 0x2d8], eax
mov edx, dword [ebp - 0x2d8]
mov dword [ebp - 0x2dc], edx
mov byte [ebp - 4], 7
push str._SZ_
mov eax, dword [ebp - 0x2dc]
push eax
lea ecx, [ebp - 0x384]
push ecx
call fcn.0041ab80
add esp, 0xc
mov dword [ebp - 0x2e0], eax
mov edx, dword [ebp - 0x2e0]
mov dword [ebp - 0x2e8], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2e4]
push eax
mov ecx, dword [ebp - 0x2e8]
push ecx
lea edx, [ebp - 0x36c]
push edx
call fcn.0041af20
add esp, 0xc
mov dword [ebp - 0x2ec], eax
mov eax, dword [ebp - 0x2ec]
mov dword [ebp - 0x2f0], eax
mov byte [ebp - 4], 9
push 0x46d20c
mov ecx, dword [ebp - 0x2f0]
push ecx
lea edx, [ebp - 0x354]
push edx
call fcn.0041ab80
add esp, 0xc
mov dword [ebp - 0x310], eax
mov eax, dword [ebp - 0x310]
mov dword [ebp - 0x30c], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x30c]
push ecx
mov ecx, 0x47b860
call fcn.00411cc0
nop
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x354]
call fcn.00411d10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x36c]
call fcn.00411d10
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x384]
call fcn.00411d10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x39c]
call fcn.00411d10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3b4]
call fcn.00411d10
nop
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.00411d10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00411d10
nop
lea edx, [ebp - 0x2ac]
push edx
mov eax, dword [ebp - 0x2b8]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x408bc2
mov ecx, dword [ebp - 0x2b8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00411d10
nop
jmp 0x408f33
mov dword [ebp - 4], 0xffffffff
jmp 0x408f51
mov eax, dword [ebp - 0x2b4]
mov edx, dword [ebp - 0x2b0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043d0e7
mov esp, ebp
pop ebp
ret