Function at 0x443f80
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 [0x5c7040]
xor eax, ebp
mov dword [esp + 0x68], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x30]
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.004b97c0
add esp, 0x10
mov ecx, esi
mov esi, ebx
push 0
push ebx
call fcn.004ad330
lea eax, [edi + 0x284]
mov dword [esp + 0x18], eax
lea ebx, [edi + 0x258]
lea eax, [edi + 0x26c]
mov dword [esp + 8], eax
lea eax, [edi + 4]
mov dword [esp + 0x14], eax
lea eax, [edi + 0x30]
mov dword [esp + 0x1c], eax
mov edx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edi
cmp byte [edi], 0
je 0x44415c
push dword [esp + 0x14]
push dword [edi + 0x254]
call edx
test eax, eax
je 0x44411c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [edi + 0x254], 0xffffffff
je 0x444187
mov edi, esi
xor esi, esi
dec esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov ebx, dword [esp + 0x1c]
push ebx
call fcn.00510ef4
add esp, 4
mov ecx, edi
push eax
push ebx
call fcn.004ba420
mov ecx, dword [esp + 0x10]
push edi
call fcn.00445900
test al, al
jne 0x444140
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx]
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov ecx, dword [esp + 0xc]
push edi
mov esi, eax
push eax
call fcn.00451350
test bl, 0x10
mov edi, dword [esp + 0x10]
jne 0x4441e4
and ebx, 0x10
shr ebx, 4
mov ecx, edi
push ebx
call fcn.004459f0
test al, al
mov ebx, esi
lea esi, [esp + 0x20]
je 0x444137
mov eax, dword [edi + 0x278]
cmp eax, 1
jne 0x44417a
cmp byte [edi + 0x277], 0
mov eax, dword [esp + 8]
js 0x4442ec
cmp byte [esp + 0x2b], 0
mov ecx, esi
jns 0x4440e6
mov ecx, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
jne 0x444137
lea ecx, [esp + 0x20]
call fcn.004ba510
lea ecx, [esp + 0x30]
call fcn.004ad3a0
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.004f5620
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [edi + 0x254], 0xffffffff
jmp 0x44402a
mov ecx, ebx
call fcn.004ba510
mov edi, esi
mov ecx, edi
call fcn.004ba510
mov ebx, dword [esp + 0xc]
mov edx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, edi
mov edi, dword [esp + 0x10]
jmp 0x44400d
mov eax, dword [edi + 0x290]
cmp dword [edi + 0x28c], eax
jne 0x4441f6
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.004ba390
jmp 0x4440fc
test eax, eax
je 0x4440f3
jmp 0x4442fe
mov byte [edi], 0
cmp dword [edi + 0x278], 0
mov ebx, dword [esp + 0xc]
jne 0x4441b1
cmp byte [edi + 0x277], 0
js 0x4441d2
mov byte [edi + 0x277], 1
mov edx, dword [esp + 8]
mov dword [edx], 0x2a
cmp eax, 0x12
mov edx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
je 0x44400d
cmp dword [edi + 0x27c], 0
je 0x44400d
jmp 0x4442d8
mov dword [edi + 0x270], 1
mov edx, dword [edi + 0x26c]
jmp 0x4441ab
cmp byte [edi + 0x264], 1
jne 0x4440a1
jmp 0x44431b
mov edx, dword [edi + 0x288]
test eax, eax
je 0x4442f7
dec eax
cmp edx, eax
jb 0x4442d5
lea eax, [eax + eax*2]
shl eax, 2
add eax, dword [edi + 0x284]
mov ecx, ebx
push eax
call fcn.004ba530
mov ecx, dword [esp + 0x18]
call fcn.00444620
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
jne 0x444288
mov ecx, ebx
push 1
push 0x5ae7ce
push esi
call fcn.004bb900
cmp byte [esp + 0x2b], 0
mov eax, esi
jns 0x444260
mov eax, dword [esp + 0x20]
push 2
xor ecx, ecx
push ecx
push ecx
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.004ba510
jmp 0x44402a
test eax, eax
jne 0x444308
movsx eax, byte [edi + 0x277]
mov edx, dword [esp + 8]
test eax, eax
jns 0x4442a7
mov eax, dword [edi + 0x270]
mov edx, dword [edi + 0x26c]
test eax, eax
js 0x4442bf
sete cl
test edx, edx
setne ch
or ch, cl
je 0x4442c6
mov ecx, dword [esp + 0xc]
push eax
push edx
jmp 0x44424d
push str....._third_partylibc_srcinclude_string_view:318:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
jmp 0x4442cb
push str....._third_partylibc_srcinclude_string_view:320:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
push 0x59f83f
call fcn.00526860
int3
push eax
call fcn.00441c50
add esp, 4
mov dword [edi + 0x280], eax
jmp 0x44416e
mov eax, dword [esp + 8]
mov eax, dword [eax]
jmp 0x4440d9
mov eax, edx
jmp 0x444204
call fcn.00545070
jmp 0x444137
call fcn.00545070
lea ecx, [esp + 0x20]
call fcn.004ba390
jmp 0x444253
mov eax, esi
cmp byte [esi + 0xb], 0
jns 0x444325
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
bt eax, 0xa
mov edi, dword [esp + 0x10]
jb 0x4440a1
mov ecx, dword [esp + 0x18]
push esi
call fcn.00444410
jmp 0x4440a1