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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589e20
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x5f01b4]
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 0x5f2054
mov dword [ebp - 0x14], esi
call fcn.00433010
add esp, 0xc
call fcn.004361c0
push 0x5bda14
lea ecx, [ebp - 0x18]
call fcn.00401ca0
push 0x5bda14
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], esi
call fcn.00401ca0
lea ebx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00436ed0
test al, al
jne 0x4368d1
push str.___this__GetLastInstalledModelFromLocalMachine__strPrinterFriendlyNameLM____false__n
push 0x40000
push 0x5f2054
call fcn.00433010
add esp, 0xc
push 0x5df340
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], esi
call fcn.005612f8
lea edi, [ebp - 0x20]
call fcn.004372b0
mov eax, dword [ebp - 0x20]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4368f1
push 0x80004005
call fcn.004020e0
mov ecx, dword [ebp - 0x18]
push eax
push ecx
call fcn.0055de44
mov ecx, dword [ebp + 8]
add esp, 8
test eax, eax
setne al
test al, al
je 0x436d93
lea edx, [ebp - 0x18]
push edx
call fcn.00402070
lea esi, [ebp - 0x24]
call fcn.00456d60
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 0x43695c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4369a3
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 0x436a23
test edi, edi
js 0x436d88
cmp edi, eax
jge 0x436d88
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
mov eax, dword [ebx + 4]
mov esi, edi
xor edx, edx
imul esi, esi, 0x1fc
test ecx, ecx
setne dl
test edx, edx
jne 0x4369e4
push 0x80004005
call fcn.004020e0
mov eax, dword [eax + esi + 0x94]
push ecx
push eax
call fcn.0055de44
add esp, 8
test eax, eax
sete al
test al, al
je 0x436d8d
cmp edi, dword [ebx + 8]
jge 0x436d88
mov eax, dword [ebx + 4]
cmp dword [eax + esi + 0x12c], 0
je 0x436d8d
push 1
call fcn.004374d0
lea eax, [ebp - 0x40]
xor edi, edi
push eax
mov dword [ebp - 0x1c], edi
call fcn.00456cd0
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 0x436afe
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 0x436af4
lea esi, [ebp - 0x34]
mov dword [ebp + 0xc], edi
call fcn.00456d60
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 0x436ace
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x436af4
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 0x436b21
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 0x436b40
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 0x436b5f
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.00456cd0
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 0x436c38
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 0x436c2e
lea esi, [ebp - 0x2c]
mov dword [ebp + 0xc], edi
call fcn.00456d60
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 0x436c08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x436c2e
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 0x436c5b
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 0x436c7a
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 0x436c99
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.00456d60
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 0x436ce2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x436d10
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.00456d60
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 0x436d58
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x436d9f
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 0x436d9f
call fcn.0046c980
inc edi
jmp 0x4369a5
push 0
push 0x5bda14
call fcn.00401f50
mov dword [ebp - 4], 1
push str._______________________________________________________n
push 0x40000
push 0x5f2054
call fcn.00433010
push 0x5bfb88
push 0x40000
push 0x5f2054
call fcn.00433010
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 0x436df4
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 0x436e1a
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