Function at 0x10004680
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10043a0b
mov eax, dword fs:[0]
push eax
sub esp, 0x160
push ebx
push esi
push edi
mov eax, dword [0x100591e0]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
mov edi, dword [ebp + 8]
cmp dword [edi + 4], 0x100
jne 0x100047d9
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movzx esi, ax
mov eax, dword [edi + 8]
and esi, 0x8000
cmp eax, 0x1b
je 0x100048eb
cmp eax, 0xd
je 0x100047bf
cmp eax, 0x74
jne 0x100046ff
mov ecx, ebx
call sym.ocsChrome.dll_public:_void___thiscall_CBlinkView::Fresh_void_
jmp 0x100047bf
cmp eax, 0x7b
jne 0x100047bf
call fcn.10004640
test al, al
je 0x100047bf
lea eax, [esp + 0x20]
push eax
call fcn.10023df0
add esp, 4
push eax
lea ecx, [esp + 0x1c]
push ecx
mov edi, str.front_endinspector.html
mov dword [esp + 0x180], 0
call fcn.10005900
add esp, 8
lea ecx, [esp + 0x20]
mov byte [esp + 0x178], 2
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
call fcn.10023ec0
add esp, 4
test eax, eax
je 0x100047a7
mov ebx, dword [esp + 0x18]
call fcn.10025160
mov edi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc4]
push edi
push str.showDevTools
push ecx
call dword [0x1005a42c]
add esp, 0xc
test edi, edi
je 0x100047a3
push edi
call dword [sym.imp.mfc100u.dll_delete__]
add esp, 4
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
mov dword [esp + 0x178], 0xffffffff
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov edi, dword [ebp + 8]
test esi, esi
je 0x100047d9
mov eax, dword [edi + 8]
cmp eax, 0x6b
je 0x100047d2
cmp eax, 0xbb
jne 0x100047fa
mov ecx, ebx
call sym.ocsChrome.dll_public:_void___thiscall_CBlinkView::ZoomIn_void_
push edi
mov ecx, ebx
call dword [sym.imp.mfc100u.dll_CDialogEx::PreTranslateMessage]
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x6d
je 0x10004806
cmp eax, 0xbd
jne 0x1000480f
mov ecx, ebx
call sym.ocsChrome.dll_public:_void___thiscall_CBlinkView::ZoomOut_void_
jmp 0x100047d9
cmp eax, 0x60
je 0x10004819
cmp eax, 0x30
jne 0x10004822
mov ecx, ebx
call sym.ocsChrome.dll_public:_void___thiscall_CBlinkView::ZoomReset_void_
jmp 0x100047d9
cmp eax, 0x6f
je 0x1000482c
cmp eax, 0x4f
jne 0x100047d9
call fcn.10004640
test al, al
je 0x100047d9
call fcn.10040873
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc100u.dll_AFX_MAINTAIN_STATE2::AFX_MAINTAIN_STATE2]
sub esp, 0x1c
mov ebx, 3
mov eax, 0x10059e70
mov esi, esp
mov dword [esp + 0x194], ebx
mov dword [esp + 0x38], esp
call fcn.100054b0
mov edi, dword [esp + 0x30]
lea esi, [esp + 0x50]
call fcn.10018380
mov ecx, esi
mov byte [esp + 0x178], 4
call dword [sym.imp.mfc100u.dll_CDialog::DoModal]
cmp eax, 1
jne 0x100048c6
lea esi, [esp + 0x14]
lea eax, [esp + 0x34]
call fcn.100189f0
mov byte [esp + 0x178], 5
mov edx, dword [esp + 0x14]
cmp dword [edx - 0xc], 0
je 0x100048bc
push ecx
mov eax, esi
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, edi
call sym.ocsChrome.dll_public:_bool___thiscall_CBlinkView::OpenWebpage_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [esp + 0x34]
mov byte [esp + 0x178], bl
call fcn.10018480
lea ecx, [esp + 0x24]
mov dword [esp + 0x178], 0xffffffff
call dword [0x10047570]
mov eax, 1
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4