Function at 0x1403a3050
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, reloc.mfc90u.dll_CAsyncSocket::Bind
mov rax, qword [rsp + 0x580]
cmp qword [rax + reloc.mfc90u.dll_CGopherLocator::CGopherLocator], 0
je 0x1403a30bc
mov rax, qword [rsp + 0x580]
mov rax, qword [rax + 0x118]
mov qword [rsp + 0x190], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1f
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
jmp 0x1403a3ad6
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1403a30de
mov dword [rsp + CWnd::AttachControlSite], 1
jmp 0x1403a30e9
mov dword [rsp + CWnd::AttachControlSite], 0
mov eax, dword [rsp + 0x550]
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x20], 0
cmp dword [rsp + 0x588], 0x21
je 0x1403a3114
cmp dword [rsp + 0x588], 0x22
jne 0x1403a319d
cmp dword [rsp + 0x588], 0x21
jne 0x1403a312b
mov dword [rsp + CWnd::AttachControlSite], 2
jmp 0x1403a3136
mov dword [rsp + CWnd::AttachControlSite], 3
mov rax, qword [rsp + 0x580]
mov rax, qword [rax]
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x554]
mov rcx, qword [rsp + 0x580]
call qword [rax + CFile::CFile]
mov r8, qword [rsp + 0x580]
add r8, 0x28
mov rdx, qword [rsp + 0x580]
add rdx, 0x28
mov rax, qword [rsp + 0x580]
mov rax, qword [rax]
mov r9d, 1
mov rcx, qword [rsp + 0x580]
call qword [rax + 0x50]
mov dword [rsp + 0x20], 1
jmp 0x1403a3ad2
cmp dword [rsp + 0x588], 0x24
je 0x1403a31b5
cmp dword [rsp + 0x588], 0x23
jne 0x1403a338b
call fcn.14034e3f0
mov r9d, eax
add r9d, 1
mov r8, qword [rsp + 0x580]
add r8, 0x28
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x580]
call fcn.14038d9a0
cmp dword [rsp + 0x588], 0x23
jne 0x1403a3293
movsd xmm0, qword [0x140438fc8]
xorpd xmm1, xmm1
divsd xmm1, qword [0x140439008]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x1404502e8]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x14040ba98]
addsd xmm0, xmm1
movsd qword [rsp + 0x90], xmm0
mov dword [rsp + 0x98], 0
movsd xmm0, qword [0x14040bab0]
comisd xmm0, xmmword [rsp + 0x90]
ja 0x1403a325f
movsd xmm0, qword [rsp + 0x90]
comisd xmm0, xmmword [0x14040baa8]
jbe 0x1403a326a
mov dword [rsp + 0x98], 1
lea rdi, [rsp + 0xf0]
lea rsi, [rsp + 0x90]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x28]
call fcn.140226020
cmp dword [rsp + 0x24], 0
jne 0x1403a32b7
mov rdi, qword [rsp + 0x580]
lea rsi, [rsp + 0x28]
add rdi, 0x28
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
jmp 0x1403a3351
cmp dword [rsp + 0x588], 0x24
jne 0x1403a331b
lea rdi, [rsp + 0x540]
mov rsi, qword [rsp + 0x580]
add rsi, 0x28
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x38]
lea rsi, [rsp + 0x540]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rdi, qword [rsp + 0x580]
lea rsi, [rsp + 0x28]
add rdi, 0x28
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x28]
lea rsi, [rsp + 0x38]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
jmp 0x1403a3351
lea rdi, [rsp + 0x530]
mov rsi, qword [rsp + 0x580]
add rsi, 0x68
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rdi, qword [rsp + 0x580]
lea rsi, [rsp + 0x530]
add rdi, 0x28
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [rsp + 0x580]
add rdx, 0x28
mov rax, qword [rsp + 0x580]
mov rax, qword [rax]
mov r9d, 1
lea r8, [rsp + 0x28]
mov rcx, qword [rsp + 0x580]
call qword [rax + 0x50]
mov dword [rsp + 0x20], 1
jmp 0x1403a3ad2
cmp dword [rsp + 0x588], 0x26
je 0x1403a33b7
cmp dword [rsp + 0x588], 0x28
je 0x1403a33b7
cmp dword [rsp + 0x588], 0x25
je 0x1403a33b7
cmp dword [rsp + 0x588], 0x27
jne 0x1403a3ad2
lea rdi, [rsp + 0x520]
mov rsi, qword [rsp + 0x580]
add rsi, 0x68
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x60]
lea rsi, [rsp + 0x520]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
movsd xmm0, qword [0x140417d88]
xorpd xmm1, xmm1
divsd xmm1, qword [0x140439008]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x1404502e8]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x14040ba98]
addsd xmm0, xmm1
movsd qword [rsp + 0x50], xmm0
mov dword [rsp + 0x58], 0
movsd xmm0, qword [0x14040bab0]
comisd xmm0, xmmword [rsp + 0x50]
ja 0x1403a344c
movsd xmm0, qword [rsp + 0x50]
comisd xmm0, xmmword [0x14040baa8]
jbe 0x1403a3454
mov dword [rsp + 0x58], 1
cmp dword [rsp + 0x588], 0x26
jne 0x1403a3489
lea rdi, [rsp + 0x100]
lea rsi, [rsp + 0x50]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x60]
call fcn.140226110
jmp 0x1403a3811
cmp dword [rsp + 0x588], 0x28
jne 0x1403a34be
lea rdi, [rsp + 0x110]
lea rsi, [rsp + 0x50]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x60]
call fcn.140226020
jmp 0x1403a3811
movsd xmm0, qword [0x140438fc8]
xorpd xmm1, xmm1
divsd xmm1, qword [0x140439008]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x1404502e8]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x14040ba98]
addsd xmm0, xmm1
movsd qword [rsp + 0xa0], xmm0
mov dword [rsp + 0xa8], 0
movsd xmm0, qword [0x14040bab0]
comisd xmm0, xmmword [rsp + 0xa0]
ja 0x1403a3530
movsd xmm0, qword [rsp + 0xa0]
comisd xmm0, xmmword [0x14040baa8]
jbe 0x1403a353b
mov dword [rsp + 0xa8], 1
lea rdi, [rsp + 0x120]
lea rsi, [rsp + 0xa0]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x580]
add rcx, 0x38
lea r8, [rsp + 0x120]
lea rdx, [rsp + 0x80]
call fcn.140225e00
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.140225860
movzx eax, al
test eax, eax
je 0x1403a35b2
lea rdi, [rsp + 0x130]
lea rsi, [rsp + 0x50]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x60]
call fcn.140226110
movsd xmm0, qword [0x14042e6f8]
xorpd xmm1, xmm1
divsd xmm1, qword [0x140439008]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x1404502e8]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x14040ba98]
addsd xmm0, xmm1
movsd qword [rsp + 0x70], xmm0
mov dword [rsp + 0x78], 0
movsd xmm0, qword [0x14040bab0]
comisd xmm0, xmmword [rsp + 0x70]
ja 0x1403a3618
movsd xmm0, qword [rsp + 0x70]
comisd xmm0, xmmword [0x14040baa8]
jbe 0x1403a3620
mov dword [rsp + 0x78], 1
cmp dword [rsp + 0x588], 0x25
jne 0x1403a3652
lea rdi, [rsp + 0x140]
lea rsi, [rsp + 0x70]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x60]
call fcn.140226110
jmp 0x1403a3682
cmp dword [rsp + 0x588], 0x27
jne 0x1403a3682
lea rdi, [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
lea rsi, [rsp + 0x70]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
lea rcx, [rsp + 0x60]
call fcn.140226020
mov rdx, qword [rsp + 0x580]
add rdx, 0x38
lea rcx, [rsp + 0x60]
call fcn.140225b80
movzx eax, al
test eax, eax
je 0x1403a374e
movsd xmm0, qword [0x140417d88]
xorpd xmm1, xmm1
divsd xmm1, qword [0x140439008]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x1404502e8]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x14040ba98]
addsd xmm0, xmm1
movsd qword [rsp + 0xb0], xmm0
mov dword [rsp + 0xb8], 0
movsd xmm0, qword [0x14040bab0]
comisd xmm0, xmmword [rsp + 0xb0]
ja 0x1403a3715
movsd xmm0, qword [rsp + 0xb0]
comisd xmm0, xmmword [0x14040baa8]
jbe 0x1403a3720
mov dword [rsp + 0xb8], 1
lea rdi, [rsp + 0x160]
lea rsi, [rsp + 0xb0]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x60]
call fcn.140226110
jmp 0x1403a3811
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.140225cc0
movzx eax, al
test eax, eax
je 0x1403a3811
movsd xmm0, qword [0x140417d88]
xorpd xmm1, xmm1
divsd xmm1, qword [0x140439008]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x1404502e8]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x14040ba98]
addsd xmm0, xmm1
movsd qword [rsp + 0xc0], xmm0
mov dword [rsp + 0xc8], 0
movsd xmm0, qword [0x14040bab0]
comisd xmm0, xmmword [rsp + 0xc0]
ja 0x1403a37dd
movsd xmm0, qword [rsp + 0xc0]
comisd xmm0, xmmword [0x14040baa8]
jbe 0x1403a37e8
mov dword [rsp + 0xc8], 1
lea rdi, [rsp + 0x170]
lea rsi, [rsp + 0xc0]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x60]
call fcn.140226020
mov dword [rsp + 0x48], 0
mov rdx, qword [rsp + 0x580]
add rdx, 0x38
lea rcx, [rsp + 0x60]
call fcn.140225b80
movzx eax, al
test eax, eax
je 0x1403a3864
mov rax, qword [rsp + 0x580]
mov rax, qword [rax]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x580]
call qword [rax + CFile::CFile]
mov dword [rsp + 0x48], 1
jmp 0x1403a39bc
mov rcx, qword [rsp + 0x580]
call fcn.14021ed80
mov dword [rsp + reloc.mfc90u.dll_AfxCriticalNewHandler], eax
movd xmm0, dword [rsp + reloc.mfc90u.dll_AfxCriticalNewHandler]
cvtdq2pd xmm0, xmm0
xorpd xmm1, xmm1
divsd xmm1, qword [0x140439008]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x1404502e8]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x14040ba98]
addsd xmm0, xmm1
movsd qword [rsp + 0xd0], xmm0
mov dword [rsp + 0xd8], 0
movsd xmm0, qword [0x14040bab0]
comisd xmm0, xmmword [rsp + 0xd0]
ja 0x1403a38ef
movsd xmm0, qword [rsp + 0xd0]
comisd xmm0, xmmword [0x14040baa8]
jbe 0x1403a38fa
mov dword [rsp + 0xd8], 1
lea rdi, [rsp + 0x180]
lea rsi, [rsp + 0xd0]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x580]
add rcx, 0x38
lea r8, [rsp + 0x180]
lea rdx, [rsp + 0xe0]
call fcn.140225e00
mov qword [rsp + reloc.mfc90u.dll_AfxPropPageCallback], rax
mov rdx, qword [rsp + reloc.mfc90u.dll_AfxPropPageCallback]
lea rcx, [rsp + 0x60]
call fcn.140225cc0
movzx eax, al
test eax, eax
jne 0x1403a3979
mov rdx, qword [rsp + reloc.mfc90u.dll_AfxPropPageCallback]
lea rcx, [rsp + 0x60]
call fcn.140225860
movzx eax, al
test eax, eax
jne 0x1403a3979
mov dword [rsp + 0x558], 0
jmp 0x1403a3984
mov dword [rsp + 0x558], 1
movzx eax, byte [rsp + 0x558]
test eax, eax
je 0x1403a39bc
mov rax, qword [rsp + 0x580]
mov rax, qword [rax]
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0x580]
call qword [rax + CFile::CFile]
mov dword [rsp + 0x48], 1
cmp dword [rsp + 0x24], 0
je 0x1403a39ca
cmp dword [rsp + 0x48], 0
je 0x1403a3a1b
mov rdi, qword [rsp + 0x580]
lea rsi, [rsp + 0x60]
add rdi, 0x28
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0x580]
add r8, 0x28
mov rdx, qword [rsp + 0x580]
add rdx, 0x28
mov rax, qword [rsp + 0x580]
mov rax, qword [rax]
mov r9d, 1
mov rcx, qword [rsp + 0x580]
call qword [rax + 0x50]
jmp 0x1403a3aca
mov rdx, qword [rsp + 0x580]
add rdx, 0x58
mov rax, qword [rsp + 0x580]
mov rax, qword [rax]
mov r9d, 1
lea r8, [rsp + 0x60]
mov rcx, qword [rsp + 0x580]
call qword [rax + 0x50]
mov rax, qword [rsp + 0x580]
add rax, 0x28
mov qword [rsp + COleControl::AmbientShowHatching], rax
mov rdx, qword [rsp + 0x518]
lea rcx, [rsp + 0x60]
call fcn.140225b80
movzx eax, al
test eax, eax
jne 0x1403a3a9b
mov rdx, qword [rsp + 0x518]
lea rcx, [rsp + 0x60]
call fcn.140225860
movzx eax, al
test eax, eax
jne 0x1403a3a9b
mov dword [rsp + 0x55c], 0
jmp 0x1403a3aa6
mov dword [rsp + 0x55c], 1
movzx eax, byte [rsp + 0x55c]
test eax, eax
je 0x1403a3aca
mov rdi, qword [rsp + 0x580]
lea rsi, [rsp + 0x60]
add rdi, 0x28
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x20], 1
mov eax, dword [rsp + 0x20]
add rsp, reloc.mfc90u.dll_CAsyncSocket::Bind
pop rdi
pop rsi
ret