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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x45d06c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x6c], eax
nop dword [eax + eax]
mov al, byte [esi]
test al, al
jne 0x41d21c
cmp dword [esi + 0x2a0], 0
je 0x41d45c
test al, al
jne 0x41d21c
mov ecx, dword [esi + 0x2a0]
xor eax, eax
add ecx, dword [esi + 0x29c]
mov edx, dword [esi + 0x290]
test edx, edx
je 0x41d01f
mov edx, dword [edx]
test edx, edx
je 0x41d01f
mov eax, dword [edx]
lea edx, [ecx - 1]
test eax, eax
je 0x41d036
mov eax, dword [eax]
test eax, eax
je 0x41d036
mov eax, dword [eax]
test eax, eax
je 0x41d036
mov eax, dword [eax]
jmp 0x41d038
xor eax, eax
mov ecx, dword [eax + 8]
lea ebx, [esi + 0x258]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
push dword [eax + ecx*4]
mov ecx, ebx
call fcn.00417df0
mov eax, dword [esi + 0x2a0]
mov ecx, dword [esi + 0x29c]
dec eax
add ecx, eax
mov eax, dword [esi + 0x298]
dec eax
and ecx, eax
mov eax, dword [esi + 0x294]
mov edi, dword [eax + ecx*4]
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x41d0be
mov ecx, dword [edi]
inc eax
cmp eax, 0x7fffffff
ja 0x41d4d6
add eax, eax
cmp eax, 0x1000
jb 0x41d0b5
test cl, 0x1f
jne 0x41d4d6
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x41d4d6
sub ecx, eax
sub ecx, 4
cmp ecx, 0x1f
ja 0x41d4d6
mov ecx, eax
push ecx
call fcn.0042945d
add esp, 4
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
add dword [esi + 0x2a0], 0xffffffff
jne 0x41d0e0
mov dword [esi + 0x29c], eax
push ebx
lea ecx, [ebp - 0x38]
call fcn.00417c10
sub esp, 8
cmp dword [esi + 0x288], 0
jne 0x41d106
mov eax, esp
mov dword [eax], 0x4564f0
mov dword [eax + 4], 1
jmp 0x41d128
cmp dword [esi + 0x28c], 8
lea ecx, [esi + 0x278]
mov edx, esp
jb 0x41d11d
mov ecx, dword [esi + 0x278]
mov dword [edx], ecx
mov eax, dword [esi + 0x288]
mov dword [edx + 4], eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x38]
call fcn.00419070
push eax
lea ecx, [ebp - 0x38]
call fcn.00417f60
mov eax, dword [ebp - 0x3c]
cmp eax, 8
jb 0x41d18a
mov ecx, dword [ebp - 0x50]
inc eax
cmp eax, 0x7fffffff
ja 0x41d4d6
add eax, eax
cmp eax, 0x1000
jb 0x41d181
test cl, 0x1f
jne 0x41d4d6
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x41d4d6
sub ecx, eax
sub ecx, 4
cmp ecx, 0x1f
ja 0x41d4d6
mov ecx, eax
push ecx
call fcn.0042945d
add esp, 4
call fcn.00419ea0
lea ebx, [esi + 4]
cmp dword [eax], 4
lea eax, [ebp - 0x38]
jl 0x41d1b4
cmp dword [ebp - 0x24], 8
push 2
cmovae eax, dword [ebp - 0x38]
push 0
push 0
push ebx
push 1
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
jmp 0x41d1c4
cmp dword [ebp - 0x24], 8
push ebx
cmovae eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esi + 0x254], eax
mov eax, dword [ebp - 0x24]
mov byte [esi], 1
cmp eax, 8
jb 0x41d246
mov ecx, dword [ebp - 0x38]
inc eax
cmp eax, 0x7fffffff
ja 0x41d4d6
add eax, eax
cmp eax, 0x1000
jb 0x41d211
test cl, 0x1f
jne 0x41d4d6
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x41d4d6
sub ecx, eax
sub ecx, 4
cmp ecx, 0x1f
ja 0x41d4d6
mov ecx, eax
push ecx
call fcn.0042945d
add esp, 4
jmp 0x41d246
lea ebx, [esi + 4]
push ebx
push dword [esi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41d246
push dword [esi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esi + 0x254], 0xffffffff
cmp dword [esi + 0x254], 0xffffffff
jne 0x41d2ed
xor eax, eax
mov byte [esi], 0
mov word [ebp - 0x68], ax
lea edi, [esi + 0x278]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
cmp edi, eax
je 0x41cfe0
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x41d2c7
mov ecx, dword [edi]
inc eax
cmp eax, 0x7fffffff
ja 0x41d4d6
add eax, eax
cmp eax, 0x1000
jb 0x41d2be
test cl, 0x1f
jne 0x41d4d6
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x41d4d6
sub ecx, eax
sub ecx, 4
cmp ecx, 0x1f
ja 0x41d4d6
mov ecx, eax
push ecx
call fcn.0042945d
add esp, 4
movups xmm0, xmmword [ebp - 0x68]
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 7
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x58]
movq qword [edi + 0x10], xmm0
jmp 0x41cfe0
sub esp, 8
lea edi, [esi + 0x30]
mov edx, esp
mov dword [edx], edi
test edi, edi
jne 0x41d2ff
xor ecx, ecx
jmp 0x41d317
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 0x70], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41d307
sub ecx, dword [ebp - 0x70]
sar ecx, 1
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x20]
call fcn.00417ce0
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.0041d810
test al, al
jne 0x41d406
sub esp, 8
mov ecx, esp
mov dword [ecx], edi
test edi, edi
je 0x41d352
lea edx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x41d343
sub edi, edx
sar edi, 1
lea eax, [ebp - 0x50]
mov dword [ecx + 4], edi
push eax
lea ecx, [esi + 0x258]
call fcn.00419070
push eax
lea ecx, [ebp - 0x20]
call fcn.00417f60
mov eax, dword [ebp - 0x3c]
cmp eax, 8
jb 0x41d3ba
mov ecx, dword [ebp - 0x50]
inc eax
cmp eax, 0x7fffffff
ja 0x41d4d6
add eax, eax
cmp eax, 0x1000
jb 0x41d3b1
test cl, 0x1f
jne 0x41d4d6
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x41d4d6
sub ecx, eax
sub ecx, 4
cmp ecx, 0x1f
ja 0x41d4d6
mov ecx, eax
push ecx
call fcn.0042945d
add esp, 4
test byte [ebx], 0x10
je 0x41d3f9
cmp byte [esi + 0x270], 0
je 0x41d3f0
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0x20]
cmovae eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x400
jne 0x41d3f0
lea eax, [ebp - 0x20]
push eax
lea ecx, [esi + 0x290]
call fcn.0041d4e0
test byte [esi + 0x274], 2
jmp 0x41d400
test byte [esi + 0x274], 1
jne 0x41d487
mov eax, dword [ebp - 0xc]
cmp eax, 8
jb 0x41cfe0
mov ecx, dword [ebp - 0x20]
inc eax
cmp eax, 0x7fffffff
ja 0x41d4d6
add eax, eax
cmp eax, 0x1000
jb 0x41d44e
test cl, 0x1f
jne 0x41d4d6
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x41d4d6
sub ecx, eax
sub ecx, 4
cmp ecx, 0x1f
ja 0x41d4d6
mov ecx, eax
push ecx
call fcn.0042945d
add esp, 4
jmp 0x41cfe0
mov ecx, dword [ebp - 0x6c]
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00429462
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp - 0x6c]
lea ecx, [ebp - 0x20]
movups xmm0, xmmword [ebp - 0x20]
xor eax, eax
mov word [ebp - 0x20], ax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
movups xmmword [ebx], xmm0
movq xmm0, qword [ebp - 0x10]
movq qword [ebx + 0x10], xmm0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 7
call fcn.00417d90
mov ecx, dword [ebp - 8]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00429462
mov esp, ebp
pop ebp
ret 4
call fcn.0042e703
int3