Function at 0x140109980
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x48]
sub rsp, 0x140
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
movaps xmmword [rax - 0x78], xmm12
movaps xmmword [rax - 0x88], xmm13
movaps xmmword [rax - 0x98], xmm14
movaps xmmword [rax - 0xa8], xmm15
mov rax, qword [0x14041d0c0]
xor rax, rsp
mov qword [rbp - 0x68], rax
lea rcx, [0x1404b98c7]
call fcn.1402b13b0
xorps xmm6, xmm6
cmp qword [0x140491980], 0
jne 0x140109a7a
cmp byte [0x1404931b0], 0
je 0x140109b88
cmp qword [0x140492090], 0
je 0x140109b88
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
lea rdx, [rsp + 0x30]
lea rcx, [0x140492090]
call fcn.140115ce0
movsd xmm0, qword [0x140491970]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x140491978]
mov dword [rsp + 0x48], eax
lea rdx, [rsp + 0x40]
lea rcx, [0x140492090]
call fcn.140115aa0
mov byte [0x1404931b0], 0
cmp qword [0x140491980], 0
je 0x140109b88
cmp qword [0x140492090], 0
je 0x140109b88
lea rdx, [rsp + 0x30]
lea rcx, [0x140491980]
call fcn.1401148b0
lea rdx, [rsp + 0x40]
lea rcx, [0x140491980]
call fcn.140114c80
movss xmm7, dword [rsp + 0x30]
movaps xmm2, xmm7
mulss xmm2, xmm7
movss xmm8, dword [rsp + 0x34]
movaps xmm0, xmm8
mulss xmm0, xmm8
addss xmm2, xmm0
movss xmm9, dword [rsp + 0x38]
movaps xmm1, xmm9
mulss xmm1, xmm9
addss xmm2, xmm1
xorps xmm0, xmm0
ucomiss xmm0, xmm2
ja 0x140109af0
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x140109af8
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
comiss xmm0, dword [0x1403e88a0]
jbe 0x140109b13
mov qword [0x140491980], 0
mov byte [0x1404931b0], 1
movss xmm0, dword [0x1403e866c]
mulss xmm7, xmm0
addss xmm7, dword [rsp + 0x40]
mulss xmm8, xmm0
addss xmm8, dword [rsp + 0x44]
mulss xmm9, xmm0
addss xmm9, dword [rsp + 0x48]
unpcklps xmm7, xmm8
movsd qword [rsp + 0x40], xmm7
movss dword [rsp + 0x48], xmm9
lea rdx, [rsp + 0x40]
lea rcx, [0x140492090]
call fcn.140115aa0
mov dword [rsp + 0x40], 0x43fa0000
mov dword [rsp + 0x44], 0x43fa0000
mov dword [rsp + 0x48], 0x43fa0000
lea rdx, [rsp + 0x40]
lea rcx, [0x140492090]
call fcn.140115ce0
movabs rsi, 0x7fffffffffbffffe
cmp byte [0x1404919a0], 0
je 0x140109d11
cmp byte [0x140492750], 0
je 0x140109c54
cmp qword [0x140492078], 0
je 0x140109d11
mov byte [0x1404931b1], 1
lea rdx, [rsp + 0x40]
lea rcx, [0x140492078]
call fcn.140114000
nop
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
cmp rbx, rdi
je 0x140109c4f
mov rax, qword [rbx]
mov qword [rsp + 0x70], rax
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x78]
call fcn.14005ce30
mov rax, qword [rsp + 0x70]
lea rcx, [rax - 0x400001]
cmp rcx, rsi
ja 0x140109c3c
mov rcx, qword [0x140491bf8]
mov edx, dword [rcx + 0x60]
add rdx, rax
call fcn.140117950
test rax, rax
je 0x140109c3c
mov rcx, qword [0x140491bf8]
mov edx, dword [rcx + 0x64]
add rdx, rax
movabs r8, 0x10100000000
call fcn.140117dd0
lea rcx, [rsp + 0x78]
call fcn.14005f3e0
add rbx, 0x28
cmp rbx, rdi
jne 0x140109be2
jmp 0x140109d07
cmp byte [0x1404931b1], 0
je 0x140109d11
cmp qword [0x140492078], 0
je 0x140109d11
mov byte [0x1404931b1], 0
lea rdx, [rsp + 0x40]
lea rcx, [0x140492078]
call fcn.140114000
nop
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
cmp rbx, rdi
je 0x140109d07
movabs r14, 0x10101000000
mov rax, qword [rbx]
mov qword [rsp + 0x70], rax
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x78]
call fcn.14005ce30
mov rax, qword [rsp + 0x70]
lea rcx, [rax - 0x400001]
cmp rcx, rsi
ja 0x140109cf4
mov rcx, qword [0x140491bf8]
mov edx, dword [rcx + 0x60]
add rdx, rax
call fcn.140117950
test rax, rax
je 0x140109cf4
mov rcx, qword [0x140491bf8]
mov edx, dword [rcx + 0x64]
add rdx, rax
mov r8, r14
call fcn.140117dd0
lea rcx, [rsp + 0x78]
call fcn.14005f3e0
add rbx, 0x28
cmp rbx, rdi
jne 0x140109ca1
lea rcx, [rsp + 0x40]
call fcn.14005ec40
cmp byte [0x140491957], 0
je 0x140109d4f
mov rcx, qword [0x140492088]
test rcx, rcx
je 0x140109d4f
lea rax, [rcx - 0x400001]
cmp rax, rsi
ja 0x140109d4f
mov rax, qword [0x140491bf8]
mov edx, dword [rax + 0xb8]
add rdx, rcx
movss xmm2, dword [0x1403e885c]
call fcn.140117c30
cmp byte [0x140491956], 0
je 0x140109e3f
cmp qword [0x140492090], 0
je 0x140109e3f
mov rcx, qword [0x140492088]
test rcx, rcx
je 0x140109e3f
cmp byte [0x140491d20], 0
je 0x140109e0f
movss xmm0, dword [0x14049197c]
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x1403e8748]
cvtpd2ps xmm2, xmm0
lea rax, [rcx - 0x400001]
cmp rax, rsi
ja 0x140109dbf
mov rax, qword [0x140491bf8]
mov edx, dword [rax + 0xb4]
add rdx, rcx
call fcn.140117c30
lea rdx, [rsp + 0x40]
lea rcx, [0x140492090]
call fcn.1401148b0
movss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x30], xmm0
movss xmm1, dword [rsp + 0x44]
subss xmm1, dword [0x1403e8854]
movss dword [rsp + 0x34], xmm1
movss xmm0, dword [rsp + 0x48]
movss dword [rsp + 0x38], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [0x140492090]
call fcn.140115ce0
jmp 0x140109e3f
mov rcx, qword [0x140492088]
lea rax, [rcx - 0x400001]
cmp rax, rsi
ja 0x140109e3f
mov rax, qword [0x140491bf8]
mov edx, dword [rax + 0xb4]
add rdx, rcx
movss xmm2, dword [0x14049197c]
call fcn.140117c30
cmp byte [0x140491995], 0
je 0x140109eb9
cmp qword [0x140492090], 0
je 0x140109eb9
lea rdx, [rsp + 0x40]
lea rcx, [0x140492090]
call fcn.1401148b0
movd xmm0, dword [0x14049198c]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x30], xmm0
movd xmm1, dword [0x140491990]
cvtdq2ps xmm1, xmm1
addss xmm1, dword [rsp + 0x44]
movss dword [rsp + 0x34], xmm1
movd xmm0, dword [0x14049199c]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [rsp + 0x48]
movss dword [rsp + 0x38], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [0x140492090]
call fcn.140115ce0
cmp byte [0x140491996], 0
je 0x14010a01c
cmp qword [0x140492090], 0
je 0x14010a01c
cmp qword [0x140492088], 0
je 0x14010a01c
cmp byte [0x140492388], 0
je 0x14010a01c
lea rdx, [rsp + 0x40]
lea rcx, [0x140492090]
call fcn.140114c80
mov rcx, qword [0x140492088]
lea rax, [rcx - 0x400001]
cmp rax, rsi
ja 0x140109f53
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], eax
mov rax, qword [0x140491bf8]
mov edx, dword [rax + 0xbc]
add rdx, rcx
mov r9d, recvfrom
lea r8, [rsp + 0x30]
mov rcx, qword [0x140491c08]
call fcn.14010b080
movss xmm2, dword [rsp + 0x38]
movss xmm1, dword [rsp + 0x30]
jmp 0x140109f64
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], eax
movaps xmm2, xmm6
movaps xmm1, xmm6
movss xmm0, dword [0x1404202ec]
mulss xmm0, dword [0x1403e8814]
mulss xmm1, xmm0
mulss xmm0, xmm2
movss xmm2, dword [rsp + 0x40]
addss xmm2, xmm1
movss xmm3, dword [rsp + 0x44]
addss xmm3, xmm6
movaps xmm4, xmm0
addss xmm4, dword [rsp + 0x48]
mov eax, dword [0x140491988]
lea rdx, [rsp + 0x40]
lea rcx, [0x140492090]
test eax, eax
jne 0x140109fc8
movss dword [rsp + 0x40], xmm2
movss dword [rsp + 0x44], xmm3
movss dword [rsp + 0x48], xmm4
call fcn.140114d50
jmp 0x14010a01c
cmp eax, 1
jne 0x140109fe3
movss dword [rsp + 0x40], xmm1
mov dword [rsp + 0x44], 0
movss dword [rsp + 0x48], xmm0
jmp 0x14010a017
movss dword [rsp + 0x40], xmm2
movss dword [rsp + 0x44], xmm3
movss dword [rsp + 0x48], xmm4
call fcn.140115aa0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x48], 0
lea rdx, [rsp + 0x40]
lea rcx, [0x140492090]
call fcn.140115ce0
cmp byte [0x140491997], 0
je 0x14010a117
cmp qword [0x140492090], 0
je 0x14010a117
cmp qword [0x140492088], 0
je 0x14010a117
cmp byte [0x140491d38], 0
je 0x14010a117
lea rdx, [rsp + 0x40]
lea rcx, [0x140492090]
call fcn.140114c80
mov rcx, qword [0x140492088]
lea rax, [rcx - 0x400001]
cmp rax, rsi
ja 0x14010a0b6
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], eax
mov rax, qword [0x140491bf8]
mov edx, dword [rax + 0xbc]
add rdx, rcx
mov r9d, recvfrom
lea r8, [rsp + 0x30]
mov rcx, qword [0x140491c08]
call fcn.14010b080
movss xmm2, dword [rsp + 0x38]
movss xmm0, dword [rsp + 0x30]
jmp 0x14010a0c7
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], eax
movaps xmm2, xmm6
movaps xmm0, xmm6
movss xmm1, dword [0x140491998]
xorps xmm1, xmmword [0x1403e9f80]
mulss xmm0, xmm1
addss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x30], xmm0
movss xmm0, dword [rsp + 0x44]
addss xmm0, xmm6
movss dword [rsp + 0x34], xmm0
mulss xmm1, xmm2
addss xmm1, dword [rsp + 0x48]
movss dword [rsp + 0x38], xmm1
lea rdx, [rsp + 0x30]
lea rcx, [0x140492090]
call fcn.140115aa0
cmp byte [0x140491994], 0
je 0x14010a50e
cmp qword [0x140492078], 0
je 0x14010a50e
cmp qword [0x140492090], 0
je 0x14010a50e
cmp byte [0x140492358], 0
je 0x14010a50e
lea rdx, [rsp + 0x30]
lea rcx, [0x140492090]
call fcn.140114c80
movaps xmm12, xmm6
movaps xmm13, xmm6
mov rcx, qword [0x140491958]
lea rax, [rcx - 0x400001]
cmp rax, rsi
ja 0x14010a1c4
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x60], eax
mov rax, qword [0x140491bf8]
mov edx, dword [rax + 0x8c]
add rdx, rcx
mov r9d, Ordinal_41
lea r8, [rsp + 0x40]
mov rcx, qword [0x140491c08]
call fcn.14010b080
movups xmm7, xmmword [rsp + 0x40]
movups xmm8, xmmword [rsp + 0x50]
mov eax, dword [rsp + 0x60]
jmp 0x14010a1cd
xorps xmm7, xmm7
xor eax, eax
xorps xmm8, xmm8
movss xmm9, dword [0x1404202e8]
movaps xmm14, xmm9
movaps xmm0, xmm7
shufps xmm0, xmm7, 0xaa
mulss xmm14, xmm0
movaps xmm15, xmm9
movaps xmm0, xmm8
shufps xmm0, xmm8, 0x55
mulss xmm15, xmm0
movaps xmm1, xmm9
movd xmm0, eax
mulss xmm1, xmm0
movss dword [rsp + 0x20], xmm1
movaps xmm10, xmm7
shufps xmm10, xmm7, 0xff
movaps xmm1, xmm10
mulss xmm1, xmm10
movaps xmm0, xmm7
mulss xmm0, xmm7
addss xmm1, xmm0
shufps xmm8, xmm8, 0xaa
movaps xmm0, xmm8
mulss xmm0, xmm8
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x14010a24a
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x14010a252
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
ucomiss xmm0, xmm6
jp 0x14010a259
je 0x14010a267
divss xmm7, xmm0
divss xmm10, xmm0
divss xmm8, xmm0
movaps xmm11, xmm9
mulss xmm11, xmm7
movaps xmm7, xmm9
mulss xmm7, xmm10
mulss xmm9, xmm8
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x48], 0
lea rdx, [rsp + 0x40]
lea rcx, [0x140492090]
call fcn.140115ce0
xor sil, sil
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14010a355
movss xmm0, dword [rsp + 0x30]
subss xmm0, xmm14
movss xmm1, dword [rsp + 0x34]
subss xmm1, xmm15
movss xmm2, dword [rsp + 0x38]
movss xmm4, dword [rsp + 0x20]
subss xmm2, xmm4
unpcklps xmm0, xmm1
movaps xmm8, xmm0
movsd qword [rsp + 0x30], xmm0
movd ebx, xmm2
movaps xmm0, xmm14
movss xmm5, dword [0x1403e8814]
mulss xmm0, xmm5
movaps xmm3, xmm6
subss xmm3, xmm0
movaps xmm1, xmm15
mulss xmm1, xmm5
movaps xmm2, xmm6
subss xmm2, xmm1
movaps xmm0, xmm4
mulss xmm0, xmm5
subss xmm6, xmm0
movaps xmm0, xmm3
unpcklps xmm0, xmm2
movd edi, xmm6
movaps xmm1, xmm0
movaps xmm10, xmm0
mov dword [rsp + 0x38], ebx
mov sil, 1
movd xmm13, edi
shufps xmm0, xmm0, 0x55
movaps xmm12, xmm0
movsd qword [rsp + 0x40], xmm1
movss xmm6, dword [rsp + 0x40]
jmp 0x14010a3ea
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14010a3d3
movss xmm0, dword [rsp + 0x30]
addss xmm0, xmm14
movss xmm1, dword [rsp + 0x34]
addss xmm1, xmm15
movss xmm2, dword [rsp + 0x38]
movss xmm3, dword [rsp + 0x20]
addss xmm2, xmm3
unpcklps xmm0, xmm1
movaps xmm8, xmm0
movsd qword [rsp + 0x30], xmm0
movd ebx, xmm2
movaps xmm0, xmm14
movss xmm4, dword [0x1403e8814]
mulss xmm0, xmm4
addss xmm0, xmm6
movaps xmm1, xmm15
mulss xmm1, xmm4
addss xmm1, xmm6
movaps xmm2, xmm3
mulss xmm2, xmm4
addss xmm2, xmm6
unpcklps xmm0, xmm1
movd edi, xmm2
jmp 0x14010a329
mov ebx, dword [rsp + 0x38]
movsd xmm8, qword [rsp + 0x30]
movd edi, xmm6
movaps xmm10, xmm6
unpcklps xmm10, xmm6
mov ecx, 0x41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14010a452
movss xmm8, dword [rsp + 0x30]
subss xmm8, xmm11
movss xmm1, dword [rsp + 0x34]
subss xmm1, xmm7
movss xmm2, dword [rsp + 0x38]
subss xmm2, xmm9
unpcklps xmm8, xmm1
movd ebx, xmm2
mulss xmm11, xmm14
subss xmm6, xmm11
mulss xmm7, xmm15
subss xmm12, xmm7
mulss xmm9, dword [rsp + 0x20]
subss xmm13, xmm9
movaps xmm10, xmm6
unpcklps xmm10, xmm12
movd edi, xmm13
jmp 0x14010a4bf
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14010a4ba
movss xmm8, dword [rsp + 0x30]
addss xmm8, xmm11
movss xmm1, dword [rsp + 0x34]
addss xmm1, xmm7
movss xmm2, dword [rsp + 0x38]
addss xmm2, xmm9
unpcklps xmm8, xmm1
movd ebx, xmm2
mulss xmm11, xmm14
addss xmm11, xmm6
mulss xmm7, xmm15
addss xmm7, xmm12
mulss xmm9, dword [rsp + 0x20]
addss xmm9, xmm13
movaps xmm10, xmm11
unpcklps xmm10, xmm7
movd edi, xmm9
jmp 0x14010a4bf
test sil, sil
je 0x14010a50e
mov eax, dword [0x14049196c]
lea rdx, [rsp + 0x40]
lea rcx, [0x140492090]
test eax, eax
jne 0x14010a4e7
movsd qword [rsp + 0x40], xmm8
mov dword [rsp + 0x48], ebx
call fcn.140114d50
jmp 0x14010a50e
cmp eax, 1
jne 0x14010a4fe
movsd qword [rsp + 0x40], xmm10
mov dword [rsp + 0x48], edi
call fcn.140115ce0
jmp 0x14010a50e
movsd qword [rsp + 0x40], xmm8
mov dword [rsp + 0x48], ebx
call fcn.140115aa0
mov rcx, qword [rbp - 0x68]
xor rcx, rsp
call fcn.1402aff00
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop rbp
ret