Function at 0x412bb0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x54aea0
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x5af640]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5af640]
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.0040cc30
push 1
lea edx, [esp + 0xcc]
push edx
lea edi, [esp + 0xa8]
mov ecx, 0x5b78cc
mov dword [esp + 0xfc], ebx
call fcn.0041c370
mov byte [esp + 0xf4], 1
cmp byte [esp + 0xc4], bl
jne 0x412cbc
mov esi, 8
mov dword [esp + 0xa0], vtable.Win32Reg::RegistryKey.0
cmp dword [esp + 0xc0], esi
jb 0x412c84
mov eax, dword [esp + 0xac]
push eax
call fcn.004508d0
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 0x412cb5
mov edx, dword [esp + 0xcc]
push edx
call fcn.004508d0
add esp, 4
xor eax, eax
jmp 0x41336c
push 1
push 0x5b75f0
lea edi, [esp + 0x80]
lea ecx, [esp + 0xa8]
call fcn.0041c370
mov byte [esp + 0xf4], 2
cmp byte [esp + 0x9c], bl
jne 0x412d51
push 0x5b75f0
lea edi, [esp + 0x34]
lea ecx, [esp + 0xa4]
call fcn.0041c5a0
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.0040ae40
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 0x412d51
mov eax, dword [esp + 0x3c]
push eax
call fcn.004508d0
add esp, 4
cmp dword [0x5b75d0], 8
mov edx, dword [0x5b75bc]
jae 0x412d65
mov edx, 0x5b75bc
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 0x412d80
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.0040cc30
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.0040cc30
mov ecx, dword [esp + 0x34]
mov edi, 8
cmp dword [esp + 0x48], edi
jae 0x412dd4
lea ecx, [esp + 0x34]
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jae 0x412de2
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 0x412e08
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x2c], edi
jb 0x412e1b
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004508d0
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 0x412e45
mov eax, dword [esp + 0x34]
push eax
call fcn.004508d0
add esp, 4
mov edx, dword [0x5b762c]
cmp dword [0x5b7640], edi
jae 0x412e58
mov edx, 0x5b762c
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 0x412e70
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.0040cc30
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.0040cc30
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x48], edi
jae 0x412ebf
lea ecx, [esp + 0x34]
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jae 0x412ecd
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 0x412ef3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x2c], edi
jb 0x412f06
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004508d0
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 0x412f30
mov eax, dword [esp + 0x34]
push eax
call fcn.004508d0
add esp, 4
mov edx, dword [0x5b7664]
cmp dword [0x5b7678], edi
jae 0x412f43
mov edx, 0x5b7664
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 0x412f57
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.0040cc30
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.0040cc30
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x48], edi
jae 0x412fa6
lea ecx, [esp + 0x34]
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jae 0x412fb4
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 0x412fdc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x2c], edi
jb 0x412fef
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004508d0
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 0x413019
mov eax, dword [esp + 0x34]
push eax
call fcn.004508d0
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.00410210
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.0040cc30
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.0040cc30
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x48], edi
jae 0x41308f
lea ecx, [esp + 0x34]
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jae 0x41309d
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 0x4130bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x2c], edi
jb 0x4130d2
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004508d0
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 0x4130fc
mov eax, dword [esp + 0x34]
push eax
call fcn.004508d0
add esp, 4
mov edx, dword [esp + 0x60]
cmp dword [esp + 0x74], edi
jae 0x41310a
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 0x413120
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.0040cc30
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.0040cc30
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x48], edi
jae 0x41316f
lea ecx, [esp + 0x34]
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jae 0x41317d
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 0x4131a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x2c], edi
jb 0x4131b6
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004508d0
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 0x4131e0
mov eax, dword [esp + 0x34]
push eax
call fcn.004508d0
add esp, 4
mov edx, dword [esp + 0x60]
cmp dword [esp + 0x74], edi
jae 0x4131ee
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 0x413202
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.0040cc30
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.0040cc30
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x48], edi
jae 0x413251
lea ecx, [esp + 0x34]
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jae 0x41325f
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 0x413285
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x2c], edi
jb 0x413298
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004508d0
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 0x4132ba
mov eax, dword [esp + 0x34]
push eax
call fcn.004508d0
add esp, 4
cmp dword [esp + 0x74], edi
jb 0x4132cd
mov ecx, dword [esp + 0x60]
push ecx
call fcn.004508d0
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 0x4132fe
mov eax, dword [esp + 0x84]
push eax
call fcn.004508d0
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 0x413336
mov edx, dword [esp + 0xac]
push edx
call fcn.004508d0
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 0x413367
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.004508d0
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.00522f5c
add esp, 0xe4
ret 4