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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov edi, ecx
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [esp + 0x68], eax
xor eax, eax
dec eax
lea esi, [esp + 0x30]
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea ebx, [esp + 0x20]
push 0x82
push str..._.._base_files_file_enumerator_win.cc
push str.Next
push ebx
call fcn.004c10c0
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.004c7be0
lea eax, [edi + 4]
mov dword [esp + 0xc], eax
lea eax, [edi + 0x258]
mov dword [esp + 8], eax
lea eax, [edi + 0x26c]
mov dword [esp + 4], eax
lea eax, [edi + 0x30]
mov dword [esp + 0x10], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [edi], 0
je 0x42c748
push dword [esp + 0xc]
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x42c806
call ebx
cmp dword [edi + 0x254], 0xffffffff
jne 0x42c821
mov esi, eax
mov byte [edi], 0
cmp dword [edi + 0x278], 0
jne 0x42c73e
mov ecx, dword [esp + 4]
push 0x57e47c
call fcn.00414d50
cmp esi, 0x12
je 0x42c6f6
jmp 0x42c93a
mov eax, dword [edi + 0x290]
cmp dword [edi + 0x28c], eax
je 0x42c956
test eax, eax
mov ecx, dword [edi + 0x288]
cmove eax, ecx
dec eax
cmp ecx, eax
jb 0x42c90a
lea esi, [edi + 0x284]
lea eax, [eax + eax*2]
shl eax, 2
add eax, dword [edi + 0x284]
mov ecx, dword [esp + 8]
push eax
call fcn.004076e0
mov ecx, esi
call fcn.0042cb20
xor eax, eax
dec eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x278]
test eax, eax
jne 0x42c962
movzx eax, byte [edi + 0x277]
mov edx, dword [esp + 4]
test al, al
lea esi, [esp + 0x20]
js 0x42c8bf
mov ecx, dword [esp + 8]
push eax
push edx
push esi
call fcn.00411970
cmp byte [esp + 0x2b], 0
mov eax, esi
js 0x42c8b6
push 2
xor ecx, ecx
push ecx
push ecx
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, esi
call fcn.004c5e70
jmp 0x42c713
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [edi + 0x254], 0xffffffff
jmp 0x42c713
xor eax, eax
dec eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x42c90d
push ebx
call fcn.004d00f2
add esp, 4
lea esi, [esp + 0x20]
mov ecx, esi
push eax
push ebx
call fcn.004cae90
mov ecx, edi
push esi
call fcn.0042ca50
test al, al
jne 0x42c8aa
mov ebx, dword [edi + 4]
xor eax, eax
dec eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 8]
push esi
lea eax, [esp + 0x18]
push eax
call fcn.0042ca20
test bl, 0x10
jne 0x42c8d0
and ebx, 0x10
shr ebx, 4
mov ecx, edi
push ebx
call fcn.0042ca00
test al, al
je 0x42c9d2
mov eax, dword [edi + 0x278]
test eax, eax
je 0x42c993
jmp 0x42c914
mov ecx, esi
call fcn.004c5e70
jmp 0x42c6f0
mov eax, dword [esp + 0x20]
jmp 0x42c7de
mov edx, dword [edi + 0x26c]
mov eax, dword [edi + 0x270]
jmp 0x42c7c5
cmp byte [edi + 0x264], 0
je 0x42c884
cmp byte [esp + 0x1f], 0
lea eax, [esp + 0x14]
jns 0x42c8e8
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
bt eax, 0xa
jb 0x42c884
lea ecx, [edi + 0x284]
lea eax, [esp + 0x14]
push eax
call fcn.0042f880
jmp 0x42c884
int3
xor eax, eax
jmp 0x42c845
cmp eax, 1
jne 0x42c9d2
mov eax, dword [esp + 4]
cmp byte [eax + 0xb], 0
jns 0x42c92d
mov eax, dword [esp + 4]
mov eax, dword [eax]
cmp byte [esp + 0x2b], 0
jns 0x42c97e
mov ecx, dword [esp + 0x20]
jmp 0x42c982
cmp dword [edi + 0x27c], 0
je 0x42c6f6
push esi
call fcn.00430340
add esp, 4
mov dword [edi + 0x280], eax
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.0041a390
jmp 0x42c9b2
cmp eax, 1
jne 0x42c9e0
lea eax, [esp + 0x20]
mov ecx, dword [esp + 8]
push 1
push 0x57e47c
push eax
call fcn.00411970
jmp 0x42c9e9
lea ecx, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
lea esi, [esp + 0x20]
jne 0x42c9d2
lea esi, [esp + 0x14]
mov ebx, dword [ebp + 8]
mov ecx, ebx
push esi
call fcn.00407430
mov ecx, esi
call fcn.004c5e70
lea ecx, [esp + 0x20]
call fcn.004c5e70
lea ecx, [esp + 0x30]
call fcn.004c7b60
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.004d25a3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea ecx, [esp + 0x14]
call fcn.004c5e70
jmp 0x42c8aa
lea ecx, [esp + 0x20]
call fcn.0041a390
lea esi, [esp + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x42c7d1