Function at 0x4317d0
Capabilities:
Enumerate files on windows
Enumerate files recursively
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ccdd6
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x4fd0b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x2c8]
push 0x4ed88c
mov dword [ebp - 0x2b0], edx
call fcn.004330b0
add esp, 4
mov dword [ebp - 4], 0
mov ecx, 0x501c64
cmp dword [0x501c78], 8
push dword [0x501c74]
cmovae ecx, dword [0x501c64]
push ecx
mov ecx, eax
call fcn.0042dba0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2b4]
cmp edx, 8
jb 0x4318ae
mov ecx, dword [ebp - 0x2c8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4318a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431d24
push edx
push ecx
call fcn.0047917e
add esp, 8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x80
push 1
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43190b
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x431945
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43193b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431d29
jmp 0x43193b
cmp dword [0x501c60], 0x10
lea ecx, [ebp - 0x2c]
push 0
push ecx
push dword [0x501c5c]
mov eax, 0x501c4c
cmovae eax, dword [0x501c4c]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x4318d9
push edx
push ecx
call fcn.0047917e
add esp, 8
mov esi, dword [ebp - 0x2b0]
lea ecx, [ebp - 0x5c]
push 0x4ed890
mov edx, esi
call fcn.004330b0
add esp, 4
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2ac]
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
push ecx
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [ebp - 0x2c], eax
cmp eax, 0xffffffff
je 0x431cd1
nop dword [eax]
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
push 0x4ed88c
mov edx, esi
lea ecx, [ebp - 0x2c8]
call fcn.004330b0
add esp, 4
mov edx, eax
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 2
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4319c1
sub ecx, esi
lea eax, [ebp - 0x280]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.0042dba0
mov dword [ebp - 0x34], 0
xor ecx, ecx
mov dword [ebp - 0x30], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2b4]
cmp edx, 8
jb 0x431a55
mov ecx, dword [ebp - 0x2c8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431a4b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431d24
push edx
push ecx
call fcn.0047917e
add esp, 8
mov ecx, dword [ebp - 0x2ac]
xor eax, eax
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 7
mov word [ebp - 0x2c8], ax
test cl, 0x10
je 0x431bad
mov ecx, 0x4ed898
lea eax, [ebp - 0x280]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x431ab6
test dx, dx
je 0x431ab2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x431ab6
add eax, 4
add ecx, 4
test dx, dx
jne 0x431a90
xor eax, eax
jmp 0x431abb
sbb eax, eax
or eax, 1
test eax, eax
je 0x431c6c
mov ecx, 0x4ed8a0
lea eax, [ebp - 0x280]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x431af6
test dx, dx
je 0x431af2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x431af6
add eax, 4
add ecx, 4
test dx, dx
jne 0x431ad0
xor eax, eax
jmp 0x431afb
sbb eax, eax
or eax, 1
test eax, eax
je 0x431c6c
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431b20
sub ecx, edx
lea eax, [ebp - 0x280]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0042da40
lea eax, [ebp - 0x28]
mov edx, 0x509090
push eax
mov ecx, 0x508df0
call fcn.00430800
mov edx, dword [ebp - 0x14]
add esp, 4
mov esi, eax
cmp edx, 8
jb 0x431b91
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431b87
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431d24
push edx
push ecx
call fcn.0047917e
add esp, 8
cmp esi, 0x509090
jne 0x431c6c
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call fcn.004317d0
jmp 0x431c6c
test cl, 1
je 0x431bc8
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
and ecx, 0xfffffffe
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431be5
sub ecx, edx
lea eax, [ebp - 0x280]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0042da40
lea eax, [ebp - 0x28]
mov edx, 0x509138
push eax
mov ecx, 0x509090
call fcn.00430800
mov edx, dword [ebp - 0x14]
add esp, 4
mov esi, eax
cmp edx, 8
jb 0x431c56
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431c4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431d24
push edx
push ecx
call fcn.0047917e
add esp, 8
cmp esi, 0x509138
jne 0x431c6c
push dword [edi + 0x18]
lea ecx, [ebp - 0x44]
call fcn.0042a9e0
add esp, 4
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x431caa
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431ca0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431d24
push edx
push ecx
call fcn.0047917e
add esp, 8
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x2ac]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
je 0x431cca
mov esi, dword [ebp - 0x2b0]
jmp 0x431990
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x431d07
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431cfd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431d29
push edx
push ecx
call fcn.0047917e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047913d
mov esp, ebp
pop ebp
ret 4
call fcn.0049a999
call fcn.0049a999
int3