Function at 0x458cb0
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 [0x4e3014]
xor eax, ebp
mov dword [esp + 0x78], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
lea esi, [esp + 0x20]
push 0x8b
push str....._base_files_file_enumerator_win.cc
push str.Next
push esi
call fcn.004546a0
add esp, 0x10
lea ecx, [esp + 0x30]
push 0
push esi
call fcn.004546e0
lea eax, [edi + 4]
mov dword [esp + 0x14], eax
lea eax, [edi + 0x284]
mov dword [esp + 0x18], eax
lea eax, [edi + 0x258]
mov dword [esp + 0xc], eax
lea eax, [edi + 0x26c]
mov dword [esp + 8], eax
lea ebx, [edi + 0x30]
mov dword [esp + 0x10], ebx
jmp 0x458d60
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
mov eax, dword [ebp + 8]
jne 0x45908e
jmp 0x4590e5
cmp byte [edi], 0
je 0x458da0
push dword [esp + 0x14]
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x458edf
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [edi + 0x254], 0xffffffff
jmp 0x458edf
mov eax, dword [edi + 0x290]
cmp dword [edi + 0x28c], eax
je 0x4590d9
test eax, eax
mov ecx, dword [edi + 0x288]
cmove eax, ecx
dec eax
cmp ecx, eax
jb 0x459113
lea eax, [eax + eax*2]
shl eax, 2
add eax, dword [edi + 0x284]
mov ecx, dword [esp + 0xc]
push eax
call fcn.00438d80
mov ecx, dword [edi + 0x288]
mov edx, dword [edi + 0x290]
test edx, edx
je 0x458e06
lea eax, [edx - 1]
mov dword [edi + 0x290], eax
cmp ecx, edx
jb 0x45911c
cmp ecx, eax
jae 0x458e19
jmp 0x459116
lea eax, [ecx - 1]
mov dword [edi + 0x290], eax
mov edx, ecx
cmp ecx, eax
jb 0x459116
cmp edx, 0x80000000
je 0x459119
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebx]
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*4]
call fcn.00438d60
mov ecx, ebx
call fcn.004594e0
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [edi + 0x278]
cmp eax, 1
je 0x458e91
test eax, eax
mov ebx, dword [esp + 0x10]
jne 0x458ea8
movzx eax, byte [edi + 0x277]
mov edx, dword [esp + 8]
test al, al
jns 0x458e83
mov edx, dword [edi + 0x26c]
mov eax, dword [edi + 0x270]
mov ecx, dword [esp + 0xc]
push eax
push edx
push esi
call fcn.00439830
jmp 0x458eaf
mov ecx, dword [esp + 0xc]
push 1
push 0x4d31d2
push esi
call fcn.00439830
mov ebx, dword [esp + 0x10]
jmp 0x458eaf
mov ecx, esi
call fcn.00438c50
cmp byte [esp + 0x2b], 0
mov eax, esi
jns 0x458ebc
mov eax, dword [esp + 0x20]
push 2
push 0
push 0
push dword [esp + 0x20]
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.00438d60
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [edi + 0x254], 0xffffffff
je 0x458fe0
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], 0xffffffff
test ebx, ebx
je 0x459110
push ebx
call fcn.004b414c
add esp, 4
mov ecx, esi
push eax
push ebx
call fcn.00438cb0
mov ecx, edi
push esi
call fcn.004595b0
test al, al
jne 0x459095
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx]
mov dword [eax], 0xffffffff
mov dword [eax + 4], 0xffffffff
mov dword [eax + 8], 0xffffffff
mov ecx, dword [esp + 0xc]
push esi
mov esi, eax
push eax
call fcn.00439fa0
test bl, 0x10
je 0x459060
cmp byte [edi + 0x264], 0
je 0x459060
mov eax, esi
cmp byte [esi + 0xb], 0
jns 0x458f7e
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x400
jne 0x459060
mov ecx, dword [esp + 0x18]
push 1
call fcn.00459210
mov eax, dword [edi + 0x290]
cmp dword [edi + 0x288], eax
jb 0x459122
lea ecx, [eax + eax*2]
shl ecx, 2
add ecx, dword [edi + 0x284]
push esi
call fcn.00438c70
mov edx, dword [edi + 0x288]
mov ecx, dword [edi + 0x290]
lea eax, [edx - 1]
cmp ecx, eax
jne 0x45903e
mov dword [edi + 0x290], 0
jmp 0x459051
mov byte [edi], 0
cmp dword [edi + 0x278], 0
je 0x458ff7
cmp eax, 0x12
je 0x458d60
jmp 0x45902c
cmp byte [edi + 0x277], 0
js 0x45900d
mov byte [edi + 0x277], 1
mov ecx, dword [esp + 8]
jmp 0x45901d
mov dword [edi + 0x270], 1
mov ecx, dword [edi + 0x26c]
mov dword [ecx], 0x2a
cmp eax, 0x12
je 0x458d60
cmp dword [edi + 0x27c], 0
je 0x458d60
jmp 0x4590ca
mov dword [esp + 0x1c], edx
mov edx, ecx
inc edx
mov dword [edi + 0x290], edx
mov edx, dword [esp + 0x1c]
jne 0x459053
mov ecx, eax
cmp edx, ecx
jb 0x45911f
nop dword [eax + eax]
and ebx, 0x10
shr ebx, 4
mov ecx, edi
push ebx
call fcn.00459740
test al, al
mov eax, esi
lea esi, [esp + 0x20]
mov ebx, dword [esp + 0x10]
je 0x45908e
mov eax, dword [edi + 0x278]
cmp eax, 1
je 0x4590a1
test eax, eax
mov eax, dword [ebp + 8]
je 0x4590e5
mov ecx, eax
call fcn.00438d60
mov ecx, esi
call fcn.00438d60
jmp 0x458d60
cmp byte [edi + 0x277], 0
mov eax, dword [esp + 8]
jns 0x4590b4
mov eax, dword [esp + 8]
mov eax, dword [eax]
cmp byte [esp + 0x2b], 0
mov ecx, esi
jns 0x458d3e
mov ecx, dword [esp + 0x20]
jmp 0x458d3e
push eax
call fcn.00457c00
add esp, 4
mov dword [edi + 0x280], eax
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00438c50
jmp 0x4590f0
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.00438d60
lea ecx, [esp + 0x30]
call fcn.00454760
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.00499333
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
int3
int3
int3
int3
int3
int3
int3