Function at 0x4ef6f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x18
lea eax, [esp + 4]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x20]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4ef71f
xor eax, eax
pop esi
add esp, 0x18
ret 4
push ebx
mov ecx, dword [esp + 0xc]
push ebp
lea edx, [esp + 0xc]
push edi
lea eax, [esi + 0x128]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edx
push eax
lea eax, [esp + 0x20]
push eax
push 0
mov ebx, 4
push str.Source
push ecx
mov dword [esp + 0x28], ebx
call edi
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
lea eax, [esi + 0x124]
push edx
push eax
lea eax, [esp + 0x20]
push eax
push 0
push str.Destination
push ecx
mov dword [esp + 0x28], ebx
call edi
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
lea eax, [esi + 0x12c]
push edx
push eax
lea eax, [esp + 0x20]
push eax
push 0
push str.InitCapture
push ecx
mov dword [esp + 0x28], ebx
call edi
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
lea eax, [esi + 0x11c]
push edx
push eax
lea eax, [esp + 0x20]
push eax
push 0
push str.IncMouseCursor
push ecx
mov dword [esp + 0x28], ebx
call edi
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
lea eax, [esi + 0x120]
push edx
push eax
lea eax, [esp + 0x20]
push eax
push 0
push str.TimerDelay
push ecx
mov dword [esp + 0x28], ebx
call edi
lea edx, [esp + 0x10]
lea eax, [esi + 0x160]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0
push str.FixedCaptureWidth
push edx
mov dword [esp + 0x28], ebx
call edi
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebx
push eax
lea ecx, [esi + 0x15c]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push str.FixedCaptureHeight
push eax
call edi
lea ecx, [esp + 0x10]
lea eax, [esi + 0x150]
push ecx
lea edx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push edx
push 0
mov ebp, 2
push str.HotkeyModifiers
push eax
mov dword [esp + 0x28], ebp
call edi
lea ecx, [esp + 0x10]
lea eax, [esi + 0x152]
push ecx
lea edx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push edx
push 0
push str.VirtualKeyCode
push eax
mov dword [esp + 0x28], ebp
call edi
lea ecx, [esp + 0x10]
lea eax, [esi + 0x148]
push ecx
lea edx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push edx
push 0
push str.HotkeyEnWin
push eax
mov dword [esp + 0x28], ebx
call edi
lea ecx, [esp + 0x10]
lea eax, [esi + 0x14c]
push ecx
lea edx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push edx
push 0
push str.IncMouseCursorEnWin
push eax
mov dword [esp + 0x28], ebx
call edi
lea ecx, [esp + 0x10]
lea eax, [esi + 0x138]
push ecx
lea edx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push edx
push 0
push str.BTNDelEnWin
push eax
mov dword [esp + 0x28], ebx
call edi
lea ecx, [esp + 0x10]
lea eax, [esi + 0x13c]
push ecx
lea edx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push edx
push 0
push str.CBRegionSizeEnWin
push eax
mov dword [esp + 0x28], ebx
call edi
lea ecx, [esp + 0x10]
lea eax, [esi + 0x140]
push ecx
lea edx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push edx
push 0
push str.EDITTimerEnWin
push eax
mov dword [esp + 0x28], ebx
call edi
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
lea ebp, [esi + 0x144]
push ecx
lea edx, [esp + 0x1c]
push ebp
push edx
push 0
push str.UDEnWin
push eax
mov dword [esp + 0x28], ebx
call edi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
lea ebx, [esi + 0x130]
push ecx
lea edx, [esp + 0x1c]
push ebx
push edx
push 0
push str.OpenInEditor
push eax
call edi
mov ecx, dword [esi + 0x128]
push 0
push 0
push 0xf5
push ecx
mov ecx, esi
call fcn.004f0010
push eax
mov ecx, esi
call sub.MFC42.DLL_CWnd::SendDlgItemMessageA
mov edx, dword [esi + 0x124]
push 0
push 0
push 0xf5
push edx
mov ecx, esi
call fcn.004f0090
push eax
mov ecx, esi
call sub.MFC42.DLL_CWnd::SendDlgItemMessageA
mov eax, dword [esi + 0x12c]
push 0
push 0
push 0xf5
push eax
mov ecx, esi
call fcn.004f00c0
push eax
mov ecx, esi
call sub.MFC42.DLL_CWnd::SendDlgItemMessageA
mov ecx, dword [esi + 0x11c]
push ecx
push 0xfa2
mov ecx, esi
call sub.MFC42.DLL_CWnd::CheckDlgButton
mov edx, dword [ebx]
mov ecx, esi
push edx
push 0xfb9
call sub.MFC42.DLL_CWnd::CheckDlgButton
push 0xfa2
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edi, eax
push 0xfb1
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
push 0xfbd
mov ecx, esi
mov ebx, eax
call sub.MFC42.DLL_CWnd::GetDlgItem
push 0xfb5
mov ecx, esi
mov dword [esp + 0x20], eax
call sub.MFC42.DLL_CWnd::GetDlgItem
push 0xfb4
mov ecx, esi
mov dword [esp + 0x24], eax
call sub.MFC42.DLL_CWnd::GetDlgItem
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x14c]
push eax
mov ecx, edi
call sub.MFC42.DLL_CWnd::EnableWindow
mov ecx, dword [esi + 0x148]
push ecx
mov ecx, ebx
call sub.MFC42.DLL_CWnd::EnableWindow
mov edx, dword [esi + 0x138]
mov ecx, dword [esp + 0x1c]
push edx
call sub.MFC42.DLL_CWnd::EnableWindow
mov eax, dword [esi + 0x13c]
mov ecx, dword [esp + 0x20]
push eax
call sub.MFC42.DLL_CWnd::EnableWindow
mov ecx, dword [ebp]
push ecx
mov ecx, dword [esp + 0x28]
call sub.MFC42.DLL_CWnd::EnableWindow
mov eax, dword [esi + 0xbc]
xor edx, edx
mov dh, byte [esi + 0x150]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dl, byte [esi + 0x152]
push 0
push edx
push 0x401
push eax
call edi
push 0xfb3
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [esi + 0x140]
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
mov edx, dword [esi + 0x120]
push 0
push edx
push 0xfb3
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetDlgItemInt
cmp dword [ebp], 0
je 0x4efae5
push 0x3c
push 0
push 0x46f
push 0xfb4
mov ecx, esi
call sub.MFC42.DLL_CWnd::SendDlgItemMessageA
push 0xfb5
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [esp + 0x2c]
mov edx, dword [eax + 0x20]
push str.CBRegionSize
push ecx
push edx
call fcn.00476360
mov eax, dword [esi + 0xfc]
add esp, 0xc
push 0
push 0
push 0x14e
push eax
call edi
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 0x18
ret 4