Function at 0x41a550
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x489748
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38]
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41a595
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], 0
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41a5c7
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x38], eax
mov byte [esp + 0x28], 1
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
sub eax, 0x10
push eax
call fcn.00406990
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x34], esi
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 2
call fcn.00406820
lea eax, [esi - 0x10]
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a629
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp]
sub eax, 0x10
push eax
call fcn.00406990
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x34], esi
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2c], 3
call fcn.00406820
lea eax, [esi - 0x10]
mov byte [esp + 0x28], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a673
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
lea ecx, [esp + 0x14]
push ecx
push edi
push SysReAllocString
call esi
mov eax, dword [esp + 0x38]
mov ecx, dword [eax - 0xc]
push ecx
push eax
push 1
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push SysReAllocString
call edi
mov eax, dword [ebp]
sub eax, 0x10
push eax
call fcn.00406990
lea ebx, [eax + 0x10]
add esp, 4
mov dword [esp + 0x34], ebx
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 4
call fcn.00406820
lea eax, [ebx - 0x10]
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a6ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4b92b8
lea ecx, [esp + 0x3c]
call fcn.00406820
push 0x497dd0
lea ecx, [esp + 0x38]
call fcn.00406500
mov byte [esp + 0x28], 5
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x40]
call fcn.0040a140
mov byte [esp + 0x28], 1
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a743
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push ebx
push SysReAllocString
call esi
mov eax, dword [esp + 0x38]
mov ecx, dword [eax - 0xc]
push ecx
push eax
push 1
push ebx
push SysReAllocString
call edi
mov edx, dword [esp + 0x3c]
mov eax, dword [edx]
sub eax, 0x10
push eax
call fcn.00406990
lea ebx, [eax + 0x10]
mov dword [esp + 0x38], ebx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x44]
push 0x4b90c8
push ecx
mov byte [esp + 0x38], 6
call fcn.00405fb0
add esp, 0x10
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2c], 7
call fcn.00406820
mov byte [esp + 0x28], 6
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a7cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [esp + 0x28], 1
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a7ee
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
push str.DefaultIcon
push ecx
call esi
mov eax, dword [esp + 0x38]
mov ecx, dword [eax - 0xc]
mov edx, dword [esp + 0x14]
push ecx
push eax
push 1
push str.DefaultIcon
push edx
call edi
mov eax, dword [esp + 0x30]
push str.__1
add eax, 0x260c
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00406070
mov edx, dword [esp + 0x4c]
push edx
push eax
lea eax, [esp + 0x50]
mov bl, 8
push eax
mov byte [esp + 0x40], bl
call fcn.00405fb0
add esp, 0x18
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2c], 9
call fcn.00406820
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a87b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x28], 1
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a8a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
push str.ShellOpenCommand
push edx
call esi
mov ebx, dword [esp + 0x38]
mov eax, dword [ebx - 0xc]
push eax
mov eax, dword [esp + 0x18]
push ebx
push 1
push str.ShellOpenCommand
push eax
call edi
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41a8e2
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
push 5
push 0x497de0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 0xa
call fcn.004068a0
mov eax, dword [0x4b92b4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.0040a140
mov esi, dword [esp + 0x34]
mov edx, dword [ebp]
push str.InfoTip
mov edi, esi
call fcn.004251c0
mov edx, dword [ebp]
push str.NeverShowExt
mov edi, 0x494704
call fcn.004251c0
mov edx, dword [ebp]
push str.QuickTip
mov edi, esi
call fcn.004251c0
mov edx, dword [ebp]
push str.TileInfo
call fcn.004251c0
lea eax, [esi - 0x10]
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a97c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [esp + 0x28], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a99d
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a9c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x14