Function at 0x1007228a
Capabilities:
Set registry value

Disassembly:
push 0xb4
mov eax, 0x101147d5
call fcn.1006051e
mov edi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xbc], esi
test ebx, ebx
je 0x1007290d
xor ecx, ecx
lea edx, [ebp - 0xac]
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xb0], ecx
lea ecx, [ebp - 0xb0]
push 1
push ecx
mov ecx, eax
call fcn.1006f080
pop ecx
pop ecx
test eax, eax
je 0x1007246b
call fcn.100029f0
push eax
lea ecx, [ebp - 0xbc]
call fcn.1000281b
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xb0]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
mov ecx, dword [ebp - 0xac]
movzx eax, cx
push eax
shr ecx, 0x10
lea eax, [ebp - 0xbc]
push ecx
push str._u._u._u._u
push eax
call fcn.10008c51
mov esi, dword [ebp - 0xbc]
add esp, 0x18
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x20206
test esi, esi
je 0x10072454
lea eax, [ebp - 0xa4]
xor ecx, ecx
push eax
push edi
push ecx
push str.SOFTWARE360SafeLiveUpupdatecfg
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa8], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100723c1
lea eax, [ebp - 0xac]
xor ecx, ecx
push eax
push edi
push ecx
push str.SOFTWARE360SafeLiveUp
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xac], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100723c1
lea eax, [ebp - 0xa4]
push eax
push str.updatecfg
push dword [ebp - 0xac]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push dword [ebp - 0xac]
call ebx
cmp dword [ebp - 0xa4], 0
je 0x10072454
lea eax, [ebp - 0xa8]
push eax
push edi
xor eax, eax
push eax
push dword [ebp - 0xb4]
push dword [ebp - 0xa4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10072408
lea eax, [ebp - 0xa8]
push eax
push dword [ebp - 0xb4]
push dword [ebp - 0xa4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
cmp dword [ebp - 0xa8], 0
je 0x1007244c
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0xc0]
jne 0x10072416
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
xor eax, eax
push eax
push 0x10132b08
push dword [ebp - 0xa8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0xa8]
call ebx
push dword [ebp - 0xa4]
call ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.10002a86
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
jmp 0x100726cd
test esi, esi
je 0x10072590
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0xa4]
push eax
xor ecx, ecx
mov edi, 0x20206
push edi
push ecx
push str.SOFTWARE360SafeLiveUpupdatecfg
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa8], ecx
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x100724ec
lea eax, [ebp - 0xac]
xor ecx, ecx
push eax
push edi
push ecx
push str.SOFTWARE360SafeLiveUp
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xac], ecx
call esi
test eax, eax
jne 0x100724ec
lea eax, [ebp - 0xa4]
push eax
push str.updatecfg
push dword [ebp - 0xac]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push dword [ebp - 0xac]
call ebx
cmp dword [ebp - 0xa4], 0
je 0x100726cd
lea eax, [ebp - 0xa8]
push eax
push edi
xor eax, eax
push eax
push dword [ebp - 0xb4]
push dword [ebp - 0xa4]
call esi
test eax, eax
je 0x1007252f
lea eax, [ebp - 0xa8]
push eax
push dword [ebp - 0xb4]
push dword [ebp - 0xa4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
cmp dword [ebp - 0xa8], 0
je 0x10072583
mov edx, dword [ebp - 0xbc]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xbc], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0xc0]
jne 0x10072549
sub ecx, dword [ebp - 0xbc]
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push 1
xor eax, eax
push eax
push 0x10132b08
push dword [ebp - 0xa8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0xa8]
call ebx
push dword [ebp - 0xa4]
call ebx
jmp 0x100726cd
push ebx
lea ecx, [ebp - 0xb0]
call fcn.100026e3
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 1
call fcn.10004e06
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xc0]
lea ecx, [edi + 0x30]
mov esi, dword [ecx]
push eax
call fcn.100094a0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x20206
cmp dword [eax], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
jne 0x100726bb
lea eax, [ebp - 0xa4]
xor ecx, ecx
push eax
push edi
push ecx
push str.SOFTWARE360SafeLiveUpupdatecfg
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa8], ecx
call esi
test eax, eax
je 0x10072647
lea eax, [ebp - 0xac]
xor ecx, ecx
push eax
push edi
push ecx
push str.SOFTWARE360SafeLiveUp
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xac], ecx
call esi
test eax, eax
jne 0x10072647
lea eax, [ebp - 0xa4]
push eax
push str.updatecfg
push dword [ebp - 0xac]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push dword [ebp - 0xac]
call ebx
cmp dword [ebp - 0xa4], 0
je 0x100726bb
lea eax, [ebp - 0xa8]
push eax
push edi
xor eax, eax
push eax
push dword [ebp - 0xb4]
push dword [ebp - 0xa4]
call esi
test eax, eax
je 0x10072686
lea eax, [ebp - 0xa8]
push eax
push dword [ebp - 0xb4]
push dword [ebp - 0xa4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
cmp dword [ebp - 0xa8], 0
je 0x100726b3
xor eax, eax
push eax
push 0x1013270c
push 1
push eax
push 0x10132b08
push dword [ebp - 0xa8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0xa8]
call ebx
push dword [ebp - 0xa4]
call ebx
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xb0]
lea ecx, [ecx - 0x10]
call fcn.10002a86
cmp dword [ebp - 0xb8], 0
je 0x100727cf
lea eax, [ebp - 0xa4]
xor ecx, ecx
push eax
push edi
push ecx
push str.SOFTWARE360SafeLiveUpupdatecfg
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa8], ecx
call esi
test eax, eax
je 0x10072742
lea eax, [ebp - 0xb0]
xor ecx, ecx
push eax
push edi
push ecx
push str.SOFTWARE360SafeLiveUp
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xb0], ecx
call esi
test eax, eax
jne 0x10072742
lea eax, [ebp - 0xa4]
push eax
push str.updatecfg
push dword [ebp - 0xb0]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push dword [ebp - 0xb0]
call ebx
cmp dword [ebp - 0xa4], 0
je 0x100727cf
lea eax, [ebp - 0xa8]
push eax
push edi
mov edi, dword [ebp - 0xb4]
xor eax, eax
push eax
push edi
push dword [ebp - 0xa4]
call esi
test eax, eax
je 0x10072781
lea eax, [ebp - 0xa8]
push eax
push edi
push dword [ebp - 0xa4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
cmp dword [ebp - 0xa8], 0
je 0x100727c7
mov esi, dword [ebp - 0xb8]
xor edi, edi
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x10072797
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push edi
push str.path
push dword [ebp - 0xa8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0xa8]
call ebx
push dword [ebp - 0xa4]
call ebx
mov ecx, dword [ebp - 0xb8]
lea edi, [ebp - 0x20]
xor eax, eax
lea edx, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1006ceea
push 0x80
xor edi, edi
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.1003e610
pop ecx
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0xa0]
call fcn.1009ff72
pop ecx
pop ecx
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], edi
push eax
mov esi, 0x20206
mov dword [ebp - 0xa8], edi
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push str.SOFTWARE360SafeLiveUpupdatecfg
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
je 0x1007287c
lea eax, [ebp - 0xb8]
xor ecx, ecx
push eax
push esi
push ecx
push str.SOFTWARE360SafeLiveUp
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xb8], ecx
call edi
test eax, eax
jne 0x1007287c
lea eax, [ebp - 0xa4]
push eax
push str.updatecfg
push dword [ebp - 0xb8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push dword [ebp - 0xb8]
call ebx
cmp dword [ebp - 0xa4], 0
je 0x1007290d
lea eax, [ebp - 0xa8]
push eax
push esi
mov esi, dword [ebp - 0xb4]
xor eax, eax
push eax
push esi
push dword [ebp - 0xa4]
call edi
test eax, eax
je 0x100728bb
lea eax, [ebp - 0xa8]
push eax
push esi
push dword [ebp - 0xa4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
cmp dword [ebp - 0xa8], 0
je 0x10072905
lea ecx, [ebp - 0xa0]
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x100728cf
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0xa0]
push eax
push 1
push esi
push 0x10136230
push dword [ebp - 0xa8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0xa8]
call ebx
push dword [ebp - 0xa4]
call ebx
call fcn.100604c8
ret 0x14