Function at 0x4c1970
Capabilities:
Check mutex on windows
Create thread
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50daa5
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x567e00]
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 dword [ebp - 0x7c], ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
xor eax, eax
push 0x2e
mov dword [ebp - 0x44], 0
push str._KHDIDMGR_3E67DFEF_DF4E_4CC6_9413_5F71C7C96C04
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.00403a70
cmp dword [ebp - 0x30], 8
lea edi, [ebp - 0x44]
mov ebx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x34]
cmovae edi, ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
cmp ecx, 8
jae 0x4c1a2a
mov eax, dword [edi]
mov esi, 7
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
jmp 0x4c1a65
mov esi, ecx
mov eax, 0x7ffffffe
or esi, 7
lea ecx, [ebp - 0x28]
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00403890
mov ecx, eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], ecx
lea eax, [eax*2 + 2]
push eax
push edi
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x4c1aa6
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x4c1a99
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1dee
push ecx
push ebx
call fcn.004c6f6f
mov esi, dword [ebp - 0x14]
add esp, 8
cmp dword [ebp - 0x2c], 0
jne 0x4c1b7a
cmp esi, 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
test esi, esi
je 0x4c1af7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4c1b77
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4c1b77
push esi
call edi
mov esi, dword [ebp - 0x70]
push esi
call fcn.004c1e00
mov eax, dword [ebp - 0x2c]
add esp, 4
test eax, eax
je 0x4c1b1d
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0x2c]
call edi
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4c1b57
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c1b4d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1dee
push edx
push ecx
call fcn.004c6f6f
add esp, 8
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.004c6f8b
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 0x2c], esi
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x54]
push eax
call edi
movzx ebx, word [ebp - 0x4e]
lea ecx, [ebp - 0x6c]
push 7
xor eax, eax
mov dword [ebp - 0x6c], 0
push str.InfoHDt
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
call fcn.00403a70
push 0x23
push str.SoftwareKingsoftOffice6.0Common
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
call fcn.00403a70
cmp dword [ebp - 0x58], 8
lea edx, [ebp - 0x78]
push edx
lea edx, [ebp - 0x74]
mov dword [ebp - 0x74], 0
push edx
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x78], 4
cmovae ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
push 0
cmovae eax, dword [ebp - 0x44]
push ecx
push eax
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov esi, dword [ebp - 0x74]
xor ecx, ecx
mov edx, dword [ebp - 0x30]
test eax, eax
cmovne esi, ecx
cmp edx, 8
jb 0x4c1c65
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c1c5b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1ca9
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov edx, dword [ebp - 0x58]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4c1cb9
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c1caf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4c1caf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
cmp ebx, esi
je 0x4c1d19
xor eax, eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x54]
push eax
call edi
movzx eax, word [ebp - 0x4e]
push 4
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
push eax
push 4
push str.InfoHDt
push str.SoftwareKingsoftOffice6.0Common
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ebx, dword [ebp - 0x7c]
cmp dword [ebx], 0
jne 0x4c1d1c
push 0
push 0
push 0
push 0x4c0910
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebx], eax
jmp 0x4c1d1c
mov ebx, dword [ebp - 0x7c]
lea eax, [ebp - 0x6c]
push eax
call fcn.004c1e00
add esp, 4
cmp dword [ebp - 0x5c], 0
mov byte [ebp - 4], 4
je 0x4c1d68
mov esi, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.00402e80
lea ecx, [ebp - 0x6c]
call fcn.00403430
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4c1b1d
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4c1b16
mov eax, dword [ebx]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4c1d88
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebx]
call edi
mov dword [ebx], 0
mov esi, dword [ebp - 0x70]
push esi
call fcn.004c1e00
add esp, 4
lea ecx, [ebp - 0x6c]
call fcn.00403430
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4c1db6
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0x2c]
call edi
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4c1b57
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c1b4d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4c1b4d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3