Function at 0x4b0b20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
mov eax, dword [0x5c30d8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x4b0e14
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x830]
push eax
push 0xf003f
push 0
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 0
mov dword [ebp - 0x828], 0
call ebx
test eax, eax
jne 0x4b0e13
lea eax, [ebp - 0x82c]
push eax
push 0xf003f
push 0
push 0x562d14
push dword [ebp - 0x830]
call ebx
test eax, eax
je 0x4b0bd8
push 0
lea eax, [ebp - 0x82c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x562d14
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4b0e13
lea eax, [ebp - 0x828]
push eax
push 0xf003f
push 0
push str.SoftInfo
push dword [ebp - 0x82c]
call ebx
test eax, eax
je 0x4b0c26
push 0
lea eax, [ebp - 0x828]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftInfo
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4b0e13
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00507800
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x4b0c44
mov esi, dword [esi]
lea eax, [ebp - 0x108]
push eax
push esi
call fcn.0050280b
push 0x104
lea eax, [ebp - 0x310]
push 0
push eax
call fcn.00507800
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x834], 0xbb8
add esp, 0x14
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b0c80
lea eax, [ebp - 0x834]
sub ecx, edx
push eax
lea eax, [ebp - 0x310]
push eax
push ecx
lea eax, [ebp - 0x108]
push eax
call fcn.005038eb
call fcn.0050153c
push 0x208
mov dword [ebp - 0x838], eax
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.00507800
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x310]
push eax
call fcn.00500b54
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [ebp - 0x838]
add esp, 0x24
push 4
push eax
push 4
push 0
lea eax, [ebp - 0x61c]
push eax
push dword [ebp - 0x828]
call esi
test edi, edi
je 0x4b0deb
push 0x104
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00507800
push 0x208
lea eax, [ebp - 0x824]
push 0
push eax
call fcn.00507800
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00507800
add esp, 0x24
xor ecx, ecx
mov al, byte [ebp + ecx - 0x108]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x20d], al
test al, al
jne 0x4b0d40
lea ecx, [ebp - 0x20c]
dec ecx
nop dword [eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4b0d60
mov eax, dword [str._ctn]
mov dword [ecx], eax
mov al, byte [0x5635f4]
mov byte [ecx + 4], al
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x834], 0xbb8
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b0d90
lea eax, [ebp - 0x834]
sub ecx, edx
push eax
lea eax, [ebp - 0x414]
push eax
push ecx
lea eax, [ebp - 0x20c]
push eax
call fcn.005038eb
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.00500b54
add esp, 0x18
cmp dword [edi + 0x14], 8
jb 0x4b0dd2
mov edi, dword [edi]
push 0x104
push edi
push 1
push 0
lea eax, [ebp - 0x824]
push eax
push dword [ebp - 0x828]
call esi
mov eax, dword [ebp - 0x828]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x4b0dfe
push eax
call esi
mov eax, dword [ebp - 0x82c]
test eax, eax
je 0x4b0e0b
push eax
call esi
push dword [ebp - 0x830]
call esi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004bcc20
mov esp, ebp
pop ebp
ret 8