Function at 0x412530
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x54b850
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x5b0630]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b0630]
xor eax, esp
push eax
lea eax, [esp + 0xec]
mov dword fs:[0], eax
mov eax, dword [esp + 0xfc]
xor ecx, ecx
push 0x33
mov word [esp + 0xd0], cx
mov ebp, 7
xor ebx, ebx
push str.SoftWareMicrosoftWindowsCurrentVersionUninstall
lea ecx, [esp + 0xd0]
mov dword [esp + 0x60], eax
mov dword [esp + 0xe8], ebp
mov dword [esp + 0xe4], ebx
call fcn.0040c670
push 1
lea edx, [esp + 0xcc]
push edx
lea edi, [esp + 0xa8]
mov ecx, 0x5b8870
mov dword [esp + 0xfc], ebx
call fcn.0041c670
mov byte [esp + 0xf4], 1
cmp byte [esp + 0xc4], bl
jne 0x41263c
mov esi, 8
mov dword [esp + 0xa0], vtable.Win32Reg::RegistryKey.0
cmp dword [esp + 0xc0], esi
jb 0x412604
mov eax, dword [esp + 0xac]
push eax
call fcn.00450c1b
add esp, 4
xor ecx, ecx
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], cx
cmp dword [esp + 0xe0], esi
jb 0x412635
mov edx, dword [esp + 0xcc]
push edx
call fcn.00450c1b
add esp, 4
xor eax, eax
jmp 0x412cec
push 1
push 0x5b85e8
lea edi, [esp + 0x80]
lea ecx, [esp + 0xa8]
call fcn.0041c670
mov byte [esp + 0xf4], 2
cmp byte [esp + 0x9c], bl
jne 0x4126d1
push 0x5b85e8
lea edi, [esp + 0x34]
lea ecx, [esp + 0xa4]
call fcn.0041c8a0
mov esi, eax
push 0xffffffffffffffff
mov byte [esp + 0xf8], 3
mov eax, dword [esi + 4]
push ebx
lea ecx, [esi + 8]
push ecx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x88], eax
call fcn.0040a880
mov dl, byte [esi + 0x24]
mov byte [esp + 0xf4], 2
cmp dword [esp + 0x50], 8
mov byte [esp + 0x9c], dl
mov dword [esp + 0x30], vtable.Win32Reg::RegistryKey.0
jb 0x4126d1
mov eax, dword [esp + 0x3c]
push eax
call fcn.00450c1b
add esp, 4
cmp dword [0x5b85c8], 8
mov edx, dword [0x5b85b4]
jae 0x4126e5
mov edx, 0x5b85b4
xor ecx, ecx
mov eax, edx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], cx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x412700
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.0040c670
mov byte [esp + 0xf4], 4
push 0xb
xor edx, edx
push str.DisplayName
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], dx
call fcn.0040c670
mov ecx, dword [esp + 0x34]
mov edi, 8
cmp dword [esp + 0x48], edi
jae 0x412754
lea ecx, [esp + 0x34]
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jae 0x412762
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x44]
lea edx, [edx + edx + 2]
push edx
push ecx
push 1
push ebx
push eax
mov eax, dword [esp + 0x90]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebx
je 0x412788
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x2c], edi
jb 0x41279b
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00450c1b
add esp, 4
xor edx, edx
mov byte [esp + 0xf4], 2
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], dx
cmp dword [esp + 0x48], edi
jb 0x4127c5
mov eax, dword [esp + 0x34]
push eax
call fcn.00450c1b
add esp, 4
mov edx, dword [0x5b8624]
cmp dword [0x5b8638], edi
jae 0x4127d8
mov edx, 0x5b8624
xor ecx, ecx
mov eax, edx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], cx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4127f0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.0040c670
mov byte [esp + 0xf4], 5
push 0xe
xor edx, edx
push str.DisplayVersion
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], dx
call fcn.0040c670
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x48], edi
jae 0x41283f
lea ecx, [esp + 0x34]
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jae 0x41284d
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x44]
lea edx, [edx + edx + 2]
push edx
push ecx
push 1
push ebx
push eax
mov eax, dword [esp + 0x90]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebx
je 0x412873
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x2c], edi
jb 0x412886
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00450c1b
add esp, 4
xor edx, edx
mov byte [esp + 0xf4], 2
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], dx
cmp dword [esp + 0x48], edi
jb 0x4128b0
mov eax, dword [esp + 0x34]
push eax
call fcn.00450c1b
add esp, 4
mov edx, dword [0x5b865c]
cmp dword [0x5b8670], edi
jae 0x4128c3
mov edx, 0x5b865c
xor ecx, ecx
mov eax, edx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], cx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4128d7
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.0040c670
mov byte [esp + 0xf4], 6
push 0xc
xor edx, edx
push str.URLInfoAbout
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], dx
call fcn.0040c670
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x48], edi
jae 0x412926
lea ecx, [esp + 0x34]
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jae 0x412934
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x44]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea edx, [edx + edx + 2]
push edx
push ecx
push 1
push ebx
push eax
mov eax, dword [esp + 0x90]
push eax
call esi
cmp eax, ebx
je 0x41295c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x2c], edi
jb 0x41296f
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00450c1b
add esp, 4
xor edx, edx
mov byte [esp + 0xf4], 2
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], dx
cmp dword [esp + 0x48], edi
jb 0x412999
mov eax, dword [esp + 0x34]
push eax
call fcn.00450c1b
add esp, 4
mov ecx, dword [esp + 0x58]
push str.Uninst.exe
add ecx, 0x2c
push ecx
lea edx, [esp + 0x64]
push edx
call fcn.0040fc20
add esp, 0xc
mov byte [esp + 0xf4], 7
push 0xc
xor eax, eax
push str.ShengquGames
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], ax
call fcn.0040c670
mov byte [esp + 0xf4], 8
xor ecx, ecx
push 9
mov word [esp + 0x1c], cx
push str.Publisher
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
call fcn.0040c670
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x48], edi
jae 0x412a0f
lea ecx, [esp + 0x34]
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jae 0x412a1d
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x44]
lea edx, [edx + edx + 2]
push edx
push ecx
push 1
push ebx
push eax
mov eax, dword [esp + 0x90]
push eax
call esi
cmp eax, ebx
je 0x412a3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x2c], edi
jb 0x412a52
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00450c1b
add esp, 4
xor edx, edx
mov byte [esp + 0xf4], 7
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], dx
cmp dword [esp + 0x48], edi
jb 0x412a7c
mov eax, dword [esp + 0x34]
push eax
call fcn.00450c1b
add esp, 4
mov edx, dword [esp + 0x60]
cmp dword [esp + 0x74], edi
jae 0x412a8a
lea edx, [esp + 0x60]
xor ecx, ecx
mov eax, edx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], cx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x412aa0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.0040c670
mov byte [esp + 0xf4], 9
push 0xb
xor edx, edx
push str.DisplayIcon
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], dx
call fcn.0040c670
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x48], edi
jae 0x412aef
lea ecx, [esp + 0x34]
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jae 0x412afd
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x44]
lea edx, [edx + edx + 2]
push edx
push ecx
push 1
push ebx
push eax
mov eax, dword [esp + 0x90]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebx
je 0x412b23
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x2c], edi
jb 0x412b36
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00450c1b
add esp, 4
xor edx, edx
mov byte [esp + 0xf4], 7
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], dx
cmp dword [esp + 0x48], edi
jb 0x412b60
mov eax, dword [esp + 0x34]
push eax
call fcn.00450c1b
add esp, 4
mov edx, dword [esp + 0x60]
cmp dword [esp + 0x74], edi
jae 0x412b6e
lea edx, [esp + 0x60]
xor ecx, ecx
mov eax, edx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], cx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x412b82
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.0040c670
mov byte [esp + 0xf4], 0xa
push 0xf
xor edx, edx
push str.UninstallString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], dx
call fcn.0040c670
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x48], edi
jae 0x412bd1
lea ecx, [esp + 0x34]
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jae 0x412bdf
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x44]
lea edx, [edx + edx + 2]
push edx
push ecx
push 1
push ebx
push eax
mov eax, dword [esp + 0x90]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x412c05
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x2c], edi
jb 0x412c18
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00450c1b
add esp, 4
xor edx, edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], dx
cmp dword [esp + 0x48], edi
jb 0x412c3a
mov eax, dword [esp + 0x34]
push eax
call fcn.00450c1b
add esp, 4
cmp dword [esp + 0x74], edi
jb 0x412c4d
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00450c1b
add esp, 4
xor edx, edx
mov esi, vtable.Win32Reg::RegistryKey.0
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], dx
mov dword [esp + 0x78], esi
cmp dword [esp + 0x98], edi
jb 0x412c7e
mov eax, dword [esp + 0x84]
push eax
call fcn.00450c1b
add esp, 4
xor ecx, ecx
mov dword [esp + 0x98], ebp
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], cx
mov dword [esp + 0xa0], esi
cmp dword [esp + 0xc0], edi
jb 0x412cb6
mov edx, dword [esp + 0xac]
push edx
call fcn.00450c1b
add esp, 4
xor eax, eax
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], ax
cmp dword [esp + 0xe0], edi
jb 0x412ce7
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.00450c1b
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.00523c4c
add esp, 0xe4
ret 4