Function at 0x431860
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583860
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x5e91b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push str.__________________IsInstalledWakeupModel____________________n
push 0x40000
xor esi, esi
push 0x5eb054
mov dword [ebp - 0x14], esi
call fcn.0042e040
add esp, 0xc
call fcn.004311f0
push 0x5b7a18
lea ecx, [ebp - 0x18]
call fcn.00401bf0
push 0x5b7a18
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], esi
call fcn.00401bf0
lea ebx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00431f00
test al, al
jne 0x431901
push str.___this__GetLastInstalledModelFromLocalMachine__strPrinterFriendlyNameLM____false__n
push 0x40000
push 0x5eb054
call fcn.0042e040
add esp, 0xc
push 0x5d8998
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], esi
call fcn.0055b038
lea edi, [ebp - 0x20]
call fcn.004322e0
mov eax, dword [ebp - 0x20]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x431921
push 0x80004005
call fcn.00402040
mov ecx, dword [ebp - 0x18]
push eax
push ecx
call fcn.00557b8d
mov ecx, dword [ebp + 8]
add esp, 8
test eax, eax
setne al
test al, al
je 0x431dc3
lea edx, [ebp - 0x18]
push edx
call fcn.00401fb0
lea esi, [ebp - 0x24]
call fcn.00450c20
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push 0x20006
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov eax, dword [ebp - 0x24]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43198c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4319d3
mov eax, dword [ebp - 0x18]
mov esi, dword [eax - 0xc]
mov ecx, dword [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
inc esi
push esi
push eax
push 1
push 0
push str.Last_Installed_Model_2
push ecx
call edi
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
push esi
push edx
push 1
push 0
push str.Last_Installed_Model
push eax
call edi
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], 0
xor edi, edi
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 8]
cmp edi, eax
jge 0x431a53
test edi, edi
js 0x431db8
cmp edi, eax
jge 0x431db8
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
mov eax, dword [ebx + 4]
mov esi, edi
xor edx, edx
imul esi, esi, 0x1dc
test ecx, ecx
setne dl
test edx, edx
jne 0x431a14
push 0x80004005
call fcn.00402040
mov eax, dword [eax + esi + 0x94]
push ecx
push eax
call fcn.00557b8d
add esp, 8
test eax, eax
sete al
test al, al
je 0x431dbd
cmp edi, dword [ebx + 8]
jge 0x431db8
mov eax, dword [ebx + 4]
cmp dword [eax + esi + 0x11c], 0
je 0x431dbd
push 1
call fcn.00432500
lea eax, [ebp - 0x40]
xor edi, edi
push eax
mov dword [ebp - 0x1c], edi
call fcn.00450b90
lea ecx, [ebp - 0x1c]
push ecx
push 0x20019
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x40]
push edi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x431b2e
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x30]
push edx
push edi
push str.EnableOfflineChecker
push eax
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x2c], 0x80
mov dword [ebp - 0x24], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x431b24
lea esi, [ebp - 0x34]
mov dword [ebp + 0xc], edi
call fcn.00450c20
mov eax, dword [eax]
lea ecx, [ebp + 0xc]
push ecx
push 0x20006
push edi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov eax, dword [ebp - 0x34]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x431afe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x431b24
mov edx, dword [ebp + 0xc]
push 4
lea ecx, [ebp - 0x24]
push ecx
push 4
push edi
push str.EnableOfflineChecker
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x431b51
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431b70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431b8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x40]
push ecx
mov dword [ebp - 0x1c], edi
call fcn.00450b90
lea edx, [ebp - 0x1c]
push edx
push 0x20019
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x40]
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x431c68
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x30]
push eax
push edi
push str.EnableStatusMonitor
push ecx
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x34], 0x80
mov dword [ebp - 0x24], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x431c5e
lea esi, [ebp - 0x2c]
mov dword [ebp + 0xc], edi
call fcn.00450c20
mov eax, dword [eax]
lea edx, [ebp + 0xc]
push edx
push 0x20006
push edi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov eax, dword [ebp - 0x2c]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431c38
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x431c5e
mov edx, dword [ebp + 0xc]
push 4
lea ecx, [ebp - 0x24]
push ecx
push 4
push edi
push str.Load_On_StartUp_StsMon
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x431c8b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431caa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431cc9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp - 0x34]
mov dword [ebp + 0xc], edi
call fcn.00450c20
mov eax, dword [eax]
lea ecx, [ebp + 0xc]
push ecx
push 0x20006
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push eax
push SysReAllocString
call edi
test eax, eax
mov eax, dword [ebp - 0x34]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x431d12
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x431d40
mov edx, dword [ebp + 0xc]
push 4
lea ecx, [ebp - 0x34]
push ecx
push 4
push 0
push str.NotDispWebCheck
push edx
mov dword [ebp - 0x34], 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [ebp - 0x34]
mov dword [ebp + 0xc], 0
call fcn.00450c20
mov eax, dword [eax]
lea ecx, [ebp + 0xc]
push ecx
push 0x20006
push 0
push eax
push SysReAllocString
call edi
test eax, eax
mov eax, dword [ebp - 0x34]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x431d88
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x431dcf
mov edx, dword [ebp + 0xc]
push 4
lea ecx, [ebp + 8]
push ecx
push 4
push 0
push str.TroubleWebCheck
push edx
mov dword [ebp + 8], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x431dcf
call fcn.004666be
inc edi
jmp 0x4319d5
push 0
push 0x5b7a18
call fcn.00401ea0
mov dword [ebp - 4], 1
push str._______________________________________________________n
push 0x40000
push 0x5eb054
call fcn.0042e040
push 0x5b993c
push 0x40000
push 0x5eb054
call fcn.0042e040
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
add esp, 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431e24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431e4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8