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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [0x52efc0]
mov ebx, dword [ebp + 8]
mov edi, ecx
lea esi, [ebp - 0x2c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x76
push str...._.._base_files_file_enumerator_win.cc
push str.Next
push esi
call fcn.00435760
add esp, 0x10
lea ecx, [ebp - 0x1c]
push 0
push esi
call fcn.00449d80
lea edx, [edi + 0x27c]
lea ecx, [edi + 0x258]
lea eax, [edi + 4]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x34], ecx
lea edx, [edi + 0x26c]
lea ecx, [edi + 0x30]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x40], ecx
cmp byte [edi], 0
jne 0x45b86d
jmp 0x45b8c0
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
je 0x45baab
mov ecx, ebx
call fcn.0042cba0
mov ecx, esi
call fcn.0042cba0
cmp byte [edi], 0
je 0x45b8c0
push dword [ebp - 0x38]
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x45b8a0
cmp dword [edi + 0x254], 0xffffffff
jne 0x45b99f
jmp 0x45b9c0
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [edi + 0x254], 0xffffffff
jmp 0x45b9c0
mov eax, dword [edi + 0x288]
cmp dword [edi + 0x284], eax
je 0x45baa2
mov ecx, dword [edi + 0x280]
test eax, eax
cmove eax, ecx
dec eax
cmp ecx, eax
jb 0x45bad1
lea eax, [eax + eax*2]
mov ecx, dword [ebp - 0x34]
shl eax, 2
add eax, dword [edi + 0x27c]
push eax
call fcn.00430e10
mov ecx, dword [ebp - 0x3c]
call fcn.0045d180
mov eax, dword [edi + 0x278]
test eax, eax
je 0x45b91e
cmp eax, 1
jne 0x45b945
mov ecx, dword [ebp - 0x34]
push 1
push 0x4ee388
jmp 0x45b93d
movzx eax, byte [edi + 0x277]
mov edx, dword [ebp - 0x30]
test al, al
jns 0x45b938
mov edx, dword [edi + 0x26c]
mov eax, dword [edi + 0x270]
mov ecx, dword [ebp - 0x34]
push eax
push edx
push esi
call fcn.00431b50
jmp 0x45b94c
mov ecx, esi
call fcn.0042cb10
call fcn.004586f0
mov eax, dword [0x531ce8]
cmp byte [ebp - 0x21], 0
mov ecx, dword [eax]
mov eax, esi
jns 0x45b963
mov eax, dword [ebp - 0x2c]
cmp ecx, 4
jl 0x45b97c
push 2
push 0
push 0
push dword [ebp - 0x38]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
jmp 0x45b986
push dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, esi
mov dword [edi + 0x254], eax
mov byte [edi], 1
call fcn.0042cba0
cmp dword [edi + 0x254], 0xffffffff
je 0x45b9c0
mov eax, dword [ebp - 0x40]
cmp word [eax], 0
je 0x45b9eb
xor eax, eax
nop word [eax + eax]
cmp word [edi + eax*2 + 0x32], 0
lea eax, [eax + 1]
jne 0x45b9b0
jmp 0x45b9ed
mov byte [edi], 0
cmp dword [edi + 0x278], 0
jne 0x45b868
mov ecx, dword [ebp - 0x30]
push 0x4ee388
call fcn.00428a50
cmp byte [edi], 0
jne 0x45b86d
jmp 0x45b8c0
xor eax, eax
mov ecx, esi
push eax
push dword [ebp - 0x40]
call fcn.0042cb30
mov ecx, edi
push esi
call fcn.00431060
test al, al
jne 0x45b861
mov eax, ebx
mov ebx, dword [edi + 4]
mov ecx, dword [ebp - 0x34]
push esi
mov esi, eax
push eax
call fcn.00431e50
test bl, 0x10
je 0x45ba50
cmp byte [edi + 0x264], 0
je 0x45ba50
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x45ba31
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x400
jne 0x45ba50
mov ecx, dword [ebp - 0x3c]
push esi
call fcn.0045cde0
nop dword [eax + eax]
and ebx, 0x10
mov ecx, edi
shr ebx, 4
push ebx
call fcn.00431230
mov ebx, esi
test al, al
lea esi, [ebp - 0x2c]
je 0x45b85a
mov eax, dword [edi + 0x278]
cmp eax, 1
je 0x45ba80
test eax, eax
jne 0x45b85a
jmp 0x45baab
mov eax, dword [ebp - 0x30]
cmp byte [eax + 0xb], 0
jns 0x45ba8e
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp byte [ebp - 0x21], 0
mov ecx, esi
jns 0x45b849
mov ecx, dword [ebp - 0x2c]
jmp 0x45b849
mov ecx, ebx
call fcn.0042cb10
jmp 0x45bab3
lea ecx, [ebp - 0x2c]
call fcn.0042cba0
lea ecx, [ebp - 0x1c]
call fcn.00449e80
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004aeb01
mov eax, ebx
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret 4
int3