Function at 0x4b4550
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54aa3f
mov eax, dword fs:[0]
push eax
mov eax, 0x24a4
call fcn.0050c350
mov eax, dword [0x5ac020]
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 ebx, ecx
cmp dword [0x5bdd08], 0
je 0x4b463f
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], vtable.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov dword [ebp - 4], 1
mov eax, 0x5bdd4c
cmp dword [0x5bdd60], 8
cmovae eax, dword [0x5bdd4c]
push eax
lea eax, [ebp - 0x2c]
push str._sPortable.xml
push eax
call fcn.00401a00
add esp, 0xc
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov ecx, ebx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004b3ac0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2c], vtable.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x4b4624
push dword [ebp - 0x28]
call fcn.0051d3d0
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, esi
mov dword [ebp - 0x18], 0
jmp 0x4b48b3
mov dword [ebp - method.HashAlgorithm.virtual_0], vtable.HashAlgorithm.0
mov dword [ebp - 4], 3
lea eax, [ebp - 0x338]
mov esi, dword [ebx]
lea edi, [ebp - 0x338]
push eax
push 0x268
lea eax, [ebp - 0x318]
mov ecx, 0xa2
push eax
rep movsd dword es:[edi], dword [esi]
push 2
call fcn.004c3aa0
test eax, eax
je 0x4b48a0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0xb0], vtable.HardwareID.0
mov dword [ebp - 0x98], 0xf
mov dword [ebp - 0x9c], 0
mov byte [ebp - 0xac], 0
mov byte [ebp - 4], 5
xorps xmm0, xmm0
lea eax, [ebp - 0x2480]
mov dword [ebp - method.XTSCipher.virtual_0], vtable.XTSCipher.0
push 0x2148
push eax
mov dword [ebp - 0x2488], 0
movlpd qword [ebp - 0x2498], xmm0
movlpd qword [ebp - 0x2490], xmm0
call fcn.0051b090
add esp, 8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb0]
push 0x2717
push dword [0x5bdd08]
call fcn.0045c5c0
xor esi, esi
mov dword [ebp - method.HashAlgorithm.virtual_0], vtable.HashAlgorithm.0
mov edi, eax
mov dword [ebp - 0x24a4], esi
mov byte [ebp - 4], 7
cmp dword [0x5bda54], esi
je 0x4b4802
test edi, edi
je 0x4b4802
lea ecx, [ebp - 0x24a0]
call fcn.004c5830
push 2
call fcn.004c35d0
test eax, eax
je 0x4b4802
push 0x583d50
call fcn.0052b620
add esp, 4
mov dword [ebp - 0x24b0], eax
cmp eax, 0xffffffff
je 0x4b4802
push 0x40
call fcn.004ffbb1
mov esi, eax
add esp, 4
test esi, esi
je 0x4b4800
push esi
push 0x20
push edi
push 2
call fcn.004c3be0
lea eax, [ebp - 0x2498]
push eax
push 0x20
push edi
push 2
call fcn.004c3850
lea eax, [ebp - 0x2480]
push eax
push 0
push 0x20
lea eax, [esi + 0x20]
push eax
push esi
push dword [ebp - 0x24b0]
call fcn.0052b8f0
add esp, 0x18
test eax, eax
jne 0x4b47d7
mov dword [ebp - 0x2488], 3
mov dword [ebp - 0x24a4], 1
push 0x20
push esi
call fcn.0051b090
push 0x20
push esi
call fcn.0051b090
push 0x20
push esi
call fcn.0051b090
push esi
call fcn.0051d3d0
mov esi, dword [ebp - 0x24a4]
add esp, 0x1c
jmp 0x4b4802
xor esi, esi
mov byte [ebp - 4], 6
mov dword [ebp - method.HashAlgorithm.virtual_0], vtable.HashAlgorithm.0
test esi, esi
je 0x4b4882
push 0
push 0
lea eax, [ebp - 0x338]
push eax
push 0x288
push eax
lea ecx, [ebp - 0x24a0]
call fcn.004c5880
test eax, eax
je 0x4b4882
cmp dword [ebx + 0x38], 8
lea eax, [ebx + 0x24]
jb 0x4b483f
mov eax, dword [eax]
push 0x288
lea ecx, [ebp - 0x338]
push ecx
push 3
push 0
push eax
push dword [ebx + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4b4882
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24a0]
call fcn.004c5440
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb0]
call fcn.0045c480
mov eax, 1
jmp 0x4b48a2
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24a0]
call fcn.004c5440
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb0]
call fcn.0045c480
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - method.HashAlgorithm.virtual_0], vtable.HashAlgorithm.0
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.004ffcef
mov esp, ebp
pop ebp
ret