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

Disassembly:
mov eax, 0x44b318
call fcn.00449da8
sub esp, 0x308
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x5c]
call fcn.004021b9
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0x20]
call fcn.00405f09
mov edi, eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 0x20]
call fcn.00405ecc
mov esi, eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp + 0x20]
call fcn.00405f09
push dword [edi]
push dword [esi]
push dword [eax]
lea ecx, [ebp - 0x28]
call fcn.004074fc
add esp, 0xc
lea eax, [ebp - 0x30c]
push eax
push 0x458668
lea edx, [ebp + 8]
lea ecx, [ebp - 0xbc]
call fcn.0040632d
pop ecx
mov ecx, eax
call fcn.00404386
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0xbc]
call fcn.004034ef
cmp esi, 0xffffffff
jne 0x406fd6
mov bl, 1
jmp 0x406ffd
xor ebx, ebx
lea eax, [ebp - 0x30c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x407233
mov edi, dword [ebp - 0x18]
cmp byte [edi], 0
je 0x40701c
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x5c]
call fcn.00402081
lea ecx, [ebp + 8]
call fcn.004034ef
lea ecx, [ebp + 0x20]
call fcn.004034ef
mov al, bl
jmp 0x407254
test byte [ebp - 0x30c], 0x10
je 0x407113
mov ecx, 0x4585a4
lea eax, [ebp - 0x2e0]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40705a
test dx, dx
je 0x407056
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40705a
add eax, 4
add ecx, 4
test dx, dx
jne 0x407034
mov eax, ebx
jmp 0x40705f
sbb eax, eax
or eax, 1
test eax, eax
je 0x407113
mov ecx, 0x45868c
lea eax, [ebp - 0x2e0]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x407098
test dx, dx
je 0x407094
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x407098
add eax, 4
add ecx, 4
test dx, dx
jne 0x407072
mov eax, ebx
jmp 0x40709d
sbb eax, eax
or eax, 1
test eax, eax
je 0x407113
push ecx
lea eax, [ebp - 0x2e0]
push eax
lea ecx, [ebp - 0x74]
call fcn.004034f9
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x8c]
call fcn.00406430
pop ecx
mov edx, eax
lea ecx, [ebp - 0xa4]
call fcn.0040754a
pop ecx
lea ecx, [ebp - 0x8c]
call fcn.004034ef
lea ecx, [ebp - 0x74]
call fcn.004034ef
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 0x20]
push eax
call fcn.00405d49
sub esp, 0x18
mov ecx, esp
lea eax, [ebp - 0xa4]
push eax
call fcn.00405d49
mov ecx, edi
call fcn.00406f3a
lea ecx, [ebp - 0xa4]
call fcn.004034ef
lea eax, [ebp - 0x2e0]
push eax
lea ecx, [ebp - 0x40]
call fcn.004034f9
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00405f09
mov edi, eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x40]
call fcn.00405ecc
mov esi, eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x40]
call fcn.00405f09
push dword [edi]
push dword [esi]
push dword [eax]
lea ecx, [ebp - 0x44]
call fcn.004074fc
add esp, 8
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040737e
cmp eax, 0xffffffff
je 0x407223
push 0x250
lea eax, [ebp - 0x30c]
push eax
lea ecx, [ebp - 0x74]
call fcn.0040218f
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040208b
lea ecx, [ebp - 0x74]
call fcn.00402081
mov dword [ebp - 4], ebx
sub esp, 0x18
mov esi, esp
lea eax, [ebp - 0x5c]
push eax
push 0x466c4c
lea edx, [ebp + 8]
lea ecx, [ebp - 0x8c]
call fcn.0041344f
mov edx, eax
lea ecx, [ebp - 0x74]
call fcn.0040438b
pop ecx
mov edx, eax
mov ecx, esi
call fcn.0040438b
pop ecx
push 0x66
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.004018d7
cmp eax, 0xffffffff
sete bl
lea ecx, [ebp - 0x74]
call fcn.00402081
lea ecx, [ebp - 0x8c]
call fcn.00402081
test bl, bl
je 0x40721d
lea ecx, [ebp - 0x40]
call fcn.004034ef
lea ecx, [ebp - 0x5c]
call fcn.00402081
lea ecx, [ebp + 8]
call fcn.004034ef
lea ecx, [ebp + 0x20]
call fcn.004034ef
xor al, al
jmp 0x407254
or dword [ebp - 4], 0xffffffff
xor ebx, ebx
lea ecx, [ebp - 0x40]
call fcn.004034ef
mov esi, dword [ebp - 0x1c]
jmp 0x406fd8
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x5c]
call fcn.00402081
lea ecx, [ebp + 8]
call fcn.004034ef
lea ecx, [ebp + 0x20]
call fcn.004034ef
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30