Function at 0x43c3d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d98d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x639354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [0x6130f4]
mov dword [ebp - 0x10], 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x43c44e
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x43c43a
push ecx
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 eax, dword [ebp - 0x10]
xor edi, edi
mov esi, dword [0x641ba4]
test eax, eax
je 0x43c494
mov edx, esi
lea ebx, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x43c462
sub edx, ebx
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push esi
push 1
push 0
push str.StartMenuDir
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov eax, 1
cmove edi, eax
lea eax, [ebp - 0x18]
push eax
call fcn.004417d0
add esp, 4
xor esi, esi
mov ebx, dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43c4e6
mov edx, ebx
lea ecx, [edx + 2]
mov dword [ebp - 0x14], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x43c4b3
sub edx, dword [ebp - 0x14]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push ebx
push 1
push 0
push str.DisplayName
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov eax, 1
cmove esi, eax
mov edx, dword [ebp - 0x18]
or ebx, 0xffffffff
and esi, edi
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43c505
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.utilityuninst.exe
push dword [0x641b8c]
lea eax, [ebp - 0x1c]
push eax
call fcn.00448a10
add esp, 0xc
xor edi, edi
mov ecx, dword [eax]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x43c567
mov edx, ecx
lea ecx, [edx + 2]
mov dword [ebp - 0x18], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x43c532
sub edx, dword [ebp - 0x18]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push dword [ebp - 0x14]
push 1
push 0
push str.DisplayIcon
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov eax, 1
cmove edi, eax
mov edx, dword [ebp - 0x1c]
and esi, edi
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43c583
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
xor edi, edi
test eax, eax
je 0x43c5d8
mov edx, dword [0x641b90]
lea ecx, [edx + 2]
mov dword [ebp - 0x1c], ecx
jmp 0x43c5a0
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x43c5a0
sub edx, dword [ebp - 0x1c]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push dword [0x641b90]
push 1
push 0
push str.DisplayVersion
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov eax, 1
cmove edi, eax
push str.utilityuninst.exe
push dword [0x641b8c]
lea eax, [ebp - 0x14]
and esi, edi
push eax
call fcn.00448a10
add esp, 0xc
xor edi, edi
mov ecx, dword [eax]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
test eax, eax
je 0x43c63c
mov edx, ecx
lea ecx, [edx + 2]
mov dword [ebp - 0x1c], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x43c607
sub edx, dword [ebp - 0x1c]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push dword [ebp - 0x18]
push 1
push 0
push str.UninstallString
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov eax, 1
cmove edi, eax
mov edx, dword [ebp - 0x14]
and esi, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x43c656
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
xor edi, edi
mov ebx, dword [0x641ba0]
test eax, eax
je 0x43c6aa
mov edx, ebx
lea ecx, [edx + 2]
mov dword [ebp - 0x1c], ecx
lea ecx, [ecx]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x43c670
sub edx, dword [ebp - 0x1c]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 1
push 0
push str.URLInfoAbout
push eax
call ebx
test eax, eax
mov eax, 1
cmove edi, eax
mov eax, dword [ebp - 0x10]
jmp 0x43c6b0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
and esi, edi
xor edi, edi
test eax, eax
je 0x43c6d7
push 0x1e
push str.Kingsoft_Corp.
push 1
push edi
push str.Publisher
push eax
call ebx
test eax, eax
mov eax, 1
cmove edi, eax
mov eax, dword [ebp - 0x10]
mov ebx, dword [0x641b8c]
and esi, edi
xor edi, edi
test eax, eax
je 0x43c726
mov edx, ebx
lea ecx, [edx + 2]
mov dword [ebp - 0x1c], ecx
lea ecx, [ecx]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x43c6f0
sub edx, dword [ebp - 0x1c]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push ebx
push 1
push 0
push str.LocationRoot
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov eax, 1
cmove edi, eax
mov eax, dword [ebp - 0x10]
and esi, edi
test eax, eax
je 0x43c733
push eax
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