Function at 0x4648b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc4e8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x50b0c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], 0
mov esi, dword [0x5208b8]
mov dword [ebp - 0x18], 0
test esi, esi
je 0x464900
lock inc dword [esi + 4]
mov esi, dword [0x5208b8]
mov ecx, dword [0x5208b4]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], esi
mov dword [ebp - 4], 0
lea edx, [ebp - 0x18]
mov eax, dword [ecx]
push edx
call dword [eax + 0x2c]
or ebx, 0xffffffff
mov byte [ebp - 4], 2
test esi, esi
je 0x464946
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x464946
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x464946
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
call fcn.0040a050
mov ecx, eax
test ecx, ecx
je 0x464d79
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
push str.Capabiliti
mov byte [ebp - 4], 3
lea eax, [ebp - 0x20]
push dword [ebp - 0x18]
push str.SOFTWARE_s_ses
push eax
call fcn.004248c0
add esp, 0x10
call fcn.0040a050
mov ecx, eax
test ecx, ecx
je 0x464d83
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push str.eredApplic
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 4
push str.SOFTWARERegist_sations
push eax
call fcn.004248c0
mov edi, dword [ebp - 0x20]
add esp, 0xc
mov esi, dword [ebp - 0x1c]
mov edx, esi
push dword [ebp - 0x18]
push edi
call fcn.00463be0
push str.ApplicationName
push dword [ebp - 0x18]
mov edx, edi
call fcn.00463be0
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x34]
add eax, 0xc
mov byte [ebp - 4], 5
push eax
mov edx, 0x4ed8ac
call fcn.004656b0
push 0x4f2ffc
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x14]
call fcn.00418ff0
mov byte [ebp - 4], 5
add esp, 8
mov edx, dword [ebp - 0x34]
mov eax, ebx
mov dword [ebp - 0x38], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x464a24
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.ApplicationIcon
push dword [ebp - 0x14]
mov edx, edi
call fcn.00463be0
mov byte [ebp - 4], 4
xor ebx, ebx
mov edx, dword [ebp - 0x14]
or eax, 0xffffffff
mov dword [ebp - 0x38], ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x464a57
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x5208b8]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x464a6f
lock inc dword [eax + 4]
mov eax, dword [0x5208b8]
mov dword [ebp - 0x30], eax
mov ecx, dword [0x5208b4]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 7
lea edx, [ebp - 0x14]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
push str.ApplicationDescription
mov edx, edi
push dword [eax]
call fcn.00463be0
mov edx, dword [ebp - 0x14]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x464ab1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x464ad8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x464ad8
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x30]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x464ad8
mov eax, dword [ecx]
call dword [eax + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 8
call fcn.0040a050
mov ecx, eax
test ecx, ecx
je 0x464d8d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.Associati
push edi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 9
push str._sFile_sons
push eax
call fcn.004248c0
push ecx
push dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00463a30
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
cmp eax, ecx
je 0x464cd7
nop word [eax + eax]
mov esi, dword [0x5208b8]
mov dword [ebp - 0x30], 0
test esi, esi
je 0x464b7b
lock inc dword [esi + 4]
mov esi, dword [0x5208b8]
mov ecx, dword [0x5208b4]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], esi
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x30]
mov eax, dword [ecx]
push edx
call dword [eax + 0x2c]
or ebx, 1
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x38], ebx
test esi, esi
je 0x464bc3
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x464bc3
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x464bc3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 1
push 0x4ee148
lea ecx, [ebp - 0x30]
call fcn.0043eff0
mov esi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x30]
mov eax, dword [esi]
push dword [eax - 0xc]
push eax
call fcn.0043eff0
mov byte [ebp - 4], 0xc
mov eax, dword [esi]
mov dword [ebp - 0x34], 0
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x464c02
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x464c18
call fcn.0040a050
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x464d79
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], eax
or ebx, 2
mov eax, dword [esi]
mov edx, 0x4ee148
mov dword [ebp - 0x38], ebx
push dword [eax - 0xc]
push eax
push 1
call fcn.004195e0
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov esi, dword [ebp - 0x34]
test eax, eax
je 0x464c7a
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x34], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x464c53
sub edx, dword [ebp - 0x34]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push eax
push 1
push 0
push esi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0xa
and ebx, 0xfffffffd
or esi, 0xffffffff
mov dword [ebp - 0x38], ebx
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x464c9e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
and ebx, 0xfffffffe
mov edx, dword [ebp - 0x30]
mov eax, esi
mov dword [ebp - 0x38], ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x464cc2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x3c]
add eax, 4
mov dword [ebp - 0x3c], eax
cmp eax, dword [ebp - 0x40]
jne 0x464b60
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 8
or ebx, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x464cf8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x464d06
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 3
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x464d21
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x464d3c
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x464d5b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a69a0
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00409e30
push 0x80004005
call fcn.00409e30
push 0x80004005
call fcn.00409e30
int3