Function at 0x48bb80
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bd0c7
mov eax, dword fs:[0]
push eax
sub esp, 0x338
mov eax, dword [0x6319d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x340], eax
mov dword [ebp - 0x338], 1
call fcn.004a8620
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x48bbdd
push 0x80004005
call fcn.00401b60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x324], eax
mov dword [ebp - 4], 0
call fcn.004a8620
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x48bc10
push 0x80004005
call fcn.00401b60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x32c], eax
mov byte [ebp - 4], 1
call fcn.004a8620
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x48bc40
push 0x80004005
call fcn.00401b60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x334], eax
mov byte [ebp - 4], 2
call fcn.004a8620
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x48bc70
push 0x80004005
call fcn.00401b60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x344], eax
mov bl, 3
mov byte [ebp - 4], bl
mov dword [ebp - 0x328], 0x104
mov edi, 0xf003f
call fcn.0049cb90
test eax, eax
je 0x48bca4
mov edi, 0xf013f
mov ecx, dword [ebp - 0x340]
push ecx
lea ecx, [ebp - 0x334]
call fcn.00402af0
push 0
push 1
lea edx, [ebp - 0x32c]
push edx
push 0xfffffffffffffffd
push ecx
mov ecx, esp
mov dword [ebp - 0x33c], esp
push str.PRODCODE
call fcn.00403380
lea eax, [ebp - 0x334]
push eax
lea ecx, [esi + 0xb8]
call fcn.0041c7b0
test eax, eax
je 0x48bed6
lea ecx, [ebp - 0x32c]
push ecx
lea edx, [ebp - 0x33c]
push str.SOFTWARE_
push edx
call fcn.00408ba0
add esp, 0xc
push eax
lea ecx, [ebp - 0x324]
mov byte [ebp - 4], 4
call fcn.00402af0
mov eax, dword [ebp - 0x33c]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48bd40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp - 0x324]
lea ecx, [ebp - 0x320]
push ecx
push edi
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x48bed6
mov edx, dword [ebp - 0x320]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x328]
push eax
lea ecx, [ebp - 0x31c]
push ecx
push 0
push 0
push str.UninstallPath
mov ebx, 0x104
push edx
mov dword [ebp - 0x328], ebx
call edi
test eax, eax
jne 0x48bed6
mov edx, dword [ebp - 0x320]
lea eax, [ebp - 0x328]
push eax
lea ecx, [ebp - 0x218]
push ecx
push 0
push 0
push str.UninstallCmdline
push edx
mov dword [ebp - 0x328], ebx
call edi
test eax, eax
jne 0x48bed6
mov eax, dword [ebp - 0x320]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.ExitCode
push eax
call edi
mov ecx, dword [ebp - 0x320]
push str.Reboot
push ecx
call edi
lea edx, [ebp - 0x31c]
push edx
mov ecx, esi
call fcn.00489890
test eax, eax
je 0x48be27
mov ecx, dword [ebp - 0x32c]
lea eax, [ebp - 0x218]
push eax
push 0x22
push ecx
push 0x22
lea edx, [ebp - 0x114]
push str._CBIS__PRODCODE_c_s_c__S__s
push edx
call fcn.00599ee3
add esp, 0x18
jmp 0x48be43
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x218]
mov byte [ebp + eax - 0x114], cl
inc eax
test cl, cl
jne 0x48be30
push 1
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x31c]
push ecx
lea ecx, [ebp - 0x32d]
call fcn.0042d6a0
mov ebx, eax
and eax, 4
je 0x48be7b
mov edx, dword [esi + 0xb690]
and dword [esi + 0xb694], 0xfff7ffff
mov dword [esi + 0xb690], edx
test eax, eax
je 0x48be9b
mov eax, dword [ebp - 0x320]
push str.UninstallPath
push eax
call edi
mov ecx, dword [ebp - 0x320]
push str.UninstallCmdline
push ecx
call edi
mov edx, dword [ebp - 0x320]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi + 0xb690]
or dword [esi + 0xb694], 0x100
mov dword [esi + 0xb690], eax
mov eax, dword [ebp - 0x324]
sub esi, eax
mov cl, byte [eax]
mov byte [esi + eax + 0xaa18], cl
inc eax
test cl, cl
jne 0x48bec6
jmp 0x48bedc
mov ebx, dword [ebp - 0x338]
mov eax, dword [ebp - 0x344]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48bf02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x334]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48bf28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x32c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48bf4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x324]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48bf77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00599ed4
mov esp, ebp
pop ebp
ret 4