Function at 0x461386
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x74
mov eax, 0x469c72
call fcn.00467fad
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x68], esi
call dword [sym.imp.mfc140u.dll_AfxGetModuleState]
mov ecx, dword [eax + 4]
call dword [sym.imp.mfc140u.dll_CCmdTarget::BeginWaitCursor]
and dword [ebp - 4], 0
cmp dword [0x47f35c], 0
jne 0x461598
push 0x138
call dword [sym.imp.mfc140u.dll_operator]
mov edi, eax
pop ecx
mov dword [ebp - 0x6c], edi
mov byte [ebp - 4], 1
test edi, edi
je 0x4613fe
mov ecx, edi
call dword [0x481894]
mov byte [ebp - 4], 2
xor eax, eax
mov dword [edi], 0x42722c
mov dword [edi + 0x130], ebx
mov dword [edi + 0x134], eax
mov dword [0x47f35c], edi
mov byte [ebp - 4], 1
jmp 0x461402
xor eax, eax
mov edi, eax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 3
mov eax, ebx
sub eax, 0
je 0x461440
sub eax, 1
je 0x46143c
sub eax, 1
je 0x461438
sub eax, 1
jne 0x46144b
push 0x41
jmp 0x461442
push 0x3d
jmp 0x461442
push 0x3c
jmp 0x461442
push 0x3b
lea ecx, [ebp - 0x60]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__12]
mov eax, dword [edi]
lea ecx, [ebp - 0x30]
push 0
push dword [0x47f6a0]
push ecx
push 0x80c80000
push dword [ebp - 0x60]
mov ecx, edi
push 0
call dword [eax + 0x1c8]
test eax, eax
jne 0x46148a
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 4]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x4615a9
push 0x2c
pop eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x64]
push eax
push str.SoftwareMicrosoftSpy11.0
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x64]
mov dword [ebp - 0x64], eax
je 0x461572
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x80]
push ecx
push 0
push str.InspectorPosition
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x461572
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4c
call esi
push 0x4d
mov dword [ebp - 0x74], eax
call esi
push 0x4e
mov dword [ebp - 0x78], eax
call esi
push 0x4f
mov dword [ebp - 0x7c], eax
call esi
mov dword [ebp - 0x6c], eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x40]
mov esi, dword [ebp - 0x14]
sub esi, dword [ebp - 0x1c]
add esi, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x40], eax
jle 0x461563
mov ecx, dword [ebp - 0x78]
cmp dword [ebp - 0x3c], ecx
jle 0x461563
add eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x38], eax
jge 0x461563
mov eax, dword [ebp - 0x6c]
add eax, ecx
cmp esi, eax
jge 0x461563
and dword [ebp - 0x54], 0
lea eax, [ebp - 0x5c]
push eax
mov ecx, edi
call dword [sym.imp.mfc140u.dll_CWnd::SetWindowPlacement]
jmp 0x46156d
push 0
mov ecx, edi
call dword [sym.imp.mfc140u.dll_CWnd::CenterWindow]
mov esi, dword [ebp - 0x68]
jmp 0x46157c
push 0
mov ecx, edi
call dword [sym.imp.mfc140u.dll_CWnd::CenterWindow]
cmp dword [ebp - 0x64], 0
je 0x46158b
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov ecx, dword [0x47f360]
test ecx, ecx
je 0x4615a9
push ebx
push esi
call fcn.0045e719
or dword [ebp - 4], 0xffffffff
call fcn.0045c5c1
call fcn.00467f68
ret