Function at 0x442d39
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
mov eax, dword [0x656514]
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 0x442ff1
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x830]
push eax
xor ecx, ecx
push 0xf003f
push ecx
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x830], ecx
mov dword [ebp - 0x82c], ecx
mov dword [ebp - 0x828], ecx
call ebx
test eax, eax
jne 0x442ff0
lea eax, [ebp - 0x82c]
push eax
push 0xf003f
push 0
push str.CommmonSoft
push dword [ebp - 0x830]
call ebx
test eax, eax
je 0x442de3
xor ecx, ecx
lea eax, [ebp - 0x82c]
push ecx
push eax
push ecx
push 0xf003f
push ecx
push ecx
push ecx
push str.CommmonSoft
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x442ff0
lea eax, [ebp - 0x828]
push eax
push 0xf003f
push 0
push str.SoftInfo
push dword [ebp - 0x82c]
call ebx
xor ebx, ebx
test eax, eax
je 0x442e2e
push ebx
lea eax, [ebp - 0x828]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftInfo
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x442ff0
push 0x104
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.005a8e00
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x442e4b
mov esi, dword [esi]
lea eax, [ebp - 0x108]
push eax
push esi
call fcn.0041f7a2
push 0x104
lea eax, [ebp - 0x310]
push ebx
push eax
call fcn.005a8e00
add esp, 0x14
mov dword [ebp - 0x834], 0xbb8
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.005ac520
pop ecx
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0041c16e
call fcn.0041d51a
push 0x208
mov dword [ebp - 0x838], eax
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.005a8e00
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x310]
push eax
call fcn.0041c6ce
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [ebp - 0x838]
add esp, 0x24
push 4
push eax
push 4
push ebx
lea eax, [ebp - 0x61c]
push eax
push dword [ebp - 0x828]
call esi
test edi, edi
je 0x442fc0
push 0x104
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.005a8e00
push 0x208
lea eax, [ebp - 0x824]
push ebx
push eax
call fcn.005a8e00
push 0x104
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.005a8e00
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.005ac420
lea eax, [ebp - 0x20c]
push str._ctn
push eax
call fcn.005ac430
add esp, 0x34
mov dword [ebp - 0x834], 0xbb8
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.005ac520
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0041c16e
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0041c6ce
add esp, 0x18
cmp dword [edi + 0x14], 8
jb 0x442fa8
mov edi, dword [edi]
push 0x104
push edi
push 1
push ebx
lea eax, [ebp - 0x824]
push eax
push dword [ebp - 0x828]
call esi
cmp dword [ebp - 0x828], 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x442fd7
push dword [ebp - 0x828]
call esi
cmp dword [ebp - 0x82c], 0
je 0x442fe8
push dword [ebp - 0x82c]
call esi
push dword [ebp - 0x830]
call esi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00492e23
mov esp, ebp
pop ebp
ret 8