Function at 0x460ec0
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, 0x80
mov edi, ecx
mov eax, dword [0x5ff014]
xor eax, ebp
mov dword [esp + 0x78], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x30]
movdqa xmmword [esi + 0x30], 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.004dea80
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.004e60a0
lea ebx, [edi + 4]
lea eax, [edi + 0x30]
mov dword [esp + 0x10], eax
lea eax, [edi + 0x258]
mov dword [esp], eax
lea esi, [edi + 0x26c]
lea eax, [edi + 0x284]
mov dword [esp + 0xc], eax
mov edx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
cmp byte [edi], 0
je 0x46104b
push ebx
push dword [edi + 0x254]
call edx
test eax, eax
je 0x46112e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [edi + 0x254], 0xffffffff
je 0x46110a
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 0x461280
mov esi, edi
push ebx
call fcn.0051f544
add esp, 4
lea ecx, [esp + 0x20]
push eax
push ebx
mov ebx, ecx
call fcn.004dd130
mov ecx, esi
push ebx
call fcn.0047ddf0
test al, al
jne 0x4610b2
mov eax, ebx
mov ebx, dword [edi + 4]
xor ecx, ecx
dec ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00454420
test bl, 0x10
jne 0x461221
and ebx, 0x10
shr ebx, 4
mov ecx, edi
push ebx
call fcn.0047dee0
test al, al
mov ebx, dword [esp + 4]
mov esi, dword [esp + 8]
je 0x461263
mov eax, dword [edi + 0x278]
cmp eax, 1
jne 0x46119d
mov eax, esi
cmp byte [esi + 0xb], 0
js 0x461286
cmp byte [esp + 0x2b], 0
lea ecx, [esp + 0x20]
jns 0x461031
mov ecx, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
mov ebx, dword [esp + 4]
je 0x4611a5
jmp 0x461263
mov eax, dword [edi + 0x290]
cmp dword [edi + 0x28c], eax
je 0x461200
test eax, eax
mov ecx, dword [edi + 0x288]
cmove eax, ecx
dec eax
cmp ecx, eax
jb 0x461283
lea eax, [eax + eax*2]
shl eax, 2
add eax, dword [edi + 0x284]
mov ecx, dword [esp]
push eax
call fcn.004532e0
mov ecx, dword [esp + 0xc]
call fcn.00461590
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]
cmp eax, 1
je 0x461149
jmp 0x46115e
mov ecx, ebx
call fcn.004dd1f0
mov ebx, dword [esp + 4]
mov esi, dword [esp + 8]
mov edx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x460f4e
lea ebx, [esp + 0x28]
push ebx
call fcn.004de0b0
cmp byte [esp + 0x2b], 0
mov eax, ebx
js 0x461158
push 2
xor ecx, ecx
push ecx
push ecx
mov ebx, dword [esp + 0x10]
push ebx
push 1
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov dword [edi + 0x254], eax
mov byte [edi], 1
lea ecx, [esp + 0x20]
call fcn.004dd1f0
jmp 0x460f68
mov byte [edi], 0
cmp dword [edi + 0x278], 0
mov esi, dword [esp + 8]
mov edx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
je 0x461189
cmp eax, 0x12
je 0x460f4e
jmp 0x4611e4
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [edi + 0x254], 0xffffffff
jmp 0x460f68
mov ecx, dword [esp]
push 1
push 0x5e3884
jmp 0x4610cc
mov eax, dword [esp + 0x20]
jmp 0x4610df
test eax, eax
jne 0x46128d
movzx eax, byte [edi + 0x277]
mov edx, esi
test al, al
jns 0x46117f
mov edx, dword [edi + 0x26c]
mov eax, dword [edi + 0x270]
mov ecx, dword [esp]
push eax
push edx
jmp 0x4610cc
cmp byte [esi + 0xb], 0
js 0x46120c
mov byte [esi + 0xb], 1
mov ecx, esi
mov dword [ecx], 0x2a
jmp 0x461120
test eax, eax
jne 0x461263
mov esi, dword [ebp + 8]
mov ecx, esi
lea edi, [esp + 0x14]
push edi
call fcn.004dd0c0
mov ecx, edi
call fcn.004dd1f0
lea ecx, [esp + 0x20]
call fcn.004dd1f0
lea ecx, [esp + 0x30]
call fcn.004e6100
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.00504596
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
cmp dword [edi + 0x27c], 0
je 0x460f4e
push eax
call fcn.0045c800
add esp, 4
mov dword [edi + 0x280], eax
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.004dd0a0
jmp 0x4611c4
mov dword [edi + 0x270], 1
mov ecx, dword [edi + 0x26c]
jmp 0x461195
cmp byte [edi + 0x264], 0
je 0x460fe9
cmp byte [esp + 0x1f], 0
lea eax, [esp + 0x14]
jns 0x46123d
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
bt eax, 0xa
mov edi, esi
jb 0x460fe9
lea eax, [esp + 0x14]
mov ecx, dword [esp + 0xc]
push eax
call fcn.00461370
jmp 0x460fe9
lea ecx, [esp + 0x14]
call fcn.004dd1f0
lea ecx, [esp + 0x20]
call fcn.004dd1f0
mov edx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x460f4e
int3
int3
mov eax, dword [esi]
jmp 0x461022
lea ecx, [esp + 0x20]
call fcn.004dd0a0
lea ebx, [esp + 0x20]
jmp 0x4610d6