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

Disassembly:
push 0x2c0
mov eax, 0x4ceac0
call fcn.004ae269
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x20]
mov edi, ecx
mov dword [ebp - 0x270], eax
mov dword [ebp - 4], 1
call fcn.0048aa29
push eax
lea ecx, [ebp - 0x268]
call fcn.00402840
lea eax, [ebp - 0x2cc]
push eax
mov byte [ebp - 4], 2
call fcn.00435034
and dword [ebp - 0x26c], 0
push 0x523d78
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x274]
push eax
mov byte [ebp - 4], 3
call fcn.004021ba
add esp, 0xc
push eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 4
call fcn.0040262c
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x274]
add ecx, 0xfffffff0
call fcn.00402883
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x268]
call esi
mov dword [ebp - 0x278], eax
cmp eax, 0xffffffff
je 0x4355a6
mov ecx, 0x5201c4
lea eax, [ebp - 0x238]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x435432
test dx, dx
je 0x43542e
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x435432
add eax, 4
add ecx, 4
test dx, dx
jne 0x43540c
xor eax, eax
jmp 0x435437
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43556f
mov ecx, 0x52d0e0
lea eax, [ebp - 0x238]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x435470
test dx, dx
je 0x43546c
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x435470
add eax, 4
add ecx, 4
test dx, dx
jne 0x43544a
xor eax, eax
jmp 0x435475
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43556f
test byte [ebp - 0x264], 0x10
je 0x43556f
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.004021ba
add esp, 0xc
push eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 5
call fcn.0040262c
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x27c]
add ecx, 0xfffffff0
call fcn.00402883
cmp dword [ebp + 0x18], 0
je 0x435514
push 0
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x274], esp
mov ecx, esp
push eax
call fcn.004025a1
lea eax, [ebp - 0x2cc]
push eax
lea ecx, [ebp - 0x264]
call fcn.004350b3
push dword [ebp + 0x14]
mov eax, dword [edi]
lea ecx, [ebp - 0x2cc]
push ecx
mov ecx, edi
call dword [eax + 0xc]
inc dword [ebp - 0x26c]
test ebx, ebx
je 0x435514
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [ebp + 0x10], 0
je 0x43556f
push ebx
push dword [ebp - 0x270]
lea eax, [ebp + 0xc]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
mov dword [ebp - 0x274], esp
mov ecx, esp
push eax
call fcn.004025a1
push ecx
mov eax, esp
mov dword [ebp - 0x280], esp
push 0x5236bc
lea ecx, [ebp - 0x268]
push ecx
push eax
mov byte [ebp - 4], 6
call fcn.004021ba
add esp, 0xc
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00435353
add dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x43557f
mov eax, dword [eax]
test eax, eax
jne 0x43559a
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x435401
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x4355ba
mov eax, dword [eax]
test eax, eax
jne 0x4356cb
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.00402163
add esp, 0xc
push eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 7
call fcn.0040262c
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x284]
add ecx, 0xfffffff0
call fcn.00402883
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x268]
call esi
mov esi, eax
cmp esi, 0xffffffff
je 0x4356cb
test byte [ebp - 0x264], 0x10
jne 0x43569e
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x288]
push eax
call fcn.004021ba
add esp, 0xc
push eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 8
call fcn.0040262c
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x288]
add ecx, 0xfffffff0
call fcn.00402883
push 0
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x280], esp
mov ecx, esp
push eax
call fcn.004025a1
lea eax, [ebp - 0x2cc]
push eax
lea ecx, [ebp - 0x264]
call fcn.004350b3
push dword [ebp + 0x14]
mov eax, dword [edi]
lea ecx, [ebp - 0x2cc]
push ecx
mov ecx, edi
call dword [eax + 0xc]
inc dword [ebp - 0x26c]
test ebx, ebx
je 0x43569e
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x4356ae
mov eax, dword [eax]
test eax, eax
jne 0x4356c4
lea eax, [ebp - 0x264]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43560d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x2c8]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402883
mov eax, dword [ebp - 0x26c]
call fcn.004ae2ec
ret 0x1c