Function at 0x4558b0
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 [0x4d100c]
xor eax, ebp
mov dword [esp + 0x68], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x60], 0xffffffff
lea esi, [esp + 0x20]
push 0x8b
push str....._base_files_file_enumerator_win.cc
push str.Next
push esi
call fcn.00448cb0
add esp, 0x10
lea ecx, [esp + 0x30]
push 0
push esi
call fcn.0044a760
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 0x455967
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
mov eax, dword [ebp + 8]
je 0x455cf3
mov ecx, eax
call fcn.0043b780
mov ecx, esi
call fcn.0043b780
cmp byte [edi], 0
je 0x4559a0
push dword [esp + 0x14]
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x455ae4
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [edi + 0x254], 0xffffffff
jmp 0x455ae4
mov eax, dword [edi + 0x290]
cmp dword [edi + 0x28c], eax
je 0x455ce7
test eax, eax
mov ecx, dword [edi + 0x288]
cmove eax, ecx
dec eax
cmp ecx, eax
jb 0x455d21
lea eax, [eax + eax*2]
shl eax, 2
add eax, dword [edi + 0x284]
mov ecx, dword [esp + 0xc]
push eax
call fcn.0043b7a0
mov ecx, dword [edi + 0x288]
mov edx, dword [edi + 0x290]
test edx, edx
je 0x455a06
lea eax, [edx - 1]
mov dword [edi + 0x290], eax
cmp ecx, edx
jb 0x455d2a
cmp ecx, eax
jae 0x455a19
jmp 0x455d24
lea eax, [ecx - 1]
mov dword [edi + 0x290], eax
mov edx, ecx
cmp ecx, eax
jb 0x455d24
cmp edx, 0x80000000
je 0x455d27
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebx]
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*4]
call fcn.0043b780
mov ecx, ebx
call fcn.004560d0
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [edi + 0x278]
cmp eax, 1
je 0x455a91
test eax, eax
mov ebx, dword [esp + 0x10]
jne 0x455aa8
movzx eax, byte [edi + 0x277]
mov edx, dword [esp + 8]
test al, al
jns 0x455a83
mov edx, dword [edi + 0x26c]
mov eax, dword [edi + 0x270]
mov ecx, dword [esp + 0xc]
push eax
push edx
push esi
call fcn.0043c600
jmp 0x455ab4
mov ecx, dword [esp + 0xc]
push 1
push 0x4c1bc6
push esi
call fcn.0043c600
mov ebx, dword [esp + 0x10]
jmp 0x455ab4
call fcn.0043fb20
mov ecx, esi
call fcn.0043b550
cmp byte [esp + 0x2b], 0
mov eax, esi
jns 0x455ac1
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.0043b780
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [edi + 0x254], 0xffffffff
je 0x455bf0
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], 0xffffffff
test ebx, ebx
je 0x455d1e
push ebx
call fcn.004a3a77
add esp, 4
mov ecx, esi
push eax
push ebx
call fcn.0043b5b0
mov ecx, edi
push esi
call fcn.004561a0
test al, al
jne 0x455960
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.0043cd50
test bl, 0x10
je 0x455c70
cmp byte [edi + 0x264], 0
je 0x455c70
mov eax, esi
cmp byte [esi + 0xb], 0
jns 0x455b83
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x400
jne 0x455c70
mov ecx, dword [esp + 0x18]
push 1
call fcn.00455e10
mov eax, dword [edi + 0x290]
cmp dword [edi + 0x288], eax
jb 0x455d30
lea ecx, [eax + eax*2]
shl ecx, 2
add ecx, dword [edi + 0x284]
push esi
call fcn.0043b570
mov edx, dword [edi + 0x288]
mov ecx, dword [edi + 0x290]
lea eax, [edx - 1]
cmp ecx, eax
jne 0x455c4e
mov dword [edi + 0x290], 0
jmp 0x455c61
mov byte [edi], 0
cmp dword [edi + 0x278], 0
je 0x455c07
cmp eax, 0x12
je 0x455967
jmp 0x455c3c
cmp byte [edi + 0x277], 0
js 0x455c1d
mov byte [edi + 0x277], 1
mov ecx, dword [esp + 8]
jmp 0x455c2d
mov dword [edi + 0x270], 1
mov ecx, dword [edi + 0x26c]
mov dword [ecx], 0x2a
cmp eax, 0x12
je 0x455967
cmp dword [edi + 0x27c], 0
je 0x455967
jmp 0x455cd8
mov dword [esp + 0x1c], edx
mov edx, ecx
inc edx
mov dword [edi + 0x290], edx
mov edx, dword [esp + 0x1c]
jne 0x455c63
mov ecx, eax
cmp edx, ecx
jb 0x455d2d
nop dword [eax + eax]
and ebx, 0x10
shr ebx, 4
mov ecx, edi
push ebx
call fcn.004562c0
test al, al
mov eax, esi
lea esi, [esp + 0x20]
mov ebx, dword [esp + 0x10]
je 0x455959
mov eax, dword [edi + 0x278]
cmp eax, 1
je 0x455caf
test eax, eax
mov eax, dword [ebp + 8]
je 0x455cf3
call fcn.0043fb20
mov eax, dword [ebp + 8]
jmp 0x455959
cmp byte [edi + 0x277], 0
mov eax, dword [esp + 8]
jns 0x455cc2
mov eax, dword [esp + 8]
mov eax, dword [eax]
cmp byte [esp + 0x2b], 0
mov ecx, esi
jns 0x455945
mov ecx, dword [esp + 0x20]
jmp 0x455945
push eax
call fcn.004515c0
add esp, 4
mov dword [edi + 0x280], eax
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0043b550
jmp 0x455cfe
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.0043b780
lea ecx, [esp + 0x30]
call fcn.0044a7c0
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.0048b34a
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
int3
int3
int3
int3
int3
int3
int3