Function at 0x453850
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 [0x4f6014]
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.00440700
add esp, 0x10
lea ecx, [esp + 0x30]
push 0
push esi
call fcn.0044d330
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 0x453900
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
mov eax, dword [ebp + 8]
jne 0x453c2e
jmp 0x453c85
cmp byte [edi], 0
je 0x453940
push dword [esp + 0x14]
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x453a7f
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [edi + 0x254], 0xffffffff
jmp 0x453a7f
mov eax, dword [edi + 0x290]
cmp dword [edi + 0x28c], eax
je 0x453c79
test eax, eax
mov ecx, dword [edi + 0x288]
cmove eax, ecx
dec eax
cmp ecx, eax
jb 0x453cb3
lea eax, [eax + eax*2]
shl eax, 2
add eax, dword [edi + 0x284]
mov ecx, dword [esp + 0xc]
push eax
call fcn.0043d910
mov ecx, dword [edi + 0x288]
mov edx, dword [edi + 0x290]
test edx, edx
je 0x4539a6
lea eax, [edx - 1]
mov dword [edi + 0x290], eax
cmp ecx, edx
jb 0x453cbc
cmp ecx, eax
jae 0x4539b9
jmp 0x453cb6
lea eax, [ecx - 1]
mov dword [edi + 0x290], eax
mov edx, ecx
cmp ecx, eax
jb 0x453cb6
cmp edx, 0x80000000
je 0x453cb9
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebx]
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*4]
call fcn.0043d8f0
mov ecx, ebx
call fcn.00454080
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [edi + 0x278]
cmp eax, 1
je 0x453a31
test eax, eax
mov ebx, dword [esp + 0x10]
jne 0x453a48
movzx eax, byte [edi + 0x277]
mov edx, dword [esp + 8]
test al, al
jns 0x453a23
mov edx, dword [edi + 0x26c]
mov eax, dword [edi + 0x270]
mov ecx, dword [esp + 0xc]
push eax
push edx
push esi
call fcn.0043e830
jmp 0x453a4f
mov ecx, dword [esp + 0xc]
push 1
push 0x4e7bd0
push esi
call fcn.0043e830
mov ebx, dword [esp + 0x10]
jmp 0x453a4f
mov ecx, esi
call fcn.0043d7e0
cmp byte [esp + 0x2b], 0
mov eax, esi
jns 0x453a5c
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.0043d8f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [edi + 0x254], 0xffffffff
je 0x453b80
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], 0xffffffff
test ebx, ebx
je 0x453cb0
push ebx
call fcn.004c3f8c
add esp, 4
mov ecx, esi
push eax
push ebx
call fcn.0043d840
mov ecx, edi
push esi
call fcn.0043d630
test al, al
jne 0x453c35
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.0043ed60
test bl, 0x10
je 0x453c00
cmp byte [edi + 0x264], 0
je 0x453c00
mov eax, esi
cmp byte [esi + 0xb], 0
jns 0x453b1e
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x400
jne 0x453c00
mov ecx, dword [esp + 0x18]
push 1
call fcn.00453db0
mov eax, dword [edi + 0x290]
cmp dword [edi + 0x288], eax
jb 0x453cc2
lea ecx, [eax + eax*2]
shl ecx, 2
add ecx, dword [edi + 0x284]
push esi
call fcn.0043d800
mov edx, dword [edi + 0x288]
mov ecx, dword [edi + 0x290]
lea eax, [edx - 1]
cmp ecx, eax
jne 0x453bde
mov dword [edi + 0x290], 0
jmp 0x453bf1
mov byte [edi], 0
cmp dword [edi + 0x278], 0
je 0x453b97
cmp eax, 0x12
je 0x453900
jmp 0x453bcc
cmp byte [edi + 0x277], 0
js 0x453bad
mov byte [edi + 0x277], 1
mov ecx, dword [esp + 8]
jmp 0x453bbd
mov dword [edi + 0x270], 1
mov ecx, dword [edi + 0x26c]
mov dword [ecx], 0x2a
cmp eax, 0x12
je 0x453900
cmp dword [edi + 0x27c], 0
je 0x453900
jmp 0x453c6a
mov dword [esp + 0x1c], edx
mov edx, ecx
inc edx
mov dword [edi + 0x290], edx
mov edx, dword [esp + 0x1c]
jne 0x453bf3
mov ecx, eax
cmp edx, ecx
jb 0x453cbf
nop dword [eax + eax]
and ebx, 0x10
shr ebx, 4
mov ecx, edi
push ebx
call fcn.0043d7c0
test al, al
mov eax, esi
lea esi, [esp + 0x20]
mov ebx, dword [esp + 0x10]
je 0x453c2e
mov eax, dword [edi + 0x278]
cmp eax, 1
je 0x453c41
test eax, eax
mov eax, dword [ebp + 8]
je 0x453c85
mov ecx, eax
call fcn.0043d8f0
mov ecx, esi
call fcn.0043d8f0
jmp 0x453900
cmp byte [edi + 0x277], 0
mov eax, dword [esp + 8]
jns 0x453c54
mov eax, dword [esp + 8]
mov eax, dword [eax]
cmp byte [esp + 0x2b], 0
mov ecx, esi
jns 0x4538de
mov ecx, dword [esp + 0x20]
jmp 0x4538de
push eax
call fcn.00450ee0
add esp, 4
mov dword [edi + 0x280], eax
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0043d7e0
jmp 0x453c90
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.0043d8f0
lea ecx, [esp + 0x30]
call fcn.0044d3b0
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.004a8de3
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
int3
int3
int3
int3
int3
int3
int3