Function at 0x140197610
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x4a8
mov rax, qword [0x140d8e080]
xor rax, rsp
mov qword [rsp + 0x490], rax
xorps xmm0, xmm0
movss dword [rsp + 0xd0], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0xd4], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0xd8], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x28], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x2c], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x30], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x1c8], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x1cc], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0xe0], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0xe4], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0xe8], xmm0
movss xmm0, dword [0x140d78e64]
movss dword [rsp + 0x44], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x38], xmm0
mov dword [rsp + 0x190], 0
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x1f0]
call fcn.140057740
nop
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x1b0], 0
mov edx, Ordinal_27
lea rcx, [rsp + 0x198]
call fcn.140021ef0
lea rcx, [rsp + 0x198]
call fcn.140022f00
nop
movss xmm0, dword [0x140d78e64]
movss dword [rsp + 0x50], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x40], xmm0
lea rax, [0x14119b838]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.140066b50
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x78]
call fcn.1400fffc0
mov qword [rsp + 0x98], rax
jmp 0x14019776c
mov rax, qword [rsp + 0x60]
add rax, 0x298
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x98]
cmp qword [rsp + 0x60], rax
je 0x140197934
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x58], rax
movzx eax, byte [0x14119a2cc]
cmp eax, 1
jne 0x1401977bb
mov rax, qword [rsp + 0x58]
xorps xmm0, xmm0
comiss xmm0, dword [rax + 0x24]
jb 0x1401977bb
mov ecx, dword [reloc.WS2_32.dll_accept]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1401977bb
jmp 0x14019775c
movzx eax, byte [0x14119a2cd]
cmp eax, 1
jne 0x1401977d7
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 4]
cmp eax, 1
jne 0x1401977d7
jmp 0x14019775c
lea rax, [rsp + 0xf0]
mov rcx, qword [rsp + 0x58]
mov rdi, rax
lea rsi, [rcx + 0x1a0]
mov ecx, ntohs
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x110]
lea rcx, [0x14119a200]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x40
rep movsb byte [rdi], byte [rsi]
lea r9, [rsp + 0x190]
lea r8, [rsp + 0x1c8]
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x110]
call fcn.140024700
test eax, eax
je 0x14019792f
cmp dword [0x14119a31c], 0
jne 0x1401978c6
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 + 0xa0], 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 + 0xa0]
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
jmp 0x1401978d5
cvtsi2ss xmm0, dword [rsp + 0x190]
movss dword [rsp + 0x38], xmm0
movss xmm0, dword [rsp + 0x44]
comiss xmm0, dword [rsp + 0x38]
jbe 0x14019792f
mov eax, dword [0x141193e2c]
cmp dword [rsp + 0x190], eax
jge 0x14019792a
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x1f0]
call fcn.140065e00
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x158]
mov dword [rsp + 0x3c], eax
movss xmm0, dword [rsp + 0x38]
movss dword [rsp + 0x44], xmm0
jmp 0x14019792f
jmp 0x14019775c
jmp 0x14019775c
cmp dword [rsp + 0x24], 0
jne 0x140197b3e
movzx eax, byte [0x14119a322]
test eax, eax
je 0x140197b3e
mov dword [rsp + 0x4c], 0xf423f
mov dword [rsp + 0x20], 0
jmp 0x14019796a
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0xa8], rax
lea rcx, [0x14119b838]
call fcn.140022ea0
mov rcx, qword [rsp + 0xa8]
cmp rcx, rax
jae 0x140197b3e
movzx eax, byte [0x14119a2cc]
cmp eax, 1
jne 0x1401979d5
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [0x14119b838]
call fcn.140022e70
xorps xmm0, xmm0
comiss xmm0, dword [rax + 0x24]
jb 0x1401979d5
mov ecx, dword [reloc.WS2_32.dll_accept]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1401979d5
jmp 0x140197960
movzx eax, byte [0x14119a2cd]
cmp eax, 1
jne 0x140197a03
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [0x14119b838]
call fcn.140022e70
movzx eax, byte [rax + 4]
cmp eax, 1
jne 0x140197a03
jmp 0x140197960
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [0x14119b838]
call fcn.140022e70
movss xmm0, dword [0x141199450]
subss xmm0, dword [rax + 0xc]
mov edx, 2
call fcn.140023090
movsd qword [rsp + 0xb0], xmm0
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [0x14119b838]
call fcn.140022e70
movss xmm0, dword [0x141199454]
subss xmm0, dword [rax + 0x10]
mov edx, 2
call fcn.140023090
movsd xmm1, qword [rsp + 0xb0]
addsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0xb8], xmm0
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [0x14119b838]
call fcn.140022e70
movss xmm0, dword [0x141199458]
subss xmm0, dword [rax + 0x14]
mov edx, 2
call fcn.140023090
movsd xmm1, qword [rsp + 0xb8]
addsd xmm1, xmm0
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x70], xmm0
movss xmm0, dword [rsp + 0x70]
divss xmm0, dword [0x140d78d8c]
cvttss2si eax, xmm0
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x48], eax
jge 0x140197b39
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [0x14119b838]
call fcn.140022e70
mov rdx, rax
lea rcx, [rsp + 0x1f0]
call fcn.140065e00
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [0x14119b838]
call fcn.140022e70
mov eax, dword [rax + 0x158]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x4c], eax
jmp 0x140197960
cmp dword [rsp + 0x24], 0
jne 0x140197bcd
movss xmm0, dword [0x140d78e64]
movss dword [rsp + 0x88], xmm0
movss xmm0, dword [0x140d78e64]
movss dword [rsp + 0x8c], xmm0
movss xmm0, dword [0x140d78e64]
movss dword [rsp + 0x90], xmm0
mov dword [0x141199508], 0
lea rax, [rsp + 0x88]
mov rdi, qword [rsp + 0x4c0]
mov rsi, rax
mov ecx, ntohs
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x198]
call fcn.14005f230
nop
lea rcx, [rsp + 0x1f0]
call fcn.140057870
mov rax, qword [rsp + 0x4c0]
jmp 0x14019804a
lea rdx, [rsp + 0x1f0]
lea rcx, [0x14119c270]
call fcn.140065e00
mov eax, dword [rsp + 0x3c]
mov dword [0x141199508], eax
movzx eax, byte [0x14119a2f8]
test eax, eax
je 0x140197f7e
lea rdx, [0x14119c410]
lea rcx, [rsp + 0x198]
call fcn.140198070
lea rdx, [0x14119c41c]
lea rcx, [rsp + 0x198]
call fcn.140198070
lea rdx, [0x14119c434]
lea rcx, [rsp + 0x198]
call fcn.140198070
lea rdx, [0x14119c428]
lea rcx, [rsp + 0x198]
call fcn.140198070
lea rdx, [0x14119c440]
lea rcx, [rsp + 0x198]
call fcn.140198070
lea rdx, [0x14119c44c]
lea rcx, [rsp + 0x198]
call fcn.140198070
lea rdx, [0x14119c458]
lea rcx, [rsp + 0x198]
call fcn.140198070
lea rdx, [0x14119c464]
lea rcx, [rsp + 0x198]
call fcn.140198070
lea rdx, [0x14119c470]
lea rcx, [rsp + 0x198]
call fcn.140198070
lea rdx, [0x14119c47c]
lea rcx, [rsp + 0x198]
call fcn.140198070
lea rdx, [0x14119c488]
lea rcx, [rsp + 0x198]
call fcn.140198070
lea rdx, [0x14119c494]
lea rcx, [rsp + 0x198]
call fcn.140198070
lea rdx, [0x14119c4a0]
lea rcx, [rsp + 0x198]
call fcn.140198070
lea rdx, [0x14119c4ac]
lea rcx, [rsp + 0x198]
call fcn.140198070
lea rdx, [0x14119c4b8]
lea rcx, [rsp + 0x198]
call fcn.140198070
nop
lea rax, [rsp + 0x198]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.140066b50
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x80]
call fcn.1400fffc0
mov qword [rsp + 0xc0], rax
jmp 0x140197d6e
mov rax, qword [rsp + 0x68]
add rax, 0xc
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xc0]
cmp qword [rsp + 0x68], rax
je 0x140197f6e
lea rax, [rsp + 0x1b8]
mov rdi, rax
mov rsi, qword [rsp + 0x68]
mov ecx, ntohs
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x100]
lea rcx, [rsp + 0x1b8]
mov rdi, rax
mov rsi, rcx
mov ecx, ntohs
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x150]
lea rcx, [0x14119a200]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x40
rep movsb byte [rdi], byte [rsi]
lea r9, [rsp + 0x1b0]
lea r8, [rsp + 0x1d8]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x150]
call fcn.140024700
test eax, eax
je 0x140197f69
mov eax, dword [0x14119a1c8]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
movss xmm1, dword [rsp + 0x1d8]
subss xmm1, xmm0
movaps xmm0, xmm1
mov edx, 2
call fcn.140023090
movsd qword [rsp + 0xc8], xmm0
mov eax, dword [0x14119a1c4]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movss xmm2, dword [rsp + 0x1dc]
subss xmm2, xmm1
movaps xmm1, xmm2
mov edx, 2
movaps xmm0, xmm1
call fcn.140023090
movsd xmm1, qword [rsp + 0xc8]
addsd xmm1, xmm0
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [rsp + 0x50]
comiss xmm0, dword [rsp + 0x40]
jbe 0x140197f69
mov eax, dword [0x141193e2c]
cmp dword [rsp + 0x1b0], eax
jge 0x140197f64
lea rdx, [0x14119c410]
lea rcx, [rsp + 0x1b8]
call fcn.140057650
movzx eax, al
test eax, eax
je 0x140197ef1
lea rax, [rsp + 0x28]
lea rcx, [rsp + 0x1b8]
mov rdi, rax
mov rsi, rcx
mov ecx, ntohs
rep movsb byte [rdi], byte [rsi]
cvtsi2ss xmm0, dword [0x141193d40]
movss xmm1, dword [rsp + 0x30]
addss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x30], xmm0
jmp 0x140197f56
lea rdx, [0x14119c410]
lea rcx, [rsp + 0x1b8]
call fcn.140057650
movzx eax, al
test eax, eax
je 0x140197f3c
lea rax, [rsp + 0x28]
lea rcx, [rsp + 0x1b8]
mov rdi, rax
mov rsi, rcx
mov ecx, ntohs
rep movsb byte [rdi], byte [rsi]
movss xmm0, dword [rsp + 0x30]
subss xmm0, dword [0x140d78cb8]
movss dword [rsp + 0x30], xmm0
jmp 0x140197f56
lea rax, [rsp + 0x28]
lea rcx, [rsp + 0x1b8]
mov rdi, rax
mov rsi, rcx
mov ecx, ntohs
rep movsb byte [rdi], byte [rsi]
movss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x50], xmm0
jmp 0x140197f69
jmp 0x140197d60
jmp 0x140197d60
lea rcx, [rsp + 0x198]
call fcn.14005ce40
nop
jmp 0x140197ff3
cmp dword [0x14119a2e0], 0
jne 0x140197fbd
lea rax, [rsp + 0x28]
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 + 0x30]
addss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x30], xmm0
jmp 0x140197ff3
cmp dword [0x14119a2e0], 1
jne 0x140197ff3
lea rax, [rsp + 0x28]
lea rcx, [0x14119c410]
mov rdi, rax
mov rsi, rcx
mov ecx, ntohs
rep movsb byte [rdi], byte [rsi]
movss xmm0, dword [rsp + 0x30]
subss xmm0, dword [0x140d78cb8]
movss dword [rsp + 0x30], xmm0
lea rax, [rsp + 0x28]
mov rdi, qword [rsp + 0x4c0]
mov rsi, rax
mov ecx, ntohs
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x198]
call fcn.14005f230
nop
lea rcx, [rsp + 0x1f0]
call fcn.140057870
mov rax, qword [rsp + 0x4c0]
jmp 0x14019804a
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.1402024e0
add rsp, 0x4a8
pop rdi
pop rsi
ret