Function at 0x44fb20
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 [0x520014]
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 0x82
push str..._.._base_files_file_enumerator_win.cc
push str.Next
push ebx
call fcn.0046dd60
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.004745e0
lea ebx, [edi + 4]
lea eax, [edi + 0x284]
mov dword [esp + 8], eax
lea eax, [edi + 0x258]
mov dword [esp], eax
lea eax, [edi + 0x26c]
mov dword [esp + 4], eax
lea eax, [edi + 0x30]
mov dword [esp + 0x10], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xc], ebx
cmp byte [edi], 0
je 0x44fca9
push ebx
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x44fd95
call esi
cmp dword [edi + 0x254], 0xffffffff
je 0x44fd7a
mov esi, ebx
xor eax, eax
dec eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x44fec6
push ebx
call fcn.004a81e6
add esp, 4
lea ecx, [esp + 0x20]
push eax
push ebx
mov ebx, ecx
call fcn.00443e60
mov ecx, edi
push ebx
call fcn.00450270
test al, al
jne 0x44fd64
mov eax, ebx
mov ebx, dword [edi + 4]
xor ecx, ecx
dec ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00444850
test bl, 0x10
jne 0x44fe6b
and ebx, 0x10
shr ebx, 4
mov ecx, edi
push ebx
call fcn.00450360
test al, al
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
je 0x44feab
mov eax, dword [edi + 0x278]
cmp eax, 1
jne 0x44fe28
mov ecx, dword [esp + 4]
cmp byte [ecx + 0xb], 0
mov eax, ecx
js 0x44fecc
cmp byte [esp + 0x2b], 0
lea ecx, [esp + 0x20]
jns 0x44fc93
mov ecx, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
je 0x44fe2c
jmp 0x44feab
mov eax, dword [edi + 0x290]
cmp dword [edi + 0x28c], eax
je 0x44fddb
test eax, eax
mov ecx, dword [edi + 0x288]
cmove eax, ecx
dec eax
cmp ecx, eax
jb 0x44fec9
lea eax, [eax + eax*2]
shl eax, 2
add eax, dword [edi + 0x284]
mov ecx, dword [esp]
push eax
call fcn.00443f20
mov ecx, dword [esp + 8]
call fcn.004501e0
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
jne 0x44fded
movzx eax, byte [edi + 0x277]
mov edx, dword [esp + 4]
test al, al
js 0x44fe05
mov ecx, dword [esp]
push eax
push edx
lea ebx, [esp + 0x28]
push ebx
call fcn.0046cb30
cmp byte [esp + 0x2b], 0
mov eax, ebx
jns 0x44fd39
mov eax, dword [esp + 0x20]
push 2
xor ecx, ecx
push ecx
push ecx
mov ebx, dword [esp + 0x18]
push ebx
push 1
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov dword [edi + 0x254], eax
mov byte [edi], 1
lea ecx, [esp + 0x20]
call fcn.0046c2c0
jmp 0x44fbcc
mov ecx, ebx
call fcn.0046c2c0
mov eax, esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x44fbae
mov byte [edi], 0
cmp dword [edi + 0x278], 0
mov ecx, dword [esp + 4]
jne 0x44fdb6
cmp byte [ecx + 0xb], 0
jns 0x44fde7
jmp 0x44fe16
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [edi + 0x254], 0xffffffff
jmp 0x44fbcc
mov dword [ecx], 0x2a
cmp eax, 0x12
je 0x44fbae
cmp dword [edi + 0x27c], 0
je 0x44fbae
push eax
call fcn.004485a0
add esp, 4
mov dword [edi + 0x280], eax
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0046c1e0
jmp 0x44fe4b
mov byte [ecx + 0xb], 1
jmp 0x44fdb0
cmp eax, 1
jne 0x44fed3
mov ecx, dword [esp]
push 1
push 0x5112ae
jmp 0x44fd22
mov edx, dword [edi + 0x26c]
mov eax, dword [edi + 0x270]
jmp 0x44fd1d
mov dword [edi + 0x270], 1
mov ecx, dword [edi + 0x26c]
jmp 0x44fdb0
test eax, eax
jne 0x44feab
mov esi, dword [ebp + 8]
mov ecx, esi
lea edi, [esp + 0x14]
push edi
call fcn.0046c200
mov ecx, edi
call fcn.0046c2c0
lea ecx, [esp + 0x20]
call fcn.0046c2c0
lea ecx, [esp + 0x30]
call fcn.00474640
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.0048f468
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
cmp byte [edi + 0x264], 0
je 0x44fc49
cmp byte [esp + 0x1f], 0
lea eax, [esp + 0x14]
jns 0x44fe87
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
bt eax, 0xa
jb 0x44fc49
lea eax, [esp + 0x14]
mov ecx, dword [esp + 8]
push eax
call fcn.0044ffc0
jmp 0x44fc49
lea ecx, [esp + 0x14]
call fcn.0046c2c0
lea ecx, [esp + 0x20]
call fcn.0046c2c0
mov ebx, dword [esp + 0xc]
jmp 0x44fbae
int3
int3
mov eax, dword [ecx]
jmp 0x44fc84
lea ecx, [esp + 0x20]
call fcn.0046c1e0
lea ebx, [esp + 0x20]
jmp 0x44fd2c