Function at 0x438ba0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x578c08
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5fb61c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallKingsoft_Office]
xor ebx, ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push ecx
push edx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x438c12
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x438bfe
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
cmp edx, ebx
je 0x438c56
mov esi, dword [0x5ff1e4]
mov eax, esi
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x438c27
sub eax, edi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push ebx
push str.StartMenuDir
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x438c56
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0x18]
push ecx
call fcn.0043fca0
mov edi, dword [ebp - 0x10]
mov edx, dword [eax]
add esp, 4
xor esi, esi
cmp edi, ebx
je 0x438ca0
mov eax, edx
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x438c72
sub eax, ebx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
push 1
push 0
push str.DisplayName
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x438ca0
mov esi, 1
mov eax, dword [ebp - 0x18]
and esi, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 0x14], esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438cc5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x5ff1bc]
push str.utilityuninst.exe
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.00443050
mov edi, dword [ebp - 0x10]
mov edx, dword [eax]
add esp, 0xc
xor ebx, ebx
test edi, edi
je 0x438d1e
mov eax, edx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x438cf0
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
push 1
push 0
push str.DisplayIcon
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x438d1e
mov ebx, 1
mov eax, dword [ebp - 0x18]
and dword [ebp - 0x14], ebx
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438d40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x10]
xor ebx, ebx
test edi, edi
je 0x438d82
mov edx, dword [0x5ff1c4]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x438d54
sub eax, esi
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
push edx
push 1
push 0
push str.DisplayVersion
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x438d82
mov ebx, 1
mov edx, dword [0x5ff1bc]
and dword [ebp - 0x14], ebx
push str.utilityuninst.exe
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.00443050
mov edi, dword [ebp - 0x10]
mov edx, dword [eax]
add esp, 0xc
xor ebx, ebx
test edi, edi
je 0x438dde
mov eax, edx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x438db0
sub eax, esi
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
push edx
push 1
push 0
push str.UninstallString
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x438dde
mov ebx, 1
mov eax, dword [ebp - 0x18]
and dword [ebp - 0x14], ebx
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x438e00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
xor ebx, ebx
test ecx, ecx
je 0x438e45
mov esi, dword [0x5ff1d8]
mov eax, esi
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x438e14
sub eax, edi
sar eax, 1
lea edx, [eax + eax + 2]
push edx
push esi
push 1
push 0
push str.URLInfoAbout
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x10]
test eax, eax
jne 0x438e45
mov ebx, 1
and dword [ebp - 0x14], ebx
xor edi, edi
test ecx, ecx
je 0x438e70
push 0x1e
push str.Kingsoft_Corp.
push 1
push edi
push str.Publisher
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x10]
test eax, eax
jne 0x438e70
mov edi, 1
and dword [ebp - 0x14], edi
xor ebx, ebx
test ecx, ecx
je 0x438eb5
mov edi, dword [0x5ff1bc]
mov eax, edi
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x438e84
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push 0
push str.LocationRoot
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x10]
test eax, eax
jne 0x438eb5
mov ebx, 1
mov esi, dword [ebp - 0x14]
and esi, ebx
test ecx, ecx
je 0x438ec5
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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