Function at 0x41a360
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x457eae
mov eax, dword fs:[0]
push eax
sub esp, 0x3e0
mov eax, dword [0x46e3d8]
xor eax, esp
mov dword [esp + 0x3d8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d8]
xor eax, esp
push eax
lea eax, [esp + 0x3f4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x404]
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x74], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x3fc], ebx
mov dword [esp + 0xac], 7
mov dword [esp + 0xa8], ebx
mov word [esp + 0x98], bx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
lea eax, [esp + 0x1c8]
push eax
push ebp
mov ecx, 0x45e558
mov byte [esp + 0x404], 2
call fcn.00412d30
lea ecx, [esp + 0x174]
push ecx
push ebp
mov ecx, str.display
mov byte [esp + 0x404], 3
call fcn.00412d30
lea edx, [esp + 0xcc]
push edx
push ebp
mov ecx, str.display_mui
mov byte [esp + 0x404], 4
call fcn.00412d30
lea eax, [esp + 0xb0]
push eax
push ebp
mov ecx, str.command
mov byte [esp + 0x404], 5
call fcn.00412d30
lea ecx, [esp + 0x13c]
push ecx
push ebp
mov ecx, str.publisher
mov byte [esp + 0x404], 6
call fcn.00412d30
lea edx, [esp + 0x158]
push edx
push ebp
mov ecx, str.estimatedsize
mov byte [esp + 0x404], 7
call fcn.00412d30
lea eax, [esp + 0x190]
push eax
push ebp
mov ecx, str.modify
mov byte [esp + 0x404], 8
call fcn.00412d30
lea ecx, [esp + 0x1ac]
push ecx
push ebp
mov ecx, str.repair
mov byte [esp + 0x404], 9
call fcn.00412d30
lea edx, [esp + 0x104]
push edx
push ebp
mov ecx, str.version
mov byte [esp + 0x404], 0xa
call fcn.00412d30
mov byte [esp + 0x3fc], 0xb
push ebp
mov ecx, str.versionmajor
call fcn.00412ec0
push ebp
mov ecx, str.versionminor
mov dword [esp + 0x44], eax
call fcn.00412ec0
mov dword [esp + 0x54], eax
lea eax, [esp + 0x120]
push eax
push ebp
mov ecx, str.location
call fcn.00412d30
mov byte [esp + 0x3fc], 0xc
cmp dword [esp + 0x134], ebx
jne 0x41a584
cmp dword [esp + 0xc8], 8
mov eax, dword [esp + 0xb4]
jae 0x41a530
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x1e8]
push 0x104
push ecx
call fcn.0043f42c
add esp, 0xc
lea edx, [esp + 0x1e4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x1e4]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41a560
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x1e8]
push eax
lea esi, [esp + 0x128]
call fcn.00404170
lea ecx, [esp + 0xe8]
push ecx
push ebp
mov ecx, str.icon
call fcn.00412d30
mov byte [esp + 0x3fc], 0xd
cmp dword [esp + 0xfc], ebx
jne 0x41a632
cmp dword [esp + 0xc8], 8
mov eax, dword [esp + 0xb4]
jae 0x41a5c4
lea eax, [esp + 0xb4]
push eax
lea edx, [esp + 0x1e8]
push 0x104
push edx
call fcn.0043f42c
add esp, 0xc
lea eax, [esp + 0x1e4]
push 0x20
push eax
call fcn.00440b9f
add esp, 8
cmp eax, ebx
je 0x41a5f3
mov word [eax], bx
lea eax, [esp + 0x1e4]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41a600
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x1e8]
push ecx
lea esi, [esp + 0xf0]
call fcn.00404170
push 2
push 0x45f7d8
mov ecx, esi
call fcn.00403ff0
push 0x34
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
lea esi, [esp + 0x9c]
call fcn.00404170
push ebx
lea edx, [esp + 0x1cc]
push edx
or eax, 0xffffffff
call fcn.004048e0
mov eax, dword [ebp + 4]
push eax
push str.Configuring_uninstallation
push str.__s____d_
push 0x46fa40
xor eax, eax
call fcn.00431730
add dword [0x46fa60], 1
mov eax, dword [esp + 0xa8]
add esp, 0x10
cmp dword [esp + 0xac], 8
jae 0x41a692
lea eax, [esp + 0x98]
push eax
push str.Uninstall_key:__s
push 0x46fa40
xor eax, eax
call fcn.00431730
mov esi, dword [esp + 0xa4]
add esp, 0xc
cmp dword [esp + 0xac], 8
jae 0x41a6bf
lea esi, [esp + 0x98]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x41a6ce
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
lea eax, [esp + 0x20]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
cmp esi, ebx
jne 0x41adba
cmp byte [edi + 0x3c], bl
jne 0x41ade0
cmp dword [esp + 0x18c], 8
mov edx, dword [esp + 0x178]
jae 0x41a71c
lea edx, [esp + 0x178]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41a721
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub eax, esi
sar eax, 1
lea ecx, [eax + eax]
push ecx
push edx
mov edx, dword [esp + 0x24]
push 1
push ebx
push str.DisplayName
push edx
call edi
cmp dword [esp + 0xe0], ebx
je 0x41a7da
cmp dword [esp + 0xe4], 8
mov eax, dword [esp + 0xd0]
jae 0x41a76f
lea eax, [esp + 0xd0]
cmp word [eax], 0x40
je 0x41a7b3
mov edx, 0x45f8c0
lea eax, [esp + 0x58]
call fcn.00402b80
push ebx
lea eax, [esp + 0x5c]
push eax
mov eax, 1
lea esi, [esp + 0xd4]
mov byte [esp + 0x404], 0xe
call fcn.004048e0
lea esi, [esp + 0x58]
mov byte [esp + 0x3fc], 0xd
call fcn.004322f0
cmp dword [esp + 0xe4], 8
mov edx, dword [esp + 0xd0]
jae 0x41a7cb
lea edx, [esp + 0xd0]
push 0x45f8c4
lea ecx, [esp + 0x20]
push ecx
call fcn.004319e0
cmp dword [esp + 0xc8], 8
mov edx, dword [esp + 0xb4]
jae 0x41a7f2
lea edx, [esp + 0xb4]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41a7f7
mov ecx, dword [esp + 0x1c]
sub eax, esi
sar eax, 1
add eax, eax
push eax
push edx
push 1
push ebx
push str.UninstallString
push ecx
call edi
cmp dword [esp + 0x150], ebx
je 0x41a849
cmp dword [esp + 0x154], 8
mov edx, dword [esp + 0x140]
jae 0x41a83a
lea edx, [esp + 0x140]
push str.Publisher
lea eax, [esp + 0x20]
push eax
call fcn.004319e0
cmp dword [esp + 0x16c], ebx
je 0x41a88d
cmp dword [esp + 0x170], 8
mov eax, dword [esp + 0x15c]
jae 0x41a86a
lea eax, [esp + 0x15c]
push eax
call fcn.0043ef57
mov edx, dword [esp + 0x20]
add esp, 4
push 4
lea ecx, [esp + 0x1c]
push ecx
push 4
push ebx
push str.EstimatedSize
push edx
mov dword [esp + 0x30], eax
call edi
mov eax, dword [esp + 0x1a4]
push 0x45ddd0
mov edi, 2
lea ecx, [esp + 0x194]
call fcn.004052d0
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jne 0x41a8d2
mov ecx, dword [esp + 0x1c]
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push ebx
push str.NoModify
push ecx
mov dword [esp + 0x30], 1
call esi
mov eax, dword [esp + 0x1c0]
push 0x45ddd0
lea ecx, [esp + 0x1b0]
call fcn.004052d0
test eax, eax
jne 0x41a90c
mov eax, dword [esp + 0x1c]
push 4
lea edx, [esp + 0x1c]
push edx
push 4
push ebx
push str.NoRepair
push eax
mov dword [esp + 0x30], 1
call esi
cmp dword [esp + 0x138], 8
mov edx, dword [esp + 0x124]
jae 0x41a924
lea edx, [esp + 0x124]
mov eax, edx
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41a930
sub eax, edi
sar eax, 1
lea ecx, [eax + eax]
push ecx
push edx
mov edx, dword [esp + 0x24]
push 1
push ebx
push str.InstallLocation
push edx
call esi
cmp dword [esp + 0xfc], ebx
mov edi, 8
je 0x41a987
cmp dword [esp + 0x100], edi
mov edx, dword [esp + 0xec]
jae 0x41a978
lea edx, [esp + 0xec]
push str.DisplayIcon
lea eax, [esp + 0x20]
push eax
call fcn.004319e0
cmp dword [esp + 0x118], ebx
je 0x41a9b6
cmp dword [esp + 0x11c], edi
mov edx, dword [esp + 0x108]
jae 0x41a9a7
lea edx, [esp + 0x108]
push str.DisplayVersion
lea ecx, [esp + 0x20]
push ecx
call fcn.004319e0
cmp dword [esp + 0x40], ebx
jne 0x41aa85
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x3fc], 0xf
cmp dword [esp + 0x11c], edi
mov edi, dword [esp + 0x108]
jae 0x41a9eb
lea edi, [esp + 0x108]
push 0x2e
lea ecx, [esp + 0x28]
call fcn.0043c130
mov eax, dword [esp + 0x2c]
add esp, 4
cmp eax, ebx
je 0x41aa6e
mov ecx, dword [esp + 0x2c]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x41aa6e
xor edi, edi
lea esi, [esp + 0x24]
call fcn.0040d9f0
cmp dword [eax + 0x18], 8
jb 0x41aa35
mov eax, dword [eax + 4]
jmp 0x41aa38
add eax, 4
push eax
call fcn.0043ef46
add esp, 4
mov edi, 1
lea esi, [esp + 0x24]
mov dword [esp + 0x40], eax
call fcn.0040d9f0
cmp dword [eax + 0x18], 8
jb 0x41aa5e
mov eax, dword [eax + 4]
jmp 0x41aa61
add eax, 4
push eax
call fcn.0043ef46
add esp, 4
mov dword [esp + 0x54], eax
lea esi, [esp + 0x24]
mov byte [esp + 0x3fc], 0xd
call fcn.0040dfc0
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x40]
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push ebx
push str.VersionMajor
push ecx
mov dword [esp + 0x30], edx
call esi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x54]
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push ebx
push str.VersionMinor
push ecx
mov dword [esp + 0x30], edx
call esi
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x41aad0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 9
push str.rootHKLM
lea esi, [esp + 0x2c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
call fcn.00404170
mov edx, esi
push edx
lea esi, [esp + 0x48]
mov byte [esp + 0x400], 0x10
call fcn.0040da30
mov byte [esp + 0x3fc], 0xd
cmp dword [esp + 0x3c], 8
jb 0x41ab25
mov eax, dword [esp + 0x28]
push eax
call fcn.0043e965
add esp, 4
push 5
push 0x45e9a8
lea esi, [esp + 0x2c]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
call fcn.00404170
lea ecx, [esp + 0x94]
push ecx
mov edx, esi
push edx
lea edi, [esp + 0x60]
mov byte [esp + 0x404], 0x11
call fcn.00424ee0
add esp, 8
push eax
lea esi, [esp + 0x48]
mov byte [esp + 0x400], 0x12
call fcn.0040da30
cmp dword [esp + 0x70], 8
jb 0x41ab8b
mov eax, dword [esp + 0x5c]
push eax
call fcn.0043e965
add esp, 4
mov edi, 8
mov esi, 7
mov byte [esp + 0x3fc], 0xd
cmp dword [esp + 0x3c], edi
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
jb 0x41abbd
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0043e965
add esp, 4
push 0x17
mov dword [esp + 0x40], esi
push str.delete_if_not_emptyYES
lea esi, [esp + 0x2c]
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
call fcn.00404170
mov edx, esi
push edx
lea esi, [esp + 0x48]
mov byte [esp + 0x400], 0x13
call fcn.0040da30
mov byte [esp + 0x3fc], 0xd
cmp dword [esp + 0x3c], edi
jb 0x41ac09
mov eax, dword [esp + 0x28]
push eax
call fcn.0043e965
add esp, 4
lea ecx, [esp + 0x78]
push ecx
push ebp
mov ecx, 0x45e564
call fcn.00412d30
mov edi, eax
mov byte [esp + 0x3fc], 0x14
push 0xa
push str.usequence
lea esi, [esp + 0x2c]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
call fcn.00404170
push edi
mov edx, esi
push edx
lea edi, [esp + 0x60]
mov byte [esp + 0x404], 0x15
call fcn.00424ee0
add esp, 8
push eax
lea esi, [esp + 0x48]
mov byte [esp + 0x400], 0x16
call fcn.0040da30
cmp dword [esp + 0x70], 8
jb 0x41ac82
mov eax, dword [esp + 0x5c]
push eax
call fcn.0043e965
add esp, 4
mov esi, 8
cmp dword [esp + 0x3c], esi
mov edi, 7
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
jb 0x41acac
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0043e965
add esp, 4
mov byte [esp + 0x3fc], 0xd
cmp dword [esp + 0x90], esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
jb 0x41acd7
mov edx, dword [esp + 0x7c]
push edx
call fcn.0043e965
add esp, 4
lea eax, [esp + 0x78]
push eax
push ebp
mov ecx, 0x45e578
call fcn.00412d30
mov edi, eax
mov byte [esp + 0x3fc], 0x17
push 6
push str.group
lea esi, [esp + 0x2c]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
call fcn.00404170
push edi
mov ecx, esi
push ecx
lea edi, [esp + 0x60]
mov byte [esp + 0x404], 0x18
call fcn.00424ee0
add esp, 8
push eax
lea esi, [esp + 0x48]
mov byte [esp + 0x400], 0x19
call fcn.0040da30
cmp dword [esp + 0x70], 8
jb 0x41ad50
mov edx, dword [esp + 0x5c]
push edx
call fcn.0043e965
add esp, 4
mov esi, 8
cmp dword [esp + 0x3c], esi
mov edi, 7
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
jb 0x41ad7a
mov eax, dword [esp + 0x28]
push eax
call fcn.0043e965
add esp, 4
mov byte [esp + 0x3fc], 0xd
cmp dword [esp + 0x90], esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
jb 0x41ada5
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.0043e965
add esp, 4
mov edx, dword [esp + 0x74]
push str.registry
push edx
lea ecx, [esp + 0x4c]
call fcn.0041e2a0
jmp 0x41ade0
push esi
push str.Error_creating_uninstall_key_0x_X
push 0x46fa40
mov eax, 2
call fcn.00431730
mov al, byte [edi + 0x3d]
add esp, 0xc
neg al
sbb eax, eax
not eax
and eax, esi
mov dword [edi + 0x38], eax
sub dword [0x46fa60], 1
mov ecx, dword [esp + 0x74]
cmp dword [ecx + 0x38], ebx
mov ebp, 8
sete byte [esp + 0x17]
cmp dword [esp + 0x100], ebp
jb 0x41ae11
mov edx, dword [esp + 0xec]
push edx
call fcn.0043e965
add esp, 4
cmp dword [esp + 0x138], ebp
mov esi, 7
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], ebx
mov word [esp + 0xec], bx
jb 0x41ae45
mov eax, dword [esp + 0x124]
push eax
call fcn.0043e965
add esp, 4
cmp dword [esp + 0x11c], ebp
mov dword [esp + 0x138], esi
mov dword [esp + 0x134], ebx
mov word [esp + 0x124], bx
jb 0x41ae74
mov ecx, dword [esp + 0x108]
push ecx
call fcn.0043e965
add esp, 4
cmp dword [esp + 0x1c4], ebp
mov dword [esp + 0x11c], esi
mov dword [esp + 0x118], ebx
mov word [esp + 0x108], bx
jb 0x41aea3
mov edx, dword [esp + 0x1b0]
push edx
call fcn.0043e965
add esp, 4
cmp dword [esp + 0x1a8], ebp
mov dword [esp + 0x1c4], esi
mov dword [esp + 0x1c0], ebx
mov word [esp + 0x1b0], bx
jb 0x41aed2
mov eax, dword [esp + 0x194]
push eax
call fcn.0043e965
add esp, 4
cmp dword [esp + 0x170], ebp
mov dword [esp + 0x1a8], esi
mov dword [esp + 0x1a4], ebx
mov word [esp + 0x194], bx
jb 0x41af01
mov ecx, dword [esp + 0x15c]
push ecx
call fcn.0043e965
add esp, 4
cmp dword [esp + 0x154], ebp
mov dword [esp + 0x170], esi
mov dword [esp + 0x16c], ebx
mov word [esp + 0x15c], bx
jb 0x41af30
mov edx, dword [esp + 0x140]
push edx
call fcn.0043e965
add esp, 4
cmp dword [esp + 0xc8], ebp
mov dword [esp + 0x154], esi
mov dword [esp + 0x150], ebx
mov word [esp + 0x140], bx
jb 0x41af5f
mov eax, dword [esp + 0xb4]
push eax
call fcn.0043e965
add esp, 4
cmp dword [esp + 0xe4], ebp
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov word [esp + 0xb4], bx
jb 0x41af8e
mov ecx, dword [esp + 0xd0]
push ecx
call fcn.0043e965
add esp, 4
cmp dword [esp + 0x18c], ebp
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe0], ebx
mov word [esp + 0xd0], bx
jb 0x41afbd
mov edx, dword [esp + 0x178]
push edx
call fcn.0043e965
add esp, 4
cmp dword [esp + 0x1e0], ebp
mov dword [esp + 0x18c], esi
mov dword [esp + 0x188], ebx
mov word [esp + 0x178], bx
jb 0x41afec
mov eax, dword [esp + 0x1cc]
push eax
call fcn.0043e965
add esp, 4
mov eax, dword [esp + 0x48]
cmp eax, ebx
mov dword [esp + 0x1e0], esi
mov dword [esp + 0x1dc], ebx
mov word [esp + 0x1cc], bx
je 0x41b028
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x4c]
push ecx
call fcn.00411dd0
mov edx, dword [esp + 0x4c]
add esp, 4
push edx
call fcn.0043e965
add esp, 4
cmp dword [esp + 0xac], ebp
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
jb 0x41b04d
mov eax, dword [esp + 0x98]
push eax
call fcn.0043e965
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], ebx
mov word [esp + 0x98], bx
je 0x41b072
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x3f4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3d8]
xor ecx, esp
call fcn.0043d02a
add esp, 0x3ec
ret 4