Function at 0x53acd0
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, 0x90
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x644040]
xor eax, ebp
mov dword [esp + 0x88], eax
pcmpeqd xmm0, xmm0
lea ebx, [esp + 0x40]
movdqa xmmword [ebx + 0x20], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
lea eax, [esp + 0x30]
push 0x8b
push str.file_enumerator_win.cc
push str.Next
push eax
call fcn.005068d0
add esp, 0x10
xor eax, eax
mov ecx, ebx
push eax
push eax
call fcn.00520200
mov dword [esp + 0x78], 0xa
mov al, byte [0x649446]
test al, al
mov dword [esp + 8], esi
jne 0x53b38e
lea eax, [esi + 4]
mov dword [esp + 0x14], eax
lea eax, [esi + 0x258]
mov dword [esp + 0xc], eax
lea eax, [esi + 0x30]
mov dword [esp + 0x20], eax
lea eax, [esi + 0x284]
mov dword [esp + 0x10], eax
lea eax, [esi + 0x26c]
mov dword [esp + 0x1c], eax
lea ebx, [esp + 0x30]
cmp byte [esi], 0
je 0x53b0fc
push dword [esp + 0x14]
push dword [esi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x53b0b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x254], 0xffffffff
je 0x53b27a
xor eax, eax
dec eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov edi, dword [esp + 0x20]
push edi
call fcn.005666c2
add esp, 4
cmp eax, 0x7ffffff8
jae 0x53b355
mov ebx, eax
cmp eax, 4
jbe 0x53afce
mov esi, ebx
or esi, 3
inc esi
js 0x53b326
lea eax, [esi + esi]
push eax
call fcn.00564ea5
add esp, 4
mov dword [esp + 0x24], eax
or esi, 0x80000000
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
lea esi, [eax + ebx*2]
cmp eax, edi
ja 0x53ae17
cmp esi, edi
ja 0x53b367
test ebx, ebx
je 0x53ae28
add ebx, ebx
push ebx
push edi
push eax
call fcn.00569390
add esp, 0xc
mov word [esi], 0
movsx edx, byte [esp + 0x2f]
test edx, edx
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov esi, edx
cmovs esi, ebx
lea edi, [esp + 0x24]
mov dword [esp + 0x18], eax
cmovs edi, eax
test esi, esi
je 0x53ae73
xor eax, eax
xor ecx, ecx
nop word cs:[eax + eax]
cmp word [edi + eax*2], 0
je 0x53b2e5
add ecx, 0xfffffffe
inc eax
cmp esi, eax
jne 0x53ae60
xor eax, eax
dec eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x24]
lea eax, [esp + 0x7c]
push eax
call fcn.00525da0
cmp byte [esp + 0x87], 0
mov edi, dword [ebp + 8]
jns 0x53afdb
lea ebx, [esp + 0x30]
mov ecx, ebx
push dword [esp + 0x80]
push dword [esp + 0x80]
call fcn.00506680
cmp byte [esp + 0x87], 0
jns 0x53aed0
push dword [esp + 0x7c]
call fcn.00564ea0
add esp, 4
movsx ecx, byte [esp + 0x3b]
test ecx, ecx
mov esi, dword [esp + 0x34]
cmovns esi, ecx
mov eax, dword [esp + 0x30]
mov edx, ebx
cmovs edx, eax
test esi, esi
js 0x53b32b
je 0x53aef9
test edx, edx
je 0x53b33a
cmp esi, 1
je 0x53b016
cmp esi, 2
je 0x53b08c
xor ebx, ebx
mov esi, dword [esp + 8]
test cl, cl
jns 0x53af1e
push eax
call fcn.00564ea0
add esp, 4
test bl, bl
jne 0x53b032
mov eax, dword [esp + 0x14]
mov ebx, dword [eax]
xor eax, eax
dec eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
movsx eax, byte [esp + 0x2f]
test eax, eax
cmovs eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x24]
cmovns edx, ecx
test eax, eax
js 0x53b32b
je 0x53af60
test edx, edx
je 0x53b33a
mov ecx, dword [esp + 0xc]
push eax
push edx
push edi
call fcn.005262f0
xor esi, esi
inc esi
test bl, 0x10
jne 0x53affb
mov eax, dword [esp + 8]
test dword [eax + 0x268], esi
mov esi, eax
je 0x53b022
mov eax, dword [esi + 0x278]
test eax, eax
jne 0x53b04e
cmp byte [esp + 0x2f], 0
jns 0x53afab
push dword [esp + 0x24]
call fcn.00564ea0
add esp, 4
lea ecx, [esp + 0x40]
call fcn.0053b480
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.00568175
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov byte [esp + 0x2f], bl
lea eax, [esp + 0x24]
jmp 0x53ae08
mov eax, dword [esp + 0x84]
mov dword [esp + 0x38], eax
movq xmm0, qword [esp + 0x7c]
movq qword [esp + 0x30], xmm0
lea ebx, [esp + 0x30]
jmp 0x53aed0
mov esi, 2
mov eax, dword [esp + 8]
cmp byte [eax + 0x264], 0
je 0x53af78
jmp 0x53b3c3
cmp word [edx], 0x2e
sete bl
jmp 0x53af0d
cmp byte [edi + 0xb], 0
jns 0x53b032
push dword [edi]
call fcn.00564ea0
add esp, 4
cmp byte [esp + 0x2f], 0
jns 0x53ad74
push dword [esp + 0x24]
call fcn.00564ea0
add esp, 4
jmp 0x53ad74
cmp eax, 1
jne 0x53b37d
lea eax, [esi + 0x26c]
cmp byte [esi + 0x277], 0
js 0x53b387
cmp byte [esp + 0x2f], 0
lea ecx, [esp + 0x24]
jns 0x53b079
mov ecx, dword [esp + 0x24]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
je 0x53af98
jmp 0x53b022
cmp word [edx], 0x2e
mov esi, dword [esp + 8]
jne 0x53b376
test cl, cl
cmovs ebx, eax
cmp word [ebx + 2], 0x2e
jne 0x53b376
test byte [esi + 0x268], 4
sete bl
jmp 0x53af11
push dword [esi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esi + 0x254], 0xffffffff
jmp 0x53ad99
pxor xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
jmp 0x53afab
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0xc]
mov dword [edx + 8], ecx
movq xmm0, qword [eax]
movq qword [edx], xmm0
jmp 0x53b156
mov eax, dword [esi + 0x290]
cmp dword [esi + 0x28c], eax
je 0x53b0d4
mov ecx, dword [esi + 0x288]
test eax, eax
je 0x53b3bc
dec eax
cmp ecx, eax
jb 0x53b35e
lea eax, [eax + eax*2]
shl eax, 2
add eax, dword [esi + 0x284]
cmp dword [esp + 0xc], eax
je 0x53b156
cmp byte [esi + 0x263], 0
movzx edx, byte [eax + 0xb]
js 0x53b2cc
test dl, dl
jns 0x53b0e8
mov ecx, dword [esp + 0xc]
push dword [eax + 4]
push dword [eax]
call fcn.005236b0
mov eax, dword [esi + 0x288]
mov edx, dword [esi + 0x290]
test edx, edx
je 0x53b3f6
lea ecx, [edx - 1]
mov dword [esi + 0x290], ecx
cmp eax, edx
jb 0x53b349
cmp eax, ecx
jb 0x53b361
cmp edx, 0x80000000
je 0x53b364
mov edx, dword [esp + 0x10]
mov edx, dword [edx]
lea ecx, [ecx + ecx*2]
cmp byte [edx + ecx*4 + 0xb], 0
jns 0x53b1b2
lea eax, [edx + ecx*4]
push dword [eax]
call fcn.00564ea0
add esp, 4
mov eax, dword [esi + 0x288]
cmp eax, 5
jae 0x53b406
xor eax, eax
dec eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x278]
test eax, eax
jne 0x53b252
movsx eax, byte [esi + 0x277]
mov edx, dword [esp + 0x1c]
test eax, eax
jns 0x53b1ef
mov eax, dword [esi + 0x270]
mov edx, dword [esi + 0x26c]
test eax, eax
js 0x53b32b
je 0x53b201
test edx, edx
je 0x53b33a
mov ecx, dword [esp + 0xc]
push eax
push edx
push ebx
call fcn.005262f0
cmp byte [esp + 0x3b], 0
mov eax, ebx
jns 0x53b21a
mov eax, dword [esp + 0x30]
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 [esi + 0x254], eax
mov byte [esi], 1
cmp byte [esp + 0x3b], 0
jns 0x53ad99
push dword [esp + 0x30]
call fcn.00564ea0
add esp, 4
jmp 0x53ad99
cmp eax, 1
jne 0x53b45e
mov ecx, dword [esp + 0xc]
push 1
push 0x62f2ce
jmp 0x53b207
mov dword [esi + 0x270], 1
mov ecx, dword [esi + 0x26c]
jmp 0x53b29c
mov byte [esi], 0
cmp dword [esi + 0x278], 0
jne 0x53b2a2
cmp byte [esi + 0x277], 0
js 0x53b268
lea ecx, [esi + 0x26c]
mov byte [esi + 0x277], 1
mov dword [ecx], 0x2a
cmp eax, 0x12
je 0x53ad78
cmp dword [esi + 0x27c], 0
je 0x53ad78
push eax
call fcn.00406290
add esp, 4
mov dword [esi + 0x280], eax
jmp 0x53b0d4
test dl, dl
jns 0x53b2d5
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ecx, dword [esp + 0xc]
push edx
push eax
call fcn.00406b50
jmp 0x53b156
cmp edi, ecx
je 0x53ae73
cmp ecx, 2
je 0x53ae73
neg ecx
sar ecx, 1
test dl, dl
jns 0x53b315
cmp ebx, ecx
jb 0x53b34c
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x18]
mov word [eax + ecx*2], 0
jmp 0x53ae73
cmp ecx, edx
ja 0x53b34c
lea eax, [esp + 0x24]
mov dword [esp + 0x18], eax
mov byte [eax + 0xb], cl
jmp 0x53b306
call fcn.005957f0
push str....._third_partylibc_srcinclude_string_view:314:_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
push 0x624173
call fcn.00591ed0
push str....._third_partylibc_srcinclude_string_view:316:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
push 0x624173
call fcn.00591ed0
int3
lea ecx, [esp + 0x24]
call fcn.00595b00
lea ecx, [esp + 0x24]
call fcn.00592560
int3
int3
int3
push str....._third_partylibc_srcinclude__stringchar_traits.h:223:_assertion__std::__is_pointer_in_range___s1____s1____n____s2__failed:_char_traits::copy:_source_and_destination_ranges_overlap_n
push 0x624173
call fcn.00591ed0
xor ebx, ebx
jmp 0x53af11
call fcn.00593000
jmp 0x53b022
mov eax, dword [eax]
jmp 0x53b06a
movzx ecx, al
lea eax, [esp + 0x7c]
lea edx, [esp + 0x30]
mov dword [eax], edx
lea esi, [esp + 0x24]
mov dword [esi], str.ScopedBlockingCall
lea edx, [esp + 0x78]
push eax
push esi
mov esi, dword [esp + 0x10]
call fcn.005b8bd0
add esp, 8
jmp 0x53ad48
mov eax, ecx
jmp 0x53b118
cmp byte [edi + 0xb], 0
jns 0x53b3ce
mov eax, dword [ebp + 8]
mov edi, dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
bt eax, 0xa
jae 0x53b3e3
mov edi, dword [ebp + 8]
jmp 0x53af78
mov ecx, dword [esp + 0x10]
mov edi, dword [ebp + 8]
mov edx, edi
call fcn.0040f8f0
jmp 0x53af78
lea ecx, [eax - 1]
mov dword [esi + 0x290], ecx
mov edx, eax
jmp 0x53b17b
mov edx, dword [esi + 0x28c]
mov ecx, dword [esp + 8]
mov esi, dword [ecx + 0x290]
xor ecx, ecx
cmp edx, esi
cmova ecx, eax
sub ecx, edx
add ecx, esi
mov esi, dword [esp + 8]
dec eax
mov edx, eax
sub edx, ecx
cmp edx, ecx
jb 0x53b1bb
mov esi, ecx
shr esi, 2
add esi, ecx
cmp esi, 4
mov edx, 3
cmovae edx, esi
mov esi, dword [esp + 8]
cmp edx, eax
jae 0x53b1bb
mov ecx, dword [esp + 0x10]
call fcn.005b8530
jmp 0x53b1bb
call fcn.00593000
pxor xmm0, xmm0
movq qword [esp + 0x30], xmm0
mov dword [esp + 0x38], 0
jmp 0x53b20d