Function at 0x428e00
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 [0x550014]
xor eax, ebp
mov dword [esp + 0x78], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x30]
movdqa xmmword [esi + 0x30], 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.004651d0
add esp, 0x10
mov ecx, esi
mov esi, ebx
push 0
push ebx
call fcn.0046afb0
lea eax, [edi + 4]
mov dword [esp + 0x10], eax
lea eax, [edi + 0x284]
mov dword [esp + 0x14], eax
lea eax, [edi + 0x258]
mov dword [esp + 0xc], eax
lea eax, [edi + 0x26c]
mov dword [esp + 8], eax
lea eax, [edi + 0x30]
mov dword [esp + 0x1c], eax
mov edx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [esp + 0x18], edi
cmp byte [edi], 0
je 0x428f91
push dword [esp + 0x10]
push dword [edi + 0x254]
call edx
test eax, eax
mov ebx, dword [ebp + 8]
je 0x429064
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [edi + 0x254], 0xffffffff
je 0x42900d
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 0x4291a1
push edi
call fcn.004b2e99
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.00464640
mov edi, dword [esp + 0x18]
mov ecx, edi
push esi
call fcn.0042fe10
test al, al
jne 0x428ffb
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 + 0xc]
push esi
mov esi, eax
push eax
call fcn.004246b0
test bl, 0x10
jne 0x42915a
and ebx, 0x10
shr ebx, 4
mov ecx, edi
push ebx
call fcn.0042ff10
test al, al
mov ebx, esi
lea esi, [esp + 0x20]
je 0x429195
mov eax, dword [edi + 0x278]
cmp eax, 1
jne 0x4290c1
cmp byte [edi + 0x277], 0
mov eax, dword [esp + 8]
js 0x4291a7
cmp byte [esp + 0x2b], 0
mov ecx, esi
jns 0x428f7b
mov ecx, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
je 0x4290c9
jmp 0x429195
mov eax, dword [edi + 0x290]
cmp dword [edi + 0x28c], eax
mov ebx, dword [ebp + 8]
je 0x42913c
test eax, eax
mov ecx, dword [edi + 0x288]
cmove eax, ecx
dec eax
cmp ecx, eax
jb 0x4291a4
lea eax, [eax + eax*2]
shl eax, 2
add eax, dword [edi + 0x284]
mov ecx, dword [esp + 0xc]
push eax
call fcn.00424070
mov ecx, dword [esp + 0x14]
call fcn.004294b0
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]
test eax, eax
je 0x42909f
jmp 0x4290f2
mov ecx, esi
call fcn.00464770
mov edx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x428e95
mov byte [edi], 0
cmp dword [edi + 0x278], 0
mov edx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
je 0x42907f
cmp eax, 0x12
je 0x428e95
jmp 0x42911d
push esi
call fcn.00464a70
cmp byte [esp + 0x2b], 0
mov eax, esi
js 0x4290b8
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.00464770
jmp 0x428eb5
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [edi + 0x254], 0xffffffff
jmp 0x428eb5
cmp byte [edi + 0x277], 0
js 0x429145
mov byte [edi + 0x277], 1
mov ecx, dword [esp + 8]
mov dword [ecx], 0x2a
jmp 0x42901f
movzx eax, byte [edi + 0x277]
test al, al
jns 0x42910b
mov edx, dword [edi + 0x26c]
mov eax, dword [edi + 0x270]
jmp 0x429112
mov eax, dword [esp + 0x20]
jmp 0x42903c
test eax, eax
jne 0x429195
lea ecx, [esp + 0x20]
call fcn.00464770
lea ecx, [esp + 0x30]
call fcn.0046b030
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.0049b033
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
cmp eax, 1
jne 0x4291b2
mov ecx, dword [esp + 0xc]
push 1
push 0x53ab26
jmp 0x42902d
and eax, 0x7f
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push eax
push edx
jmp 0x42902d
cmp dword [edi + 0x27c], 0
je 0x428e95
push eax
call fcn.00427b90
add esp, 4
mov dword [edi + 0x280], eax
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.00464530
jmp 0x4290d2
mov dword [edi + 0x270], 1
mov ecx, dword [edi + 0x26c]
jmp 0x429097
cmp byte [edi + 0x264], 0
je 0x428f32
mov eax, esi
cmp byte [esi + 0xb], 0
jns 0x429171
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
bt eax, 0xa
mov edi, dword [esp + 0x18]
jb 0x428f32
mov ecx, dword [esp + 0x14]
push esi
call fcn.00429290
jmp 0x428f32
mov ecx, ebx
call fcn.00464770
jmp 0x428ffb
int3
int3
mov eax, dword [esp + 8]
mov eax, dword [eax]
jmp 0x428f6e
lea ecx, [esp + 0x20]
call fcn.00464530
jmp 0x429033