Function at 0x43b1cd
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
mov eax, dword [0x6610e4]
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 0x43b485
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x830]
push eax
xor ecx, ecx
push 0xf003f
push ecx
push 0x5e4d7c
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 0x43b484
lea eax, [ebp - 0x82c]
push eax
push 0xf003f
push 0
push str.CommmonSoft
push dword [ebp - 0x830]
call ebx
test eax, eax
je 0x43b277
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 0x43b484
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 0x43b2c2
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 0x43b484
push 0x104
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.004a2e40
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x43b2df
mov esi, dword [esi]
lea eax, [ebp - 0x108]
push eax
push esi
call fcn.0049da04
push 0x104
lea eax, [ebp - 0x310]
push ebx
push eax
call fcn.004a2e40
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.004b0b60
pop ecx
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0048ab43
call fcn.0049c747
push 0x208
mov dword [ebp - 0x838], eax
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.004a2e40
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x310]
push eax
call fcn.0049bd8c
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 0x43b454
push 0x104
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.004a2e40
push 0x208
lea eax, [ebp - 0x824]
push ebx
push eax
call fcn.004a2e40
push 0x104
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004a2e40
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004b0c20
lea eax, [ebp - 0x20c]
push str._ctn
push eax
call fcn.004b0c30
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.004b0b60
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0048ab43
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0049bd8c
add esp, 0x18
cmp dword [edi + 0x14], 8
jb 0x43b43c
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 0x43b46b
push dword [ebp - 0x828]
call esi
cmp dword [ebp - 0x82c], 0
je 0x43b47c
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.00447f5d
mov esp, ebp
pop ebp
ret 8