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

Disassembly:
push 0x2bc
mov eax, 0x453024
call fcn.00433180
mov eax, dword [ebp + 0x18]
xor ecx, ecx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
push 7
mov dword [ebp - 0x2c4], eax
xor eax, eax
pop edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x28], ax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], ecx
mov word [ebp - 0x58], ax
push esi
mov byte [ebp - 4], 1
call fcn.00413baa
pop ecx
test al, al
je 0x413e3e
push edi
call fcn.0041193d
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.004117eb
jmp 0x413eb5
push esi
push 0x401860
push dword [0x45a014]
call fcn.004107b1
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.00430351
add esp, 0x14
test al, al
jne 0x413e7e
mov esi, dword [0x45a014]
mov ecx, esi
push 0x4018b0
call fcn.004114e4
push 0x40108c
mov ecx, esi
call fcn.004114e4
test edi, edi
je 0x413eb5
mov ecx, edi
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x413e89
sub ecx, edx
sar ecx, 1
je 0x413eb5
lea eax, [ebp - 0x28]
push eax
call fcn.0042f177
push edi
call fcn.0041193d
pop ecx
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00414564
mov eax, dword [ebp - 0x28]
push 8
pop esi
cmp dword [ebp - 0x14], esi
jae 0x413ec3
lea eax, [ebp - 0x28]
push ebx
push eax
push 0x4018f0
push dword [0x45a014]
call fcn.004107b1
mov eax, dword [ebp - 0x28]
add esp, 0x10
cmp dword [ebp - 0x14], esi
jae 0x413ee3
lea eax, [ebp - 0x28]
push eax
call fcn.004308c1
test al, al
mov eax, dword [ebp - 0x28]
pop ecx
jne 0x413f12
cmp dword [ebp - 0x14], esi
jae 0x413ef9
lea eax, [ebp - 0x28]
push eax
push 0x40194c
push dword [0x45a014]
call fcn.004107b1
add esp, 0xc
jmp 0x414064
cmp dword [ebp - 0x14], esi
jae 0x413f1a
lea eax, [ebp - 0x28]
xor ecx, ecx
push ecx
push ebx
push eax
push ecx
lea eax, [ebp - 0x58]
push eax
call fcn.00430fd6
add esp, 0x14
test al, al
jne 0x413f5d
mov eax, dword [ebp - 0x18]
add eax, eax
cmp eax, 0x104
jbe 0x413f5d
mov esi, dword [0x45a014]
mov ecx, esi
push 0x401988
call fcn.004114e4
push 0x40108c
mov ecx, esi
call fcn.004114e4
push 8
pop esi
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x44], esi
jae 0x413f68
lea eax, [ebp - 0x58]
push eax
push 0x401a10
push dword [0x45a014]
call fcn.004107b1
mov eax, dword [ebp - 0x58]
add esp, 0xc
cmp dword [ebp - 0x44], esi
jae 0x413f87
lea eax, [ebp - 0x58]
push eax
call fcn.004308ed
pop ecx
test al, al
je 0x41403d
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
mov ebx, dword [ebp - 0x2c4]
mov eax, dword [ebp - 0x58]
mov byte [ebp - 4], 2
mov dword [ebx], 4
cmp dword [ebp - 0x44], esi
jae 0x413fc1
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x40]
push ecx
push eax
call fcn.0042fa04
pop ecx
pop ecx
test al, al
je 0x413ffe
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x2c], esi
jae 0x413fdc
lea eax, [ebp - 0x40]
push eax
push 0x401a4c
push dword [0x45a014]
call fcn.004107b1
mov eax, dword [ebp - 0x40]
add esp, 0xc
cmp dword [ebp - 0x2c], esi
jae 0x413ffb
lea eax, [ebp - 0x40]
push eax
jmp 0x414021
mov esi, dword [0x45a014]
mov ecx, esi
push 0x401a78
call fcn.004114e4
push 0x40108c
mov ecx, esi
call fcn.004114e4
push 0x401abc
lea ecx, [ebx + 0x24]
call fcn.004131b6
xor eax, eax
lea ecx, [ebp - 0x40]
push eax
push 1
call fcn.00411703
mov bl, 1
jmp 0x41416e
mov edi, dword [ebp + 0x14]
test edi, edi
jg 0x41406b
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x14], esi
jae 0x41404f
lea eax, [ebp - 0x28]
push eax
push ebx
push 0x401ac0
push dword [0x45a014]
call fcn.004107b1
add esp, 0x10
xor ebx, ebx
jmp 0x41416e
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], eax
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
call fcn.0042f177
mov eax, dword [ebp - 0x28]
pop ecx
cmp dword [ebp - 0x14], esi
jae 0x414094
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push 0x401b10
push eax
call fcn.0042f6fb
mov eax, dword [ebp - 0x70]
add esp, 0xc
cmp dword [ebp - 0x5c], esi
jae 0x4140b1
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0x2c0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x414158
test byte [ebp - 0x2c0], 0x10
je 0x414142
cmp word [ebp - 0x294], 0x2e
je 0x414142
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.0041054b
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 4
push eax
call fcn.0041193d
pop ecx
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x40]
call fcn.00414564
cmp dword [ebp - 0x2c], 8
mov ecx, dword [ebp - 0x40]
jae 0x414116
lea ecx, [ebp - 0x40]
push dword [ebp - 0x2c4]
lea eax, [edi - 1]
push eax
xor eax, eax
push eax
push ecx
push ebx
call fcn.00413ddd
add esp, 0x14
test al, al
jne 0x414190
xor eax, eax
mov byte [ebp - 4], 3
push eax
push 1
lea ecx, [ebp - 0x40]
call fcn.00411703
lea eax, [ebp - 0x2c0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4140ca
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov bl, al
push eax
push 1
lea ecx, [ebp - 0x70]
call fcn.00411703
xor esi, esi
lea ecx, [ebp - 0x58]
push esi
push 1
call fcn.00411703
xor eax, eax
lea ecx, [ebp - 0x28]
push eax
push 1
call fcn.00411703
mov al, bl
call fcn.0043312a
ret
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
lea ecx, [ebp - 0x40]
push eax
push 1
call fcn.00411703
mov bl, 1
xor eax, eax
jmp 0x414163