Function at 0x4225d8
Capabilities:
Set registry value

Disassembly:
push 0x24
mov eax, 0x4b0699
call fcn.0048f3f0
mov eax, dword [0x507340]
xor ebx, ebx
cmp byte [0x507af8], bl
mov ecx, eax
sete bl
imul ecx, eax
imul eax, ecx
push 0x15
cdq
pop ecx
idiv ecx
mov esi, SysReAllocStringLen
add ebx, esi
mov dword [ebp - 4], 1
cmp edx, 5
jne 0x42262b
call fcn.0048f9e0
mov ecx, dword [0x507340]
cmp ecx, eax
jne 0x42262b
dec ecx
mov dword [0x507340], ecx
mov edi, 0x505ab0
push edi
lea ecx, [ebp - 0x10]
call fcn.00408fd9
cmp byte [ebp + 0x14], 0
mov byte [ebp - 4], 2
je 0x4226a5
call fcn.00422e71
test al, al
jne 0x42265a
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
cmp byte [0x50124c], 0
jne 0x4226a5
mov eax, dword [0x507c30]
cmp dword [eax - 0xc], 0
jne 0x422672
mov ebx, esi
jmp 0x4226a5
push 0x4c0b70
lea eax, [ebp + 0x14]
push 0x507c30
push eax
mov ebx, VariantInit
call fcn.00409229
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00402394
mov ecx, dword [ebp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.00407864
and dword [ebp - 0x30], 0
and dword [ebp - 0x2c], 0
and dword [ebp - 0x28], 0
push edi
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 4
call fcn.00408fd9
mov edi, str.Software_
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.00416f4a
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 6
call fcn.004091d4
mov esi, 0x507c34
push esi
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 7
call fcn.004091d4
push 0x4c0b70
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 8
call fcn.00409229
lea ecx, [ebp + 8]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 9
call fcn.004091d4
add esp, 0x30
push eax
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0xa
call fcn.00402394
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00407864
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00407864
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00407864
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00407864
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 5
lea ecx, [ecx - 0x10]
call fcn.00407864
push edi
lea ecx, [ebp - 0x14]
call fcn.00416f4a
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0xb
call fcn.004091d4
mov byte [ebp - 4], 0xc
push esi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004091d4
push 0x4c0b70
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0xd
call fcn.00409229
lea ecx, [ebp + 8]
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0xe
call fcn.004091d4
add esp, 0x30
xor ecx, ecx
push ecx
push ecx
push 0x20006
push ecx
push ecx
push dword [eax]
lea ecx, [ebp - 0x30]
push ebx
call fcn.0042172f
mov ecx, dword [ebp - 0x24]
test eax, eax
lea ecx, [ecx - 0x10]
setne bl
call fcn.00407864
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00407864
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00407864
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00407864
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00407864
test bl, bl
jne 0x422836
mov eax, dword [ebp + 0x10]
push 4
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push 4
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x30]
test eax, eax
je 0x422874
call fcn.004093e4
xor bl, bl
mov ecx, dword [ebp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.00407864
lea ecx, [ebp - 0x30]
call fcn.004093e4
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00407864
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00407864
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00407864
mov al, bl
call fcn.0048f3be
ret
call fcn.004093e4
xor ebx, ebx
inc ebx
jmp 0x422838