Function at 0x14022de80
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, 0x3d8
mov rax, qword [rsp + 0x3f0]
cmp qword [rax + reloc.mfc90u.dll_CGopherLocator::CGopherLocator], 0
je 0x14022deec
mov rax, qword [rsp + 0x3f0]
mov rax, qword [rax + 0x118]
mov qword [rsp + 0x110], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1f
mov rcx, qword [rsp + 0x110]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
jmp 0x14022e6ab
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14022df0e
mov dword [rsp + 0x3b8], 1
jmp 0x14022df19
mov dword [rsp + 0x3b8], 0
mov eax, dword [rsp + 0x3b8]
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x20], 0
cmp dword [rsp + reloc.mfc90u.dll_CRecordset::AddNew], 0x21
je 0x14022df44
cmp dword [rsp + reloc.mfc90u.dll_CRecordset::AddNew], 0x22
jne 0x14022dfcd
cmp dword [rsp + reloc.mfc90u.dll_CRecordset::AddNew], 0x21
jne 0x14022df5b
mov dword [rsp + 0x3bc], 2
jmp 0x14022df66
mov dword [rsp + 0x3bc], 3
mov rax, qword [rsp + 0x3f0]
mov rax, qword [rax]
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x3bc]
mov rcx, qword [rsp + 0x3f0]
call qword [rax + CFile::CFile]
mov r8, qword [rsp + 0x3f0]
add r8, 0x28
mov rdx, qword [rsp + 0x3f0]
add rdx, 0x28
mov rax, qword [rsp + 0x3f0]
mov rax, qword [rax]
mov r9d, 1
mov rcx, qword [rsp + 0x3f0]
call qword [rax + 0x50]
mov dword [rsp + 0x20], 1
jmp 0x14022e6a7
cmp dword [rsp + reloc.mfc90u.dll_CRecordset::AddNew], 0x24
je 0x14022dfe5
cmp dword [rsp + reloc.mfc90u.dll_CRecordset::AddNew], 0x23
jne 0x14022e1a9
call fcn.14033ff10
mov r9d, eax
add r9d, 1
mov r8, qword [rsp + 0x3f0]
add r8, 0x28
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x3f0]
call fcn.14022f270
cmp dword [rsp + reloc.mfc90u.dll_CRecordset::AddNew], 0x23
jne 0x14022e0b1
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 + 0x70], xmm0
mov dword [rsp + 0x78], 0
movsd xmm0, qword [0x1403f7370]
comisd xmm0, xmmword [rsp + 0x70]
ja 0x14022e083
movsd xmm0, qword [rsp + 0x70]
comisd xmm0, xmmword [0x1403f7368]
jbe 0x14022e08b
mov dword [rsp + 0x78], 1
lea rdi, [rsp + 0xb0]
lea rsi, [rsp + 0x70]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x28]
call fcn.140230dd0
cmp dword [rsp + 0x24], 0
jne 0x14022e0d5
mov rdi, qword [rsp + 0x3f0]
lea rsi, [rsp + 0x28]
add rdi, 0x28
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
jmp 0x14022e16f
cmp dword [rsp + reloc.mfc90u.dll_CRecordset::AddNew], 0x24
jne 0x14022e139
lea rdi, [rsp + 0x3a8]
mov rsi, qword [rsp + 0x3f0]
add rsi, 0x28
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x38]
lea rsi, [rsp + 0x3a8]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rdi, qword [rsp + 0x3f0]
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 0x14022e16f
lea rdi, [rsp + 0x398]
mov rsi, qword [rsp + 0x3f0]
add rsi, 0x68
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rdi, qword [rsp + 0x3f0]
lea rsi, [rsp + 0x398]
add rdi, 0x28
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [rsp + 0x3f0]
add rdx, 0x28
mov rax, qword [rsp + 0x3f0]
mov rax, qword [rax]
mov r9d, 1
lea r8, [rsp + 0x28]
mov rcx, qword [rsp + 0x3f0]
call qword [rax + 0x50]
mov dword [rsp + 0x20], 1
jmp 0x14022e6a7
cmp dword [rsp + reloc.mfc90u.dll_CRecordset::AddNew], 0x26
je 0x14022e1d5
cmp dword [rsp + reloc.mfc90u.dll_CRecordset::AddNew], 0x28
je 0x14022e1d5
cmp dword [rsp + reloc.mfc90u.dll_CRecordset::AddNew], 0x25
je 0x14022e1d5
cmp dword [rsp + reloc.mfc90u.dll_CRecordset::AddNew], 0x27
jne 0x14022e6a7
lea rdi, [rsp + 0x388]
mov rsi, qword [rsp + 0x3f0]
add rsi, 0x68
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x60]
lea rsi, [rsp + 0x388]
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 0x14022e26a
movsd xmm0, qword [rsp + 0x50]
comisd xmm0, xmmword [0x1403f7368]
jbe 0x14022e272
mov dword [rsp + 0x58], 1
cmp dword [rsp + reloc.mfc90u.dll_CRecordset::AddNew], 0x25
jne 0x14022e2a7
lea rdi, [rsp + 0xc0]
lea rsi, [rsp + 0x50]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x60]
call fcn.140230ec0
jmp 0x14022e3e6
cmp dword [rsp + reloc.mfc90u.dll_CRecordset::AddNew], 0x27
jne 0x14022e2dc
lea rdi, [rsp + 0xd0]
lea rsi, [rsp + 0x50]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x60]
call fcn.140230dd0
jmp 0x14022e3e6
movsd xmm0, qword [0x140442318]
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 + 0x80], xmm0
mov dword [rsp + 0x88], 0
movsd xmm0, qword [0x1403f7370]
comisd xmm0, xmmword [rsp + 0x80]
ja 0x14022e34e
movsd xmm0, qword [rsp + 0x80]
comisd xmm0, xmmword [0x1403f7368]
jbe 0x14022e359
mov dword [rsp + 0x88], 1
lea rdi, [rsp + 0x378]
lea rsi, [rsp + 0x80]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x50]
lea rsi, [rsp + 0x378]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
cmp dword [rsp + reloc.mfc90u.dll_CRecordset::AddNew], 0x26
jne 0x14022e3b6
lea rdi, [rsp + 0xe0]
lea rsi, [rsp + 0x50]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x60]
call fcn.140230ec0
jmp 0x14022e3e6
cmp dword [rsp + reloc.mfc90u.dll_CRecordset::AddNew], 0x28
jne 0x14022e3e6
lea rdi, [rsp + 0xf0]
lea rsi, [rsp + 0x50]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x60]
call fcn.140230dd0
mov dword [rsp + 0x48], 0
mov rdx, qword [rsp + 0x3f0]
add rdx, 0x38
lea rcx, [rsp + 0x60]
call fcn.140230930
movzx eax, al
test eax, eax
je 0x14022e439
mov rax, qword [rsp + 0x3f0]
mov rax, qword [rax]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x3f0]
call qword [rax + CFile::CFile]
mov dword [rsp + 0x48], 1
jmp 0x14022e591
mov rcx, qword [rsp + 0x3f0]
call fcn.140229b30
mov dword [rsp + 0x290], eax
movd xmm0, dword [rsp + 0x290]
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 + 0x90], xmm0
mov dword [rsp + 0x98], 0
movsd xmm0, qword [0x1403f7370]
comisd xmm0, xmmword [rsp + 0x90]
ja 0x14022e4c4
movsd xmm0, qword [rsp + 0x90]
comisd xmm0, xmmword [0x1403f7368]
jbe 0x14022e4cf
mov dword [rsp + 0x98], 1
lea rdi, [rsp + 0x100]
lea rsi, [rsp + 0x90]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x3f0]
add rcx, 0x38
lea r8, [rsp + 0x100]
lea rdx, [rsp + 0xa0]
call fcn.140230bb0
mov qword [rsp + reloc.mfc90u.dll_CUIntArray::CUIntArray], rax
mov rdx, qword [rsp + reloc.mfc90u.dll_CUIntArray::CUIntArray]
lea rcx, [rsp + 0x60]
call fcn.140230a70
movzx eax, al
test eax, eax
jne 0x14022e54e
mov rdx, qword [rsp + reloc.mfc90u.dll_CUIntArray::CUIntArray]
lea rcx, [rsp + 0x60]
call fcn.1401960e0
movzx eax, al
test eax, eax
jne 0x14022e54e
mov dword [rsp + 0x3c0], 0
jmp 0x14022e559
mov dword [rsp + 0x3c0], 1
movzx eax, byte [rsp + 0x3c0]
test eax, eax
je 0x14022e591
mov rax, qword [rsp + 0x3f0]
mov rax, qword [rax]
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0x3f0]
call qword [rax + CFile::CFile]
mov dword [rsp + 0x48], 1
cmp dword [rsp + 0x24], 0
je 0x14022e59f
cmp dword [rsp + 0x48], 0
je 0x14022e5f0
mov rdi, qword [rsp + 0x3f0]
lea rsi, [rsp + 0x60]
add rdi, 0x28
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0x3f0]
add r8, 0x28
mov rdx, qword [rsp + 0x3f0]
add rdx, 0x28
mov rax, qword [rsp + 0x3f0]
mov rax, qword [rax]
mov r9d, 1
mov rcx, qword [rsp + 0x3f0]
call qword [rax + 0x50]
jmp 0x14022e69f
mov rdx, qword [rsp + 0x3f0]
add rdx, 0x58
mov rax, qword [rsp + 0x3f0]
mov rax, qword [rax]
mov r9d, 1
lea r8, [rsp + 0x60]
mov rcx, qword [rsp + 0x3f0]
call qword [rax + 0x50]
mov rax, qword [rsp + 0x3f0]
add rax, 0x28
mov qword [rsp + 0x370], rax
mov rdx, qword [rsp + 0x370]
lea rcx, [rsp + 0x60]
call fcn.140230930
movzx eax, al
test eax, eax
jne 0x14022e670
mov rdx, qword [rsp + 0x370]
lea rcx, [rsp + 0x60]
call fcn.1401960e0
movzx eax, al
test eax, eax
jne 0x14022e670
mov dword [rsp + 0x3c4], 0
jmp 0x14022e67b
mov dword [rsp + 0x3c4], 1
movzx eax, byte [rsp + 0x3c4]
test eax, eax
je 0x14022e69f
mov rdi, qword [rsp + 0x3f0]
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, 0x3d8
pop rdi
pop rsi
ret