Function at 0x1400c0970
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2e8]
sub rsp, 0x3c0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
movaps xmmword [rax - 0xc8], xmm15
mov rax, qword [0x140ce2080]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov r15, rcx
xorps xmm12, xmm12
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x40], 0
movss xmm10, dword [0x140cc4238]
movss dword [rsp + 0x60], xmm10
xor r12d, r12d
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], r12w
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x38], r12b
mov qword [rbp - 0x18], r12
mov qword [rbp - 8], r12
mov qword [rbp], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x18], r12b
mov qword [rbp + 8], r12
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp + 8], r12b
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x38], r12
mov qword [rbp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x28], r12b
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x58], r12
mov qword [rbp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x48], r12b
mov qword [rbp + 0x68], r12
mov qword [rbp + 0x78], r12
mov qword [rbp + 0x80], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x68], r12b
mov qword [rbp + 0x90], r12
movdqa xmm0, xmmword [0x140cc4310]
movdqa xmmword [rbp + 0xa0], xmm0
mov byte [rbp + 0x90], r12b
mov qword [rbp + 0xf0], r12
movdqa xmmword [rbp + 0x100], xmm0
mov byte [rbp + 0xf0], r12b
mov esi, r12d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r12
mov r14, qword [0x141281b18]
mov rbx, qword [0x141281b10]
cmp rbx, r14
je 0x1400c1420
movss xmm7, dword [0x140cc4130]
movss xmm8, dword [0x140cc3f74]
movss xmm11, dword [0x140cc3f24]
movsd xmm15, qword [0x140cc3ff8]
movss xmm14, dword [0x140cc3ec8]
nop dword [rax]
cmp byte [0x141281a34], 1
jne 0x1400c0b57
comiss xmm12, dword [rbx + 0x24]
jb 0x1400c0b57
mov ecx, dword [reloc.WS2_32.dll_accept]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x1400c0d82
cmp byte [0x141281a35], 1
jne 0x1400c0b6a
cmp byte [rbx + 4], 1
je 0x1400c0d82
movsd xmm0, qword [rbx + 0x1a0]
mov eax, dword [rbx + 0x1a8]
mov dword [rsp + 0x58], eax
movaps xmm3, xmm0
shufps xmm3, xmm3, 0x55
movsd qword [rsp + 0x50], xmm0
movaps xmm4, xmm3
mulss xmm4, dword [0x141280ccc]
movss xmm5, dword [rsp + 0x50]
movaps xmm0, xmm5
mulss xmm0, dword [0x141280cbc]
addss xmm4, xmm0
movss xmm6, dword [rsp + 0x58]
movaps xmm1, xmm6
mulss xmm1, dword [0x141280cdc]
addss xmm1, dword [0x141280cec]
addss xmm4, xmm1
movaps xmm0, xmm4
divss xmm0, xmm7
cvttss2si edi, xmm0
comiss xmm14, xmm4
ja 0x1400c0d82
movaps xmm2, xmm8
divss xmm2, xmm4
mov ecx, dword [0x141280cac]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
xorps xmm8, xmm8
cvtsi2ss xmm8, eax
mov r8d, dword [0x141280ca8]
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
xorps xmm9, xmm9
cvtsi2ss xmm9, eax
movaps xmm4, xmm3
mulss xmm4, dword [0x141280cc0]
movaps xmm0, xmm5
mulss xmm0, dword [0x141280cb0]
addss xmm4, xmm0
movaps xmm1, xmm6
mulss xmm1, dword [0x141280cd0]
addss xmm4, xmm1
addss xmm4, dword [0x141280ce0]
mulss xmm4, xmm2
mulss xmm4, xmm8
addss xmm4, xmm8
mulss xmm3, dword [0x141280cc4]
mulss xmm5, dword [0x141280cb4]
addss xmm3, xmm5
mulss xmm6, dword [0x141280cd4]
addss xmm3, xmm6
addss xmm3, dword [0x141280ce4]
mulss xmm3, xmm2
mulss xmm3, xmm9
movaps xmm7, xmm9
subss xmm7, xmm3
cmp byte [0x1412819d7], 0
je 0x1400c0d71
xorps xmm0, xmm0
cvtsi2ss xmm0, ecx
mulss xmm0, xmm11
movaps xmm3, xmm4
subss xmm3, xmm0
xorps xmm1, xmm1
cvtsi2ss xmm1, r8d
mulss xmm1, xmm11
movaps xmm2, xmm7
subss xmm2, xmm1
mulss xmm2, xmm2
mulss xmm3, xmm3
addss xmm2, xmm3
movss xmm0, dword [0x140edfa7c]
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x1400c0d71
cmp dword [0x141281a1c], 0
jne 0x1400c0d3b
subss xmm4, xmm8
xorps xmm0, xmm0
cvtss2sd xmm0, xmm4
movaps xmm1, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
subss xmm7, xmm9
cvtps2pd xmm0, xmm7
movaps xmm1, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm1, xmm0
addsd xmm1, xmm6
xorps xmm0, xmm0
ucomisd xmm0, xmm1
ja 0x1400c0d2d
xorps xmm0, xmm0
sqrtsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
jmp 0x1400c0d42
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
cvtsd2ss xmm0, xmm0
jmp 0x1400c0d42
movd xmm0, edi
cvtdq2ps xmm0, xmm0
comiss xmm10, xmm0
jbe 0x1400c0d71
cmp edi, dword [0x140e8502c]
jge 0x1400c0d71
movaps xmm10, xmm0
inc esi
mov rdx, rbx
lea rcx, [0x141279540]
call fcn.140039b30
mov eax, dword [rbx + 0x158]
mov dword [0x141280708], eax
movss xmm7, dword [0x140cc4130]
movss xmm8, dword [0x140cc3f74]
add rbx, 0x298
cmp rbx, r14
jne 0x1400c0b30
test esi, esi
movss xmm14, dword [rsp + 0x60]
je 0x1400c1420
cmp byte [0x1412819f7], 0
je 0x1400c13a7
lea r8, [0x1412796e0]
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140036700
mov rbx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rbx, rcx
je 0x1400c0df0
movsd xmm0, qword [0x1412796ec]
movsd qword [rbx], xmm0
mov eax, dword [0x1412796f4]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x28], rbx
jmp 0x1400c0e0e
lea r8, [0x1412796ec]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140036700
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
je 0x1400c0e33
movsd xmm0, qword [0x141279704]
movsd qword [rbx], xmm0
mov eax, dword [0x14127970c]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x28], rbx
jmp 0x1400c0e51
lea r8, [0x141279704]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140036700
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
je 0x1400c0e76
movsd xmm0, qword [0x1412796f8]
movsd qword [rbx], xmm0
mov eax, dword [0x141279700]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x28], rbx
jmp 0x1400c0e94
lea r8, [0x1412796f8]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140036700
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
je 0x1400c0eb9
movsd xmm0, qword [0x141279710]
movsd qword [rbx], xmm0
mov eax, dword [0x141279718]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x28], rbx
jmp 0x1400c0ed7
lea r8, [0x141279710]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140036700
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
je 0x1400c0efc
movsd xmm0, qword [0x14127971c]
movsd qword [rbx], xmm0
mov eax, dword [0x141279724]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x28], rbx
jmp 0x1400c0f1a
lea r8, [0x14127971c]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140036700
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
je 0x1400c0f3f
movsd xmm0, qword [0x141279728]
movsd qword [rbx], xmm0
mov eax, dword [0x141279730]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x28], rbx
jmp 0x1400c0f5d
lea r8, [0x141279728]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140036700
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
je 0x1400c0f82
movsd xmm0, qword [0x141279734]
movsd qword [rbx], xmm0
mov eax, dword [0x14127973c]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x28], rbx
jmp 0x1400c0fa0
lea r8, [0x141279734]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140036700
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
je 0x1400c0fc5
movsd xmm0, qword [0x141279740]
movsd qword [rbx], xmm0
mov eax, dword [0x141279748]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x28], rbx
jmp 0x1400c0fe3
lea r8, [0x141279740]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140036700
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
je 0x1400c1008
movsd xmm0, qword [0x14127974c]
movsd qword [rbx], xmm0
mov eax, dword [0x141279754]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x28], rbx
jmp 0x1400c1026
lea r8, [0x14127974c]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140036700
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
je 0x1400c104b
movsd xmm0, qword [0x141279758]
movsd qword [rbx], xmm0
mov eax, dword [0x141279760]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x28], rbx
jmp 0x1400c1069
lea r8, [0x141279758]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140036700
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
je 0x1400c108e
movsd xmm0, qword [0x141279764]
movsd qword [rbx], xmm0
mov eax, dword [0x14127976c]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x28], rbx
jmp 0x1400c10ac
lea r8, [0x141279764]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140036700
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
je 0x1400c10d1
movsd xmm0, qword [0x141279770]
movsd qword [rbx], xmm0
mov eax, dword [0x141279778]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x28], rbx
jmp 0x1400c10ef
lea r8, [0x141279770]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140036700
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
je 0x1400c1114
movsd xmm0, qword [0x14127977c]
movsd qword [rbx], xmm0
mov eax, dword [0x141279784]
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsp + 0x28], rbx
jmp 0x1400c1132
lea r8, [0x14127977c]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140036700
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
je 0x1400c1152
movsd xmm0, qword [0x141279788]
movsd qword [rbx], xmm0
mov eax, dword [0x141279790]
mov dword [rbx + 8], eax
add rbx, 0xc
jmp 0x1400c116b
lea r8, [0x141279788]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140036700
mov rbx, qword [rsp + 0x28]
mov r13, qword [rsp + 0x20]
mov rdi, r13
cmp r13, rbx
je 0x1400c13a0
mov r12d, dword [0x140e8502c]
movss xmm12, dword [0x1412796e8]
movss xmm13, dword [0x1412796e4]
mov r14d, dword [reloc.WS2_32.dll_listen]
nop dword [rax]
movsd xmm11, qword [rdi]
mov eax, dword [rdi + 8]
mov dword [rsp + 0x58], eax
movsd qword [rsp + 0x50], xmm11
movaps xmm2, xmm11
mulss xmm2, dword [0x141280cbc]
movss xmm10, dword [rsp + 0x54]
movaps xmm0, xmm10
mulss xmm0, dword [0x141280ccc]
addss xmm2, xmm0
movss xmm9, dword [rsp + 0x58]
movaps xmm1, xmm9
mulss xmm1, dword [0x141280cdc]
addss xmm1, dword [0x141280cec]
addss xmm2, xmm1
movaps xmm0, xmm2
divss xmm0, xmm7
cvttss2si esi, xmm0
movss xmm0, dword [0x140cc3ec8]
comiss xmm0, xmm2
ja 0x1400c138a
movaps xmm5, xmm8
divss xmm5, xmm2
mov eax, dword [0x141280cac]
cdq
sub eax, edx
sar eax, 1
xorps xmm4, xmm4
cvtsi2ss xmm4, eax
mov eax, dword [0x141280ca8]
cdq
sub eax, edx
sar eax, 1
xorps xmm8, xmm8
cvtsi2ss xmm8, eax
movaps xmm3, xmm11
mulss xmm3, dword [0x141280cb0]
movaps xmm0, xmm10
mulss xmm0, dword [0x141280cc0]
addss xmm3, xmm0
movaps xmm1, xmm9
mulss xmm1, dword [0x141280cd0]
addss xmm3, xmm1
addss xmm3, dword [0x141280ce0]
mulss xmm3, xmm5
mulss xmm3, xmm4
addss xmm3, xmm4
movaps xmm2, xmm11
mulss xmm2, dword [0x141280cb4]
movaps xmm0, xmm10
mulss xmm0, dword [0x141280cc4]
addss xmm2, xmm0
movaps xmm1, xmm9
mulss xmm1, dword [0x141280cd4]
addss xmm2, xmm1
addss xmm2, dword [0x141280ce4]
mulss xmm2, xmm5
mulss xmm2, xmm8
movaps xmm7, xmm8
subss xmm7, xmm2
subss xmm3, xmm4
xorps xmm0, xmm0
cvtss2sd xmm0, xmm3
movaps xmm1, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
subss xmm7, xmm8
cvtps2pd xmm0, xmm7
movaps xmm1, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm1, xmm0
addsd xmm1, xmm6
xorps xmm0, xmm0
ucomisd xmm0, xmm1
ja 0x1400c1305
xorps xmm0, xmm0
sqrtsd xmm0, xmm1
jmp 0x1400c130d
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
comiss xmm14, xmm1
jbe 0x1400c1382
cmp esi, r12d
jge 0x1400c1382
ucomiss xmm11, dword [0x1412796e0]
jp 0x1400c1369
jne 0x1400c1369
ucomiss xmm10, xmm13
jp 0x1400c1369
jne 0x1400c1354
ucomiss xmm9, xmm12
jp 0x1400c1350
jne 0x1400c1350
movd xmm0, r14d
cvtdq2ps xmm0, xmm0
addss xmm0, xmm9
movss dword [rsp + 0x40], xmm0
jmp 0x1400c1370
ucomiss xmm10, xmm13
jp 0x1400c1369
jne 0x1400c1369
ucomiss xmm9, xmm12
jp 0x1400c1369
jne 0x1400c1369
subss xmm9, dword [0x140cc4068]
movss dword [rsp + 0x40], xmm9
movss dword [rsp + 0x38], xmm11
movss dword [rsp + 0x3c], xmm10
movaps xmm14, xmm1
movss xmm7, dword [0x140cc4130]
add rdi, 0xc
cmp rdi, rbx
movss xmm8, dword [0x140cc3f74]
jne 0x1400c11a0
mov qword [rsp + 0x28], r13
jmp 0x1400c140b
mov eax, dword [0x1412819e0]
test eax, eax
jne 0x1400c13d4
movss xmm0, dword [0x1412796e0]
movss dword [rsp + 0x38], xmm0
movd xmm0, dword [reloc.WS2_32.dll_listen]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1412796e8]
jmp 0x1400c13f7
cmp eax, 1
jne 0x1400c140b
movss xmm0, dword [0x1412796e0]
movss dword [rsp + 0x38], xmm0
movss xmm0, dword [0x1412796e8]
subss xmm0, dword [0x140cc4068]
movss xmm1, dword [0x1412796e4]
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x3c], xmm1
movsd xmm0, qword [rsp + 0x38]
movsd qword [r15], xmm0
mov eax, dword [rsp + 0x40]
mov dword [r15 + 8], eax
jmp 0x1400c143e
mov dword [0x141280708], r12d
mov dword [r15], 0x461c3c00
mov dword [r15 + 4], 0x461c3c00
mov dword [r15 + 8], 0x461c3c00
lea rcx, [rsp + 0x20]
call fcn.1400346e0
nop
lea rcx, [rbp + 0xf0]
call fcn.14002c7e0
lea rcx, [rbp + 0x90]
call fcn.14002c7e0
lea rcx, [rbp + 0x68]
call fcn.14002c7e0
lea rcx, [rbp + 0x48]
call fcn.14002c7e0
lea rcx, [rbp + 0x28]
call fcn.14002c7e0
lea rcx, [rbp + 8]
call fcn.14002c7e0
lea rcx, [rbp - 0x18]
call fcn.14002c7e0
lea rcx, [rbp - 0x38]
call fcn.14002c7e0
lea rcx, [rbp - 0x58]
call fcn.140034760
mov rax, r15
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1401308a0
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
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 r15
pop r14
pop r13
pop r12
pop rbp
ret