Function at 0x41b090
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f8d6
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x5ef300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x26c], edx
mov eax, dword [ebp + 0xc]
xor esi, esi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x264], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x268], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x270], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x294], esi
mov dword [ebp - 0x290], esi
mov dword [ebp - 0x28c], esi
mov dword [ebp - 4], esi
mov eax, 0x7ffffffe
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 0x34
jb 0x41b7b3
cmp dword [ecx + 0x14], 7
jbe 0x41b11c
mov ecx, dword [ecx]
push edx
push ecx
push 0x34
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
push ecx
push dword [ebp - 0x264]
lea ecx, [ebp - 0x248]
call fcn.0041ecd0
mov byte [ebp - 4], 1
mov ecx, 0x7ffffffe
mov eax, dword [ebp - 0x270]
mov edx, dword [eax + 0x10]
sub ecx, edx
cmp ecx, 1
jb 0x41b7b8
cmp dword [eax + 0x14], 7
jbe 0x41b15c
mov eax, dword [eax]
push edx
push eax
push 1
push 0x5824b4
push ecx
push dword [ebp - 0x264]
lea ecx, [ebp - 0x260]
call fcn.0041ecd0
push 1
push 0x5824b4
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 2
call fcn.00419a00
mov dword [ebp - 0x220], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x230], xmm0
mov dword [ebp - 0x21c], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x220], xmm0
mov word [eax], cx
lea ecx, [ebp - 0x260]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.004179b0
cmp dword [edi + 0x10], 0
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x284], 0
je 0x41b242
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x41b218
mov eax, dword [edi]
lea ecx, [ebp - 0x284]
push ecx
lea ecx, [ebp - 0x280]
push ecx
lea ecx, [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x278]
push ecx
push 0x5824b8
push eax
call fcn.0041a080
add esp, 0x18
cmp dword [ebp - 0x234], 7
lea ecx, [ebp - 0x288]
push ecx
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x270], 0
push ecx
push 0
push 0x2001f
push 0
push 0
lea eax, [ebp - 0x248]
cmova eax, dword [ebp - 0x248]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41b715
mov edx, dword [ebp - 0x26c]
mov esi, dword [ebp - 0x270]
cmp dword [edx + 0x14], 7
jbe 0x41b2a3
mov edx, dword [edx]
test edx, edx
je 0x41b708
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x26c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b2b6
sub ecx, dword [ebp - 0x26c]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.DisplayName
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x41b708
cmp dword [0x60004c], 7
mov edx, 0x600038
jbe 0x41b306
mov edx, dword [0x600038]
test edx, edx
je 0x41b708
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x26c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b311
sub ecx, dword [ebp - 0x26c]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.DisplayIcon
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x41b708
cmp dword [edi + 0x14], 7
jbe 0x41b34d
mov edi, dword [edi]
test edi, edi
je 0x41b708
mov ecx, edi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b360
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 1
push 0
push str.DisplayVersion
push esi
call edi
test eax, eax
jne 0x41b708
mov edx, dword [ebp - 0x264]
cmp dword [edx + 0x14], 7
jbe 0x41b3a0
mov edx, dword [edx]
test edx, edx
je 0x41b708
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x264], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b3b3
sub ecx, dword [ebp - 0x264]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.Publisher
push esi
call edi
test eax, eax
jne 0x41b708
mov eax, dword [ebp - 0x268]
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x41b3f3
mov edx, dword [eax]
test edx, edx
je 0x41b708
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x264], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b406
sub ecx, dword [ebp - 0x264]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.InstallLocation
push esi
call edi
test eax, eax
jne 0x41b708
mov edx, dword [ebp - 0x268]
cmp dword [edx + 0x14], 7
jbe 0x41b444
mov edx, dword [edx]
test edx, edx
je 0x41b708
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x264], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b457
sub ecx, dword [ebp - 0x264]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.UninstallPath
push esi
call edi
test eax, eax
jne 0x41b708
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0052dd20
add esp, 0xc
mov dword [ebp - 0x268], 0x208
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x264]
push eax
push 0
push str.UninstallString
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41b4fc
mov eax, dword [ebp - 0x264]
cmp eax, 1
je 0x41b4dd
cmp eax, 2
jne 0x41b4fc
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x41b74d
test al, 1
jne 0x41b4fc
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x41b554
cmp dword [ebp - 0x21c], 7
lea edx, [ebp - 0x230]
jbe 0x41b519
mov edx, dword [ebp - 0x230]
test edx, edx
je 0x41b708
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x264], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b524
sub ecx, dword [ebp - 0x264]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.UninstallString
push esi
call edi
test eax, eax
jne 0x41b708
mov eax, dword [ebp + 0x1c]
push 4
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x264]
push eax
push 4
push 0
push str.EstimatedSize
push esi
call edi
test eax, eax
jne 0x41b708
push 4
lea eax, [ebp - 0x264]
mov dword [ebp - 0x264], 1
push eax
push 4
push 0
push str.NoModify
push esi
call edi
test eax, eax
jne 0x41b708
push 4
lea eax, [ebp - 0x264]
mov dword [ebp - 0x264], 1
push eax
push 4
push 0
push str.NoRepair
push esi
call edi
test eax, eax
jne 0x41b708
mov eax, dword [ebp - 0x278]
push 4
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x264]
push eax
push 4
push 0
push str.VersionMajor
push esi
call edi
test eax, eax
jne 0x41b708
mov eax, dword [ebp - 0x27c]
push 4
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x264]
push eax
push 4
push 0
push str.VersionMinor
push esi
call edi
test eax, eax
jne 0x41b708
mov eax, dword [ebp - 0x274]
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x41b62a
mov edx, dword [eax]
test edx, edx
je 0x41b708
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x264], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b640
sub ecx, dword [ebp - 0x264]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.HelpLink
push esi
call edi
test eax, eax
jne 0x41b708
mov eax, dword [ebp - 0x274]
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x41b680
mov edx, dword [eax]
test edx, edx
je 0x41b708
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x264], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b693
sub ecx, dword [ebp - 0x264]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.URLInfoAbout
push esi
call edi
test eax, eax
jne 0x41b708
mov edx, dword [ebp - 0x274]
cmp dword [edx + 0x14], 7
jbe 0x41b6cd
mov edx, dword [edx]
test edx, edx
je 0x41b708
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x264], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b6e0
sub ecx, dword [ebp - 0x264]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.URLUpdateInfo
push esi
call edi
test esi, esi
je 0x41b715
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x41b765
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41b75b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b7bd
jmp 0x41b75b
xor eax, eax
mov word [ebp - 0x218], ax
jmp 0x41b554
push ecx
push edx
call fcn.0052b438
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.004179b0
test esi, esi
je 0x41b798
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052b3fa
mov esp, ebp
pop ebp
ret
call fcn.00401610
call fcn.00401610
call fcn.0053775e
int3