Function at 0x1880198b
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x1882be19
call fcn.1882a764
push ecx
mov eax, 0x1810
call fcn.18827b70
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
mov ebx, edi
call fcn.1880189d
mov byte [ebp - 0x11], 1
xor ebx, ebx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
push 1
push ebx
push str.SoftwareRealtime_SoftUltraMon_Components
push 0x80000001
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call esi
test eax, eax
jne 0x18801a13
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], 4
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push str.DebugOutput
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18801a05
cmp dword [ebp - 0x1c], ebx
setne al
mov byte [edi + 0x58], al
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
jmp 0x18801a16
mov byte [ebp - 0x11], bl
xor eax, eax
mov word [ebp - 0x2a0], ax
push 0x206
push ebx
lea eax, [ebp - 0x29e]
push eax
call fcn.18819090
push str.AppCompat
push str.SoftwareRealtime_SoftUltraMon_Components
push str._s_s
mov eax, 0x208
lea edi, [ebp - 0x2a0]
call fcn.188016e6
add esp, 0x18
lea eax, [ebp - 0x18]
push eax
push 9
push ebx
mov eax, edi
push eax
push 0x80000001
call esi
cmp eax, ebx
jne 0x18801be9
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], 0x104
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2a0]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebx
jne 0x18801bce
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x20]
push eax
push 1
push ebx
lea eax, [ebp - 0x2a0]
push eax
push dword [ebp - 0x18]
call esi
cmp eax, ebx
jne 0x18801bbe
xor eax, eax
mov word [ebp - 0x6b8], ax
push 0x206
push ebx
lea eax, [ebp - 0x6b6]
push eax
call fcn.18819090
push 0x20a
push ebx
lea eax, [ebp - 0x4b0]
push eax
call fcn.18819090
add esp, 0x18
lea eax, [ebp - 0x2a0]
push eax
mov esi, 0x208
mov eax, esi
lea ecx, [ebp - 0x6b8]
call fcn.188014a8
lea eax, [ebp - 0x6b8]
cmp word [ebp - 0x6b8], bx
je 0x18801b23
cmp word [eax], 0x2f
jne 0x18801b1b
push 0x5c
pop ecx
mov word [eax], cx
add eax, 2
cmp word [eax], bx
jne 0x18801b0f
mov dword [ebp - 0x2c], esi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x4b0]
push eax
push ebx
push ebx
push str.Name
push dword [ebp - 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call esi
cmp eax, ebx
je 0x18801b4f
cmp eax, 2
je 0x18801b4f
mov byte [ebp - 0x11], bl
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 4
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
push ebx
push str.MoveMaxWndViaRestore
push dword [ebp - 0x20]
call esi
cmp eax, ebx
je 0x18801b79
cmp eax, 2
je 0x18801b79
mov byte [ebp - 0x11], bl
cmp dword [ebp - 0x28], ebx
setne al
mov byte [ebp - 0x2a8], al
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
add ebx, 4
lea ecx, [ebp - 0x6b8]
call fcn.1880256c
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
jmp 0x18801bc6
cmp eax, 2
je 0x18801bc6
mov byte [ebp - 0x11], bl
inc dword [ebp - 0x1c]
jmp 0x18801a6f
cmp eax, 0x103
je 0x18801bd8
mov byte [ebp - 0x11], bl
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
jmp 0x18801cf1
cmp eax, 2
jne 0x18801cee
mov dword [ebp - 0x5c], str.firefox.exe
mov dword [ebp - 0x58], str.Firefox
mov dword [ebp - 0x54], str.msnmsgr.exe
mov dword [ebp - 0x50], str.MSN_Windows_Live_Messenger
mov dword [ebp - 0x4c], str.msvsmon.exe
mov dword [ebp - 0x48], str.Visual_Studio_Remote_Debugging_Monitor
mov dword [ebp - 0x44], str.netscape.exe
mov dword [ebp - 0x40], str.Netscape_Browser
mov dword [ebp - 0x3c], str.WinSCP.exe
mov dword [ebp - 0x38], str.WinSCP
mov dword [ebp - 0x34], str.Xmanager.exe
mov dword [ebp - 0x30], str.Xmanager
mov dword [ebp - 0x2c], ebx
cmp dword [ebp - 0x2c], 6
jae 0x18801cf1
xor eax, eax
mov word [ebp - 0x6b8], ax
push 0x206
push ebx
lea eax, [ebp - 0x6b6]
push eax
call fcn.18819090
push 0x20a
push ebx
lea eax, [ebp - 0x4b0]
push eax
call fcn.18819090
add esp, 0x18
mov edi, dword [ebp - 0x2c]
push dword [ebp + edi*8 - 0x5c]
mov esi, 0x208
mov eax, esi
lea ecx, [ebp - 0x6b8]
call fcn.188014a8
push dword [ebp + edi*8 - 0x58]
mov eax, esi
lea ecx, [ebp - 0x4b0]
call fcn.188014a8
mov byte [ebp - 0x2a8], 1
mov dword [ebp - 4], 2
mov ebx, dword [ebp + 8]
add ebx, 4
lea ecx, [ebp - 0x6b8]
call fcn.1880256c
or dword [ebp - 4], 0xffffffff
inc dword [ebp - 0x2c]
xor ebx, ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
jmp 0x18801c49
mov byte [ebp - 0x11], bl
mov dword [ebp - 0x7b0], ebx
push 0xf0
push ebx
lea eax, [ebp - 0x7ac]
push eax
call fcn.18819090
add esp, 0xc
push str.Default
push 0x4e
pop eax
lea ecx, [ebp - 0x7ac]
call fcn.188014a8
lea eax, [ebp - 0x7b0]
push eax
call dword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileW]
lea eax, [ebp - 0x7ac]
push eax
push str.IgnoredMonitors
push str.SoftwareRealtime_SoftUltraMon_Components
push str._s_s_s
mov eax, 0x208
lea edi, [ebp - 0x2a0]
call fcn.188016e6
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
push 1
push ebx
mov eax, edi
push eax
push 0x80000001
call esi
cmp eax, 2
jne 0x18801d7e
lea eax, [ebp - 0x18]
push eax
push 1
push ebx
push str.SoftwareRealtime_SoftUltraMon
push 0x80000005
call esi
cmp eax, ebx
jne 0x18801dbe
mov dword [ebp - 0x24], 4
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp + 8]
add eax, 0x14
push eax
push ebx
push ebx
push str.Ignored_Monitors
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x18801db0
cmp eax, 2
je 0x18801db0
mov byte [ebp - 0x11], bl
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
jmp 0x18801dc6
cmp eax, 2
je 0x18801dc6
mov byte [ebp - 0x11], bl
push str.MonitorIds
push str.SoftwareRealtime_SoftUltraMon_Components
push str._s_s
mov eax, 0x208
lea edi, [ebp - 0x2a0]
call fcn.188016e6
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 1
push ebx
mov eax, edi
push eax
push 0x80000001
call esi
cmp eax, ebx
jne 0x18801f77
mov dword [ebp - 0x1c], ebx
xor eax, eax
mov word [ebp - 0x690], ax
push 0x3e6
push ebx
lea eax, [ebp - 0x68e]
push eax
call fcn.18819090
add esp, 0xc
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x20], 0x1f4
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x690]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebx
jne 0x18801f5f
mov dword [ebp - 4], 4
lea eax, [ebp - 0x690]
push eax
lea esi, [ebp - 0x78]
call fcn.1880251a
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], ebx
xor ecx, ecx
mov word [ebp - 0x4c], cx
lea ecx, [ebp - 0x4c]
cmp ecx, eax
je 0x18801eeb
push 1
xor edi, edi
mov esi, ecx
call fcn.18802717
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x14], 8
jae 0x18801ebc
mov esi, eax
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
push esi
lea eax, [ebp - 0x4c]
push eax
call fcn.18818d20
add esp, 0xc
jmp 0x18801ec8
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov dword [ebp - 0x4c], ecx
mov dword [eax], ebx
mov esi, eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x38], eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
cmp dword [esi + 0x14], 8
jb 0x18801ee6
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 7
mov byte [ebp - 4], 8
mov esi, dword [ebp + 8]
add esi, 0x48
lea eax, [ebp - 0x4c]
push eax
mov ecx, esi
call fcn.1880351f
push eax
push esi
lea esi, [ebp - 0x94]
call fcn.188032b8
mov byte [ebp - 4], 9
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 5
push 1
xor edi, edi
lea esi, [ebp - 0x4c]
call fcn.18802717
mov byte [ebp - 4], 4
push 1
lea esi, [ebp - 0x78]
call fcn.18802717
or dword [ebp - 4], 0xffffffff
jmp 0x18801f57
inc dword [ebp - 0x1c]
jmp 0x18801e25
cmp eax, 0x103
je 0x18801f69
mov byte [ebp - 0x11], bl
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
jmp 0x18801f7f
cmp eax, 2
je 0x18801f7f
mov byte [ebp - 0x11], bl
push str.Active_Desktop_Items
mov esi, str.Saved_Positions
push esi
push str.SoftwareRealtime_SoftUltraMon_Components
push str._s_s_s
mov eax, 0x208
lea edi, [ebp - 0x2a0]
call fcn.188016e6
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
push 1
push ebx
mov eax, edi
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
jne 0x18801ff3
push str.Active_Desktop_Items
push esi
push str.SoftwareRealtime_SoftUltraMon
push str._s_s_s
mov eax, 0x208
call fcn.188016e6
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
push 1
push ebx
mov eax, edi
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x18802133
xor eax, eax
mov word [ebp - 0x1820], ax
push 0x1046
push ebx
lea eax, [ebp - 0x181e]
push eax
call fcn.18819090
add esp, 0xc
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x7d8]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], 0x24
mov dword [ebp - 0x24], 0x824
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x7d8]
push eax
push ebx
push ebx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1820]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebx
jne 0x1880211b
mov dword [ebp - 4], 0xc
mov esi, dword [ebp + 8]
add esi, 0x18
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x1820]
cmp eax, ecx
jae 0x18802086
cmp dword [esi], eax
ja 0x18802086
xor eax, eax
inc eax
jmp 0x18802088
xor eax, eax
cmp al, bl
je 0x188020c3
lea eax, [ebp - 0x1820]
sub eax, dword [esi]
cdq
mov edi, 0x106c
idiv edi
mov edi, eax
cmp ecx, dword [esi + 8]
jne 0x188020a8
call fcn.188027b2
imul edi, edi, 0x106c
add edi, dword [esi]
mov eax, dword [esi + 4]
mov byte [ebp - 4], 0xd
cmp eax, ebx
je 0x188020ed
push 0x106c
push edi
jmp 0x188020e4
cmp ecx, dword [esi + 8]
jne 0x188020cd
call fcn.188027b2
mov eax, dword [esi + 4]
mov byte [ebp - 4], 0xe
cmp eax, ebx
je 0x188020ed
push 0x106c
lea ecx, [ebp - 0x1820]
push ecx
push eax
call fcn.18819480
add esp, 0xc
mov byte [ebp - 4], 0xc
add dword [esi + 4], 0x106c
or dword [ebp - 4], 0xffffffff
jmp 0x1880210e
inc dword [ebp - 0x1c]
mov esi, str.Saved_Positions
jmp 0x18802029
cmp eax, 0x103
je 0x18802125
mov byte [ebp - 0x11], bl
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
jmp 0x1880213b
cmp eax, 2
je 0x1880213b
mov byte [ebp - 0x11], bl
push str.Icons
push esi
push str.SoftwareRealtime_SoftUltraMon_Components
push str._s_s_s
mov eax, 0x208
lea edi, [ebp - 0x2a0]
call fcn.188016e6
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
push 1
push ebx
mov eax, edi
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
jne 0x188021aa
push str.Icons
push esi
push str.SoftwareRealtime_SoftUltraMon
push str._s_s_s
mov eax, 0x208
call fcn.188016e6
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
push 1
push ebx
mov eax, edi
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x188022ed
xor eax, eax
mov word [ebp - 0x4b8], ax
push 0x206
push ebx
lea eax, [ebp - 0x4b6]
push eax
call fcn.18819090
add esp, 0xc
xor eax, eax
lea edi, [ebp - 0x2b0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], 8
mov dword [ebp - 0x24], 0x104
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2b0]
push eax
push ebx
push ebx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x4b8]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebx
jne 0x188022d5
mov dword [ebp - 4], 0x10
mov ecx, dword [ebp + 8]
add ecx, 0x28
mov dword [ebp - 0x20], ecx
mov esi, dword [ecx + 4]
lea eax, [ebp - 0x4b8]
cmp eax, esi
jae 0x1880223d
cmp dword [ecx], eax
ja 0x1880223d
xor eax, eax
inc eax
jmp 0x1880223f
xor eax, eax
cmp al, bl
je 0x1880227d
lea eax, [ebp - 0x4b8]
sub eax, dword [ecx]
cdq
mov edi, 0x210
idiv edi
mov edi, eax
cmp esi, dword [ecx + 8]
jne 0x18802264
mov esi, dword [ebp - 0x20]
call fcn.1880280d
mov ecx, esi
imul edi, edi, 0x210
add edi, dword [ecx]
mov esi, edi
mov eax, dword [ecx + 4]
mov byte [ebp - 4], 0x11
cmp eax, ebx
je 0x188022a4
mov edi, eax
jmp 0x1880229d
cmp esi, dword [ecx + 8]
jne 0x1880228c
mov esi, dword [ebp - 0x20]
call fcn.1880280d
mov ecx, esi
mov edi, dword [ecx + 4]
mov byte [ebp - 4], 0x12
cmp edi, ebx
je 0x188022a4
lea esi, [ebp - 0x4b8]
mov ecx, 0x84
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x20]
add dword [eax + 4], 0x210
or dword [ebp - 4], 0xffffffff
jmp 0x188022c8
inc dword [ebp - 0x1c]
mov esi, str.Saved_Positions
jmp 0x188021dd
cmp eax, 0x103
je 0x188022df
mov byte [ebp - 0x11], bl
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
jmp 0x188022f5
cmp eax, 2
je 0x188022f5
mov byte [ebp - 0x11], bl
push str.Windows
push esi
push str.SoftwareRealtime_SoftUltraMon_Components
push str._s_s_s
mov eax, 0x208
lea edi, [ebp - 0x2a0]
call fcn.188016e6
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
push 1
push ebx
mov eax, edi
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
jne 0x18802364
push str.Windows
push esi
push str.SoftwareRealtime_SoftUltraMon
push str._s_s_s
mov eax, 0x208
call fcn.188016e6
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
push 1
push ebx
mov eax, edi
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x188024aa
mov dword [ebp - 0x8c], ebx
push 0x2c
pop esi
push esi
push ebx
lea eax, [ebp - 0x88]
push eax
call fcn.18819090
add esp, 0xc
mov dword [ebp - 0x1c], ebx
xor eax, eax
mov word [ebp - 0x50], ax
push 8
pop ecx
lea edi, [ebp - 0x4e]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 0x11
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x88]
push eax
push ebx
push ebx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebx
jne 0x18802495
push 0x10
push ebx
lea eax, [ebp - 0x50]
push eax
call fcn.1881943c
add esp, 0xc
mov dword [ebp - 0x8c], eax
mov dword [ebp - 4], 0x14
mov ecx, dword [ebp + 8]
add ecx, 0x38
mov dword [ebp - 0x20], ecx
mov esi, dword [ecx + 4]
lea eax, [ebp - 0x8c]
cmp eax, esi
jae 0x18802405
cmp dword [ecx], eax
ja 0x18802405
xor eax, eax
inc eax
jmp 0x18802407
xor eax, eax
cmp al, bl
je 0x18802440
lea eax, [ebp - 0x8c]
sub eax, dword [ecx]
cdq
push 0x30
pop edi
idiv edi
mov edi, eax
cmp esi, dword [ecx + 8]
jne 0x1880242a
mov esi, dword [ebp - 0x20]
call fcn.18802868
mov ecx, esi
imul edi, edi, 0x30
add edi, dword [ecx]
mov esi, edi
mov eax, dword [ecx + 4]
mov byte [ebp - 4], 0x15
cmp eax, ebx
je 0x18802465
mov edi, eax
jmp 0x18802460
cmp esi, dword [ecx + 8]
jne 0x1880244f
mov esi, dword [ebp - 0x20]
call fcn.18802868
mov ecx, esi
mov edi, dword [ecx + 4]
mov byte [ebp - 4], 0x16
cmp edi, ebx
je 0x18802465
lea esi, [ebp - 0x8c]
push 0xc
pop ecx
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x20]
add dword [eax + 4], 0x30
or dword [ebp - 4], 0xffffffff
jmp 0x18802486
mov dword [ebp - 0x28], 0x2c
inc dword [ebp - 0x1c]
jmp 0x1880239a
cmp eax, 0x103
je 0x1880249f
mov byte [ebp - 0x11], bl
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x188024b2
cmp eax, 2
je 0x188024b2
mov byte [ebp - 0x11], bl
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4