Function at 0x1400247e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x120
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
mov rax, qword [0x140118080]
xor rax, rsp
mov qword [rbp - 0x60], rax
mov rdi, rcx
xor r14d, r14d
mov rax, qword [0x140203a30]
test rax, rax
je 0x140024853
mov rcx, qword [rax + 0xa0]
jmp 0x140024856
mov rcx, r14
cmp qword [rcx + 0x18], r14
jne 0x140024877
test rax, rax
je 0x140024877
mov rcx, qword [rax + 0xa0]
test rcx, rcx
je 0x140024877
cmp qword [rcx], r14
je 0x140024877
call fcn.140055350
call fcn.140055d60
call fcn.14002f700
cmp qword [0x140204878], r14
je 0x1400249a1
cmp byte [0x14011810d], r14b
je 0x1400249a1
cmp dword [0x140118104], r14d
jne 0x1400248d0
lea rcx, [0x1401180f8]
call fcn.140002800
test rax, rax
je 0x1400248d0
lea rcx, [0x1401180f8]
call fcn.140002800
mov rdx, rax
lea rcx, [0x1401180f8]
call fcn.140002e10
cmp dword [0x140118104], 1
jne 0x140024928
lea rcx, [0x1401180f8]
call fcn.140002800
test rax, rax
je 0x1400248f6
lea rcx, [0x1401180f8]
call fcn.140003c90
cmp dword [0x140118104], 1
jne 0x140024928
lea rcx, [0x1401180f8]
call fcn.140002800
test rax, rax
je 0x140024928
lea rcx, [0x1401180f8]
call fcn.140002800
lea rcx, [0x1401180f8]
call fcn.140003610
cmp byte [0x140118113], r14b
je 0x14002495a
lea rcx, [0x1401180f8]
call fcn.140002800
test rax, rax
je 0x14002495a
lea rcx, [0x1401180f8]
call fcn.140002800
lea rcx, [0x1401180f8]
call fcn.140003610
cmp byte [0x140118114], r14b
je 0x14002498c
lea rcx, [0x1401180f8]
call fcn.140002800
test rax, rax
je 0x14002498c
lea rcx, [0x1401180f8]
call fcn.140002800
lea rcx, [0x1401180f8]
call fcn.140003610
cmp byte [0x14011810e], r14b
je 0x1400249a1
lea rcx, [0x1401180f8]
call fcn.140002800
call fcn.14001fc30
cmp qword [0x140204878], r14
je 0x140024ae2
mov rcx, rax
call fcn.1400200d0
mov rdx, qword [0x140204868]
test rdx, rdx
je 0x140024acd
add rdx, 0x10
mov qword [rsp + 0x20], r14
mov r9d, 8
lea r8, [rsp + 0x78]
mov rcx, qword [0x1402048d0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rsp + 0x78]
lea rdx, [rbx + 0x180]
mov qword [rsp + 0x20], r14
mov r9d, 8
lea r8, [rbp - 0x78]
mov rcx, qword [0x1402048d0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea rdx, [rbx + 0x188]
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [rsp + 0x58]
mov rcx, qword [0x1402048d0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rsp + 0x58]
test eax, eax
jle 0x140024acd
mov rbx, qword [rbp - 0x78]
mov esi, eax
nop word [rax + rax]
mov qword [rsp + 0x20], r14
mov r9d, 8
lea r8, [rsp + 0x78]
mov rdx, rbx
mov rcx, qword [0x1402048d0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x140024ac3
add rdx, 0x90
mov qword [rsp + 0x20], r14
mov r9d, recv
lea r8, [rbp - 0x70]
mov rcx, qword [0x1402048d0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
call fcn.140086090
movsd xmm0, qword [rbp - 0x70]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [rbp - 0x68]
mov dword [rsp + 0x48], eax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
call fcn.140086260
add rbx, 0x10
sub rsi, 1
jne 0x140024a50
cmp qword [0x140204878], r14
je 0x140024ae2
lea rcx, [0x140118b70]
call fcn.140023ee0
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140204850], eax
jle 0x140024b26
lea rcx, [0x140204850]
call fcn.1400e2368
cmp dword [0x140204850], 0xffffffff
jne 0x140024b26
mov dword [0x140204848], r14d
lea rcx, [0x140204850]
call fcn.1400e22fc
mov eax, dword [0x140204848]
test eax, eax
jne 0x140024b3c
mov dword [0x14020484c], 2
jmp 0x140024b8f
cmp eax, 1
jne 0x140024b4d
mov dword [0x14020484c], 0x12
jmp 0x140024b8f
cmp eax, 2
jne 0x140024b5e
mov dword [0x14020484c], 0x11
jmp 0x140024b8f
cmp eax, 3
jne 0x140024b6f
mov dword [0x14020484c], 4
jmp 0x140024b8f
cmp eax, 4
jne 0x140024b80
mov dword [0x14020484c], 5
jmp 0x140024b8f
cmp eax, 5
jne 0x140024b8f
mov dword [0x14020484c], 6
movss xmm11, dword [0x140103ab0]
cmp byte [0x140118110], r14b
je 0x140024c60
mov rax, qword [0x140203a30]
mov rax, qword [rax + 0x4878]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.14002e790
mov rbx, rax
movd xmm2, dword [0x1401180f8]
cvtdq2ps xmm2, xmm2
mov ecx, dword [rdi + 0xec]
xorps xmm1, xmm1
cvtsi2ss xmm1, rcx
mov ecx, dword [rdi + 0xe8]
xorps xmm0, xmm0
cvtsi2ss xmm0, rcx
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x44], xmm1
movss xmm3, dword [0x140103a6c]
comiss xmm3, xmm2
ja 0x140024c60
subss xmm2, xmm3
mov dword [rsp + 0x28], 0x1ff
movss xmm0, dword [0x140103b58]
movss dword [rsp + 0x20], xmm0
xorps xmm3, xmm3
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14004dca0
movss dword [rsp + 0x28], xmm11
mov dword [rsp + 0x20], 1
mov r9d, 0xffffffff
mov r8d, dword [rbx + 0x78]
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
call fcn.14004c280
mov dword [rbx + 0x78], r14d
cmp byte [0x140118124], r14b
je 0x140024fd5
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, eax
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov r15d, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov r12d, eax
mov eax, 0x88888889
imul ecx
lea ebx, [rcx + rdx]
sar ebx, 5
mov ecx, ebx
shr ecx, 0x1f
add ebx, ecx
movsd xmm0, qword [0x140103af0]
call sub.api_ms_win_crt_math_l1_1_0.dll_atan
cvtsd2ss xmm0, xmm0
mov r14d, dword [0x140203a20]
inc r14d
mov dword [0x140203a20], r14d
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mulsd xmm1, qword [0x140103b28]
cvtpd2ps xmm12, xmm1
movd xmm10, ebx
cvtdq2ps xmm10, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm8, xmm10
divss xmm8, xmm0
movaps xmm1, xmmword [0x140104090]
movups xmmword [rsp + 0x78], xmm1
lea rcx, [rsp + 0x78]
call fcn.140029540
mov r13d, eax
movd xmm0, r15d
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x50], xmm0
movd xmm1, r12d
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x54], xmm1
movaps xmm0, xmmword [0x140104090]
movups xmmword [rsp + 0x78], xmm0
lea rcx, [rsp + 0x78]
call fcn.140029540
mov dword [rsp + 0x40], eax
xor esi, esi
movsd xmm9, qword [0x140103ab8]
nop dword [rax]
nop word [rax + rax]
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], rax
lea eax, [r14 + rsi]
movd xmm7, eax
cvtdq2ps xmm7, xmm7
cvtps2pd xmm0, xmm7
mulsd xmm0, xmm9
cvtpd2ps xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm1, xmm10
mulss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [rsp + 0x58], eax
lea r8, [rsp + 0x58]
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.1400047f0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm1, xmm10
mulss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [rsp + 0x58], eax
mov rdx, qword [rsp + 0x68]
cmp rdx, qword [rsp + 0x70]
je 0x140024de6
mov dword [rdx], eax
mov rbx, qword [rsp + 0x68]
add rbx, 4
mov qword [rsp + 0x68], rbx
jmp 0x140024dfa
lea r8, [rsp + 0x58]
lea rcx, [rsp + 0x60]
call fcn.1400047f0
mov rbx, qword [rsp + 0x68]
movaps xmm0, xmm12
addss xmm0, xmm7
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mulsd xmm1, xmm9
cvtpd2ps xmm6, xmm1
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm1, xmm8
mulss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [rsp + 0x58], eax
cmp rbx, qword [rsp + 0x70]
je 0x140024e43
mov dword [rbx], eax
mov rbx, qword [rsp + 0x68]
add rbx, 4
mov qword [rsp + 0x68], rbx
jmp 0x140024e5a
lea r8, [rsp + 0x58]
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.1400047f0
mov rbx, qword [rsp + 0x68]
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm1, xmm8
mulss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [rsp + 0x58], eax
cmp rbx, qword [rsp + 0x70]
je 0x140024e83
mov dword [rbx], eax
add qword [rsp + 0x68], 4
jmp 0x140024e95
lea r8, [rsp + 0x58]
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.1400047f0
mov rax, qword [0x140203a30]
mov rax, qword [rax + 0x4878]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.14002e790
mov rdx, qword [rsp + 0x60]
mov ecx, r12d
sub ecx, dword [rdx + 4]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mov ecx, dword [rdx]
add ecx, r15d
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x70], xmm0
movss dword [rbp - 0x6c], xmm1
movss dword [rsp + 0x20], xmm11
mov r9d, r13d
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.14004e640
mov rax, qword [0x140203a30]
mov rax, qword [rax + 0x4878]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.14002e790
mov ecx, r12d
mov rdx, qword [rsp + 0x60]
sub ecx, dword [rdx + 0xc]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mov ecx, dword [rdx + 8]
add ecx, r15d
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x78], xmm0
movss dword [rbp - 0x74], xmm1
mov ecx, r12d
sub ecx, dword [rdx + 4]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mov ecx, dword [rdx]
add ecx, r15d
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x78], xmm0
movss dword [rsp + 0x7c], xmm1
movss dword [rsp + 0x20], xmm11
mov r9d, dword [rsp + 0x40]
lea r8, [rbp - 0x78]
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.14004e640
add esi, 0x5a
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140024fc6
mov rdx, qword [rsp + 0x70]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024fc1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002500d
call fcn.1400e2424
cmp esi, 0x168
jl 0x140024d60
xor r14d, r14d
mov ecx, Ordinal_35
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140024ff4
cmp byte [rdi + 0x158], 0
sete al
mov byte [rdi + 0x158], al
cmp byte [rdi + 0x158], 0
je 0x140025014
mov rcx, rdi
call fcn.140075350
mov r8d, 0xa0
jmp 0x14002501a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r8d, 0x800a0
mov edx, 0xffffffec
mov rcx, qword [rdi + 0x50]
call qword [sym.imp.USER32.dll_SetWindowLongA]
movzx eax, byte [rdi + 0x158]
mov rcx, qword [0x140203a30]
mov byte [rcx + 0x78], al
movzx eax, byte [rdi + 0x158]
mov byte [rcx + 0xd9], al
call fcn.140031370
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
mov dword [rsp + 0x30], r14d
movss dword [rsp + 0x28], xmm11
mov dword [rsp + 0x20], r14d
mov r9d, 1
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x1400250f6
call fcn.140031730
mov rax, qword [0x140203a30]
mov rcx, qword [rax + 0x4878]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], 0
cmove rcx, r14
call fcn.140054d90
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x1400251cd
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x1400251cd
mov rbx, qword [0x140203a30]
test rbx, rbx
je 0x140025196
mov rbx, qword [rbx + 0xa0]
test rbx, rbx
je 0x140025196
cmp qword [rbx], 0
je 0x140025196
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140025161
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 8], r14
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140025174
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 0x10], r14
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140025196
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 0x18], r14
mov rax, qword [0x140203a30]
mov rcx, qword [rax + 0x58]
mov qword [rcx + 8], r14
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
lea rdx, [rdi + 0xa0]
call qword [rax + 0x80]
mov rax, qword [0x140203a30]
test rax, rax
je 0x1400251cd
mov rax, qword [rax + 0xa0]
test rax, rax
je 0x1400251cd
cmp qword [rax], 0
je 0x1400251cd
call fcn.140055350
mov rcx, qword [rbp - 0x60]
xor rcx, rsp
call fcn.1400e22a0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
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]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret