Function at 0x428650
Capabilities:
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ef93
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x4cd070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28c], esi
mov dword [ebp - 0x290], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
cmp dword [ebp + 0x18], 0
jne 0x4286f7
mov ecx, dword [ebp + 0x1c]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
cmp ecx, 8
jb 0x42892e
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.0040e800
jmp 0x42892e
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x42875c
lea ecx, [ebp - 0x20]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.00431b10
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x42892e
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.0040e800
jmp 0x42892e
xor eax, eax
mov dword [ebp - 0x24], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x38], ax
lea ecx, [ebp - 0x38]
lea eax, [ebp + 8]
mov dword [ebp - 0x28], 0
push eax
call fcn.0040e670
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x4287a8
push 1
push 0x4b5884
lea ecx, [ebp - 0x38]
call fcn.0041b110
push 1
push 0x4b8208
lea ecx, [ebp - 0x38]
call fcn.0041b110
cmp dword [ebp - 0x24], 8
lea ecx, [ebp - 0x288]
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4287f0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x428901
test byte [ebp - 0x288], 0x10
je 0x4288a4
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 8
jb 0x42881a
mov eax, dword [edx]
jmp 0x42881c
mov eax, edx
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x25c], cx
je 0x428842
lea ecx, [ebp - 0x25c]
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428833
sub ecx, edi
sar ecx, 1
push ecx
lea eax, [ebp - 0x25c]
mov ecx, edx
push eax
call fcn.0040e570
call fcn.00428570
add esp, 0x18
test al, al
je 0x4288a4
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x2a8]
call fcn.0040e510
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x20]
call fcn.00431b70
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x294]
cmp eax, 8
jb 0x4288a4
inc eax
lea ecx, [ebp - 0x2a8]
push eax
push dword [ebp - 0x2a8]
call fcn.0040e800
lea eax, [ebp - 0x288]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4287f0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x1c]
mov eax, 0x2aaaaaab
mov ebx, dword [ebp - 0x20]
mov ecx, edi
sub ecx, ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x4288f6
lea ecx, [ebp - 0x14]
mov byte [ebp - 0x14], 0
push ecx
push eax
mov edx, edi
mov ecx, ebx
call fcn.004336f0
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword [esi], ebx
mov dword [esi + 4], edi
mov dword [esi + 8], eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
call fcn.0040e4d0
lea ecx, [ebp - 0x20]
call fcn.00431b10
lea ecx, [ebp + 8]
call fcn.0040e4d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464f19
mov esp, ebp
pop ebp
ret