Function at 0x1000c3f6
Capabilities:
Enumerate files on windows
Get common file path
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10038134
mov eax, dword fs:[0]
push eax
sub esp, 0x690
mov eax, dword [0x10045390]
xor eax, esp
mov dword [esp + 0x688], eax
push ebx
push esi
push edi
mov eax, dword [0x10045390]
xor eax, esp
push eax
lea eax, [esp + 0x6a0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1c]
push eax
push 0xf003f
xor edi, edi
push edi
push str.SoftwareTencentPluginVAS
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000c56c
push edi
push edi
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x40]
push eax
push edi
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x34]
push eax
push edi
push edi
push edi
push dword [esp + 0x48]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1000c69f
mov ebx, dword [esp + 0x28]
inc ebx
cmp dword [esp + 0x18], edi
jbe 0x1000c691
cmp ebx, 1
jbe 0x1000c691
push 0x1fe
lea eax, [esp + 0x290]
push edi
push eax
call fcn.100207d0
add esp, 0xc
mov dword [esp + 0x10], edi
cmp dword [esp + 0x18], edi
jbe 0x1000c55d
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0xff
lea eax, [esp + 0x290]
push edi
push eax
call fcn.100207d0
add esp, 0xc
push edi
push edi
push edi
push edi
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x2a0]
push eax
push dword [esp + 0x28]
mov dword [esp + 0x48], ebx
push dword [esp + 0x38]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x28c]
push eax
call esi
cmp eax, 0xc
jge 0x1000c54b
lea eax, [esp + 0x28c]
push eax
call esi
cmp eax, 5
jle 0x1000c54b
lea eax, [esp + 0x28c]
push eax
push dword [esp + 0x18]
call fcn.1000cc63
push 0x1003db38
push dword [esp + 0x18]
call fcn.1000cc63
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x18]
jb 0x1000c4d5
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000c691
lea eax, [esp + 0x48c]
push eax
push edi
push edi
push 5
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, edi
jl 0x1000c691
lea eax, [esp + 0x48c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.1000cba8
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x6ac], edi
call fcn.1000cf24
pop ecx
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x6ac], 1
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000c671
test byte [esp + 0x3c], 0x10
je 0x1000c656
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.1000cba8
mov byte [esp + 0x6a8], 2
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
xor esi, esi
cmp ecx, edi
jle 0x1000c627
cmp esi, edi
jl 0x1000c6c3
cmp esi, ecx
jg 0x1000c6c3
movzx eax, word [eax + esi*2]
push eax
call fcn.1001d746
pop ecx
test eax, eax
je 0x1000c642
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
inc esi
cmp esi, ecx
jl 0x1000c5fc
push dword [eax - 0xc]
push eax
mov eax, dword [esp + 0x1c]
call fcn.1000d59a
push 0x1003db38
push dword [esp + 0x18]
call fcn.1000cc63
mov byte [esp + 0x6a8], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.1000160d
lea eax, [esp + 0x3c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000c5d1
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.1000160d
or dword [esp + 0x6a8], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.1000160d
push 0x1003d614
push dword [esp + 0x18]
call fcn.1000cc63
mov ecx, dword [esp + 0x6a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x688]
xor ecx, esp
call fcn.1001c645
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.10001257
int3