Function at 0x52e3f0
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 [0x72a00c]
xor eax, ebp
mov dword [esp + 0x68], eax
xor eax, eax
dec eax
lea esi, [esp + 0x30]
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], eax
pcmpeqd xmm0, xmm0
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.0063ced0
add esp, 0x10
mov ecx, esi
mov esi, ebx
push 0
push ebx
call fcn.00635f30
lea eax, [edi + 4]
mov dword [esp + 0x10], eax
lea eax, [edi + 0x284]
mov dword [esp + 0x14], eax
lea ecx, [edi + 0x258]
lea eax, [edi + 0x26c]
mov dword [esp + 0xc], eax
lea eax, [edi + 0x30]
mov dword [esp + 0x1c], eax
mov dword [esp + 8], ecx
mov dword [esp + 0x18], edi
cmp byte [edi], 0
je 0x52e580
push dword [esp + 0x10]
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov ebx, dword [ebp + 8]
je 0x52e64c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [edi + 0x254], 0xffffffff
je 0x52e5f7
xor eax, eax
dec eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x52e771
push edi
call fcn.00687336
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.0063d8a0
mov edi, dword [esp + 0x18]
mov ecx, edi
push esi
call fcn.00558e60
test al, al
jne 0x52e5e7
mov eax, ebx
mov ecx, dword [esp + 0x10]
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 + 8]
push esi
mov esi, eax
push eax
call fcn.00536510
test bl, 0x10
jne 0x52e736
and ebx, 0x10
shr ebx, 4
mov ecx, edi
push ebx
call fcn.00558f70
test al, al
mov ebx, esi
lea esi, [esp + 0x20]
je 0x52e79a
mov eax, dword [edi + 0x278]
cmp eax, 1
jne 0x52e6cb
cmp byte [edi + 0x277], 0
mov eax, dword [esp + 0xc]
js 0x52e777
cmp byte [esp + 0x2b], 0
mov ecx, esi
jns 0x52e56a
mov ecx, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
je 0x52e6d3
jmp 0x52e79a
mov eax, dword [edi + 0x290]
cmp dword [edi + 0x28c], eax
mov ebx, dword [ebp + 8]
je 0x52e718
test eax, eax
mov edx, dword [edi + 0x288]
cmove eax, edx
dec eax
cmp edx, eax
jb 0x52e774
lea eax, [eax + eax*2]
shl eax, 2
add eax, dword [edi + 0x284]
push eax
call fcn.005358f0
mov ecx, dword [esp + 0x14]
call fcn.0052ea80
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 0x52e667
jmp 0x52e69d
mov ecx, esi
call fcn.0063d9e0
mov ecx, dword [esp + 8]
jmp 0x52e480
mov byte [edi], 0
cmp dword [edi + 0x278], 0
mov ecx, dword [esp + 8]
je 0x52e67a
cmp eax, 0x12
je 0x52e480
jmp 0x52e6fc
push esi
call fcn.0063e380
cmp byte [esp + 0x2b], 0
mov eax, esi
js 0x52e674
push 2
xor ecx, ecx
push ecx
push ecx
push dword [esp + 0x1c]
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.0063d9e0
jmp 0x52e4a4
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [edi + 0x254], 0xffffffff
jmp 0x52e4a4
mov ecx, dword [esp + 8]
push 1
push 0x70a47a
jmp 0x52e615
mov eax, dword [esp + 0x20]
jmp 0x52e624
cmp byte [edi + 0x277], 0
js 0x52e721
mov byte [edi + 0x277], 1
mov edx, dword [esp + 0xc]
mov dword [edx], 0x2a
jmp 0x52e607
test eax, eax
jne 0x52e782
movzx eax, byte [edi + 0x277]
mov edx, dword [esp + 0xc]
test al, al
jns 0x52e6c0
mov edx, dword [edi + 0x26c]
mov eax, dword [edi + 0x270]
mov ecx, dword [esp + 8]
push eax
push edx
jmp 0x52e615
test eax, eax
jne 0x52e795
lea ecx, [esp + 0x20]
call fcn.0063d9e0
lea ecx, [esp + 0x30]
call fcn.00635fb0
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.0066e1f1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
cmp dword [edi + 0x27c], 0
je 0x52e480
push eax
call fcn.0052ce20
add esp, 4
mov dword [edi + 0x280], eax
mov ecx, ebx
call fcn.0063d790
jmp 0x52e6dc
mov dword [edi + 0x270], 1
mov edx, dword [edi + 0x26c]
jmp 0x52e692
cmp byte [edi + 0x264], 0
je 0x52e521
mov eax, esi
cmp byte [esi + 0xb], 0
jns 0x52e74d
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
bt eax, 0xa
mov edi, dword [esp + 0x18]
jb 0x52e521
mov ecx, dword [esp + 0x14]
push esi
call fcn.0052e870
jmp 0x52e521
int3
int3
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
jmp 0x52e55d
call fcn.006b6d10
lea ecx, [esp + 0x20]
call fcn.0063d790
jmp 0x52e61b
call fcn.006b6d10
mov ecx, ebx
call fcn.0063d9e0
jmp 0x52e5e7