Function at 0x43e370
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 eax, dword [0x4b9170]
mov edi, ecx
lea esi, [esp + 0x20]
pcmpeqd xmm0, xmm0
xor eax, ebp
mov dword [esp + 0x68], eax
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
push 0x82
push str..._.._base_files_file_enumerator_win.cc
push str.Next
push esi
call fcn.0043d560
add esp, 0x10
lea ecx, [esp + 0x30]
push 0
push esi
call fcn.0043ee10
lea ecx, [edi + 0x258]
lea eax, [edi + 4]
lea esi, [edi + 0x284]
lea edx, [edi + 0x26c]
mov dword [esp + 8], ecx
lea ecx, [edi + 0x30]
mov dword [esp + 0xc], eax
mov dword [esp + 4], edx
mov dword [esp + 0x10], ecx
jmp 0x43e422
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
je 0x43e735
lea ecx, [esp + 0x14]
call fcn.0042e400
mov ecx, ebx
call fcn.0042e400
cmp byte [edi], 0
je 0x43e460
push dword [esp + 0xc]
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43e56b
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [edi + 0x254], 0xffffffff
jmp 0x43e56b
mov eax, dword [edi + 0x290]
cmp dword [edi + 0x28c], eax
je 0x43e765
test eax, eax
jne 0x43e47c
mov eax, dword [edi + 0x288]
dec eax
mov ecx, esi
push eax
call fcn.0043eb90
mov ecx, dword [esp + 8]
push eax
call fcn.0042e420
mov eax, dword [edi + 0x290]
test eax, eax
jne 0x43e49f
mov eax, dword [edi + 0x288]
lea ecx, [eax - 1]
mov dword [edi + 0x290], ecx
mov ecx, esi
push eax
call fcn.0043e8b0
mov ebx, eax
mov ecx, esi
push dword [edi + 0x290]
call fcn.0043e8b0
mov ecx, esi
push ebx
push eax
call fcn.0043e7f0
mov ecx, esi
call fcn.0043ec30
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [edi + 0x278]
test eax, eax
je 0x43e507
cmp eax, 1
lea ebx, [esp + 0x20]
jne 0x43e534
mov ecx, dword [esp + 8]
push 1
push 0x4a2f8e
jmp 0x43e52c
movzx eax, byte [edi + 0x277]
mov edx, dword [esp + 4]
lea ebx, [esp + 0x20]
test al, al
jns 0x43e526
mov edx, dword [edi + 0x26c]
mov eax, dword [edi + 0x270]
mov ecx, dword [esp + 8]
push eax
push edx
push ebx
call fcn.0042ee60
jmp 0x43e53b
mov ecx, ebx
call fcn.0042e2e0
cmp byte [esp + 0x2b], 0
mov eax, ebx
jns 0x43e548
mov eax, dword [esp + 0x20]
push 2
push 0
push 0
push dword [esp + 0x18]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov ecx, ebx
mov dword [edi + 0x254], eax
mov byte [edi], 1
call fcn.0042e400
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [edi + 0x254], 0xffffffff
je 0x43e5c0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], 0xffffffff
cmp word [eax], 0
je 0x43e5e0
xor eax, eax
lea ebx, [esp + 0x20]
nop word cs:[eax + eax]
nop dword [eax]
cmp word [edi + eax*2 + 0x32], 0
lea eax, [eax + 1]
jne 0x43e5b0
jmp 0x43e5e6
mov byte [edi], 0
mov ebx, eax
cmp dword [edi + 0x278], 0
je 0x43e6a0
cmp ebx, 0x12
je 0x43e422
jmp 0x43e6b7
xor eax, eax
lea ebx, [esp + 0x20]
mov ecx, ebx
push eax
push dword [esp + 0x14]
call fcn.0042e340
mov ecx, edi
push ebx
call fcn.0043ed00
test al, al
jne 0x43e41b
mov eax, ebx
mov ebx, dword [edi + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x1c], 0xffffffff
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0042fab0
test bl, 0x10
je 0x43e6e0
cmp byte [edi + 0x264], 0
je 0x43e6e0
cmp byte [esp + 0x1f], 0
lea eax, [esp + 0x14]
jns 0x43e653
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x400
jne 0x43e6e0
mov ecx, esi
push 1
call fcn.0043e950
mov ecx, esi
push dword [edi + 0x290]
call fcn.0043e8b0
mov ecx, eax
lea eax, [esp + 0x14]
push eax
call fcn.0042e300
mov eax, dword [edi + 0x288]
mov edx, dword [edi + 0x290]
dec eax
cmp edx, eax
jne 0x43e6c9
mov dword [edi + 0x290], 0
jmp 0x43e6d4
mov ecx, dword [esp + 4]
push 0x4a2f8e
call fcn.00426f98
cmp ebx, 0x12
je 0x43e422
cmp dword [edi + 0x27c], 0
je 0x43e422
jmp 0x43e756
mov ecx, edx
inc ecx
mov dword [edi + 0x290], ecx
jne 0x43e6d6
mov edx, eax
mov ecx, esi
push edx
call fcn.0043eb90
nop
and ebx, 0x10
mov ecx, edi
shr ebx, 4
push ebx
call fcn.0043edf0
test al, al
lea ebx, [esp + 0x20]
je 0x43e412
mov eax, dword [edi + 0x278]
cmp eax, 1
je 0x43e70f
test eax, eax
jne 0x43e412
jmp 0x43e735
mov eax, dword [esp + 4]
cmp byte [eax + 0xb], 0
jns 0x43e71f
mov eax, dword [esp + 4]
mov eax, dword [eax]
cmp byte [esp + 0x2b], 0
mov ecx, ebx
jns 0x43e401
mov ecx, dword [esp + 0x20]
jmp 0x43e401
mov edi, dword [ebp + 8]
lea esi, [esp + 0x14]
mov ecx, edi
push esi
call fcn.0042e300
mov ecx, esi
call fcn.0042e400
lea ecx, [esp + 0x20]
call fcn.0042e400
jmp 0x43e76f
push ebx
call fcn.00433570
add esp, 4
mov dword [edi + 0x280], eax
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.0042e2e0
lea ecx, [esp + 0x30]
call fcn.0043ef20
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.004771d1
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4