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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [0x5a05c4]
mov edi, ecx
lea esi, [ebp - 0x2c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x73
push str..._.._base_files_file_enumerator_win.cc
push str.Next
push esi
call fcn.0043e1b0
add esp, 0x10
lea ecx, [ebp - 0x1c]
push 0
push esi
call fcn.00449640
lea edx, [edi + 0x27c]
lea ecx, [edi + 0x258]
lea eax, [edi + 4]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], ecx
lea edx, [edi + 0x26c]
lea ecx, [edi + 0x30]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x3c], ecx
jmp 0x458e50
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
mov ecx, ebx
je 0x459130
call fcn.0043a4c0
mov ecx, esi
call fcn.0043a4c0
cmp byte [edi], 0
je 0x458e80
push dword [ebp - 0x40]
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x458ef0
cmp dword [edi + 0x254], 0xffffffff
jne 0x458fc0
jmp 0x458fe0
mov eax, dword [edi + 0x288]
cmp dword [edi + 0x284], eax
je 0x459124
mov ecx, dword [edi + 0x280]
test eax, eax
cmove eax, ecx
dec eax
cmp ecx, eax
jb 0x459158
lea eax, [eax + eax*2]
mov ecx, dword [ebp - 0x34]
shl eax, 2
add eax, dword [edi + 0x27c]
push eax
call fcn.0043a4e0
mov edx, dword [edi + 0x288]
mov ecx, dword [edi + 0x280]
test edx, edx
je 0x458f0b
lea eax, [edx - 1]
cmp ecx, edx
mov dword [edi + 0x288], eax
jb 0x459161
cmp ecx, eax
jae 0x458f1e
jmp 0x45915b
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [edi + 0x254], 0xffffffff
jmp 0x458fe0
lea eax, [ecx - 1]
mov edx, ecx
mov dword [edi + 0x288], eax
cmp ecx, eax
jb 0x45915b
cmp edx, 0x80000000
je 0x45915e
mov ebx, dword [ebp - 0x38]
lea eax, [eax + eax*2]
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4]
call fcn.0043a4c0
mov ecx, ebx
call fcn.00459510
mov eax, dword [edi + 0x278]
test eax, eax
je 0x458f5c
cmp eax, 1
jne 0x458f83
mov ecx, dword [ebp - 0x34]
push 1
push 0x55ee1e
jmp 0x458f7b
movzx eax, byte [edi + 0x277]
mov edx, dword [ebp - 0x30]
test al, al
jns 0x458f76
mov edx, dword [edi + 0x26c]
mov eax, dword [edi + 0x270]
mov ecx, dword [ebp - 0x34]
push eax
push edx
push esi
call fcn.0043b210
jmp 0x458f8a
mov ecx, esi
call fcn.0043a3a0
cmp byte [ebp - 0x21], 0
mov eax, esi
jns 0x458f95
mov eax, dword [ebp - 0x2c]
push 2
push 0
push 0
push dword [ebp - 0x40]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov ecx, esi
mov dword [edi + 0x254], eax
mov byte [edi], 1
call fcn.0043a4c0
cmp dword [edi + 0x254], 0xffffffff
je 0x458fe0
mov eax, dword [ebp - 0x3c]
cmp word [eax], 0
je 0x459002
xor eax, eax
nop dword [eax + eax]
cmp word [edi + eax*2 + 0x32], 0
lea eax, [eax + 1]
jne 0x458fd0
jmp 0x459004
mov byte [edi], 0
cmp dword [edi + 0x278], 0
jne 0x458e50
mov ecx, dword [ebp - 0x30]
push 0x55ee1e
call fcn.00427f50
jmp 0x458e50
xor eax, eax
mov ecx, esi
push eax
push dword [ebp - 0x3c]
call fcn.0043a400
mov ecx, edi
push esi
call fcn.00479e10
test al, al
jne 0x458e49
mov ebx, dword [edi + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x34]
push esi
mov esi, eax
push eax
call fcn.0043bd30
test bl, 0x10
je 0x4590d0
cmp byte [edi + 0x264], 0
je 0x4590d0
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x459051
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x400
jne 0x4590d0
mov ecx, dword [ebp - 0x38]
push 1
call fcn.00459250
mov eax, dword [edi + 0x288]
cmp dword [edi + 0x280], eax
jb 0x459164
lea ecx, [eax + eax*2]
shl ecx, 2
add ecx, dword [edi + 0x27c]
push esi
call fcn.0043a3c0
mov edx, dword [edi + 0x280]
mov ecx, dword [edi + 0x288]
lea eax, [edx - 1]
cmp ecx, eax
jne 0x4590ac
mov dword [edi + 0x288], 0
jmp 0x4590bd
mov dword [ebp - 0x44], edx
mov edx, ecx
inc edx
mov dword [edi + 0x288], edx
mov edx, dword [ebp - 0x44]
jne 0x4590bf
mov ecx, eax
cmp edx, ecx
jb 0x459167
nop word [eax + eax]
and ebx, 0x10
mov ecx, edi
shr ebx, 4
push ebx
call fcn.00479ee0
mov ecx, esi
test al, al
lea esi, [ebp - 0x2c]
je 0x458e44
mov eax, dword [edi + 0x278]
cmp eax, 1
je 0x459100
test eax, eax
jne 0x458e44
jmp 0x459130
mov eax, dword [ebp - 0x30]
mov ebx, ecx
cmp byte [eax + 0xb], 0
jns 0x459110
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp byte [ebp - 0x21], 0
mov ecx, esi
jns 0x458e31
mov ecx, dword [ebp - 0x2c]
jmp 0x458e31
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0043a3a0
jmp 0x45913a
mov esi, ecx
lea ecx, [ebp - 0x2c]
call fcn.0043a4c0
lea ecx, [ebp - 0x1c]
call fcn.00449730
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00527311
mov eax, esi
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret 4
int3
int3
int3
int3
int3
int3