Function at 0x436770
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x596618
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x61ce74]
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 [0x61b438]
mov dword [ebp - 0x10], 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4367ee
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4367da
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 [0x6299dc]
test eax, eax
je 0x436834
mov edx, esi
lea ebx, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x436802
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.0043be10
add esp, 4
xor esi, esi
mov ebx, dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x436886
mov edx, ebx
lea ecx, [edx + 2]
mov dword [ebp - 0x14], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x436853
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 0x4368a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.utilityuninst.exe
push dword [0x6299c4]
lea eax, [ebp - 0x1c]
push eax
call fcn.004430a0
add esp, 0xc
xor edi, edi
mov ecx, dword [eax]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x436907
mov edx, ecx
lea ecx, [edx + 2]
mov dword [ebp - 0x18], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4368d2
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 0x436923
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 0x436978
mov edx, dword [0x6299c8]
lea ecx, [edx + 2]
mov dword [ebp - 0x1c], ecx
jmp 0x436940
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x436940
sub edx, dword [ebp - 0x1c]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push dword [0x6299c8]
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 [0x6299c4]
lea eax, [ebp - 0x14]
and esi, edi
push eax
call fcn.004430a0
add esp, 0xc
xor edi, edi
mov ecx, dword [eax]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
test eax, eax
je 0x4369dc
mov edx, ecx
lea ecx, [edx + 2]
mov dword [ebp - 0x1c], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4369a7
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 0x4369f6
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 [0x6299d8]
test eax, eax
je 0x436a4a
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 0x436a10
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 0x436a50
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
and esi, edi
xor edi, edi
test eax, eax
je 0x436a77
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 [0x6299c4]
and esi, edi
xor edi, edi
test eax, eax
je 0x436ac6
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 0x436a90
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 0x436ad3
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