Function at 0x41719b
Capabilities:
Set registry value

Disassembly:
push 0x120
mov eax, 0x46d4ec
call fcn.00450f2e
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x124], edi
sub esp, 0x1c
lea eax, [ebp + 8]
mov esi, esp
mov dword [ebp - 0x124], esp
push eax
mov dword [ebp - 4], edi
call fcn.00401bcf
lea eax, [ebp - 0xf8]
push eax
call fcn.00416f28
add esp, 0x20
mov byte [ebp - 4], 1
cmp dword [ebp - 0xe4], edi
je 0x41721a
lea eax, [ebp - 0xf8]
push eax
mov esi, ebx
call fcn.00401bcf
push edi
push 1
lea esi, [ebp - 0xf8]
call fcn.00401e7e
push edi
push 1
lea esi, [ebp + 8]
call fcn.00401e7e
mov eax, ebx
jmp 0x41744f
xor eax, eax
push 0xc6
mov word [ebp - 0xdc], ax
lea eax, [ebp - 0xda]
push edi
push eax
call fcn.00450fd0
add esp, 0xc
mov esi, str.Software_
push esi
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x12c], edi
call fcn.00402676
push 8
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
pop ebx
cmp dword [ebp + 0x20], ebx
jae 0x417262
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00404851
push 0x478d68
lea eax, [ebp - 0x118]
push eax
call fcn.00404851
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], ebx
jae 0x41728b
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00404851
push str._Helper_Compact_
lea eax, [ebp - 0x118]
push eax
call fcn.00404851
push esi
lea eax, [ebp - 0x120]
push eax
call fcn.00402676
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], ebx
jae 0x4172c5
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.00404851
push str.WAF_
lea eax, [ebp - 0x120]
push eax
call fcn.00404851
xor esi, esi
call fcn.00416dc2
test eax, eax
je 0x4172f3
mov esi, 0x200
lea ecx, [ebp - 0x114]
call fcn.0041670f
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x110]
cmp dword [ebp - 0xfc], ebx
jae 0x417316
lea eax, [ebp - 0x110]
push 0x64
push eax
lea eax, [ebp - 0xdc]
push 0x64
push eax
call fcn.0044bb0a
add esp, 0x10
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x11c]
push eax
push edi
or esi, 0x20006
push esi
push edi
push edi
push edi
push dword [ebp - 0x118]
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x124], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push ebx
call esi
test eax, eax
jne 0x417398
lea eax, [ebp - 0xdc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
lea eax, [ebp - 0xdc]
push eax
push 1
push edi
push str.ClientSign
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x11c]
push eax
push edi
push dword [ebp - 0x124]
push edi
push edi
push edi
push dword [ebp - 0x120]
push ebx
call esi
test eax, eax
jne 0x4173f4
lea eax, [ebp - 0xdc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
lea eax, [ebp - 0xdc]
push eax
push 1
push edi
push str.ClientSign
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x128]
lea eax, [ebp - 0xdc]
push eax
call fcn.004070e1
push edi
push 1
lea esi, [ebp - 0x114]
call fcn.00401e7e
mov eax, dword [ebp - 0x120]
add eax, 0xfffffff0
call fcn.004026f8
mov eax, dword [ebp - 0x118]
add eax, 0xfffffff0
call fcn.004026f8
push edi
push 1
lea esi, [ebp - 0xf8]
call fcn.00401e7e
push edi
push 1
lea esi, [ebp + 8]
call fcn.00401e7e
mov eax, dword [ebp - 0x128]
call fcn.00450fb1
ret