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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0436
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x61ce74]
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
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4b98f8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x22c], 0
mov byte [ebp - 4], 1
call fcn.004e38e0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x4b96a4
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 0x4b9893
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x4b97bd
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 0x4b9720
cmp eax, 2
jne 0x4b97b7
mov ecx, esi
call fcn.00426010
mov edx, dword [ebp - 0x234]
shr edx, 1
add edx, 1
js 0x4b98ee
mov edi, dword [esi]
mov ecx, 1
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, edx
or ecx, eax
jge 0x4b9755
push edx
mov ecx, esi
call fcn.00426250
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 0x4b97b7
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 0x4b97a1
push dword [eax - 8]
push eax
call fcn.0054b2c2
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4b98ee
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x4b98ee
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 0x4b987c
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
js 0x4b987c
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00540d70
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]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b9816
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004263f0
mov eax, dword [ebp - 0x22c]
mov edi, dword [esi]
test eax, eax
je 0x4b9889
mov edx, edi
lea ecx, [edx + 2]
mov dword [ebp - 0x230], ecx
jmp 0x4b9850
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4b9850
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 0x4b9889
push eax
call ebx
mov dword [ebp - 0x22c], 0
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x4b98a9
push 0x26
push str.BEE0D90A_11F1_4E60_9C6B_8FFD17FE3F24
mov ecx, esi
call fcn.004263f0
mov ecx, 0x629c48
call fcn.004868c0
mov ecx, 0x629c48
mov dword [esi + 4], eax
call fcn.004867b0
mov ecx, dword [ebp - 0x22c]
mov dword [esi + 8], eax
test ecx, ecx
je 0x4b98d0
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.0053d079
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00425f50
push 0x80004005
call fcn.00425f50
int3