Function at 0x1400d3dc0
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rdi
sub rsp, 0x218
mov rax, qword [0x140441080]
xor rax, rsp
mov qword [rsp + 0x200], 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 [0x140443948], xmm0
xorps xmm0, xmm0
movss dword [0x14044394c], 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 [0x14043000c]
movss dword [rsp + 0x64], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x44], xmm0
mov dword [rsp + 0x78], 0
xorps xmm0, xmm0
movss dword [rsp + 0x7c], xmm0
mov dword [rsp + 0x60], 0
lea rcx, [0x140478448]
call fcn.140012ea0
lea rdx, [0x140444350]
lea rcx, [0x140478448]
call fcn.140012f20
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, [0x140478448]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.14000f6a0
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x70]
call fcn.14000f920
mov qword [rsp + 0x88], rax
jmp 0x1400d3efe
mov rax, qword [rsp + 0x58]
add rax, 0x228
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x58], rax
je 0x1400d4550
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x30], 0
mov byte [0x1404438ce], 1
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400d3f32
jmp 0x1400d3eee
movzx eax, byte [0x1404439a9]
test eax, eax
jne 0x1400d3f5c
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x74], 0
jg 0x1400d3f5c
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x60], 0
jne 0x1400d3f5c
mov byte [0x1404438ce], 0
jmp 0x1400d3eee
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
jne 0x1400d3f88
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x60], 0
jne 0x1400d3f88
mov byte [0x1404438ce], 0
jmp 0x1400d3eee
lea rax, [rsp + 0xa0]
mov rcx, qword [rsp + 0x38]
mov rdi, rax
lea rsi, [rcx + 0x174]
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x140]
lea rcx, [0x140443880]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x40
rep movsb byte [rdi], byte [rsi]
lea r9, [rsp + 0x60]
lea r8, [0x140443948]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x140]
call fcn.140011040
test eax, eax
je 0x1400d451b
mov eax, dword [0x1404437d4]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
movss xmm1, dword [0x140443948]
subss xmm1, xmm0
movaps xmm0, xmm1
mov edx, 2
call fcn.14000f9c0
movsd qword [rsp + 0x90], xmm0
mov eax, dword [0x1404437d0]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movss xmm2, dword [0x14044394c]
subss xmm2, xmm1
movaps xmm1, xmm2
mov edx, 2
movaps xmm0, xmm1
call fcn.14000f9c0
movsd xmm1, qword [rsp + 0x90]
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.1400d1ca0
movss xmm1, dword [rsp + 0x64]
comiss xmm1, xmm0
jbe 0x1400d44e9
cvtsi2ss xmm0, dword [0x1404437d0]
cvtsi2ss xmm1, dword [0x1404437d4]
movss dword [rsp + 0x68], xmm1
movss xmm3, dword [0x140443a1c]
mov r8, qword [0x140443948]
movaps xmm1, xmm0
movss xmm0, dword [rsp + 0x68]
call fcn.1400d3670
movzx eax, al
test eax, eax
je 0x1400d44b7
cmp dword [0x140443974], 0
jne 0x1400d40ff
lea rax, [rsp + 0x180]
mov rcx, qword [rsp + 0x38]
mov rdi, rax
lea rsi, [rcx + 0x174]
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
movss xmm0, dword [rsp + 0x188]
addss xmm0, dword [0x14042fdf4]
movss dword [rsp + 0x188], xmm0
cmp dword [0x140443974], 1
jne 0x1400d4126
lea rax, [rsp + 0x180]
mov rcx, qword [rsp + 0x38]
mov rdi, rax
lea rsi, [rcx + 0x18c]
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
cmp dword [0x140443974], 2
jne 0x1400d414d
lea rax, [rsp + 0x180]
mov rcx, qword [rsp + 0x38]
mov rdi, rax
lea rsi, [rcx + 0x18c]
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
cmp dword [0x140443974], 3
jne 0x1400d4174
lea rax, [rsp + 0x180]
mov rcx, qword [rsp + 0x38]
mov rdi, rax
lea rsi, [rcx + 0x18c]
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
cmp dword [0x140443974], 4
jne 0x1400d419b
lea rax, [rsp + 0x180]
mov rcx, qword [rsp + 0x38]
mov rdi, rax
lea rsi, [rcx + 0x18c]
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
mov eax, dword [0x140443838]
add eax, 0x1e2c
mov ecx, eax
call fcn.14000f980
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
add eax, 0xcf8
mov ecx, eax
call fcn.14000f980
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x40], 0
jbe 0x1400d4485
mov eax, dword [rsp + 0x40]
add eax, 0x158
mov ecx, eax
call fcn.14000f980
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x1400d4453
mov eax, dword [rsp + 0x48]
add eax, 0x160
mov edx, eax
lea rcx, [rsp + 0x110]
call fcn.140014c10
lea rcx, [rsp + 0x1e0]
mov rdi, rcx
mov rsi, rax
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x190]
lea rcx, [rsp + 0x1e0]
mov rdi, rax
mov rsi, rcx
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xb0]
lea rcx, [rsp + 0x180]
mov rdi, rax
mov rsi, rcx
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xc0]
lea rcx, [rsp + 0x190]
mov rdi, rax
mov rsi, rcx
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0xc0]
call fcn.140027800
divss xmm0, dword [0x14042fea8]
call fcn.1400d1ca0
movss dword [rsp + 0x6c], xmm0
movss xmm0, dword [rsp + 0x6c]
call fcn.1400d1ca0
movss xmm1, dword [0x14042ffdc]
comiss xmm1, xmm0
jb 0x1400d4421
lea rax, [rsp + 0xd0]
lea rcx, [rsp + 0x180]
mov rdi, rax
mov rsi, rcx
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xe0]
lea rcx, [rsp + 0x190]
mov rdi, rax
mov rsi, rcx
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x13c]
add eax, 0x158
mov ecx, eax
call fcn.14000f980
lea rcx, [rsp + 0xd0]
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov rax, qword [rsp + 0x38]
mov r8d, dword [rax + 0x13c]
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x120]
call fcn.1400d3b00
lea rcx, [rsp + 0x1f0]
mov rdi, rcx
mov rsi, rax
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1c0]
lea rcx, [rsp + 0x1f0]
mov rdi, rax
mov rsi, rcx
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xf0]
lea rcx, [rsp + 0x1c0]
mov rdi, rax
mov rsi, rcx
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x100]
lea rcx, [rsp + 0x190]
mov rdi, rax
mov rsi, rcx
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0xf0]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x130]
call fcn.1400d3870
lea rcx, [rsp + 0x1d0]
mov rdi, rcx
mov rsi, rax
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1b0]
lea rcx, [rsp + 0x1d0]
mov rdi, rax
mov rsi, rcx
mov ecx, recv
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 0x1400d4580
mov byte [0x1404438ce], 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 0x1400d3eee
mov byte [0x1404438ce], 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 0x1400d3eee
mov byte [0x1404438ce], 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 0x1400d3eee
mov byte [0x1404438ce], 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 0x1400d3eee
mov byte [0x1404438ce], 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 0x1400d3eee
mov byte [0x1404438ce], 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 0x1400d3eee
mov byte [0x1404438ce], 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 + 0x200]
xor rcx, rsp
call fcn.14013adc0
add rsp, 0x218
pop rdi
pop rsi
ret