Function at 0x46f910
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a1f1d
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x639354]
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 ebx, dword [ebp + 8]
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x230], 0
mov dword [ebp - 4], 1
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x46fb89
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov ecx, 0x641e28
mov dword [ebp - 4], 0
mov dword [ebp - 0x230], 1
call fcn.00494a90
test eax, eax
je 0x46f9d7
lea eax, [ebp - 0x21c]
mov ecx, 0x641e28
push eax
call fcn.00495060
push eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.004297a0
mov edx, dword [ebp - 0x21c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46fb69
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x46fb69
xor esi, esi
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 3
push esi
push eax
call fcn.00560a80
add esp, 0xc
mov dword [ebp - 0x220], 0x104
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x21c]
push eax
push 0x2001f
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallKingsoft_Office
push 0x80000001
mov dword [ebp - 0x21c], esi
call edi
test eax, eax
jne 0x46fa4c
mov esi, dword [ebp - 0x21c]
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], eax
mov byte [ebp - 4], 3
test eax, eax
jne 0x46faaf
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push str.LocationRoot
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46faa7
mov eax, dword [ebp - 0x220]
cmp eax, 1
je 0x46fa95
cmp eax, 2
jne 0x46faa7
cmp dword [ebp - 0x21c], 0
jne 0x46faa7
xor eax, eax
mov word [ebp - 0x218], ax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x46fb22
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
push eax
push 0x2001f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallKingsoft_Office
push 0x80000002
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x46fafc
xor eax, eax
test esi, esi
je 0x46fae6
push esi
call edi
mov esi, dword [ebp - 0x21c]
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], 0
mov byte [ebp - 4], 3
test eax, eax
jne 0x46fb3b
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
push str.LocationRoot
lea ecx, [ebp - 0x22c]
call fcn.00473d90
test esi, esi
je 0x46fb31
push esi
call edi
xor esi, esi
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], 0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46fb44
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.0042a060
test esi, esi
je 0x46fb69
push esi
call edi
mov eax, ebx
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.0055c3a9
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00429b60
int3