Function at 0x412520
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x54bc00
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.0040c5e0
push 1
lea edx, [esp + 0xcc]
push edx
lea edi, [esp + 0xa8]
mov ecx, 0x5b8878
mov dword [esp + 0xfc], ebx
call fcn.0041c650
mov byte [esp + 0xf4], 1
cmp byte [esp + 0xc4], bl
jne 0x41262c
mov esi, 8
mov dword [esp + 0xa0], vtable.Win32Reg::RegistryKey.0
cmp dword [esp + 0xc0], esi
jb 0x4125f4
mov eax, dword [esp + 0xac]
push eax
call fcn.00450c25
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 0x412625
mov edx, dword [esp + 0xcc]
push edx
call fcn.00450c25
add esp, 4
xor eax, eax
jmp 0x412cdc
push 1
push 0x5b85f0
lea edi, [esp + 0x80]
lea ecx, [esp + 0xa8]
call fcn.0041c650
mov byte [esp + 0xf4], 2
cmp byte [esp + 0x9c], bl
jne 0x4126c1
push 0x5b85f0
lea edi, [esp + 0x34]
lea ecx, [esp + 0xa4]
call fcn.0041c880
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.0040a7d0
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 0x4126c1
mov eax, dword [esp + 0x3c]
push eax
call fcn.00450c25
add esp, 4
cmp dword [0x5b85d0], 8
mov edx, dword [0x5b85bc]
jae 0x4126d5
mov edx, 0x5b85bc
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 0x4126f0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.0040c5e0
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.0040c5e0
mov ecx, dword [esp + 0x34]
mov edi, 8
cmp dword [esp + 0x48], edi
jae 0x412744
lea ecx, [esp + 0x34]
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jae 0x412752
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 0x412778
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x2c], edi
jb 0x41278b
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00450c25
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 0x4127b5
mov eax, dword [esp + 0x34]
push eax
call fcn.00450c25
add esp, 4
mov edx, dword [0x5b862c]
cmp dword [0x5b8640], edi
jae 0x4127c8
mov edx, 0x5b862c
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 0x4127e0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.0040c5e0
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.0040c5e0
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x48], edi
jae 0x41282f
lea ecx, [esp + 0x34]
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jae 0x41283d
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 0x412863
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x2c], edi
jb 0x412876
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00450c25
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 0x4128a0
mov eax, dword [esp + 0x34]
push eax
call fcn.00450c25
add esp, 4
mov edx, dword [0x5b8664]
cmp dword [0x5b8678], edi
jae 0x4128b3
mov edx, 0x5b8664
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 0x4128c7
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.0040c5e0
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.0040c5e0
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x48], edi
jae 0x412916
lea ecx, [esp + 0x34]
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jae 0x412924
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 0x41294c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x2c], edi
jb 0x41295f
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00450c25
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 0x412989
mov eax, dword [esp + 0x34]
push eax
call fcn.00450c25
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.0040fc00
add esp, 0xc
mov byte [esp + 0xf4], 7
push 0xa
xor eax, eax
push str._nNwmpe
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], ax
call fcn.0040c5e0
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.0040c5e0
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x48], edi
jae 0x4129ff
lea ecx, [esp + 0x34]
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jae 0x412a0d
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 0x412a2f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x2c], edi
jb 0x412a42
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00450c25
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 0x412a6c
mov eax, dword [esp + 0x34]
push eax
call fcn.00450c25
add esp, 4
mov edx, dword [esp + 0x60]
cmp dword [esp + 0x74], edi
jae 0x412a7a
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 0x412a90
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.0040c5e0
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.0040c5e0
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x48], edi
jae 0x412adf
lea ecx, [esp + 0x34]
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jae 0x412aed
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 0x412b13
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x2c], edi
jb 0x412b26
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00450c25
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 0x412b50
mov eax, dword [esp + 0x34]
push eax
call fcn.00450c25
add esp, 4
mov edx, dword [esp + 0x60]
cmp dword [esp + 0x74], edi
jae 0x412b5e
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 0x412b72
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.0040c5e0
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.0040c5e0
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x48], edi
jae 0x412bc1
lea ecx, [esp + 0x34]
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jae 0x412bcf
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 0x412bf5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x2c], edi
jb 0x412c08
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00450c25
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 0x412c2a
mov eax, dword [esp + 0x34]
push eax
call fcn.00450c25
add esp, 4
cmp dword [esp + 0x74], edi
jb 0x412c3d
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00450c25
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 0x412c6e
mov eax, dword [esp + 0x84]
push eax
call fcn.00450c25
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 0x412ca6
mov edx, dword [esp + 0xac]
push edx
call fcn.00450c25
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 0x412cd7
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.00450c25
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.00523c2c
add esp, 0xe4
ret 4