Function at 0x43ee20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480d7d
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4a5018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x6c], ebx
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 8]
push ecx
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x68], esi
call fcn.0043f820
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x43f626
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3c], eax
push 0x4976bc
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], esi
push str.Frien_same
push eax
call fcn.00407700
add esp, 0xc
mov dword [ebp - 0x38], esi
lea eax, [ebp - 0x38]
mov ecx, ebx
push eax
call fcn.0043f6f0
mov byte [ebp - 4], 1
mov edi, dword [ebx]
mov eax, dword [ebx + 4]
or ebx, 0xffffffff
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], eax
cmp edi, eax
je 0x43f40f
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x43f626
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
push dword [ebp - 0x7c]
mov byte [ebp - 4], 2
lea eax, [ebp - 0x34]
push dword [edi]
push 0x49445c
push eax
call fcn.00407700
mov edx, edi
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x80]
call fcn.0043f640
push eax
mov edx, str.SOFTWAREClasses_
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00421700
add esp, 0x14
mov byte [ebp - 4], 5
mov eax, ebx
mov edx, dword [ebp - 0x80]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43ef3d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x14
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
push dword [ebp - 0x18]
push SysReAllocString
call fcn.0040c190
mov esi, dword [ebp - 0x30]
test eax, eax
jne 0x43efa5
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x43efa5
mov edx, eax
lea edi, [edx + 2]
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x43ef80
sub edx, edi
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push eax
push 1
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x43efb7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov esi, dword [ebp - 0x74]
mov edi, 3
mov byte [ebp - 4], 6
mov ecx, 0x497920
mov esi, dword [esi]
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43eff9
test dx, dx
je 0x43eff5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43eff9
add eax, 4
add ecx, 4
test dx, dx
jne 0x43efd3
xor eax, eax
jmp 0x43effe
sbb eax, eax
or eax, 1
test eax, eax
je 0x43f0b8
mov ecx, 0x497928
mov eax, esi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43f036
test dx, dx
je 0x43f032
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43f036
add eax, 4
add ecx, 4
test dx, dx
jne 0x43f010
xor eax, eax
jmp 0x43f03b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x43f044
lea edi, [eax + 4]
jmp 0x43f0b8
mov ecx, 0x497930
mov eax, esi
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43f076
test dx, dx
je 0x43f072
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43f076
add eax, 4
add ecx, 4
test dx, dx
jne 0x43f050
xor eax, eax
jmp 0x43f07b
sbb eax, eax
or eax, 1
test eax, eax
je 0x43f0b3
mov eax, str.dwfx
mov cx, word [esi]
cmp cx, word [eax]
jne 0x43f0aa
test cx, cx
je 0x43f0a6
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x43f0aa
add esi, 4
add eax, 4
test cx, cx
jne 0x43f084
xor eax, eax
jmp 0x43f0af
sbb eax, eax
or eax, 1
test eax, eax
jne 0x43f0b8
mov edi, 2
mov dword [ebp - 0x1c], 0
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x43f626
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp - 0x64]
add eax, 0x10
mov dword [ebp - 0x1c], eax
or esi, 0x10
mov eax, dword [ebp - 0x6c]
push edi
mov dword [ebp - 0x68], esi
push dword [eax + 0xc]
lea eax, [ebp - 0x1c]
push str._s__d
push eax
call fcn.00407700
add esp, 0x10
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x43f113
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x43f129
call fcn.00402880
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x43f626
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
push 0xc
push str.DefaultIcon
add eax, 0x10
or esi, 0x20
push dword [edx - 0xc]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x68], esi
call fcn.0040ebb0
mov edi, dword [ebp - 0x20]
lea ecx, [ebp - 0x48]
sub esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
push edi
push SysReAllocString
call fcn.0040c190
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x48]
test eax, eax
jne 0x43f1b5
test esi, esi
je 0x43f1b5
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43f190
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test ebx, ebx
je 0x43f1c7
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x48], 0
mov ebx, dword [ebp - 0x64]
add edi, 0xfffffff0
and ebx, 0xffffffdf
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x68], ebx
or eax, 0xffffffff
mov byte [ebp - 4], 6
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43f1f3
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
and ebx, 0xffffffef
mov byte [ebp - 4], 5
mov dword [ebp - 0x64], ebx
add esi, 0xfffffff0
mov dword [ebp - 0x68], ebx
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43f218
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x43f626
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push str.ellop
mov byte [ebp - 4], 8
lea eax, [ebp - 0x1c]
push dword [ebp - 0x18]
push str._s_sh_sen
push eax
call fcn.00407700
mov edi, dword [ebp - 0x1c]
push ecx
push edi
push SysReAllocString
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
call fcn.0040c190
mov esi, dword [ebp - 0x54]
test eax, eax
jne 0x43f2b6
mov ebx, dword [ebp - 0x84]
test ebx, ebx
je 0x43f2b6
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43f290
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push ebx
push 1
push 0
push dword [ebp - 0x3c]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x43f2c8
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x43f626
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
push str.ellopenco
mov byte [ebp - 4], 9
lea eax, [ebp - 0x24]
push dword [ebp - 0x18]
push str._s_sh_smmand
push eax
call fcn.00407700
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x38]
push ecx
push esi
push SysReAllocString
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
call fcn.0040c190
mov ebx, dword [ebp - 0x60]
test eax, eax
jne 0x43f36c
mov edx, dword [ebp - 0x70]
test edx, edx
je 0x43f36c
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x70], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43f346
sub ecx, dword [ebp - 0x70]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test ebx, ebx
je 0x43f37e
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x60], 0
or ebx, 0xffffffff
mov dword [ebp - 0x5c], 0
mov byte [ebp - 4], 8
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43f3a3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43f3be
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43f3dc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43f3fa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x74]
add edi, 4
mov dword [ebp - 0x74], edi
cmp edi, dword [ebp - 0x78]
jne 0x43eec8
mov esi, dword [ebp - 0x64]
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x43f630
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
push str.tionAssociation
push str.tVersionA
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xa
push str.SOFTWAREMicrosoftWindowsCurren_spplica_sToasts
push eax
call fcn.00407700
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
push ecx
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x30]
mov edi, dword [ebp - 0x24]
push edi
push SysReAllocString
call fcn.0040c190
mov eax, dword [ebp - 0x6c]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
cmp ebx, eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x30]
je 0x43f5a2
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x43f626
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebx]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x43f4c7
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x43f4dd
call fcn.00402880
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x43f626
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x6c], eax
or esi, 0x80
mov eax, dword [ebx]
mov edx, str.XDCadViewer.
mov dword [ebp - 0x68], esi
push dword [eax - 0xc]
push eax
push 0xc
call fcn.0040ebb0
and esi, 0xffffff7f
mov dword [ebp - 4], 0xc
or esi, 0x40
add esp, 0xc
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x68], esi
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x20]
push dword [ebx]
mov esi, dword [ebp - 0x6c]
push esi
push str._s_._s
push eax
call fcn.00407700
add esp, 0x10
mov byte [ebp - 4], 0xc
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43f556
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x78]
push 4
push eax
push 4
push 0
push esi
push dword [ebp - 0x30]
mov dword [ebp - 0x78], 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 4], 0xb
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43f590
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x64]
add ebx, 4
cmp ebx, dword [ebp - 0x70]
jne 0x43f495
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x43f5ad
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or ebx, 0xffffffff
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43f5cb
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43f5e9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x43f608
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 - 0x14]
xor ecx, ebp
call fcn.00454d47
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00402980
push 0x80004005
call fcn.00402980
int3