Function at 0x4bca90
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 [0x7024bc]
xor eax, ebp
mov dword [esp + 0x68], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x60], 0xffffffff
lea ebx, [esp + 0x20]
push 0x82
push str..._.._base_files_file_enumerator_win.cc
push str.Next
push ebx
call fcn.004994e0
add esp, 0x10
lea ecx, [esp + 0x30]
push 0
push ebx
call fcn.004ab280
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 0x4bcb45
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
je 0x4bce83
lea ecx, [esp + 0x14]
call fcn.00495790
mov ecx, ebx
call fcn.00495790
cmp byte [edi], 0
je 0x4bcb80
push dword [esp + 0xc]
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4bccb2
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [edi + 0x254], 0xffffffff
jmp 0x4bccb2
mov eax, dword [edi + 0x290]
cmp dword [edi + 0x28c], eax
je 0x4bceb3
test eax, eax
mov ecx, dword [edi + 0x288]
cmove eax, ecx
add eax, 0xffffffff
cmp ecx, eax
jb 0x4bcedd
lea eax, [eax + eax*2]
shl eax, 2
add eax, dword [edi + 0x284]
mov ecx, dword [esp + 4]
push eax
call fcn.004957b0
mov ecx, dword [edi + 0x288]
mov edx, dword [edi + 0x290]
test edx, edx
je 0x4bcbe8
lea eax, [edx - 1]
mov dword [edi + 0x290], eax
cmp ecx, edx
jb 0x4bcee6
cmp ecx, eax
jae 0x4bcbfb
jmp 0x4bcee0
lea eax, [ecx - 1]
mov dword [edi + 0x290], eax
mov edx, ecx
cmp ecx, eax
jb 0x4bcee0
cmp edx, 0x80000000
je 0x4bcee3
mov esi, dword [esp + 8]
mov ecx, dword [esi]
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*4]
call fcn.00495790
mov ecx, esi
call fcn.004bd2a0
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [edi + 0x278]
test eax, eax
je 0x4bcc53
cmp eax, 1
jne 0x4bcc7b
mov ecx, dword [esp + 4]
push 1
push 0x68a9c8
jmp 0x4bcc73
movzx eax, byte [edi + 0x277]
mov edx, dword [esp]
test al, al
jns 0x4bcc6d
mov edx, dword [edi + 0x26c]
mov eax, dword [edi + 0x270]
mov ecx, dword [esp + 4]
push eax
push edx
push ebx
call fcn.004965d0
jmp 0x4bcc82
mov ecx, ebx
call fcn.00495680
cmp byte [esp + 0x2b], 0
mov eax, ebx
jns 0x4bcc8f
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.00495790
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [edi + 0x254], 0xffffffff
je 0x4bcd00
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x10]
cmp word [eax], 0
je 0x4bcd20
xor ecx, ecx
nop word cs:[eax + eax]
nop
lea eax, [ecx + 1]
cmp word [edi + ecx*2 + 0x32], 0
mov ecx, eax
jne 0x4bccf0
jmp 0x4bcd22
mov esi, eax
mov byte [edi], 0
cmp dword [edi + 0x278], 0
je 0x4bcdf3
cmp esi, 0x12
je 0x4bcb45
jmp 0x4bce09
xor eax, eax
mov ecx, ebx
push eax
push dword [esp + 0x14]
call fcn.004956d0
mov ecx, edi
push ebx
call fcn.00495570
test al, al
jne 0x4bcb3e
mov eax, ebx
mov ebx, dword [edi + 4]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x1c], 0xffffffff
mov ecx, dword [esp + 4]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004977a0
test bl, 0x10
je 0x4bce30
cmp byte [edi + 0x264], 0
je 0x4bce30
cmp byte [esp + 0x1f], 0
lea eax, [esp + 0x14]
jns 0x4bcd8f
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x400
jne 0x4bce30
mov ecx, dword [esp + 8]
push 1
call fcn.004bcfd0
mov eax, dword [edi + 0x290]
cmp dword [edi + 0x288], eax
jb 0x4bcee9
lea ecx, [eax + eax*2]
shl ecx, 2
add ecx, dword [edi + 0x284]
lea eax, [esp + 0x14]
push eax
call fcn.00444420
mov eax, dword [edi + 0x288]
mov edx, dword [edi + 0x290]
lea ecx, [eax - 1]
cmp edx, ecx
jne 0x4bce1b
mov dword [edi + 0x290], 0
jmp 0x4bce26
mov ecx, dword [esp]
push 0x68a9c8
call fcn.0048f136
cmp esi, 0x12
je 0x4bcb45
cmp dword [edi + 0x27c], 0
je 0x4bcb45
jmp 0x4bcea4
mov esi, edx
inc esi
mov dword [edi + 0x290], esi
jne 0x4bce28
mov edx, ecx
cmp eax, edx
jb 0x4bceec
and ebx, 0x10
shr ebx, 4
mov ecx, edi
push ebx
call fcn.00495660
test al, al
lea ebx, [esp + 0x20]
je 0x4bcb35
mov eax, dword [edi + 0x278]
cmp eax, 1
je 0x4bce5f
test eax, eax
jne 0x4bcb35
jmp 0x4bce83
mov eax, dword [esp]
cmp byte [eax + 0xb], 0
jns 0x4bce6d
mov eax, dword [esp]
mov eax, dword [eax]
cmp byte [esp + 0x2b], 0
mov ecx, ebx
jns 0x4bcb24
mov ecx, dword [esp + 0x20]
jmp 0x4bcb24
lea esi, [esp + 0x14]
mov edi, dword [ebp + 8]
mov ecx, edi
push esi
call fcn.00444420
mov ecx, esi
call fcn.00495790
lea ecx, [esp + 0x20]
call fcn.00495790
jmp 0x4bcebd
push esi
call fcn.004b7ab0
add esp, 4
mov dword [edi + 0x280], eax
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00495680
lea ecx, [esp + 0x30]
call fcn.004ab2f0
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.0064180a
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
int3
int3
int3
int3
int3
int3