Function at 0x14009f290
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1d0
mov rax, qword [0x1401ed028]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov rcx, qword [0x140222fb0]
call fcn.14008cb90
mov byte [rsp + 0x40], al
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 1
test eax, eax
je 0x14009f303
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x14009f303
movzx eax, byte [0x1401ed244]
test eax, eax
jne 0x14009f2f0
mov dword [rsp + 0x48], 1
jmp 0x14009f2f8
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
mov byte [0x1401ed244], al
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x14009f54e
movzx eax, byte [0x140223004]
test eax, eax
je 0x14009f54e
cmp qword [0x14022db18], 0
je 0x14009f3a8
movzx eax, byte [0x14022dab8]
test eax, eax
jne 0x14009f3a8
mov byte [0x14022dab8], 1
lea rdx, [rsp + 0x1b0]
mov rcx, qword [0x14022db18]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsp + 0x1b4]
mov ecx, dword [rsp + 0x1bc]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x1b0]
mov edx, dword [rsp + 0x1b8]
sub edx, ecx
mov ecx, edx
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9d, dword [rsp + 0x1b4]
mov r8d, dword [rsp + 0x1b0]
mov rdx, 0xffffffffffffffff
mov rcx, qword [0x14022db18]
call qword [sym.imp.USER32.dll_SetWindowPos]
call fcn.14003a720
movzx eax, al
test eax, eax
je 0x14009f54e
mov rax, qword [0x14022da50]
movzx eax, byte [rax + 8]
test eax, eax
jne 0x14009f3da
mov rax, qword [0x14022d9a0]
movzx eax, byte [rax + 8]
test eax, eax
je 0x14009f54e
xorps xmm2, xmm2
movss xmm1, dword [0x1401d7f88]
lea rcx, [rsp + 0xd8]
call fcn.14002fdd0
xor edx, edx
mov rcx, rax
call fcn.14012a960
mov rax, qword [0x14022da78]
add rax, 0x1f
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x41]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x41]
call fcn.14009f970
mov rcx, rax
call fcn.140089700
mov rdx, rax
lea rcx, [rsp + 0x148]
call fcn.1400259b0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.140027020
mov qword [rsp + 0x78], rax
mov r8d, 0xc026b
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call fcn.1400fa8d0
mov byte [rsp + 0x42], al
lea rcx, [rsp + 0x148]
call fcn.140025900
movzx eax, byte [rsp + 0x42]
test eax, eax
je 0x14009f54e
call fcn.14008c780
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14009f4ca
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x48], 0
je 0x14009f4ca
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x48]
mov qword [0x14022db18], rax
mov rax, qword [rsp + 0x1e0]
mov rcx, qword [rax + 0x18]
call fcn.140123ba0
mov dword [rsp + 0x1a8], 0
mov rax, qword [0x14022dd50]
mov rax, qword [rax]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x80], rax
mov r8b, 1
lea rdx, [rsp + 0x1a8]
mov rcx, qword [0x14022dd50]
call qword [rsp + 0x80]
mov rax, qword [0x14022dd48]
mov rax, qword [rax]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x88], rax
mov r8b, 1
lea rdx, [rsp + 0x1a8]
mov rcx, qword [0x14022dd48]
call qword [rsp + 0x88]
call fcn.140123750
call fcn.140110570
movzx eax, byte [0x1401ed244]
test eax, eax
je 0x14009f94d
xorps xmm2, xmm2
movss xmm1, dword [0x1401d7f94]
lea rcx, [rsp + 0xe0]
call fcn.14002fdd0
mov edx, 2
mov rcx, rax
call fcn.14012a960
movss xmm2, dword [0x1401d7fc4]
movss xmm1, dword [0x1401d7fbc]
lea rcx, [rsp + 0xe8]
call fcn.14002fdd0
mov qword [rsp + 0x90], rax
movss xmm2, dword [0x1401d7fc4]
movss xmm1, dword [0x1401d7f94]
lea rcx, [rsp + 0xf0]
call fcn.14002fdd0
mov qword [rsp + 0x98], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
call fcn.14012a9d0
movss xmm2, dword [0x1401d7e6c]
movss xmm1, dword [0x1401d7e6c]
lea rcx, [rsp + 0xf8]
call fcn.14002fdd0
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x1e0]
mov eax, dword [rax + 0x204]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
mov rax, qword [rsp + 0x1e0]
mov eax, dword [rax + 0x200]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x100]
call fcn.14002fdd0
mov qword [rsp + 0xa8], rax
mov r8, qword [rsp + 0xa0]
mov edx, 2
mov rcx, qword [rsp + 0xa8]
call fcn.14012a870
mov rax, qword [rsp + 0x1e0]
mov rcx, qword [rax + 8]
call fcn.140123ba0
mov rax, qword [rsp + 0x1e0]
add rax, 0x28
mov r8d, dword [0x1401ed248]
lea rdx, [0x1401ed278]
mov rcx, rax
call fcn.1400fa8d0
movzx eax, al
test eax, eax
je 0x14009f943
call fcn.14008c780
mov rax, qword [rax + 0x38]
mov rax, qword [rax + 0x48]
mov qword [0x140223038], rax
mov rcx, qword [rsp + 0x1e0]
call fcn.140098290
mov rax, qword [rsp + 0x1e0]
movzx eax, byte [rax + 0x1a4]
test eax, eax
jne 0x14009f7f5
movss xmm1, dword [0x1401d7ee4]
mov ecx, reloc.WS2_32.dll_inet_ntoa
call fcn.140124120
movss xmm2, dword [0x1401d7f08]
movss xmm1, dword [0x1401d7f18]
lea rcx, [rsp + 0x108]
call fcn.14002fdd0
mov rdx, rax
mov ecx, inet_ntoa
call fcn.140124070
movss xmm2, dword [0x1401d7f18]
movss xmm1, dword [0x1401d7ef0]
lea rcx, [rsp + 0x110]
call fcn.14002fdd0
mov rdx, rax
mov ecx, 0xe
call fcn.140124070
movss xmm2, dword [0x1401d7f0c]
movss xmm1, dword [0x1401d7ef0]
lea rcx, [rsp + 0x118]
call fcn.14002fdd0
mov rdx, rax
mov ecx, 0xf
call fcn.140124070
mov rax, qword [rsp + 0x1e0]
mov rcx, qword [rax + 0x20]
call fcn.140123ba0
mov rcx, qword [rsp + 0x1e0]
call fcn.1400984c0
mov rax, qword [rsp + 0x1e0]
mov eax, dword [rax + 0x1fc]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x14009f7b9
cmp dword [rsp + 0x44], 1
je 0x14009f7c8
cmp dword [rsp + 0x44], 2
je 0x14009f7d7
jmp 0x14009f7e4
mov rcx, qword [rsp + 0x1e0]
call fcn.140093980
jmp 0x14009f7e4
mov rcx, qword [rsp + 0x1e0]
call fcn.140094210
jmp 0x14009f7e4
mov rcx, qword [rsp + 0x1e0]
call fcn.140094850
call fcn.140123750
mov ecx, 4
call fcn.140123960
jmp 0x14009f818
mov rax, qword [rsp + 0x1e0]
mov rcx, qword [rax + 0x20]
call fcn.140123ba0
mov rcx, qword [rsp + 0x1e0]
call fcn.140098e70
call fcn.140123750
cmp qword [0x140222fb8], 0
jne 0x14009f943
movss xmm2, dword [0x1401d7f64]
xorps xmm1, xmm1
lea rcx, [rsp + 0x120]
call fcn.14002fdd0
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x43]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0x43]
call fcn.14009f9a0
mov rcx, rax
call fcn.140089720
mov rdx, rax
lea rcx, [rsp + 0x168]
call fcn.1400259b0
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0xb8]
call fcn.140027020
mov qword [rsp + 0xc8], rax
mov r9d, 0x40
mov r8b, 1
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
call fcn.1400febf0
nop
lea rcx, [rsp + 0x168]
call fcn.140025900
mov rax, qword [rsp + 0x1e0]
mov rcx, qword [rax + 0x20]
call fcn.140123ba0
lea rax, [rsp + 0x188]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x1e0]
add rax, 0x210
mov rdx, rax
mov rcx, qword [rsp + 0xd0]
call fcn.1400259b0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x1e0]
add rax, 0x1e8
mov rdx, qword [rsp + 0x58]
mov rcx, rax
call fcn.14008e790
call fcn.140123750
call fcn.140110930
call fcn.140110570
call fcn.140123750
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1400d63a0
add rsp, 0x1d0
pop rdi
ret