Function at 0x43f460
Capabilities:
Query or enumerate registry value
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4f4164]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ecx + 0x10], 0
je 0x43f534
push 0x4caa30
push 0xc8
lea eax, [ebp - 0x40]
push eax
call fcn.0043ee50
cmp byte [ebp - 0x28], 0
je 0x43f534
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push ecx
push 0
push 0x10
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], 4
cmovae eax, dword [ebp - 0x40]
push str.NoRestrictBDAppsOnUpdate
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov edx, dword [0x4f5d3c]
test eax, eax
je 0x43f4df
mov ecx, dword [0x4f5d48]
jmp 0x43f4e3
xor eax, eax
mov ecx, edx
cmp ecx, edx
jne 0x43f522
test eax, eax
jne 0x43f4f0
mov ecx, dword [ebp - 0x24]
jmp 0x43f4fa
cmp ecx, edx
jne 0x43f522
xor ecx, ecx
test eax, eax
jne 0x43f522
test ecx, ecx
je 0x43f522
cmp byte [ebp - 0x28], 0
je 0x43f510
lea eax, [ebp - 0x40]
push eax
call fcn.00409d30
add esp, 4
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00450df0
mov esp, ebp
pop ebp
ret 4
cmp byte [ebp - 0x28], 0
je 0x43f534
lea eax, [ebp - 0x40]
push eax
call fcn.00409d30
add esp, 4
push ebx
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push 0x20019
push 0
push str..DEFAULTSoftwareSetID_bd.update.configure
push VariantInit
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43f56d
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x43f56d
push eax
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43f56f
xor bl, bl
cmp byte [ebp + 8], 0
je 0x43f677
test bl, bl
je 0x43f677
push 0xf003f
push 0
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.0043fe10
mov eax, dword [ebp - 0x24]
add esp, 0x10
test eax, eax
jne 0x43f5b2
xor bl, bl
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00450df0
mov esp, ebp
pop ebp
ret 4
push esi
push 4
push str.UPDATESRV
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x43f5f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x43f632
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor bl, bl
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00450df0
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x43f648
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
movq qword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x40], xmm0
test eax, eax
je 0x43f65a
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x43f632
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor bl, bl
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00450df0
mov esp, ebp
pop ebp
ret 4
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [ebp - 0x10]
movq qword [ebp - 0x30], xmm0
cmp dword [ebp - 0x3c], 4
push esi
sete bl
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x43f676
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00450df0
mov esp, ebp
pop ebp
ret 4