Function at 0x435b10
Capabilities:
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov edi, ecx
mov eax, dword [0x57ffac]
xor eax, ebp
mov dword [esp + 0x68], eax
lea ebx, [esp + 0x20]
push 0x82
push str..._.._base_files_file_enumerator_win.cc
push str.Next
push ebx
call fcn.00424a20
add esp, 0x10
lea ecx, [esp + 0x30]
push 0
push ebx
call fcn.0042ec60
lea eax, [edi + 4]
mov dword [esp + 0xc], eax
lea eax, [edi + 0x284]
mov dword [esp + 8], eax
lea eax, [edi + 0x258]
mov dword [esp + 4], eax
lea eax, [edi + 0x26c]
mov dword [esp], eax
lea eax, [edi + 0x30]
mov dword [esp + 0x10], eax
jmp 0x435b9f
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
je 0x435ea3
lea ecx, [esp + 0x14]
call fcn.004226f0
mov ecx, ebx
call fcn.004226f0
cmp byte [edi], 0
je 0x435be0
push dword [esp + 0xc]
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x435cfa
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [edi + 0x254], 0xffffffff
jmp 0x435cfa
mov eax, dword [edi + 0x290]
cmp dword [edi + 0x28c], eax
je 0x435ed3
test eax, eax
mov ecx, dword [edi + 0x288]
cmove eax, ecx
add eax, 0xffffffff
cmp ecx, eax
jb 0x435efd
lea eax, [eax + eax*2]
shl eax, 2
add eax, dword [edi + 0x284]
mov ecx, dword [esp + 4]
push eax
call fcn.00422710
mov ecx, dword [edi + 0x288]
mov edx, dword [edi + 0x290]
test edx, edx
je 0x435c48
lea eax, [edx - 1]
mov dword [edi + 0x290], eax
cmp ecx, edx
jb 0x435f06
cmp ecx, eax
jae 0x435c5b
jmp 0x435f00
lea eax, [ecx - 1]
mov dword [edi + 0x290], eax
mov edx, ecx
cmp ecx, eax
jb 0x435f00
cmp edx, 0x80000000
je 0x435f03
mov esi, dword [esp + 8]
mov ecx, dword [esi]
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*4]
call fcn.004226f0
mov ecx, esi
call fcn.004362c0
mov eax, dword [edi + 0x278]
test eax, eax
je 0x435c9b
cmp eax, 1
jne 0x435cc3
mov ecx, dword [esp + 4]
push 1
push 0x52ee80
jmp 0x435cbb
movzx eax, byte [edi + 0x277]
mov edx, dword [esp]
test al, al
jns 0x435cb5
mov edx, dword [edi + 0x26c]
mov eax, dword [edi + 0x270]
mov ecx, dword [esp + 4]
push eax
push edx
push ebx
call fcn.00423120
jmp 0x435cca
mov ecx, ebx
call fcn.004225d0
cmp byte [esp + 0x2b], 0
mov eax, ebx
jns 0x435cd7
mov eax, dword [esp + 0x20]
push 2
push 0
push 0
push dword [esp + 0x18]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov dword [edi + 0x254], eax
mov byte [edi], 1
mov ecx, ebx
call fcn.004226f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [edi + 0x254], 0xffffffff
je 0x435d30
mov eax, dword [esp + 0x10]
cmp word [eax], 0
je 0x435d50
xor ecx, ecx
nop word cs:[eax + eax]
nop
lea eax, [ecx + 1]
cmp word [edi + ecx*2 + 0x32], 0
mov ecx, eax
jne 0x435d20
jmp 0x435d52
mov esi, eax
mov byte [edi], 0
cmp dword [edi + 0x278], 0
je 0x435e0b
cmp esi, 0x12
je 0x435b9f
jmp 0x435e21
xor eax, eax
mov ecx, ebx
push eax
push dword [esp + 0x14]
call fcn.00422630
mov ecx, edi
push ebx
call fcn.004485b0
test al, al
jne 0x435b98
mov eax, ebx
mov ebx, dword [edi + 4]
mov ecx, dword [esp + 4]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00423920
test bl, 0x10
je 0x435e50
cmp byte [edi + 0x264], 0
je 0x435e50
cmp byte [esp + 0x1f], 0
lea eax, [esp + 0x14]
jns 0x435da7
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x400
jne 0x435e50
mov ecx, dword [esp + 8]
push 1
call fcn.00435ff0
mov eax, dword [edi + 0x290]
cmp dword [edi + 0x288], eax
jb 0x435f09
lea ecx, [eax + eax*2]
shl ecx, 2
add ecx, dword [edi + 0x284]
lea eax, [esp + 0x14]
push eax
call fcn.004225f0
mov eax, dword [edi + 0x288]
mov edx, dword [edi + 0x290]
lea ecx, [eax - 1]
cmp edx, ecx
jne 0x435e33
mov dword [edi + 0x290], 0
jmp 0x435e3e
mov ecx, dword [esp]
push 0x52ee80
call fcn.0041d286
cmp esi, 0x12
je 0x435b9f
cmp dword [edi + 0x27c], 0
je 0x435b9f
jmp 0x435ec4
mov esi, edx
inc esi
mov dword [edi + 0x290], esi
jne 0x435e40
mov edx, ecx
cmp eax, edx
jb 0x435f0c
nop dword [eax + eax]
and ebx, 0x10
shr ebx, 4
mov ecx, edi
push ebx
call fcn.00448680
test al, al
lea ebx, [esp + 0x20]
je 0x435b8f
mov eax, dword [edi + 0x278]
cmp eax, 1
je 0x435e7f
test eax, eax
jne 0x435b8f
jmp 0x435ea3
mov eax, dword [esp]
cmp byte [eax + 0xb], 0
jns 0x435e8d
mov eax, dword [esp]
mov eax, dword [eax]
cmp byte [esp + 0x2b], 0
mov ecx, ebx
jns 0x435b7e
mov ecx, dword [esp + 0x20]
jmp 0x435b7e
lea esi, [esp + 0x14]
mov edi, dword [ebp + 8]
mov ecx, edi
push esi
call fcn.004225f0
mov ecx, esi
call fcn.004226f0
lea ecx, [esp + 0x20]
call fcn.004226f0
jmp 0x435edd
push esi
call fcn.00433ae0
add esp, 4
mov dword [edi + 0x280], eax
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.004225d0
lea ecx, [esp + 0x30]
call fcn.0042ed80
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.004fe871
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
int3
int3
int3
int3
int3
int3