Function at 0x14038ed70
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 0x14038eddc
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 0x14038f7f6
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14038edfe
mov dword [rsp + CWnd::AttachControlSite], 1
jmp 0x14038ee09
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 0x14038ee34
cmp dword [rsp + 0x588], 0x22
jne 0x14038eebd
cmp dword [rsp + 0x588], 0x21
jne 0x14038ee4b
mov dword [rsp + CWnd::AttachControlSite], 2
jmp 0x14038ee56
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 0x14038f7f2
cmp dword [rsp + 0x588], 0x24
je 0x14038eed5
cmp dword [rsp + 0x588], 0x23
jne 0x14038f0ab
call fcn.14033ff10
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.1403902c0
cmp dword [rsp + 0x588], 0x23
jne 0x14038efb3
movsd xmm0, qword [0x14042bfb8]
xorpd xmm1, xmm1
divsd xmm1, qword [0x14042bff8]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x140442028]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x1403f7358]
addsd xmm0, xmm1
movsd qword [rsp + 0x90], xmm0
mov dword [rsp + 0x98], 0
movsd xmm0, qword [0x1403f7370]
comisd xmm0, xmmword [rsp + 0x90]
ja 0x14038ef7f
movsd xmm0, qword [rsp + 0x90]
comisd xmm0, xmmword [0x1403f7368]
jbe 0x14038ef8a
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.140230dd0
cmp dword [rsp + 0x24], 0
jne 0x14038efd7
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 0x14038f071
cmp dword [rsp + 0x588], 0x24
jne 0x14038f03b
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 0x14038f071
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 0x14038f7f2
cmp dword [rsp + 0x588], 0x26
je 0x14038f0d7
cmp dword [rsp + 0x588], 0x28
je 0x14038f0d7
cmp dword [rsp + 0x588], 0x25
je 0x14038f0d7
cmp dword [rsp + 0x588], 0x27
jne 0x14038f7f2
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 [0x140402370]
xorpd xmm1, xmm1
divsd xmm1, qword [0x14042bff8]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x140442028]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x1403f7358]
addsd xmm0, xmm1
movsd qword [rsp + 0x50], xmm0
mov dword [rsp + 0x58], 0
movsd xmm0, qword [0x1403f7370]
comisd xmm0, xmmword [rsp + 0x50]
ja 0x14038f16c
movsd xmm0, qword [rsp + 0x50]
comisd xmm0, xmmword [0x1403f7368]
jbe 0x14038f174
mov dword [rsp + 0x58], 1
cmp dword [rsp + 0x588], 0x26
jne 0x14038f1a9
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.140230ec0
jmp 0x14038f531
cmp dword [rsp + 0x588], 0x28
jne 0x14038f1de
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.140230dd0
jmp 0x14038f531
movsd xmm0, qword [0x14042bfb8]
xorpd xmm1, xmm1
divsd xmm1, qword [0x14042bff8]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x140442028]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x1403f7358]
addsd xmm0, xmm1
movsd qword [rsp + 0xa0], xmm0
mov dword [rsp + 0xa8], 0
movsd xmm0, qword [0x1403f7370]
comisd xmm0, xmmword [rsp + 0xa0]
ja 0x14038f250
movsd xmm0, qword [rsp + 0xa0]
comisd xmm0, xmmword [0x1403f7368]
jbe 0x14038f25b
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.140230bb0
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.1401960e0
movzx eax, al
test eax, eax
je 0x14038f2d2
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.140230ec0
movsd xmm0, qword [0x140421878]
xorpd xmm1, xmm1
divsd xmm1, qword [0x14042bff8]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x140442028]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x1403f7358]
addsd xmm0, xmm1
movsd qword [rsp + 0x70], xmm0
mov dword [rsp + 0x78], 0
movsd xmm0, qword [0x1403f7370]
comisd xmm0, xmmword [rsp + 0x70]
ja 0x14038f338
movsd xmm0, qword [rsp + 0x70]
comisd xmm0, xmmword [0x1403f7368]
jbe 0x14038f340
mov dword [rsp + 0x78], 1
cmp dword [rsp + 0x588], 0x25
jne 0x14038f372
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.140230ec0
jmp 0x14038f3a2
cmp dword [rsp + 0x588], 0x27
jne 0x14038f3a2
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.140230dd0
mov rdx, qword [rsp + 0x580]
add rdx, 0x38
lea rcx, [rsp + 0x60]
call fcn.140230930
movzx eax, al
test eax, eax
je 0x14038f46e
movsd xmm0, qword [0x140402370]
xorpd xmm1, xmm1
divsd xmm1, qword [0x14042bff8]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x140442028]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x1403f7358]
addsd xmm0, xmm1
movsd qword [rsp + 0xb0], xmm0
mov dword [rsp + 0xb8], 0
movsd xmm0, qword [0x1403f7370]
comisd xmm0, xmmword [rsp + 0xb0]
ja 0x14038f435
movsd xmm0, qword [rsp + 0xb0]
comisd xmm0, xmmword [0x1403f7368]
jbe 0x14038f440
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.140230ec0
jmp 0x14038f531
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.140230a70
movzx eax, al
test eax, eax
je 0x14038f531
movsd xmm0, qword [0x140402370]
xorpd xmm1, xmm1
divsd xmm1, qword [0x14042bff8]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x140442028]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x1403f7358]
addsd xmm0, xmm1
movsd qword [rsp + 0xc0], xmm0
mov dword [rsp + 0xc8], 0
movsd xmm0, qword [0x1403f7370]
comisd xmm0, xmmword [rsp + 0xc0]
ja 0x14038f4fd
movsd xmm0, qword [rsp + 0xc0]
comisd xmm0, xmmword [0x1403f7368]
jbe 0x14038f508
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.140230dd0
mov dword [rsp + 0x48], 0
mov rdx, qword [rsp + 0x580]
add rdx, 0x38
lea rcx, [rsp + 0x60]
call fcn.140230930
movzx eax, al
test eax, eax
je 0x14038f584
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 0x14038f6dc
mov rcx, qword [rsp + 0x580]
call fcn.140229b30
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 [0x14042bff8]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x140442028]
addsd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm1, qword [0x1403f7358]
addsd xmm0, xmm1
movsd qword [rsp + 0xd0], xmm0
mov dword [rsp + 0xd8], 0
movsd xmm0, qword [0x1403f7370]
comisd xmm0, xmmword [rsp + 0xd0]
ja 0x14038f60f
movsd xmm0, qword [rsp + 0xd0]
comisd xmm0, xmmword [0x1403f7368]
jbe 0x14038f61a
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.140230bb0
mov qword [rsp + reloc.mfc90u.dll_AfxPropPageCallback], rax
mov rdx, qword [rsp + reloc.mfc90u.dll_AfxPropPageCallback]
lea rcx, [rsp + 0x60]
call fcn.140230a70
movzx eax, al
test eax, eax
jne 0x14038f699
mov rdx, qword [rsp + reloc.mfc90u.dll_AfxPropPageCallback]
lea rcx, [rsp + 0x60]
call fcn.1401960e0
movzx eax, al
test eax, eax
jne 0x14038f699
mov dword [rsp + 0x558], 0
jmp 0x14038f6a4
mov dword [rsp + 0x558], 1
movzx eax, byte [rsp + 0x558]
test eax, eax
je 0x14038f6dc
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 0x14038f6ea
cmp dword [rsp + 0x48], 0
je 0x14038f73b
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 0x14038f7ea
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::AmbientLocaleID], rax
mov rdx, qword [rsp + 0x518]
lea rcx, [rsp + 0x60]
call fcn.140230930
movzx eax, al
test eax, eax
jne 0x14038f7bb
mov rdx, qword [rsp + 0x518]
lea rcx, [rsp + 0x60]
call fcn.1401960e0
movzx eax, al
test eax, eax
jne 0x14038f7bb
mov dword [rsp + 0x55c], 0
jmp 0x14038f7c6
mov dword [rsp + 0x55c], 1
movzx eax, byte [rsp + 0x55c]
test eax, eax
je 0x14038f7ea
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