Function at 0x1400ea480
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rdi
sub rsp, 0x1f8
mov rax, qword [0x140420080]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
xorps xmm0, xmm0
movss dword [rsp + 0x50], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x54], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x180], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x184], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x188], xmm0
xorps xmm0, xmm0
movss dword [0x140422698], xmm0
xorps xmm0, xmm0
movss dword [0x14042269c], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x1a0], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x1a4], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x1a8], xmm0
movss xmm0, dword [0x1404105c0]
movss dword [rsp + 0x64], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x44], xmm0
mov dword [rsp + 0x80], 0
xorps xmm0, xmm0
movss dword [rsp + 0x84], xmm0
mov dword [rsp + 0x60], 0
lea rcx, [0x140456ef0]
call fcn.140012b20
lea rdx, [0x140422e20]
lea rcx, [0x140456ef0]
call fcn.140012b90
xorps xmm0, xmm0
movss dword [rsp + 0x180], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x184], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x188], xmm0
lea rax, [0x140456ef0]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.14000ed10
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x78]
call fcn.14000f020
mov qword [rsp + 0x90], rax
jmp 0x1400ea5c4
mov rax, qword [rsp + 0x58]
add rax, 0x218
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0x58], rax
je 0x1400eabea
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x30], 0
mov byte [0x140422676], 1
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400ea5f8
jmp 0x1400ea5b4
movzx eax, byte [0x140422723]
test eax, eax
jne 0x1400ea622
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x64], 0
jg 0x1400ea622
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x44], 0
jne 0x1400ea622
mov byte [0x140422676], 0
jmp 0x1400ea5b4
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
jne 0x1400ea64e
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x44], 0
jne 0x1400ea64e
mov byte [0x140422676], 0
jmp 0x1400ea5b4
lea rax, [rsp + 0xa0]
mov rcx, qword [rsp + 0x38]
mov rdi, rax
lea rsi, [rcx + 0x164]
mov ecx, ntohl
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x140]
lea rcx, [0x1404225b0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x40
rep movsb byte [rdi], byte [rsi]
lea r9, [rsp + 0x60]
lea r8, [0x140422698]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x140]
call fcn.140010b80
test eax, eax
je 0x1400eabb5
mov eax, dword [0x14042250c]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
movss xmm1, dword [0x140422698]
subss xmm1, xmm0
movaps xmm0, xmm1
mov edx, 2
call fcn.14000f100
movsd qword [rsp + 0x98], xmm0
mov eax, dword [0x140422508]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movss xmm2, dword [0x14042269c]
subss xmm2, xmm1
movaps xmm1, xmm2
mov edx, 2
movaps xmm0, xmm1
call fcn.14000f100
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 + 0x44], xmm0
movss xmm0, dword [rsp + 0x44]
call fcn.1400e8250
movss xmm1, dword [rsp + 0x64]
comiss xmm1, xmm0
jbe 0x1400eab83
cvtsi2ss xmm0, dword [0x140422508]
cvtsi2ss xmm1, dword [0x14042250c]
movss dword [rsp + 0x68], xmm1
movss xmm3, dword [0x140422798]
mov r8, qword [0x140422698]
movaps xmm1, xmm0
movss xmm0, dword [rsp + 0x68]
call fcn.1400e9d30
movzx eax, al
test eax, eax
je 0x1400eab51
cmp dword [0x1404226ec], 0
jne 0x1400ea7c5
lea rax, [rsp + 0x180]
mov rcx, qword [rsp + 0x38]
mov rdi, rax
lea rsi, [rcx + 0x164]
mov ecx, ntohl
rep movsb byte [rdi], byte [rsi]
movss xmm0, dword [rsp + 0x188]
addss xmm0, dword [0x140410388]
movss dword [rsp + 0x188], xmm0
cmp dword [0x1404226ec], 1
jne 0x1400ea7ec
lea rax, [rsp + 0x180]
mov rcx, qword [rsp + 0x38]
mov rdi, rax
lea rsi, [rcx + 0x17c]
mov ecx, ntohl
rep movsb byte [rdi], byte [rsi]
cmp dword [0x1404226ec], 2
jne 0x1400ea813
lea rax, [rsp + 0x180]
mov rcx, qword [rsp + 0x38]
mov rdi, rax
lea rsi, [rcx + 0x17c]
mov ecx, ntohl
rep movsb byte [rdi], byte [rsi]
cmp dword [0x1404226ec], 3
jne 0x1400ea83a
lea rax, [rsp + 0x180]
mov rcx, qword [rsp + 0x38]
mov rdi, rax
lea rsi, [rcx + 0x17c]
mov ecx, ntohl
rep movsb byte [rdi], byte [rsi]
cmp dword [0x1404226ec], 4
jne 0x1400ea861
lea rax, [rsp + 0x180]
mov rcx, qword [rsp + 0x38]
mov rdi, rax
lea rsi, [rcx + 0x17c]
mov ecx, ntohl
rep movsb byte [rdi], byte [rsi]
mov eax, dword [0x140422578]
add eax, 0x1dcc
mov ecx, eax
call fcn.14000f0c0
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
add eax, 0xcb8
mov ecx, eax
call fcn.14000f0c0
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x40], 0
jbe 0x1400eab1f
mov eax, dword [rsp + 0x40]
add eax, 0x158
mov ecx, eax
call fcn.14000f0c0
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x1400eaaed
mov eax, dword [rsp + 0x48]
add eax, 0x160
mov edx, eax
lea rcx, [rsp + 0x110]
call fcn.140015610
lea rcx, [rsp + 0x190]
mov rdi, rcx
mov rsi, rax
mov ecx, ntohl
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xb0]
lea rcx, [rsp + 0x180]
mov rdi, rax
mov rsi, rcx
mov ecx, ntohl
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xc0]
lea rcx, [rsp + 0x190]
mov rdi, rax
mov rsi, rcx
mov ecx, ntohl
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0xc0]
call fcn.140039d10
divss xmm0, dword [0x140410448]
call fcn.1400e8250
movss dword [rsp + 0x6c], xmm0
movss xmm0, dword [rsp + 0x6c]
call fcn.1400e8250
movss xmm1, dword [0x140410590]
comiss xmm1, xmm0
jb 0x1400eaabb
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x12c]
add eax, 0x158
mov ecx, eax
call fcn.14000f0c0
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x12c]
mov dword [rsp + 0x74], eax
lea rax, [rsp + 0xd0]
lea rcx, [rsp + 0x180]
mov rdi, rax
mov rsi, rcx
mov ecx, ntohl
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xe0]
lea rcx, [rsp + 0x190]
mov rdi, rax
mov rsi, rcx
mov ecx, ntohl
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x70]
mov r8d, dword [rsp + 0x74]
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x120]
call fcn.1400ea1f0
lea rcx, [rsp + 0x1c0]
mov rdi, rcx
mov rsi, rax
mov ecx, ntohl
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1d0]
lea rcx, [rsp + 0x1c0]
mov rdi, rax
mov rsi, rcx
mov ecx, ntohl
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xf0]
lea rcx, [rsp + 0x1d0]
mov rdi, rax
mov rsi, rcx
mov ecx, ntohl
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x100]
lea rcx, [rsp + 0x190]
mov rdi, rax
mov rsi, rcx
mov ecx, ntohl
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0xf0]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x130]
call fcn.1400e9f20
lea rcx, [rsp + 0x1b0]
mov rdi, rcx
mov rsi, rax
mov ecx, ntohl
rep movsb byte [rdi], byte [rsi]
movss xmm0, dword [rsp + 0x1b0]
movss dword [rsp + 0x50], xmm0
movss xmm0, dword [rsp + 0x1b4]
movss dword [rsp + 0x54], xmm0
mov rax, qword [rsp + 0x50]
jmp 0x1400eac1a
mov byte [0x140422676], 0
xorps xmm0, xmm0
movss dword [rsp + 0x180], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x184], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x188], xmm0
jmp 0x1400ea5b4
mov byte [0x140422676], 0
xorps xmm0, xmm0
movss dword [rsp + 0x180], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x184], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x188], xmm0
jmp 0x1400ea5b4
mov byte [0x140422676], 0
xorps xmm0, xmm0
movss dword [rsp + 0x180], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x184], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x188], xmm0
jmp 0x1400ea5b4
mov byte [0x140422676], 0
xorps xmm0, xmm0
movss dword [rsp + 0x180], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x184], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x188], xmm0
jmp 0x1400ea5b4
mov byte [0x140422676], 0
xorps xmm0, xmm0
movss dword [rsp + 0x180], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x184], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x188], xmm0
jmp 0x1400ea5b4
mov byte [0x140422676], 0
xorps xmm0, xmm0
movss dword [rsp + 0x180], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x184], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x188], xmm0
jmp 0x1400ea5b4
mov byte [0x140422676], 0
xorps xmm0, xmm0
movss dword [rsp + 0x180], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x184], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x188], xmm0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.140151e30
add rsp, 0x1f8
pop rdi
pop rsi
ret