Function at 0x4d2690
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fa8c9
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x654c54]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x13c], ecx
mov eax, dword [ebp - 0x13c]
mov ecx, dword [eax + 0x90]
mov dword [ebp - 0xd0], ecx
cmp dword [ebp - 0xd0], 0
jne 0x4d26e3
xor al, al
jmp 0x4d2aed
mov edx, dword [ebp - 0x13c]
movzx eax, byte [edx + 0x581]
test eax, eax
je 0x4d2746
mov ecx, dword [ebp - 0x13c]
movzx edx, byte [ecx + 0x582]
test edx, edx
je 0x4d270c
mov al, 1
jmp 0x4d2aed
push 1
mov ecx, dword [ebp - 0x13c]
call fcn.004d9ba0
mov eax, dword [ebp - 0x13c]
mov byte [eax + 0x5f4], 1
push 0
push 1
mov ecx, dword [ebp - 0x13c]
add ecx, 0x5bc
call fcn.0052a700
neg eax
sbb eax, eax
neg eax
jmp 0x4d2aed
mov ecx, dword [ebp - 0x13c]
add ecx, 0x7c
push ecx
push str.SOFTWARE_
lea edx, [ebp - 0x74]
push edx
call fcn.0040f440
add esp, 0xc
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x144], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x144]
push ecx
lea edx, [ebp - 0x4c]
push edx
call fcn.00528860
add esp, 8
mov byte [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0x74]
call fcn.004079f0
lea eax, [ebp - 0xd9]
mov dword [ebp - 0xd8], eax
push 0
push 0
lea ecx, [ebp - 0x30]
call fcn.004079f0
mov byte [ebp - 4], 3
mov ecx, dword [0x611c1c]
mov dword [ebp - 0xe0], ecx
mov byte [ebp - 0xda], 0x5c
push 1
mov edx, dword [ebp - 0xe0]
push edx
lea eax, [ebp - 0xda]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406220
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x4d28ea
mov ecx, dword [ebp - 0x10]
push ecx
push 0
lea edx, [ebp - 0x90]
push edx
mov ecx, dword [ebp + 8]
call fcn.004bcd20
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x14c], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14c]
push ecx
push 0x6130e4
lea edx, [ebp - 0xac]
push edx
call fcn.0040f440
add esp, 0xc
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0xe4], eax
mov byte [ebp - 4], 5
mov ecx, dword [0x611c1c]
push ecx
push 0
mov edx, dword [ebp - 0xe4]
push edx
lea ecx, [ebp - 0x4c]
call fcn.0040ae50
mov byte [ebp - 4], 4
push 0
push 1
lea ecx, [ebp - 0xac]
call fcn.004079f0
mov byte [ebp - 4], 3
push 0
push 1
lea ecx, [ebp - 0x90]
call fcn.004079f0
mov eax, dword [0x611c1c]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
push ecx
lea edx, [ebp - 0xc8]
push edx
mov ecx, dword [ebp + 8]
call fcn.004bcd20
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 6
mov ecx, dword [0x611c1c]
push ecx
push 0
mov edx, dword [ebp - 0xe8]
push edx
lea ecx, [ebp - 0x30]
call fcn.0040aae0
mov byte [ebp - 4], 3
push 0
push 1
lea ecx, [ebp - 0xc8]
call fcn.004079f0
jmp 0x4d28fe
mov eax, dword [0x611c1c]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x30]
call fcn.0040aae0
cmp dword [ebp - 0x34], 0x10
jb 0x4d290f
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x158], edx
jmp 0x4d2918
lea eax, [ebp - 0x48]
mov dword [ebp - 0x158], eax
lea ecx, [ebp - 0x54]
push ecx
push 0x20006
push 0
mov edx, dword [ebp - 0x158]
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.DLL_RegOpenKeyExA]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x4d2985
cmp dword [ebp - 0x34], 0x10
jb 0x4d294f
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x15c], eax
jmp 0x4d2958
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x15c], ecx
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x54]
push eax
push 0
push 0xf003f
push 0
push 0x6130e0
push 0
mov ecx, dword [ebp - 0x15c]
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.DLL_RegCreateKeyExA]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x4d2a1f
mov edx, dword [ebp - 0x13c]
movzx eax, byte [edx + 0x580]
test eax, eax
je 0x4d29ea
mov ecx, dword [ebp - 0x13c]
call fcn.004d9ad0
push 1
push 0
mov ecx, dword [ebp - 0x13c]
add ecx, 0x5bc
call fcn.0052a1a0
push 5
push 0xc
mov ecx, dword [ebp - 0x13c]
add ecx, 0x5bc
call fcn.0052a1a0
push 1
push 0
mov ecx, dword [ebp - 0x13c]
add ecx, 0x5bc
call fcn.0052a1a0
mov byte [ebp - 0xc9], 0
mov byte [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.004079f0
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.004079f0
mov al, byte [ebp - 0xc9]
jmp 0x4d2aed
cmp dword [ebp - 0x18], 0x10
jb 0x4d2a30
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x160], ecx
jmp 0x4d2a39
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x160], edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
mov eax, dword [ebp - 0x160]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.ADVAPI32.DLL_RegSetValueExA]
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
mov eax, dword [ebp - 0x13c]
movzx ecx, byte [eax + 0x580]
test ecx, ecx
je 0x4d2abd
mov ecx, dword [ebp - 0x13c]
call fcn.004d9ad0
push 1
push 0
mov ecx, dword [ebp - 0x13c]
add ecx, 0x5bc
call fcn.0052a1a0
push 5
push 0xc
mov ecx, dword [ebp - 0x13c]
add ecx, 0x5bc
call fcn.0052a1a0
push 1
push 1
mov ecx, dword [ebp - 0x13c]
add ecx, 0x5bc
call fcn.0052a1a0
mov byte [ebp - 0xca], 1
mov byte [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.004079f0
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.004079f0
mov al, byte [ebp - 0xca]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005cbcb1
mov esp, ebp
pop ebp
ret 0x10