Function at 0x4812b6
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x53292f
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x28], ebx
sub esp, 0x18
mov dword [esp + 0x148], ebx
lea eax, [esp + 0x150]
mov ecx, esp
push eax
call fcn.0044f7a0
lea ecx, [esp + 0x5c]
call fcn.00480fc6
add esp, 0x18
mov byte [esp + 0x130], 1
cmp dword [esp + 0x54], ebx
je 0x48134a
lea eax, [esp + 0x44]
mov ecx, edi
push eax
call fcn.004504b5
push ebx
push 1
lea ecx, [esp + 0x4c]
call fcn.004510a8
push ebx
jmp 0x481582
xor eax, eax
push 0xc6
mov word [esp + 0x60], ax
lea eax, [esp + 0x62]
push ebx
push eax
call fcn.00506ab0
add esp, 0xc
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x14]
push 0x56ab98
call fcn.00450b9d
push 8
mov byte [esp + 0x134], 2
lea esi, [esp + 0x13c]
pop ebp
cmp dword [esp + 0x14c], ebp
cmovae esi, dword [esp + 0x138]
mov ecx, esi
call fcn.00450b61
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.00471a13
mov esi, 0x56abe8
mov ecx, esi
call fcn.00450b61
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.00471a13
cmp dword [esp + 0x14c], ebp
lea esi, [esp + 0x138]
cmovae esi, dword [esp + 0x138]
mov ecx, esi
call fcn.00450b61
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.00471a13
mov esi, str._Helper_Compact_
mov ecx, esi
call fcn.00450b61
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.00471a13
push 0x56abf8
lea ecx, [esp + 0x20]
call fcn.00450b9d
mov byte [esp + 0x130], 3
lea esi, [esp + 0x138]
cmp dword [esp + 0x14c], ebp
cmovae esi, dword [esp + 0x138]
mov ecx, esi
call fcn.00450b61
push eax
push esi
lea ecx, [esp + 0x24]
call fcn.00471a13
mov esi, 0x56abec
mov ecx, esi
call fcn.00450b61
push eax
push esi
lea ecx, [esp + 0x24]
call fcn.00471a13
call fcn.00480e12
test al, al
mov ecx, 0x200
cmovne ebx, ecx
lea ecx, [esp + 0x2c]
call fcn.004806df
mov byte [esp + 0x130], 4
lea eax, [esp + 0x2c]
cmp dword [esp + 0x40], ebp
push 0x64
cmovae eax, dword [esp + 0x30]
push eax
lea eax, [esp + 0x64]
push 0x64
push eax
call fcn.00502cc1
add esp, 0x10
lea eax, [esp + 0x24]
or ebx, 0x20006
mov dword [esp + 0x20], ebx
push eax
lea eax, [esp + 0x1c]
push eax
xor eax, eax
push eax
push ebx
push eax
push eax
push eax
push dword [esp + 0x30]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4814f7
lea eax, [esp + 0x5c]
push eax
call ebx
add eax, eax
push eax
lea eax, [esp + 0x60]
push eax
push 1
push 0
push str.ClientSign
push dword [esp + 0x2c]
call esi
push dword [esp + 0x18]
call ebp
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x1c]
push eax
xor eax, eax
push eax
push dword [esp + 0x2c]
push eax
push eax
push eax
push dword [esp + 0x38]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x481542
lea eax, [esp + 0x5c]
push eax
call ebx
add eax, eax
push eax
lea eax, [esp + 0x60]
push eax
push 1
push 0
push 0x56ac0c
push dword [esp + 0x2c]
call esi
push dword [esp + 0x18]
call ebp
lea eax, [esp + 0x5c]
mov ecx, edi
push eax
call fcn.00450d66
push 0
push 1
lea ecx, [esp + 0x34]
call fcn.004510a8
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00450c64
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.00450c64
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.004510a8
push 0
push 1
lea ecx, [esp + 0x140]
call fcn.004510a8
mov eax, edi
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00501f3e
add esp, 0x120
ret