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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x670f60
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x718924]
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 edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x78], esi
xor eax, eax
push 0x2e
push str._KHDIDMGR_3E67DFEF_DF4E_4CC6_9413_5F71C7C96C04
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0044e920
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x44], 0
call fcn.00451440
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4bfb2e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4bfb24
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bfebf
push edx
push ecx
call fcn.004cb4db
add esp, 8
cmp dword [ebp - 0x44], 0
jne 0x4bfb80
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
test ebx, ebx
je 0x4bfcbd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4bfb7d
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4bfb7d
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call edi
jmp 0x4bfcc3
mov dword [ebp - 0x44], ebx
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 dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx eax, word [ebp - 0x4e]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x70], eax
xor eax, eax
push 7
push str.InfoHDt
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0044e920
push 0x23
xor eax, eax
mov byte [ebp - 4], 3
push str.SoftwareKingsoftOffice6.0Common
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
call fcn.0044e920
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x78]
push edx
lea edx, [ebp - 0x74]
mov dword [ebp - 0x74], 0
push edx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x78], 4
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x58], 8
push 0
cmovae eax, dword [ebp - 0x6c]
push ecx
push eax
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ebx, dword [ebp - 0x74]
xor ecx, ecx
mov edx, dword [ebp - 0x58]
test eax, eax
cmovne ebx, ecx
cmp edx, 8
jb 0x4bfc68
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4bfc5e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bfec4
push edx
push ecx
call fcn.004cb4db
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4bfd4a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4bfd40
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bfec4
jmp 0x4bfd40
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.004bfed0
mov eax, dword [ebp - 0x44]
add esp, 4
test eax, eax
je 0x4bfce6
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0x44]
call edi
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4bfd20
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4bfd16
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bfebf
push edx
push ecx
call fcn.004cb4db
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.004cb998
mov esp, ebp
pop ebp
ret 8
push edx
push ecx
call fcn.004cb4db
add esp, 8
cmp dword [ebp - 0x70], ebx
je 0x4bfda9
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 dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx eax, word [ebp - 0x4e]
push 4
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x70]
push eax
push 4
push str.InfoHDt
push str.SoftwareKingsoftOffice6.0Common
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp dword [edi], 0
jne 0x4bfda9
push 0
push 0
push 0
push 0x4bec00
push 0
push 0
call fcn.004f9850
add esp, 0x18
mov dword [edi], eax
lea eax, [ebp - 0x28]
push eax
call fcn.004bfed0
add esp, 4
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x4bfe0e
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x4bfce6
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4bfcdf
mov eax, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4bfe2e
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [edi]
call ebx
mov dword [edi], 0
push esi
call fcn.004bfed0
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 8
jb 0x4bfe6d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4bfe63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bfebf
push edx
push ecx
call fcn.004cb4db
add esp, 8
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x4bfe87
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0x44]
call ebx
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4bfd20
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4bfd16
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4bfd16
call fcn.004e6589
call fcn.004e6589
int3