Function at 0x4072b7
Capabilities:
Set registry value

Disassembly:
push 0x24
mov eax, 0x4dbc9f
call fcn.004bb7e0
xor ebx, ebx
inc ebx
cmp dword [0x532b50], 0
mov dword [ebp - 4], ebx
mov edi, 0x5311f0
je 0x4073b9
cmp dword [0x532b54], 0
je 0x4073b9
lea eax, [ebp + 8]
push eax
mov esi, 0x532b78
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.00401dfb
add esp, 0xc
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00401cd3
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00404c8b
push edi
lea ecx, [ebp - 0x14]
call fcn.00401749
mov ecx, dword [0x532b54]
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 3
call fcn.00412de4
push dword [ebp - 0x14]
lea ecx, [ebp + 8]
call fcn.00401d76
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.00401dfb
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 4
call fcn.00401cd3
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 3
lea ecx, [ecx - 0x10]
call fcn.00404c8b
push edi
lea ecx, [ebp - 0x10]
call fcn.00401749
mov ecx, dword [0x532b54]
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 5
call fcn.00412de4
push dword [ebp - 0x10]
lea ecx, [ebp + 0xc]
call fcn.00401d76
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00404c8b
xor ebx, ebx
cmp byte [0x532b58], bl
mov esi, SysReAllocStringLen
sete bl
push edi
lea ecx, [ebp - 0x10]
add ebx, esi
call fcn.00401749
cmp byte [ebp + 0x14], 0
mov byte [ebp - 4], 6
je 0x407429
cmp byte [0x52c03c], 0
jne 0x407429
mov eax, dword [0x532bb8]
cmp dword [eax - 0xc], 0
jne 0x4073f6
mov ebx, esi
jmp 0x407429
push 0x4e7718
lea eax, [ebp + 0x14]
push 0x532bb8
push eax
mov ebx, SysReAllocStringLen
call fcn.00401e50
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.00401cd3
mov ecx, dword [ebp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
push edi
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 8
call fcn.00401749
mov edi, str.Software_
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.00401814
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0xa
call fcn.00401dfb
push 0x532b8c
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0xb
call fcn.00401dfb
mov esi, 0x4e7718
push esi
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 0xc
call fcn.00401e50
lea ecx, [ebp + 8]
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0xd
call fcn.00401dfb
add esp, 0x30
push eax
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0xe
call fcn.00401cd3
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 9
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [0x532ad4]
push 0x16
lea edx, [ecx + 2]
lea eax, [ecx + 1]
imul eax, edx
imul eax, ecx
cdq
pop ecx
idiv ecx
cmp edx, 0x12
jne 0x40750c
dec dword [0x532b6c]
push edi
lea ecx, [ebp - 0x14]
call fcn.00401814
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0xf
call fcn.00401dfb
push 0x532b8c
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0x10
call fcn.00401dfb
push esi
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0x11
call fcn.00401e50
lea ecx, [ebp + 8]
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0x12
call fcn.00401dfb
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.0040663b
mov ecx, dword [ebp - 0x24]
test eax, eax
lea ecx, [ecx - 0x10]
setne bl
call fcn.00404c8b
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
test bl, bl
jne 0x4075dc
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 0x40761a
call fcn.00406621
xor bl, bl
mov ecx, dword [ebp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
lea ecx, [ebp - 0x30]
call fcn.00406621
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00404c8b
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00404c8b
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00404c8b
mov al, bl
call fcn.004bb7ae
ret
call fcn.00406621
xor ebx, ebx
inc ebx
jmp 0x4075de