Function at 0x4c0880
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4f85
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x63434c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x1c], eax
cmp dword [eax + 0x88], 0
jne 0x4c0b71
mov dword [ebp - 4], 0
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x4c0b94
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 2
call fcn.0051ca50
mov ecx, dword [ebp - 0x10]
mov ebx, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ecx, ecx
je 0x4c0904
push ecx
call edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0x20019
push 0
push str.SOFTWAREKingsoftOffice6.0Common
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov eax, dword [ebp - 0x10]
jne 0x4c09fe
mov dword [ebp - 0x18], 0
test eax, eax
je 0x4c09f9
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x20]
push ecx
push 0
push str.Version
push eax
call ebx
mov eax, dword [ebp - 0x20]
cmp eax, 1
je 0x4c0967
cmp eax, 2
jne 0x4c09ef
lea ecx, [ebp - 0x14]
call fcn.00429bc0
mov edx, dword [ebp - 0x18]
shr edx, 1
add edx, 1
js 0x4c0b9e
mov esi, dword [ebp - 0x14]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x4c099d
push edx
lea ecx, [ebp - 0x14]
call fcn.00429e50
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x20]
push eax
push 0
push str.Version
push dword [ebp - 0x10]
call ebx
test eax, eax
jne 0x4c09ef
mov eax, dword [ebp - 0x18]
xor ecx, ecx
shr eax, 1
mov word [esi + eax*2], cx
test esi, esi
jne 0x4c09c9
xor eax, eax
jmp 0x4c09dd
push dword [esi - 8]
push esi
call fcn.00566c13
add esp, 8
test eax, eax
js 0x4c0b9e
cmp eax, dword [esi - 8]
jg 0x4c0b9e
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4c09f9
push eax
call edi
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [esi - 0xc], 0
jne 0x4c0b1d
test eax, eax
je 0x4c0a0f
push eax
call edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0x20019
push 0
push str.SOFTWAREKingsoftOffice6.0Common
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c0b05
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4c0afe
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x20]
push ecx
push 0
push str.Version
push eax
call ebx
mov eax, dword [ebp - 0x20]
cmp eax, 1
je 0x4c0a6c
cmp eax, 2
jne 0x4c0af4
lea ecx, [ebp - 0x14]
call fcn.00429bc0
mov ecx, dword [ebp - 0x18]
shr ecx, 1
add ecx, 1
js 0x4c0b9e
mov esi, dword [ebp - 0x14]
mov edx, 1
mov eax, dword [esi - 8]
sub edx, dword [esi - 4]
sub eax, ecx
or eax, edx
jge 0x4c0aa2
push ecx
lea ecx, [ebp - 0x14]
call fcn.00429e50
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x20]
push eax
push 0
push str.Version
push dword [ebp - 0x10]
call ebx
test eax, eax
jne 0x4c0af4
mov eax, dword [ebp - 0x18]
xor ecx, ecx
shr eax, 1
mov word [esi + eax*2], cx
test esi, esi
jne 0x4c0ace
xor eax, eax
jmp 0x4c0ae2
push dword [esi - 8]
push esi
call fcn.00566c13
add esp, 8
test eax, eax
js 0x4c0b9e
cmp eax, dword [esi - 8]
jg 0x4c0b9e
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4c0afe
push eax
call edi
mov dword [ebp - 0x10], 0
cmp dword [esi - 0xc], 0
jne 0x4c0b1d
push 7
push str.0.0.0.X
lea ecx, [ebp - 0x14]
call fcn.0042a000
mov esi, dword [ebp - 0x14]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c0b22
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x1c]
push esi
add ecx, 0x78
call fcn.0042e2d0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4c0b48
push eax
call edi
mov dword [ebp - 0x10], 0
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4c0b6e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
add eax, 0x78
push eax
call fcn.0043f9e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00429b00
push 0x80070057
call fcn.00429b00
int3