Function at 0x1402230b0
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 0x14022311c
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 0x1402238db
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14022313e
mov dword [rsp + 0x3b8], 1
jmp 0x140223149
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 0x140223174
cmp dword [rsp + reloc.mfc90u.dll_CRecordset::AddNew], 0x22
jne 0x1402231fd
cmp dword [rsp + reloc.mfc90u.dll_CRecordset::AddNew], 0x21
jne 0x14022318b
mov dword [rsp + 0x3bc], 2
jmp 0x140223196
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 0x1402238d7
cmp dword [rsp + reloc.mfc90u.dll_CRecordset::AddNew], 0x24
je 0x140223215
cmp dword [rsp + reloc.mfc90u.dll_CRecordset::AddNew], 0x23
jne 0x1402233d9
call fcn.14034e3f0
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.140224460
cmp dword [rsp + reloc.mfc90u.dll_CRecordset::AddNew], 0x23
jne 0x1402232e1
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 + 0x70], xmm0
mov dword [rsp + 0x78], 0
movsd xmm0, qword [0x14040bab0]
comisd xmm0, xmmword [rsp + 0x70]
ja 0x1402232b3
movsd xmm0, qword [rsp + 0x70]
comisd xmm0, xmmword [0x14040baa8]
jbe 0x1402232bb
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.140226020
cmp dword [rsp + 0x24], 0
jne 0x140223305
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 0x14022339f
cmp dword [rsp + reloc.mfc90u.dll_CRecordset::AddNew], 0x24
jne 0x140223369
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 0x14022339f
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 0x1402238d7
cmp dword [rsp + reloc.mfc90u.dll_CRecordset::AddNew], 0x26
je 0x140223405
cmp dword [rsp + reloc.mfc90u.dll_CRecordset::AddNew], 0x28
je 0x140223405
cmp dword [rsp + reloc.mfc90u.dll_CRecordset::AddNew], 0x25
je 0x140223405
cmp dword [rsp + reloc.mfc90u.dll_CRecordset::AddNew], 0x27
jne 0x1402238d7
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 [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 0x14022349a
movsd xmm0, qword [rsp + 0x50]
comisd xmm0, xmmword [0x14040baa8]
jbe 0x1402234a2
mov dword [rsp + 0x58], 1
cmp dword [rsp + reloc.mfc90u.dll_CRecordset::AddNew], 0x25
jne 0x1402234d7
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.140226110
jmp 0x140223616
cmp dword [rsp + reloc.mfc90u.dll_CRecordset::AddNew], 0x27
jne 0x14022350c
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.140226020
jmp 0x140223616
movsd xmm0, qword [0x1404505d8]
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 + 0x80], xmm0
mov dword [rsp + 0x88], 0
movsd xmm0, qword [0x14040bab0]
comisd xmm0, xmmword [rsp + 0x80]
ja 0x14022357e
movsd xmm0, qword [rsp + 0x80]
comisd xmm0, xmmword [0x14040baa8]
jbe 0x140223589
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 0x1402235e6
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.140226110
jmp 0x140223616
cmp dword [rsp + reloc.mfc90u.dll_CRecordset::AddNew], 0x28
jne 0x140223616
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.140226020
mov dword [rsp + 0x48], 0
mov rdx, qword [rsp + 0x3f0]
add rdx, 0x38
lea rcx, [rsp + 0x60]
call fcn.140225b80
movzx eax, al
test eax, eax
je 0x140223669
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 0x1402237c1
mov rcx, qword [rsp + 0x3f0]
call fcn.14021ed80
mov dword [rsp + 0x290], eax
movd xmm0, dword [rsp + 0x290]
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 + 0x90], xmm0
mov dword [rsp + 0x98], 0
movsd xmm0, qword [0x14040bab0]
comisd xmm0, xmmword [rsp + 0x90]
ja 0x1402236f4
movsd xmm0, qword [rsp + 0x90]
comisd xmm0, xmmword [0x14040baa8]
jbe 0x1402236ff
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.140225e00
mov qword [rsp + reloc.mfc90u.dll_CUIntArray::CUIntArray], rax
mov rdx, qword [rsp + reloc.mfc90u.dll_CUIntArray::CUIntArray]
lea rcx, [rsp + 0x60]
call fcn.140225cc0
movzx eax, al
test eax, eax
jne 0x14022377e
mov rdx, qword [rsp + reloc.mfc90u.dll_CUIntArray::CUIntArray]
lea rcx, [rsp + 0x60]
call fcn.140225860
movzx eax, al
test eax, eax
jne 0x14022377e
mov dword [rsp + 0x3c0], 0
jmp 0x140223789
mov dword [rsp + 0x3c0], 1
movzx eax, byte [rsp + 0x3c0]
test eax, eax
je 0x1402237c1
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 0x1402237cf
cmp dword [rsp + 0x48], 0
je 0x140223820
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 0x1402238cf
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.140225b80
movzx eax, al
test eax, eax
jne 0x1402238a0
mov rdx, qword [rsp + 0x370]
lea rcx, [rsp + 0x60]
call fcn.140225860
movzx eax, al
test eax, eax
jne 0x1402238a0
mov dword [rsp + 0x3c4], 0
jmp 0x1402238ab
mov dword [rsp + 0x3c4], 1
movzx eax, byte [rsp + 0x3c4]
test eax, eax
je 0x1402238cf
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