Function at 0x411960
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x5023a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x210]
push edi
push 0x208
push 0
push eax
mov ebx, ecx
call fcn.0049b560
add esp, 0xc
lea eax, [ebp - 0x210]
push esi
push str.__s_
push 0x104
push eax
call fcn.004033e0
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallGamePP3
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x411c30
call fcn.004031c0
mov ecx, eax
test ecx, ecx
je 0x411c4d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x214], eax
mov eax, dword [0x506568]
test eax, eax
jne 0x411a14
push 0x20d0
call fcn.0049786c
add esp, 4
mov ecx, eax
call fcn.00414c70
mov ecx, eax
mov dword [0x506568], eax
mov edx, dword [eax]
call dword [edx]
mov eax, dword [0x506568]
add eax, 0x414
push eax
lea eax, [ebp - 0x214]
push str._s_resdesk.ico
push eax
call fcn.004040c0
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add esp, 0xc
push 0x104
push 0x4da2d8
push 1
push 0
push str.DisplayName
push dword [ebp - 0x218]
call edi
push 0x104
push esi
push 1
push 0
push str.UninstallString
push dword [ebp - 0x218]
call edi
mov esi, dword [ebp - 0x214]
cmp dword [esi - 4], 1
jle 0x411a86
push dword [esi - 0xc]
lea ecx, [ebp - 0x214]
call fcn.00403890
mov esi, dword [ebp - 0x214]
push 0x104
push esi
push 1
push 0
push str.DisplayIcon
push dword [ebp - 0x218]
call edi
push dword [esi - 8]
push esi
call fcn.004a38d8
add esp, 8
test eax, eax
js 0x411c43
cmp eax, dword [esi - 8]
jg 0x411c43
mov dword [esi - 0xc], eax
xor ecx, ecx
push 0x104
mov word [esi + eax*2], cx
lea eax, [ebx + 0x1044]
push eax
push 1
push ecx
push str.DisplayVersion
push dword [ebp - 0x218]
call edi
push 0x22
push str.Game_Plus_Plus_Technology_Co._Ltd.
lea ecx, [ebp - 0x214]
call fcn.00403760
mov esi, dword [ebp - 0x214]
cmp dword [esi - 4], 1
jle 0x411b11
push dword [esi - 0xc]
lea ecx, [ebp - 0x214]
call fcn.00403890
mov esi, dword [ebp - 0x214]
push 0x104
push esi
push 1
push 0
push str.Publisher
push dword [ebp - 0x218]
call edi
push dword [esi - 8]
push esi
call fcn.004a38d8
add esp, 8
test eax, eax
js 0x411c43
cmp eax, dword [esi - 8]
jg 0x411c43
xor ecx, ecx
mov dword [esi - 0xc], eax
push 0x12
mov word [esi + eax*2], cx
lea ecx, [ebp - 0x214]
push str.https:__gamepp.com
call fcn.00403760
mov esi, dword [ebp - 0x214]
cmp dword [esi - 4], 1
jle 0x411b80
push dword [esi - 0xc]
lea ecx, [ebp - 0x214]
call fcn.00403890
mov esi, dword [ebp - 0x214]
push 0x104
push esi
push 1
push 0
push str.URLInfoAbout
push dword [ebp - 0x218]
call edi
push dword [esi - 8]
push esi
call fcn.004a38d8
add esp, 8
test eax, eax
js 0x411c43
cmp eax, dword [esi - 8]
jg 0x411c43
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 4], 1
jle 0x411bd7
push dword [esi - 0xc]
lea ecx, [ebp - 0x214]
call fcn.00403890
mov esi, dword [ebp - 0x214]
push 0x104
push esi
push 1
push 0
push str.URLUpdateInfo
push dword [ebp - 0x218]
call edi
push dword [esi - 8]
push esi
call fcn.004a38d8
add esp, 8
test eax, eax
js 0x411c43
cmp eax, dword [esi - 8]
jg 0x411c43
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x411c30
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049765c
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.00402f10
push 0x80004005
call fcn.00402f10
int3