Function at 0x4129a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4f2500]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], esi
mov word [ebp - 0x20c], cx
call fcn.004276b0
push esi
push str.__s_
mov eax, 0x104
lea ebx, [ebp - 0x20c]
call fcn.00403030
add esp, 0x14
lea eax, [ebp - 0x214]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallGamePP3
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x412ca4
mov edx, dword [0x4f36ec]
mov eax, dword [edx + 0xc]
mov ecx, 0x4f36ec
call eax
add eax, 0x10
mov dword [ebp - 0x210], eax
mov eax, dword [0x4f7510]
test eax, eax
jne 0x412a62
push 0x24d0
call fcn.0042336c
add esp, 4
test eax, eax
je 0x412a5b
mov esi, eax
call fcn.00415ef0
mov esi, dword [ebp - 0x218]
jmp 0x412a5d
xor eax, eax
mov dword [0x4f7510], eax
push edi
add eax, 0x410
push eax
push str._s_resdesk.ico
lea edi, [ebp - 0x210]
call fcn.00404650
mov ecx, dword [ebp - 0x214]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add esp, 8
push 0x104
push 0x4cbc74
push 1
push 0
push str.DisplayName
push ecx
call edi
mov edx, dword [ebp - 0x214]
push 0x104
push esi
push 1
push 0
push str.UninstallString
push edx
call edi
mov esi, dword [ebp - 0x210]
cmp dword [esi - 4], 1
jle 0x412ad8
mov eax, dword [esi - 0xc]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.00403690
mov esi, dword [ebp - 0x210]
mov edx, dword [ebp - 0x214]
push 0x104
push esi
push 1
push 0
push str.DisplayIcon
push edx
call edi
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00423a17
add esp, 8
test eax, eax
js 0x412cb6
cmp eax, dword [esi - 8]
jg 0x412cb6
mov edx, dword [ebp - 0x21c]
push 0x104
add edx, 0x1040
push edx
push 1
xor ecx, ecx
mov dword [esi - 0xc], eax
push ecx
mov word [esi + eax*2], cx
mov eax, dword [ebp - 0x214]
push str.DisplayVersion
push eax
call edi
push str.Game_Plus_Plus_Technology_Co._Ltd.
lea ecx, [ebp - 0x210]
push ecx
mov ebx, 0x22
call fcn.00403580
mov esi, dword [ebp - 0x210]
cmp dword [esi - 4], 1
jle 0x412b72
mov edx, dword [esi - 0xc]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.00403690
mov esi, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x214]
push 0x104
push esi
push 1
push 0
push str.Publisher
push ecx
call edi
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00423a17
add esp, 8
test eax, eax
js 0x412cb6
cmp eax, dword [esi - 8]
jg 0x412cb6
xor edx, edx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], dx
push str.https:__gamepp.com
lea eax, [ebp - 0x210]
push eax
lea ebx, [edx + 0x12]
call fcn.00403580
mov esi, dword [ebp - 0x210]
mov ebx, 1
cmp dword [esi - 4], ebx
jle 0x412beb
mov ecx, dword [esi - 0xc]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.00403690
mov esi, dword [ebp - 0x210]
mov eax, dword [ebp - 0x214]
push 0x104
push esi
push ebx
push 0
push str.URLInfoAbout
push eax
call edi
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00423a17
add esp, 8
test eax, eax
js 0x412cb6
cmp eax, dword [esi - 8]
jg 0x412cb6
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 4], ebx
jle 0x412c44
mov edx, dword [esi - 0xc]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.00403690
mov esi, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x214]
push 0x104
push esi
push ebx
push 0
push str.URLUpdateInfo
push ecx
call edi
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00423a17
add esp, 8
pop edi
test eax, eax
js 0x412cb6
cmp eax, dword [esi - 8]
jg 0x412cb6
mov dword [esi - 0xc], eax
xor edx, edx
mov word [esi + eax*2], dx
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412ca4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042292e
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00402e50
int3