Function at 0x18003d580
Capabilities:
Check for unmoving mouse cursor
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
sub rsp, 0x990
mov qword [rsp + 0x158], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x1800a7b78]
xor rax, rsp
mov qword [rsp + 0x980], rax
mov r12, rcx
mov qword [r11 - 0x860], rdx
lea rax, [rsp + 0x40]
mov qword [r11 - 0x858], rax
xor ebx, ebx
mov qword [rsp + 0x60], rbx
lea r8, [0x180087080]
lea rdx, [r11 - 0x860]
lea rcx, [rsp + 0x60]
call fcn.1800535c0
nop
cmp qword [rsp + 0x60], rbx
je 0x18003e329
bt dword [rsp + 0x40], 0x1f
jb 0x18003e329
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x68], rbx
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x68], rbx
test rcx, rcx
je 0x18003d61c
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
lea rcx, [rsp + 0x68]
call qword [0x1800a9408]
mov dword [rsp + 0x40], eax
bt eax, 0x1f
jb 0x18003d6db
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x18003d6db
mov qword [rsp + 0x100], rcx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x108], rax
mov qword [rsp + 0xc8], rbx
lea r8, [0x1800870c0]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0xc8]
call fcn.1800535c0
nop
bt dword [rsp + 0x40], 0x1f
jb 0x18003d6ca
cmp qword [rsp + 0xc8], 0
je 0x18003d6ca
mov rdi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x48], rbx
test rcx, rcx
je 0x18003d6aa
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [rdi]
lea r9, [rsp + 0x48]
lea r8, [0x1800870a0]
lea rdx, str._idm_mozilla_cc_helper5_1
mov rcx, rdi
call qword [rax + 0x20]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0xc8]
call fcn.180053510
mov eax, dword [rsp + 0x40]
bt eax, 0x1f
jb 0x18003e305
cmp qword [rsp + 0x48], 0
je 0x18003e305
lea rcx, [rsp + 0x120]
call qword [0x1800a9420]
nop
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0x120]
mov rdx, qword [rsp + 0x60]
call qword [rax + 0x88]
mov dword [rsp + 0x40], eax
bt eax, 0x1f
jb 0x18003e2d3
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x120]
call qword [0x1800a9438]
cmp qword [rsp + 0x50], 0
je 0x18003e2d3
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x120]
call qword [0x1800a9438]
lea rdx, str.mousedown
mov rcx, qword [rsp + 0x50]
call fcn.18005ab74
test eax, eax
jne 0x18003d834
lea rcx, [r12 + 0x18]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
mov r11w, ax
and r11d, 0x8000
mov dword [0x1800a9534], r11d
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
mov r11w, ax
and r11d, 0x8000
mov dword [0x1800a9530], r11d
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.USER32.dll_GetKeyState]
mov r11w, ax
and r11d, 0x8000
mov dword [0x1800a9538], r11d
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetKeyState]
mov r11w, ax
and r11d, 0x8000
mov dword [0x1800a953c], r11d
mov rcx, qword [r12 + 0x10]
test rcx, rcx
je 0x18003e2d3
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x18003e2d3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, qword [r12 + 0x10]
call qword [sym.imp.USER32.dll_SendMessageA]
mov qword [r12 + 0x10], rbx
jmp 0x18003e2d3
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x120]
call qword [0x1800a9438]
lea rdx, str.mouseup
mov rcx, qword [rsp + 0x50]
call fcn.18005ab74
test eax, eax
jne 0x18003def2
mov rcx, qword [r12 + 0x10]
test rcx, rcx
je 0x18003d891
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x18003d891
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, qword [r12 + 0x10]
call qword [sym.imp.USER32.dll_SendMessageA]
mov qword [r12 + 0x10], rbx
lea rcx, [rsp + 0x78]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov r11d, dword [r12 + 0x18]
cmp dword [rsp + 0x78], r11d
jne 0x18003d8e9
mov eax, dword [r12 + 0x1c]
cmp dword [rsp + 0x7c], eax
jne 0x18003d8e9
lea rcx, [rsp + 0x120]
call qword [0x1800a9430]
nop
lea rcx, [rsp + 0x68]
call fcn.180053510
nop
lea rcx, [rsp + 0x48]
call fcn.180053510
nop
lea rcx, [rsp + 0x60]
call fcn.180053510
xor eax, eax
jmp 0x18003e339
mov qword [rsp + 0x80], rbx
mov rdi, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x80], rbx
test rcx, rcx
je 0x18003d911
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [rdi]
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0x60]
mov rcx, rdi
call qword [rax + 0x90]
mov dword [rsp + 0x40], eax
bt eax, 0x1f
jb 0x18003dee0
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x18003dee0
mov dword [rsp + 0x8c], ebx
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0x8c]
call qword [rax + 0xa0]
mov dword [rsp + 0x40], eax
mov ecx, dword [rsp + 0x8c]
bt eax, 0x1f
cmovb ecx, ebx
mov dword [rsp + 0x8c], ecx
mov qword [rsp + 0x58], rbx
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x18003d995
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdi, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x58], rbx
test rcx, rcx
je 0x18003d9af
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [rdi]
lea r8, [rsp + 0x58]
mov rdx, qword [rsp + 0x80]
mov rcx, rdi
call qword [rax + 0x78]
mov dword [rsp + 0x40], eax
bt eax, 0x1f
jb 0x18003ded5
cmp qword [rsp + 0x58], 0
je 0x18003ded5
lea rcx, [rsp + 0x160]
call fcn.18001bbe0
nop
mov byte [rsp + 0x180], 1
lea rcx, [rsp + 0xe0]
call qword [0x1800a9468]
nop
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0xc0], ebx
mov qword [rsp + 0x98], rbx
mov rdi, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x98]
mov qword [rsp + 0x98], rbx
test rcx, rcx
je 0x18003da38
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [rdi]
lea r8, [rsp + 0x98]
mov rdx, qword [rsp + 0x58]
mov rcx, rdi
call qword [rax + 0xb0]
mov dword [rsp + 0x40], eax
bt eax, 0x1f
jb 0x18003db5d
mov rdx, qword [rsp + 0x98]
test rdx, rdx
je 0x18003db5d
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0xc0]
call qword [rax + 0xa8]
mov dword [rsp + 0x40], eax
bt eax, 0x1f
jb 0x18003db5d
mov edi, ebx
mov dword [rsp + 0xd0], ebx
nop dword [rax]
cmp edi, dword [rsp + 0xc0]
jae 0x18003db5d
mov qword [rsp + 0xa8], rbx
mov rsi, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0xa8], rbx
test rcx, rcx
je 0x18003dad5
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [rsi]
lea r9, [rsp + 0xa8]
mov r8d, edi
mov rdx, qword [rsp + 0x98]
mov rcx, rsi
call qword [rax + 0xb8]
mov dword [rsp + 0x40], eax
bt eax, 0x1f
jb 0x18003db42
mov rdx, qword [rsp + 0xa8]
test rdx, rdx
je 0x18003db42
mov byte [rsp + 0x38], 1
mov byte [rsp + 0x30], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x160]
xor r8d, r8d
mov rcx, qword [rsp + 0x48]
call fcn.1800227d0
nop
lea rcx, [rsp + 0xa8]
call fcn.180053510
inc edi
mov dword [rsp + 0xd0], edi
jmp 0x18003daa0
mov byte [rsp + 0x38], 1
mov byte [rsp + 0x30], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x160]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
call fcn.1800227d0
cmp dword [rsp + 0x8c], 0
jne 0x18003dbc0
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xe0]
call qword [0x1800a9480]
test eax, eax
je 0x18003deaa
cmp dword [rsp + 0x178], 0
je 0x18003deaa
lea rcx, [rsp + 0x100]
call qword [0x1800a9468]
nop
mov dword [rsp + 0x88], ebx
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x100]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x80]
call fcn.18002df10
mov rdi, rax
test rax, rax
jne 0x18003dc3c
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x100]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x80]
call fcn.180038d40
mov rdi, rax
test rax, rax
je 0x18003de9b
cmp dword [rsp + 0x88], 0
jne 0x18003de29
cmp dword [0x1800aa808], 4
jbe 0x18003de29
mov qword [rsp + 0x90], rbx
mov rsi, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x90], rbx
test rcx, rcx
je 0x18003dc7f
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [rsi]
lea r8, [rsp + 0x90]
mov rdx, qword [rsp + 0x58]
mov rcx, rsi
call qword [rax + 0x70]
mov dword [rsp + 0x40], eax
bt eax, 0x1f
jb 0x18003de1c
cmp qword [rsp + 0x90], 0
je 0x18003de1c
mov qword [rsp + 0xb8], rbx
mov rdx, qword [rsp + 0x90]
test rdx, rdx
je 0x18003dd03
mov rsi, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xb8]
mov qword [rsp + 0xb8], rbx
test rcx, rcx
je 0x18003dcef
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rdx, qword [rsp + 0x90]
mov rax, qword [rsi]
lea r8, [rsp + 0xb8]
mov rcx, rsi
call qword [rax + 0xd8]
mov rdx, qword [rsp + 0xb8]
test rdx, rdx
je 0x18003de0e
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xa8]
lea r8, [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
call fcn.1800285e0
test eax, eax
je 0x18003de0e
mov eax, dword [rsp + 0xa8]
cmp dword [rsp + 0x7c], eax
jge 0x18003de0e
cmp dword [r12 + 0x1c], eax
jge 0x18003de0e
lea rcx, [rsp + 0xb8]
call fcn.180053510
nop
lea rcx, [rsp + 0x90]
call fcn.180053510
nop
lea rcx, [rsp + 0x100]
call qword [0x1800a9478]
nop
lea rcx, [rsp + 0x98]
call fcn.180053510
nop
lea rcx, [rsp + 0xe0]
call qword [0x1800a9478]
nop
lea rcx, [rsp + 0x160]
call fcn.18001bc50
nop
lea rcx, [rsp + 0x58]
call fcn.180053510
nop
lea rcx, [rsp + 0x80]
call fcn.180053510
nop
lea rcx, [rsp + 0x120]
call qword [0x1800a9430]
nop
lea rcx, [rsp + 0x68]
call fcn.180053510
nop
lea rcx, [rsp + 0x48]
call fcn.180053510
nop
lea rcx, [rsp + 0x60]
call fcn.180053510
xor eax, eax
jmp 0x18003e339
lea rcx, [rsp + 0xb8]
call fcn.180053510
nop
lea rcx, [rsp + 0x90]
call fcn.180053510
mov ecx, 0x4a0
call fcn.180058e74
mov qword [rsp + 0x50], rax
test rax, rax
je 0x18003de6c
mov rcx, qword [r12 + 0x18]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x88]
mov rdx, rdi
mov rcx, rax
call fcn.1800085a0
mov rbx, rax
test rbx, rbx
je 0x18003de9b
cmp qword [rbx + 0x10], 0
jne 0x18003de88
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax + 0x30]
jmp 0x18003de9b
lea rcx, [r12 + 0x10]
mov rax, qword [rbx + 0x10]
mov qword [rcx], rax
mov qword [rbx + 0x460], rcx
lea rcx, [rsp + 0x100]
call qword [0x1800a9478]
nop
lea rcx, [rsp + 0x98]
call fcn.180053510
nop
lea rcx, [rsp + 0xe0]
call qword [0x1800a9478]
nop
lea rcx, [rsp + 0x160]
call fcn.18001bc50
nop
lea rcx, [rsp + 0x58]
call fcn.180053510
nop
lea rcx, [rsp + 0x80]
call fcn.180053510
jmp 0x18003e2d3
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x120]
call qword [0x1800a9438]
lea rdx, str.TabSelect
mov rcx, qword [rsp + 0x50]
call fcn.18005ab74
test eax, eax
jne 0x18003df94
mov rcx, qword [r12 + 0x10]
test rcx, rcx
je 0x18003df4b
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x18003df4b
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, qword [r12 + 0x10]
call qword [sym.imp.USER32.dll_SendMessageA]
mov qword [r12 + 0x10], rbx
cmp dword [0x1800a958c], 0
jne 0x18003df8a
lea rcx, [rsp + 0x120]
call qword [0x1800a9430]
nop
lea rcx, [rsp + 0x68]
call fcn.180053510
nop
lea rcx, [rsp + 0x48]
call fcn.180053510
nop
lea rcx, [rsp + 0x60]
call fcn.180053510
xor eax, eax
jmp 0x18003e339
call fcn.180025c90
jmp 0x18003e2d3
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x120]
call qword [0x1800a9438]
lea rdx, str.unload
mov rcx, qword [rsp + 0x50]
call fcn.18005ab74
test eax, eax
jne 0x18003e2d3
mov qword [rsp + 0x78], rbx
mov rdi, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x78], rbx
test rcx, rcx
je 0x18003dfe2
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [rdi]
lea r8, [rsp + 0x78]
mov rdx, qword [rsp + 0x60]
mov rcx, rdi
call qword [rax + 0x210]
mov dword [rsp + 0x40], eax
bt eax, 0x1f
jb 0x18003e2c8
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x18003e2c8
mov qword [rsp + 0x70], rbx
lea r8, [0x180087080]
lea rcx, [rsp + 0x70]
call fcn.180053570
nop
mov rdi, rbx
mov qword [rsp + 0x140], rbx
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xb0], rbx
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0xb0], rbx
test rcx, rcx
je 0x18003e061
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
lea rcx, [rsp + 0xb0]
call qword [0x1800a9408]
mov dword [rsp + 0x40], eax
bt eax, 0x1f
jb 0x18003e132
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x18003e132
mov qword [rsp + 0xe0], rcx
lea rax, [rsp + 0x40]
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xd8], rbx
lea r8, [0x1800870c0]
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0xd8]
call fcn.1800535c0
nop
bt dword [rsp + 0x40], 0x1f
jb 0x18003e121
cmp qword [rsp + 0xd8], 0
je 0x18003e121
mov rsi, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0xa0], rbx
test rcx, rcx
je 0x18003e0fe
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [rsi]
lea r9, [rsp + 0xa0]
lea r8, [0x180089250]
lea rdx, str._idm_mozilla_cc_helper11_1
mov rcx, rsi
call qword [rax + 0x20]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0xd8]
call fcn.180053510
mov eax, dword [rsp + 0x40]
bt eax, 0x1f
jb 0x18003e2a1
cmp qword [rsp + 0xa0], 0
je 0x18003e2a1
lea rcx, [rsp + 0x100]
call qword [0x1800a9420]
nop
or r8d, 0xffffffff
lea rdx, str.idmmzcc_ext_docid
lea rcx, [rsp + 0x100]
call qword [0x1800a9450]
lea rcx, [rsp + 0xe0]
call qword [0x1800a9420]
nop
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rcx]
lea r9, [rsp + 0xe0]
mov r8, qword [rsp + 0x70]
lea rdx, [rsp + 0x100]
call qword [rax + 0x38]
mov dword [rsp + 0x40], eax
bt eax, 0x1f
jb 0x18003e1da
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xe0]
call qword [0x1800a9438]
mov rcx, qword [rsp + 0x50]
call fcn.18005bfe8
mov rdi, rax
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0xe0]
call qword [0x1800a9430]
nop
lea rcx, [rsp + 0x100]
call qword [0x1800a9430]
test rdi, rdi
je 0x18003e2a1
cmp qword [0x1800a9598], rdi
jne 0x18003e217
mov qword [0x1800a9590], rbx
mov qword [0x1800a9598], rbx
mov rdx, qword [rsp + 0x70]
lea rcx, [0x1800a95e8]
call fcn.18004de70
cmp qword [0x1800a7858], 0
je 0x18003e246
mov r8, rdi
mov rdx, qword [rsp + 0x70]
lea rcx, vtable.CF4MParsersList.0
call fcn.18001baa0
cmp qword [0x1800a7868], 0
je 0x18003e264
mov r8, rdi
mov rdx, qword [rsp + 0x70]
lea rcx, vtable.CVimeoParsersList.0
call fcn.18001b910
mov r8, rdi
mov rdx, qword [rsp + 0x70]
lea rcx, [0x1800a94c8]
call fcn.1800020b0
mov r8, rdi
mov rdx, qword [rsp + 0x70]
lea rcx, [0x1800ab068]
call fcn.18004e8d0
mov r8, rdi
mov rdx, qword [rsp + 0x70]
lea rcx, [0x1800ab050]
call fcn.18004e8d0
nop
lea rcx, [rsp + 0xb0]
call fcn.180053510
nop
lea rcx, [rsp + 0xa0]
call fcn.180053510
nop
lea rcx, [rsp + 0x70]
call fcn.180053510
nop
lea rcx, [rsp + 0x78]
call fcn.180053510
nop
lea rcx, [rsp + 0x120]
call qword [0x1800a9430]
nop
lea rcx, [rsp + 0x68]
call fcn.180053510
nop
lea rcx, [rsp + 0x48]
call fcn.180053510
nop
lea rcx, [rsp + 0x60]
call fcn.180053510
nop
jmp 0x18003e337
lea rcx, [rsp + 0x68]
call fcn.180053510
nop
lea rcx, [rsp + 0x48]
call fcn.180053510
nop
lea rcx, [rsp + 0x60]
call fcn.180053510
xor eax, eax
jmp 0x18003e339
lea rcx, [rsp + 0x60]
call fcn.180053510
xor eax, eax
jmp 0x18003e339
xor eax, eax
mov rcx, qword [rsp + 0x980]
xor rcx, rsp
call fcn.1800590c0
mov rbx, qword [rsp + 0x9c0]
add rsp, 0x990
pop r12
pop rdi
pop rsi
ret