Function at 0x4cfa30
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a64bb
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x63434c]
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 esi, ecx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x238], esi
mov dword [ebp - 4], 0
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x4cfd0d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x22c], 0
mov byte [ebp - 4], 2
call fcn.0051ca50
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x4cfabb
push eax
call ebx
push 0
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x22c], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREKingsoftOffice6.0Common
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4cfca8
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x4cfbd4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x234]
push ecx
push 0
lea ecx, [ebp - 0x230]
push ecx
push 0
push str.infoGUID
push eax
call ebx
mov eax, dword [ebp - 0x230]
cmp eax, 1
je 0x4cfb37
cmp eax, 2
jne 0x4cfbce
mov ecx, esi
call fcn.00429bc0
mov edx, dword [ebp - 0x234]
shr edx, 1
add edx, 1
js 0x4cfd03
mov edi, dword [esi]
mov ecx, 1
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, edx
or ecx, eax
jge 0x4cfb6c
push edx
mov ecx, esi
call fcn.00429e50
mov edi, dword [esi]
lea eax, [ebp - 0x234]
push eax
push edi
lea eax, [ebp - 0x230]
push eax
push 0
push str.infoGUID
push dword [ebp - 0x22c]
call ebx
test eax, eax
jne 0x4cfbce
mov eax, dword [ebp - 0x234]
xor ecx, ecx
shr eax, 1
mov word [edi + eax*2], cx
mov eax, dword [esi]
test eax, eax
je 0x4cfbb8
push dword [eax - 8]
push eax
call fcn.00566c13
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4cfd03
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x4cfd03
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x4cfc91
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
js 0x4cfc91
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0055c530
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cfc30
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0042a000
mov eax, dword [ebp - 0x22c]
mov edi, dword [esi]
test eax, eax
je 0x4cfc9e
mov edx, edi
lea ecx, [edx + 2]
mov dword [ebp - 0x230], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4cfc65
sub edx, dword [ebp - 0x230]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push edi
push 1
push 0
push str.infoGUID
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x4cfc9e
push eax
call ebx
mov dword [ebp - 0x22c], 0
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x4cfcbe
push 0x26
push str.BEE0D90A_11F1_4E60_9C6B_8FFD17FE3F24
mov ecx, esi
call fcn.0042a000
mov ecx, 0x63cd10
call fcn.00495f30
mov ecx, 0x63cd10
mov dword [esi + 4], eax
call fcn.00495e20
mov ecx, dword [ebp - 0x22c]
mov dword [esi + 8], eax
test ecx, ecx
je 0x4cfce5
push ecx
call ebx
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.00557e89
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00429b00
push 0x80004005
call fcn.00429b00
int3