Function at 0x1401980a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x498
mov rax, qword [0x140d8e080]
xor rax, rsp
mov qword [rsp + 0x480], rax
xorps xmm0, xmm0
movss dword [rsp + 0xb0], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0xb4], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0xb8], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x24], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x28], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x1b8], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x1bc], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0xc0], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0xc4], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0xc8], xmm0
movss xmm0, dword [0x140d78e64]
movss dword [rsp + 0x48], xmm0
movss xmm0, dword [0x140d78e64]
movss dword [rsp + 0x4c], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x38], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x30], xmm0
mov dword [rsp + 0x180], 0
lea rcx, [rsp + 0x1e0]
call fcn.140057740
nop
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x1a0], 0
mov edx, Ordinal_27
lea rcx, [rsp + 0x188]
call fcn.140021ef0
lea rcx, [rsp + 0x188]
call fcn.140022f00
nop
lea rax, [0x14119b838]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.140066b50
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x68]
call fcn.1400fffc0
mov qword [rsp + 0x90], rax
jmp 0x1401981f4
mov rax, qword [rsp + 0x50]
add rax, 0x298
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0x50], rax
je 0x14019843a
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
movzx eax, byte [0x14119a2cc]
cmp eax, 1
jne 0x140198243
mov rax, qword [rsp + 0x40]
xorps xmm0, xmm0
comiss xmm0, dword [rax + 0x24]
jb 0x140198243
mov ecx, dword [reloc.WS2_32.dll_accept]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140198243
jmp 0x1401981e4
movzx eax, byte [0x14119a2cd]
cmp eax, 1
jne 0x14019825f
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 4]
cmp eax, 1
jne 0x14019825f
jmp 0x1401981e4
lea rax, [rsp + 0xd0]
mov rcx, qword [rsp + 0x40]
mov rdi, rax
lea rsi, [rcx + 0x1a0]
mov ecx, ntohs
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x100]
lea rcx, [0x14119a200]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x40
rep movsb byte [rdi], byte [rsi]
lea r9, [rsp + 0x180]
lea r8, [rsp + 0x1b8]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x100]
call fcn.140024700
test eax, eax
je 0x140198435
movzx eax, byte [0x14119a2d8]
test eax, eax
je 0x140198435
lea rax, [rsp + 0xe0]
lea rcx, [rsp + 0x1b8]
mov rdi, rax
mov rsi, rcx
mov ecx, ntohs
rep movsb byte [rdi], byte [rsi]
cvtsi2ss xmm0, dword [0x14119a1c4]
cvtsi2ss xmm1, dword [0x14119a1c8]
movss dword [rsp + 0x60], xmm1
movss xmm3, dword [0x1411938a8]
lea r8, [rsp + 0xe0]
movaps xmm1, xmm0
movss xmm0, dword [rsp + 0x60]
call fcn.140021f10
movzx eax, al
test eax, eax
je 0x140198435
cmp dword [0x14119a31c], 0
jne 0x1401983b9
mov eax, dword [0x14119a1c8]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
movss xmm1, dword [rsp + 0x1b8]
subss xmm1, xmm0
movaps xmm0, xmm1
mov edx, 2
call fcn.140023090
movsd qword [rsp + 0x98], xmm0
mov eax, dword [0x14119a1c4]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movss xmm2, dword [rsp + 0x1bc]
subss xmm2, xmm1
movaps xmm1, xmm2
mov edx, 2
movaps xmm0, xmm1
call fcn.140023090
movsd xmm1, qword [rsp + 0x98]
addsd xmm1, xmm0
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x30], xmm0
jmp 0x1401983c8
cvtsi2ss xmm0, dword [rsp + 0x180]
movss dword [rsp + 0x30], xmm0
movss xmm0, dword [rsp + 0x48]
comiss xmm0, dword [rsp + 0x30]
jbe 0x140198435
mov eax, dword [0x141193e2c]
cmp dword [rsp + 0x180], eax
jge 0x140198430
movss xmm0, dword [rsp + 0x30]
movss dword [rsp + 0x48], xmm0
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov rdx, qword [rsp + 0x40]
lea rcx, [0x14119c270]
call fcn.140065e00
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x158]
mov dword [0x141199508], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x158]
mov dword [rsp + 0x88], eax
jmp 0x140198435
jmp 0x1401981e4
jmp 0x1401981e4
cmp dword [rsp + 0x34], 0
jne 0x1401984bc
movss xmm0, dword [0x140d78e64]
movss dword [rsp + 0x78], xmm0
movss xmm0, dword [0x140d78e64]
movss dword [rsp + 0x7c], xmm0
movss xmm0, dword [0x140d78e64]
movss dword [rsp + 0x80], xmm0
mov dword [0x141199508], 0
lea rax, [rsp + 0x78]
mov rdi, qword [rsp + 0x4b0]
mov rsi, rax
mov ecx, ntohs
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x188]
call fcn.14005f230
nop
lea rcx, [rsp + 0x1e0]
call fcn.140057870
mov rax, qword [rsp + 0x4b0]
jmp 0x140198912
movzx eax, byte [0x14119a2f8]
test eax, eax
je 0x140198846
lea rdx, [0x14119c410]
lea rcx, [rsp + 0x188]
call fcn.140198070
lea rdx, [0x14119c41c]
lea rcx, [rsp + 0x188]
call fcn.140198070
lea rdx, [0x14119c434]
lea rcx, [rsp + 0x188]
call fcn.140198070
lea rdx, [0x14119c428]
lea rcx, [rsp + 0x188]
call fcn.140198070
lea rdx, [0x14119c440]
lea rcx, [rsp + 0x188]
call fcn.140198070
lea rdx, [0x14119c44c]
lea rcx, [rsp + 0x188]
call fcn.140198070
lea rdx, [0x14119c458]
lea rcx, [rsp + 0x188]
call fcn.140198070
lea rdx, [0x14119c464]
lea rcx, [rsp + 0x188]
call fcn.140198070
lea rdx, [0x14119c470]
lea rcx, [rsp + 0x188]
call fcn.140198070
lea rdx, [0x14119c47c]
lea rcx, [rsp + 0x188]
call fcn.140198070
lea rdx, [0x14119c488]
lea rcx, [rsp + 0x188]
call fcn.140198070
lea rdx, [0x14119c494]
lea rcx, [rsp + 0x188]
call fcn.140198070
lea rdx, [0x14119c4a0]
lea rcx, [rsp + 0x188]
call fcn.140198070
lea rdx, [0x14119c4ac]
lea rcx, [rsp + 0x188]
call fcn.140198070
lea rdx, [0x14119c4b8]
lea rcx, [rsp + 0x188]
call fcn.140198070
nop
lea rax, [rsp + 0x188]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.140066b50
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x70]
call fcn.1400fffc0
mov qword [rsp + 0xa0], rax
jmp 0x140198636
mov rax, qword [rsp + 0x58]
add rax, 0xc
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rsp + 0x58], rax
je 0x140198836
lea rax, [rsp + 0x1a8]
mov rdi, rax
mov rsi, qword [rsp + 0x58]
mov ecx, ntohs
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xf0]
lea rcx, [rsp + 0x1a8]
mov rdi, rax
mov rsi, rcx
mov ecx, ntohs
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x140]
lea rcx, [0x14119a200]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x40
rep movsb byte [rdi], byte [rsi]
lea r9, [rsp + 0x1a0]
lea r8, [rsp + 0x1c8]
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x140]
call fcn.140024700
test eax, eax
je 0x140198831
mov eax, dword [0x14119a1c8]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
movss xmm1, dword [rsp + 0x1c8]
subss xmm1, xmm0
movaps xmm0, xmm1
mov edx, 2
call fcn.140023090
movsd qword [rsp + 0xa8], xmm0
mov eax, dword [0x14119a1c4]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movss xmm2, dword [rsp + 0x1cc]
subss xmm2, xmm1
movaps xmm1, xmm2
mov edx, 2
movaps xmm0, xmm1
call fcn.140023090
movsd xmm1, qword [rsp + 0xa8]
addsd xmm1, xmm0
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x38], xmm0
movss xmm0, dword [rsp + 0x4c]
comiss xmm0, dword [rsp + 0x38]
jbe 0x140198831
mov eax, dword [0x141193e2c]
cmp dword [rsp + 0x1a0], eax
jge 0x14019882c
lea rdx, [0x14119c410]
lea rcx, [rsp + 0x1a8]
call fcn.140057650
movzx eax, al
test eax, eax
je 0x1401987b9
lea rax, [rsp + 0x20]
lea rcx, [rsp + 0x1a8]
mov rdi, rax
mov rsi, rcx
mov ecx, ntohs
rep movsb byte [rdi], byte [rsi]
cvtsi2ss xmm0, dword [0x141193d40]
movss xmm1, dword [rsp + 0x28]
addss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x28], xmm0
jmp 0x14019881e
lea rdx, [0x14119c410]
lea rcx, [rsp + 0x1a8]
call fcn.140057650
movzx eax, al
test eax, eax
je 0x140198804
lea rax, [rsp + 0x20]
lea rcx, [rsp + 0x1a8]
mov rdi, rax
mov rsi, rcx
mov ecx, ntohs
rep movsb byte [rdi], byte [rsi]
movss xmm0, dword [rsp + 0x28]
subss xmm0, dword [0x140d78cb8]
movss dword [rsp + 0x28], xmm0
jmp 0x14019881e
lea rax, [rsp + 0x20]
lea rcx, [rsp + 0x1a8]
mov rdi, rax
mov rsi, rcx
mov ecx, ntohs
rep movsb byte [rdi], byte [rsi]
movss xmm0, dword [rsp + 0x38]
movss dword [rsp + 0x4c], xmm0
jmp 0x140198831
jmp 0x140198628
jmp 0x140198628
lea rcx, [rsp + 0x188]
call fcn.14005ce40
nop
jmp 0x1401988bb
cmp dword [0x14119a2e0], 0
jne 0x140198885
lea rax, [rsp + 0x20]
lea rcx, [0x14119c410]
mov rdi, rax
mov rsi, rcx
mov ecx, ntohs
rep movsb byte [rdi], byte [rsi]
cvtsi2ss xmm0, dword [0x141193d40]
movss xmm1, dword [rsp + 0x28]
addss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x28], xmm0
jmp 0x1401988bb
cmp dword [0x14119a2e0], 1
jne 0x1401988bb
lea rax, [rsp + 0x20]
lea rcx, [0x14119c410]
mov rdi, rax
mov rsi, rcx
mov ecx, ntohs
rep movsb byte [rdi], byte [rsi]
movss xmm0, dword [rsp + 0x28]
subss xmm0, dword [0x140d78cb8]
movss dword [rsp + 0x28], xmm0
lea rax, [rsp + 0x20]
mov rdi, qword [rsp + 0x4b0]
mov rsi, rax
mov ecx, ntohs
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x188]
call fcn.14005f230
nop
lea rcx, [rsp + 0x1e0]
call fcn.140057870
mov rax, qword [rsp + 0x4b0]
jmp 0x140198912
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1402024e0
add rsp, 0x498
pop rdi
pop rsi
ret