Function at 0x46116b
Capabilities:
Set registry value

Disassembly:
push 0x10
push 0xb8
mov eax, 0x4afeee
call fcn.004a7770
mov dword [ebp - 0xb8], edx
xor edi, edi
mov dword [ebp - 0xb4], vtable.CKANRegisterKey.0
mov dword [ebp - 0xb0], edi
lea ecx, [ebp - 0xac]
mov dword [ebp - 4], edi
call fcn.0040d765
xor eax, eax
mov esi, str.operation_
inc eax
push esi
mov byte [ebp - 4], al
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
push eax
push esi
lea ecx, [ebp - 0xac]
call fcn.0040d7bf
mov dword [ebp - 0xa8], 0x9310b022
mov esi, 0xf570b9cc
mov dword [ebp - 0xa4], 0x3388ecd
mov edx, 0x7e2730cc
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xa8], 0x935f07b1
mov dword [ebp - 0xa4], 0xe46bd214
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0xa8], 0x593c1887
mov dword [ebp - 0xa4], 0xa04e583c
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0xa8], 0xa117aebf
mov dword [ebp - 0xa4], 0xdb7dc50f
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0xa8], 0xb7c039e1
mov dword [ebp - 0xa4], 0x167987e6
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0xa8], 0xd1ee8e4e
mov dword [ebp - 0xa4], 0x9e998324
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0xa8], 0xa9efbbbd
mov dword [ebp - 0xa4], 0xee87b642
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0xa8], 0x937fb051
mov dword [ebp - 0xa4], 0x34c8eab
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], 0x933e07c6
mov dword [ebp - 0xa4], 0xe40ed266
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0xa8], 0x595718db
mov dword [ebp - 0xa4], 0xa0205855
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], 0xa164aed8
mov dword [ebp - 0xa4], 0xdb1bc560
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], 0xb79c3995
mov dword [ebp - 0xa4], 0x16178787
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], 0xd1878e3a
mov dword [ebp - 0xa4], 0x9ef08352
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], 0xa99abbcf
mov dword [ebp - 0xa4], 0xee87b631
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
movaps xmm1, xmmword [ebp - 0xa0]
pxor xmm1, xmmword [ebp - 0x60]
movaps xmmword [ebp - 0xa0], xmm1
movaps xmm1, xmmword [ebp - 0x90]
pxor xmm1, xmmword [ebp - 0x50]
movaps xmmword [ebp - 0x90], xmm1
movaps xmm1, xmmword [ebp - 0x80]
pxor xmm1, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x80], xmm1
movaps xmm1, xmmword [ebp - 0x70]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0xbc]
pxor xmm1, xmmword [ebp - 0x30]
push eax
movaps xmmword [ebp - 0x70], xmm1
call fcn.0040d6dc
push ecx
push edi
push dword [eax]
push ecx
lea ecx, [ebp - 0xb4]
call fcn.00433e4c
mov ecx, dword [ebp - 0xbc]
mov esi, eax
add ecx, 0xfffffff0
call fcn.0040bb70
test esi, esi
je 0x461511
mov esi, str.ScrCap_IsShowFloatWinTip
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
push eax
push esi
lea ecx, [ebp - 0xac]
call fcn.0040df19
mov esi, dword [ebp - 0xac]
cmp dword [ebp - 0xb0], edi
je 0x461517
test esi, esi
je 0x461517
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x461517
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov edx, dword [ebp - 0xb8]
pop ecx
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push edi
push esi
push dword [ebp - 0xb0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
push 1
pop eax
cmove edi, eax
jmp 0x461517
mov esi, dword [ebp - 0xac]
lea ecx, [esi - 0x10]
call fcn.0040bb70
cmp dword [ebp - 0xb0], 0
mov dword [ebp - 0xb4], vtable.CKANRegisterKey.0
je 0x46153e
push dword [ebp - 0xb0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0x14]
call fcn.004a774e
ret