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

Disassembly:
push 0x2c0
mov eax, 0x4cee3b
call fcn.004ae989
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.0048b151
push eax
lea ecx, [ebp - 0x268]
call fcn.00402821
lea eax, [ebp - 0x2cc]
push eax
mov byte [ebp - 4], 2
call fcn.00435055
and dword [ebp - 0x26c], 0
push 0x525e80
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.0040260d
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 0x4355ab
mov ecx, 0x522224
lea eax, [ebp - 0x238]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x435437
test dx, dx
je 0x435433
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x435437
add eax, 4
add ecx, 4
test dx, dx
jne 0x435411
xor eax, eax
jmp 0x43543c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x435574
mov ecx, 0x52f220
lea eax, [ebp - 0x238]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x435475
test dx, dx
je 0x435471
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x435475
add eax, 4
add ecx, 4
test dx, dx
jne 0x43544f
xor eax, eax
jmp 0x43547a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x435574
test byte [ebp - 0x264], 0x10
je 0x435574
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.0040260d
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x27c]
add ecx, 0xfffffff0
call fcn.00402883
cmp dword [ebp + 0x18], 0
je 0x435519
push 0
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x274], esp
mov ecx, esp
push eax
call fcn.00402582
lea eax, [ebp - 0x2cc]
push eax
lea ecx, [ebp - 0x264]
call fcn.004350d4
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 0x435519
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [ebp + 0x10], 0
je 0x435574
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.00402582
push ecx
mov eax, esp
mov dword [ebp - 0x280], esp
push 0x5257bc
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.00435358
add dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x435584
mov eax, dword [eax]
test eax, eax
jne 0x43559f
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x435406
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x4355bf
mov eax, dword [eax]
test eax, eax
jne 0x4356d0
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.0040260d
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 0x4356d0
test byte [ebp - 0x264], 0x10
jne 0x4356a3
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.0040260d
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.00402582
lea eax, [ebp - 0x2cc]
push eax
lea ecx, [ebp - 0x264]
call fcn.004350d4
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 0x4356a3
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x4356b3
mov eax, dword [eax]
test eax, eax
jne 0x4356c9
lea eax, [ebp - 0x264]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x435612
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.004aea0c
ret 0x1c