Function at 0x1400415e8
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rbx, rcx
mov ebp, r8d
mov ecx, reloc.COMCTL32.dll_InitCommonControls
mov r15d, edx
call qword [sym.imp.USER32.dll_GetKeyState]
mov esi, 0x8000
mov ecx, InitCommonControls
movzx r12d, ax
and r12d, esi
call qword [sym.imp.USER32.dll_GetKeyState]
movzx r13d, ax
mov ecx, 0x12
and r13d, esi
call qword [sym.imp.USER32.dll_GetKeyState]
xor edx, edx
movzx edi, ax
and edi, esi
mov r14d, edx
mov esi, edx
cmp r15d, 0x24
ja 0x14004184f
je 0x14004183c
mov ecx, r15d
sub ecx, 8
je 0x14004181d
sub ecx, 1
je 0x1400417da
sub ecx, 4
je 0x14004193a
sub ecx, 0xe
je 0x1400416df
sub ecx, 6
je 0x1400416cd
sub ecx, 1
je 0x1400416bb
cmp ecx, 1
jne 0x140041b1b
test r12d, r12d
je 0x140041b1b
lea edx, [rcx + 0xb]
mov edi, 1
mov rax, qword [rbx]
mov r8d, edi
mov rcx, rbx
call qword [rax + CWnd::accDoDefaultAction]
mov esi, edi
jmp 0x140041b08
mov edi, 1
cmp ebp, edi
cmovb ebp, edi
lea edx, [rdi + 4]
jmp 0x140041ae6
mov edi, 1
cmp ebp, edi
cmovb ebp, edi
lea edx, [rdi + 5]
jmp 0x140041ae6
mov rax, qword [rbx + 0x7b8]
xor ebp, ebp
mov edi, 1
cmp dword [rax + 0x344], ebp
je 0x14004170c
mov dword [rax + 0x344], ebp
mov r8d, edi
mov rax, qword [rbx]
mov edx, edi
mov rcx, rbx
call qword [rax + 0x970]
xor r9d, r9d
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140040744
test eax, eax
je 0x1400417a6
mov rax, qword [rbx]
mov rcx, rbx
mov ebp, dword [rsp + 0x80]
mov r8d, ebp
mov r15d, dword [rsp + 0x30]
mov edx, r15d
call qword [rax + 0x778]
mov rcx, rax
mov rsi, rax
mov rdx, qword [rax]
call qword [rdx + 0x78]
mov r9, qword [rsi]
mov rcx, rsi
test eax, eax
je 0x140041780
mov r8d, ebp
mov edx, r15d
call qword [r9 + 0x48]
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x138]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x80]
jmp 0x140041787
call qword [r9 + 0x138]
mov rax, qword [rbx]
mov r9d, 2
and dword [rsp + 0x20], r14d
mov r8d, ebp
mov edx, r15d
mov rcx, rbx
call qword [rax + COleCurrency::operator=]
xor ebp, ebp
mov rax, qword [rbx + 0x7b8]
cmp dword [rax + 0x2dc], ebp
jne 0x1400416b4
mov rax, qword [rbx]
xor r9d, r9d
mov dword [rsp + 0x28], ebp
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], ebp
mov rcx, rbx
call qword [rax + CDockingPanesRow::~CDockingPanesRow]
jmp 0x1400416b4
mov rax, qword [rbx]
mov edi, 1
mov r9d, edi
mov r8d, edi
mov edx, edi
mov rcx, rbx
call qword [rax + 0x670]
test eax, eax
je 0x1400416b4
mov rax, qword [rbx]
neg r13d
mov r9d, edi
mov r8d, edi
sbb edx, edx
mov rcx, rbx
and edx, 0xfffffffe
add edx, 4
call qword [rax + 0x688]
jmp 0x1400416b4
test r12d, r12d
je 0x140041b1b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.mfc140u.dll_CRichEditCtrl::CRichEditCtrl]
mov esi, 1
jmp 0x140041b08
test r12d, r12d
je 0x140041b1b
mov edx, 0xb
jmp 0x1400416a0
mov eax, r15d
sub eax, 0x25
je 0x140041ad1
sub eax, 1
je 0x140041abb
sub eax, 1
je 0x140041aa4
sub eax, 1
je 0x140041a8d
sub eax, 5
je 0x140041a33
sub eax, 1
je 0x140041995
cmp eax, 0x43
jne 0x140041b1b
mov rcx, rbx
call fcn.1400407c4
xor ebp, ebp
mov r15, rax
test rax, rax
je 0x14004193c
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x28]
test eax, eax
jne 0x14004190e
mov r10, qword [rbx]
lea edi, [rbp + 1]
mov r9d, edi
lea r8d, [rbp + 2]
xor edx, edx
mov rcx, rbx
call qword [r10 + 0x670]
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x280]
test eax, eax
jne 0x1400416b4
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x68]
test eax, eax
je 0x1400416b4
mov rax, qword [r15]
mov edx, edi
mov rcx, r15
call qword [rax + 0x20]
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x138]
jmp 0x1400416b4
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x28]
test eax, eax
je 0x14004193c
mov rax, qword [rbx]
mov edi, 1
mov r9d, edi
mov edx, edi
mov rcx, rbx
lea r8d, [rdi + 1]
call qword [rax + 0x670]
jmp 0x1400416b4
xor ebp, ebp
test edi, edi
jne 0x140041b19
test r12d, r12d
jne 0x140041b19
test r13d, r13d
jne 0x140041b19
mov rax, qword [rbx + 0x7b8]
lea edi, [r12 + 1]
mov r9d, edi
mov r8d, edi
mov edx, edi
mov rcx, rbx
movzx esi, word [rax + 0xa0]
mov rax, qword [rbx]
call qword [rax + 0x670]
test eax, eax
je 0x1400416b4
test si, si
je 0x1400416b4
mov edx, esi
jmp 0x1400416a5
xor ebp, ebp
mov rcx, rbx
test r13d, r13d
je 0x1400419c1
mov rax, qword [rbx]
call qword [rax + 0x910]
test eax, eax
je 0x140041832
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x8f8]
jmp 0x140041832
xor r9d, r9d
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x30]
call fcn.140040744
test eax, eax
je 0x140041832
mov rcx, rbx
call fcn.14004086c
test eax, eax
jne 0x140041832
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + AfxPropSheetCallback]
test eax, eax
je 0x140041832
mov rcx, rbx
call fcn.1400407c4
mov rcx, rax
mov r8, qword [rax]
call qword [r8 + 0x98]
test eax, eax
je 0x140041832
mov rax, qword [rbx]
mov edx, r12d
mov rcx, rbx
call qword [rax + AfxOleInprocRegisterHelper]
jmp 0x140041832
xor ebp, ebp
test r12d, r12d
je 0x140041a5f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + AfxOleRegisterPropertyPageClass]
test eax, eax
je 0x140041832
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x8e8]
jmp 0x140041832
test r13d, r13d
je 0x140041b1b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x918]
test eax, eax
je 0x140041832
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x8f0]
jmp 0x140041832
mov edi, 1
cmp ebp, edi
cmovb ebp, edi
neg r12d
sbb edx, edx
and edx, 5
add edx, 3
jmp 0x140041ae6
mov edi, 1
cmp ebp, edi
cmovb ebp, edi
neg r12d
sbb edx, edx
and edx, 6
add edx, 4
jmp 0x140041ae6
mov edi, 1
cmp ebp, edi
cmovb ebp, edi
neg r12d
sbb edx, edx
and edx, 6
add edx, edi
jmp 0x140041ae6
mov edi, 1
cmp ebp, edi
cmovb ebp, edi
neg r12d
sbb edx, edx
and edx, 7
add edx, 2
mov rax, qword [rbx]
mov r8d, ebp
mov rcx, rbx
mov esi, edi
call qword [rax + CWnd::accDoDefaultAction]
xor ebp, ebp
test eax, eax
je 0x140041b08
cmp dword [rbx + 0x36c], ebp
jne 0x140041b08
mov r14d, edi
mov rcx, qword [rbx + 0x168]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_UpdateWindow]
xor edx, edx
cmp dword [rbx + 0x7e8], edx
je 0x140041b61
test r14d, r14d
je 0x140041b61
cmp dword [rbx + 0x7e4], edx
jne 0x140041b61
mov eax, dword [rsp + 0x88]
xor r9d, r9d
mov dword [rbx + 0x800], eax
xor r8d, r8d
mov eax, dword [rsp + 0x98]
xor edx, edx
mov rcx, rbx
mov dword [rbx + 0x804], eax
mov dword [rbx + 0x7e4], r14d
call fcn.140057500
mov rbx, qword [rsp + 0x90]
mov eax, esi
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret