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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xcc
mov eax, dword [0x49c3bc]
mov ebx, dword [ebp + 8]
mov edi, ecx
lea esi, [ebp - 0xb4]
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.0042e090
add esp, 0x10
lea ecx, [ebp - 0xc0]
push 0
push esi
call fcn.0042e320
lea ecx, [edi + 0x27c]
lea edx, [edi + 0x280]
lea eax, [edi + 4]
mov dword [ebp - 0xcc], ecx
lea ecx, [edi + 0x258]
mov dword [ebp - 0xd0], edx
lea edx, [edi + 0x26c]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xc8], ecx
lea ecx, [edi + 0x30]
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0xd4], ecx
jmp 0x42fbe7
mov ecx, esi
call fcn.00420c10
cmp byte [edi], 0
je 0x42fc20
push dword [ebp - 0xd8]
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x42fcc0
cmp dword [edi + 0x254], 0xffffffff
jne 0x42fd4e
jmp 0x42fd70
mov eax, dword [edi + 0x288]
cmp dword [edi + 0x284], eax
je 0x42fe69
mov ecx, dword [ebp - 0xd0]
test eax, eax
mov ecx, dword [ecx]
cmove eax, ecx
dec eax
cmp ecx, eax
mov dword [ebp - 0x14], eax
jae 0x42fc78
push str.i___capacity_
push dword [ebp - 0xd0]
lea eax, [ebp - 0x14]
push eax
call fcn.0041cd30
add esp, 0xc
test eax, eax
je 0x42fc78
mov ecx, esi
push eax
push 0x55
push str..._.._base_containers_vector_buffer.h
call fcn.0042ce40
mov ecx, esi
call fcn.0042c1f0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc8]
lea eax, [eax + eax*2]
shl eax, 2
add eax, dword [edi + 0x27c]
push eax
call fcn.00420c30
mov ecx, dword [ebp - 0xcc]
call fcn.004306f0
mov eax, dword [edi + 0x278]
test eax, eax
je 0x42fcdb
cmp eax, 1
jne 0x42fd08
mov ecx, dword [ebp - 0xc8]
push 1
push 0x484944
jmp 0x42fd00
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [edi + 0x254], 0xffffffff
jmp 0x42fd70
movzx eax, byte [edi + 0x277]
mov edx, dword [ebp - 0xc4]
test al, al
jns 0x42fcf8
mov edx, dword [edi + 0x26c]
mov eax, dword [edi + 0x270]
mov ecx, dword [ebp - 0xc8]
push eax
push edx
push esi
call fcn.004216b0
jmp 0x42fd0f
mov ecx, esi
call fcn.00420b40
cmp byte [ebp - 0xa9], 0
mov eax, esi
jns 0x42fd20
mov eax, dword [ebp - 0xb4]
push 2
push 0
push 0
push dword [ebp - 0xd8]
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.00420c10
cmp dword [edi + 0x254], 0xffffffff
je 0x42fd70
mov eax, dword [ebp - 0xd4]
cmp word [eax], 0
je 0x42fd95
xor eax, eax
nop dword [eax]
cmp word [edi + eax*2 + 0x32], 0
lea eax, [eax + 1]
jne 0x42fd60
jmp 0x42fd97
mov byte [edi], 0
cmp dword [edi + 0x278], 0
jne 0x42fbe7
mov ecx, dword [ebp - 0xc4]
push 0x484944
call fcn.0041ad2e
jmp 0x42fbe7
xor eax, eax
mov ecx, esi
push eax
push dword [ebp - 0xd4]
call fcn.00420ba0
mov ecx, edi
push esi
call fcn.004308e0
test al, al
jne 0x42fbe0
mov eax, ebx
mov ebx, dword [edi + 4]
mov ecx, dword [ebp - 0xc8]
push esi
mov esi, eax
push eax
call fcn.00421c20
test bl, 0x10
je 0x42fe00
cmp byte [edi + 0x264], 0
je 0x42fe00
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x42fde1
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x400
jne 0x42fe00
mov ecx, dword [ebp - 0xcc]
push esi
call fcn.00430170
nop dword [eax + eax]
and ebx, 0x10
mov ecx, edi
shr ebx, 4
push ebx
call fcn.004309b0
mov ebx, esi
test al, al
lea esi, [ebp - 0xb4]
je 0x42fe5d
mov eax, dword [edi + 0x278]
cmp eax, 1
je 0x42fe2b
test eax, eax
jne 0x42fe5d
jmp 0x42fe72
mov eax, dword [ebp - 0xc4]
cmp byte [eax + 0xb], 0
jns 0x42fe3f
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax]
cmp byte [ebp - 0xa9], 0
mov ecx, esi
jns 0x42fe50
mov ecx, dword [ebp - 0xb4]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
je 0x42fe72
mov ecx, ebx
call fcn.00420c10
jmp 0x42fbe0
mov ecx, ebx
call fcn.00420b40
jmp 0x42fe7d
lea ecx, [ebp - 0xb4]
call fcn.00420c10
lea ecx, [ebp - 0xc0]
call fcn.0042e410
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00459221
mov eax, ebx
add esp, 0xcc
pop esi
pop edi
pop ebx
pop ebp
ret 4