Function at 0x46fce0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59da5d
mov eax, dword fs:[0]
push eax
sub esp, 0x228
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 ebx, dword [ebp + 8]
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x230], 0
mov dword [ebp - 4], 1
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x46ff59
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov ecx, 0x63cd10
mov dword [ebp - 4], 0
mov dword [ebp - 0x230], 1
call fcn.00494130
test eax, eax
je 0x46fda7
lea eax, [ebp - 0x21c]
mov ecx, 0x63cd10
push eax
call fcn.00494700
push eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.00429740
mov edx, dword [ebp - 0x21c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46ff39
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x46ff39
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.0055c530
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 0x46fe1c
mov esi, dword [ebp - 0x21c]
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], eax
mov byte [ebp - 4], 3
test eax, eax
jne 0x46fe7f
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 0x46fe77
mov eax, dword [ebp - 0x220]
cmp eax, 1
je 0x46fe65
cmp eax, 2
jne 0x46fe77
cmp dword [ebp - 0x21c], 0
jne 0x46fe77
xor eax, eax
mov word [ebp - 0x218], ax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x46fef2
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 0x46fecc
xor eax, eax
test esi, esi
je 0x46feb6
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 0x46ff0b
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
push str.LocationRoot
lea ecx, [ebp - 0x22c]
call fcn.00474160
test esi, esi
je 0x46ff01
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 0x46ff14
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.0042a000
test esi, esi
je 0x46ff39
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.00557e89
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00429b00
int3