Function at 0x45fae0
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 [0x587040]
xor eax, ebp
mov dword [esp + 0x68], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x30]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea ebx, [esp + 0x20]
push 0x8b
push str....._base_files_file_enumerator_win.cc
push str.Next
push ebx
call fcn.004b8ac0
add esp, 0x10
mov ecx, esi
mov esi, ebx
push 0
push ebx
call fcn.004aac50
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 eax, [edi + 4]
mov dword [esp + 0x14], eax
lea eax, [edi + 0x30]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edi
cmp byte [edi], 0
je 0x45fd36
push dword [esp + 0x14]
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov ebx, 0xffffffff
je 0x45fc92
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [edi + 0x254], 0xffffffff
je 0x45fcb6
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x1c]
push ebx
call fcn.00507e54
add esp, 4
mov ecx, esi
push eax
push ebx
call fcn.004b9630
mov ecx, edi
push esi
call fcn.004611f0
test al, al
jne 0x45fc82
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx]
xor ecx, ecx
dec ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xc]
push esi
mov esi, eax
push eax
call fcn.0046c440
test bl, 0x10
mov edi, dword [esp + 0x10]
jne 0x45fd06
and ebx, 0x10
shr ebx, 4
mov ecx, edi
push ebx
call fcn.004612e0
test al, al
mov ebx, esi
lea esi, [esp + 0x20]
je 0x45fc7b
mov eax, dword [edi + 0x278]
cmp eax, 1
jne 0x45fcad
cmp byte [edi + 0x277], 0
mov eax, dword [esp + 8]
js 0x45fe2c
cmp byte [esp + 0x2b], 0
mov ecx, esi
jns 0x45fc45
mov ecx, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
jne 0x45fc7b
lea ecx, [esp + 0x20]
call fcn.004b9720
lea ecx, [esp + 0x30]
call fcn.004aacc0
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.004ecef0
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, ebx
call fcn.004b9720
mov ecx, esi
call fcn.004b9720
mov edi, dword [esp + 0x10]
jmp 0x45fb67
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [edi + 0x254], 0xffffffff
jmp 0x45fb8d
test eax, eax
je 0x45fc52
jmp 0x45fe3e
mov byte [edi], 0
cmp dword [edi + 0x278], 0
jne 0x45fcdc
cmp byte [edi + 0x277], 0
js 0x45fcf4
mov byte [edi + 0x277], 1
mov ecx, dword [esp + 8]
mov dword [ecx], 0x2a
cmp eax, 0x12
je 0x45fb67
cmp dword [edi + 0x27c], 0
je 0x45fb67
jmp 0x45fd18
mov dword [edi + 0x270], 1
mov ecx, dword [edi + 0x26c]
jmp 0x45fcd6
cmp byte [edi + 0x264], 1
jne 0x45fc00
jmp 0x45fe5b
push eax
call fcn.0045de80
add esp, 4
mov dword [edi + 0x280], eax
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.004b95a0
jmp 0x45fc5b
mov eax, dword [edi + 0x290]
cmp dword [edi + 0x28c], eax
je 0x45fd27
mov ecx, dword [edi + 0x288]
test eax, eax
je 0x45fe37
dec eax
cmp ecx, eax
mov ebx, 0xffffffff
jb 0x45fe29
lea eax, [eax + eax*2]
shl eax, 2
add eax, dword [edi + 0x284]
mov ecx, dword [esp + 0xc]
push eax
call fcn.004b9740
mov ecx, dword [esp + 0x18]
call fcn.00460160
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov eax, dword [edi + 0x278]
test eax, eax
jne 0x45fe01
movsx eax, byte [edi + 0x277]
mov edx, dword [esp + 8]
test eax, eax
jns 0x45fdb0
mov eax, dword [edi + 0x270]
mov edx, dword [edi + 0x26c]
test eax, eax
js 0x45fe13
sete cl
test edx, edx
setne ch
or ch, cl
je 0x45fe1a
mov ecx, dword [esp + 0xc]
push eax
push edx
push esi
call fcn.004bab10
cmp byte [esp + 0x2b], 0
mov eax, esi
jns 0x45fdd9
mov eax, dword [esp + 0x20]
push 2
xor ecx, ecx
push ecx
push ecx
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.004b9720
jmp 0x45fb8d
cmp eax, 1
jne 0x45fe48
mov ecx, dword [esp + 0xc]
push 1
push 0x576c0c
jmp 0x45fdc6
push str....._third_partylibc_srcinclude_string_view:318:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
jmp 0x45fe1f
push str....._third_partylibc_srcinclude_string_view:320:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
push 0x565ab5
call fcn.0051c8d0
int3
mov eax, dword [esp + 8]
mov eax, dword [eax]
jmp 0x45fc38
mov eax, ecx
jmp 0x45fd52
call fcn.0053f890
jmp 0x45fc7b
call fcn.0053f890
lea ecx, [esp + 0x20]
call fcn.004b95a0
jmp 0x45fdcc
mov eax, esi
cmp byte [esi + 0xb], 0
jns 0x45fe65
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
bt eax, 0xa
mov edi, dword [esp + 0x10]
jb 0x45fc00
mov ecx, dword [esp + 0x18]
push esi
call fcn.0045ff50
jmp 0x45fc00