Function at 0x4b4e00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3de6
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 dword [ebp - 0x1c], 0
mov dword [ebp - 4], 1
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x4b5060
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 0x1c], 1
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 2
push eax
push 0x20019
push 0
push str.SoftwareKingsoftOffice
push 0x80000001
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x10]
mov edi, 1
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x14], 0
test eax, eax
je 0x4b4f54
lea ecx, [ebp - 0x14]
push ecx
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0x5b7370
push eax
call ebx
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0x4b4ec3
cmp eax, 2
jne 0x4b4f51
mov ecx, esi
call fcn.00429bc0
mov edx, dword [ebp - 0x14]
shr edx, 1
add edx, edi
js 0x4b506a
mov eax, dword [esi]
mov ecx, edi
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or ecx, eax
jge 0x4b4eef
push edx
mov ecx, esi
call fcn.00429e50
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x5b7370
push dword [ebp - 0x10]
call ebx
test eax, eax
jne 0x4b4f51
mov eax, dword [ebp - 0x14]
xor edx, edx
mov ecx, dword [ebp - 0x20]
shr eax, 1
mov word [ecx + eax*2], dx
mov eax, dword [esi]
test eax, eax
jne 0x4b4f25
xor ecx, ecx
jmp 0x4b4f3b
push dword [eax - 8]
push eax
call fcn.00566c13
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4b506a
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x4b506a
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
mov ecx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x4b5045
test eax, eax
je 0x4b4f6d
push eax
call ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0x20019
push 0
push str.SoftwareKingsoftOffice
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
test eax, eax
je 0x4b504c
lea ecx, [ebp - 0x14]
push ecx
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0x5b7370
push eax
call ebx
mov eax, dword [ebp - 0x18]
cmp eax, 1
je 0x4b4fc2
cmp eax, 2
jne 0x4b503c
mov ecx, esi
call fcn.00429bc0
mov ecx, dword [ebp - 0x14]
shr ecx, 1
add ecx, edi
js 0x4b506a
mov eax, dword [esi]
sub edi, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, ecx
or edi, eax
jge 0x4b4fec
push ecx
mov ecx, esi
call fcn.00429e50
mov edi, dword [esi]
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push 0
push 0x5b7370
push dword [ebp - 0x10]
call ebx
test eax, eax
jne 0x4b503c
mov eax, dword [ebp - 0x14]
xor ecx, ecx
shr eax, 1
mov word [edi + eax*2], cx
mov eax, dword [esi]
test eax, eax
je 0x4b502a
push dword [eax - 8]
push eax
call fcn.00566c13
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4b506a
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x4b506a
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov eax, dword [ebp - 0x10]
mov ecx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x4b504c
push eax
call ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00429b00
push 0x80070057
call fcn.00429b00
int3