Function at 0x4140eb
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x5f0]
sub esp, 0x670
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x5ec], eax
mov eax, dword [ebp + 0x5fc]
push ebx
mov ebx, dword [ebp + 0x5f8]
push esi
push edi
mov edi, dword [ebp + 0x600]
xor esi, esi
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], edi
cmp edi, esi
jne 0x41412e
xor eax, eax
jmp 0x414325
lea eax, [edi + 0x218]
push eax
mov dword [ebp - 0x70], eax
call fcn.0047600e
pop ecx
test eax, eax
jbe 0x414127
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x4d6064
push eax
mov dword [ebp - 0x68], eax
call fcn.004756de
pop ecx
pop ecx
test eax, eax
jne 0x414164
mov word [edi + 0x238], ax
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp + 0x3e4], ax
lea eax, [ebp + 0x3e6]
push esi
push eax
call fcn.00475570
add esp, 0xc
push str.SOFTWARE360SafeLiveUpUpdateCfg_
lea eax, [ebp + 0x3e4]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push dword [ebp - 0x68]
lea eax, [ebp + 0x3e4]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push esi
lea eax, [ebp - 0x64]
push eax
push esi
push 0x2001f
push esi
push esi
push esi
lea eax, [ebp + 0x3e4]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x64], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4141d5
cmp dword [ebp - 0x64], esi
je 0x414322
xor eax, eax
push edi
mov word [ebp + 0x1dc], ax
lea eax, [ebp + 0x1de]
push esi
push eax
call fcn.00475570
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x1dc]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
push str.PendingSign
push dword [ebp - 0x64]
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x7c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x78], 1
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jne 0x41423a
lea eax, [ebp + 0x1dc]
push str.TRUE
push eax
call fcn.004756de
pop ecx
pop ecx
test eax, eax
je 0x41430f
push str.ppath
push dword [ebp - 0x64]
call edi
push str.pver
push dword [ebp - 0x64]
call edi
push str.pmd5
push dword [ebp - 0x64]
call edi
push dword [ebp - 0x70]
call fcn.0047600e
pop ecx
add eax, eax
push eax
push dword [ebp - 0x70]
push 1
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x4d5e78
push dword [ebp - 0x64]
call esi
mov eax, dword [ebp - 0x6c]
add eax, 0x238
push eax
mov dword [ebp - 0x80], eax
call fcn.0047600e
pop ecx
add eax, eax
push eax
push dword [ebp - 0x80]
push 1
push 0
push 0x4d6108
push dword [ebp - 0x64]
call esi
push dword [ebx + 8]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push dword [ebp - 0x70]
push 0x4d5e78
push dword [ebp - 0x68]
call esi
push dword [ebx + 8]
push dword [ebp - 0x74]
push str.path
push dword [ebp - 0x68]
call esi
push dword [ebx + 8]
mov eax, dword [ebp - 0x6c]
add eax, 0x238
push eax
push 0x4d6108
push dword [ebp - 0x68]
call esi
and dword [ebp - 0x60], 0
push 0x238
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.00475570
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x6c]
add esp, 0xc
lea esi, [ebp - 0x60]
call fcn.00413f24
mov eax, esi
push eax
call fcn.0040b8bf
push eax
call fcn.0040bce8
push str.PendingSign
push dword [ebp - 0x64]
call edi
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x5ec]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004755ea
add ebp, 0x5f0
leave
ret 0xc