Function at 0x140015fe0
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x110
mov rax, qword [0x1402e9060]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [0x1402fa0a8], 0
mov rdi, rcx
je 0x1400163fd
mov rdx, qword [0x1402fa098]
test rdx, rdx
je 0x1400163fd
cmp byte [0x1402f8c50], 0
mov qword [rsp + 0x120], rbx
je 0x1400163a8
mov ecx, dword [0x1402f8c54]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400163a1
movaps xmmword [rsp + 0x100], xmm6
xor ebx, ebx
cmp byte [0x1402fa2a8], bl
movaps xmmword [rsp + 0xf0], xmm7
movaps xmmword [rsp + 0xe0], xmm8
movaps xmmword [rsp + 0xd0], xmm9
movaps xmmword [rsp + 0xc0], xmm10
movaps xmmword [rsp + 0xb0], xmm11
movaps xmmword [rsp + 0xa0], xmm12
movaps xmmword [rsp + 0x90], xmm13
movaps xmmword [rsp + 0x80], xmm14
jne 0x140016121
mov rcx, qword [0x1402fa1c0]
test rcx, rcx
je 0x1400160da
cmp dword [0x1402fa12c], ebx
je 0x1400160da
mov rdx, qword [0x1402fa098]
lea r9d, [rbx + 4]
add rdx, 0x2c
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x1402fa1c0]
movss xmm0, dword [rsp + 0x58]
movss dword [0x1402fa2ac], xmm0
mov dword [rsp + 0x50], ebx
test rcx, rcx
je 0x14001611a
cmp dword [0x1402fa12c], ebx
je 0x14001611a
mov rdx, qword [0x1402fa098]
lea r8, [rsp + 0x50]
add rdx, 0x2c
mov qword [rsp + 0x20], rbx
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov byte [0x1402fa2a8], 1
movd xmm6, dword [0x1402f8c58]
mov ecx, reloc.WS2_32.dll_recv
cvtdq2ps xmm6, xmm6
divss xmm6, dword [0x1402d4904]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14001614c
mulss xmm6, dword [0x1402d48c0]
movss xmm8, dword [0x1402fa280]
mov ecx, 0x57
movss xmm9, dword [0x1402fa284]
movaps xmm10, xmm8
movss xmm7, dword [0x1402fa288]
movaps xmm11, xmm9
movaps xmm14, xmm7
movaps xmmword [rsp + 0x70], xmm15
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm12, dword [rdi]
movss xmm13, dword [rdi + 4]
test ax, ax
je 0x1400161c4
movaps xmm9, xmm13
movaps xmm8, xmm12
mulss xmm9, xmm6
mulss xmm8, xmm6
addss xmm9, xmm11
movss xmm11, dword [rdi + 8]
movaps xmm7, xmm11
mulss xmm7, xmm6
addss xmm8, xmm10
addss xmm7, xmm14
jmp 0x1400161ca
movss xmm11, dword [rdi + 8]
mov ecx, 0x53
movaps xmm15, xmm11
movaps xmm14, xmm13
movaps xmm10, xmm12
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14001620c
movaps xmm0, xmm12
movaps xmm1, xmm13
mulss xmm0, xmm6
mulss xmm1, xmm6
subss xmm8, xmm0
movaps xmm0, xmm11
mulss xmm0, xmm6
subss xmm9, xmm1
subss xmm7, xmm0
xorps xmm0, xmm0
movaps xmm10, xmm13
mulss xmm11, xmm0
mov ecx, 0x41
mulss xmm13, xmm0
subss xmm10, xmm11
subss xmm11, xmm12
mulss xmm12, xmm0
subss xmm12, xmm13
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movaps xmm15, xmmword [rsp + 0x70]
movaps xmm14, xmmword [rsp + 0x80]
movaps xmm13, xmmword [rsp + 0x90]
mulss xmm10, xmm6
test ax, ax
je 0x14001627c
movaps xmm0, xmm11
subss xmm8, xmm10
movaps xmm1, xmm12
mulss xmm0, xmm6
mulss xmm1, xmm6
subss xmm9, xmm0
subss xmm7, xmm1
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400162a5
mulss xmm11, xmm6
addss xmm8, xmm10
mulss xmm12, xmm6
addss xmm9, xmm11
addss xmm7, xmm12
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movaps xmm12, xmmword [rsp + 0xa0]
movaps xmm11, xmmword [rsp + 0xb0]
movaps xmm10, xmmword [rsp + 0xc0]
test ax, ax
je 0x1400162d4
addss xmm7, xmm6
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400162e8
subss xmm7, xmm6
mov rcx, qword [0x1402fa1c0]
movaps xmm0, xmm8
mov rdi, qword [0x1402fa090]
mov rdx, qword [0x1402fa0a8]
movaps xmm6, xmmword [rsp + 0x100]
unpcklps xmm0, xmm9
movsd qword [rsp + 0x30], xmm0
movss dword [rsp + 0x38], xmm7
test rcx, rcx
je 0x14001634a
cmp dword [0x1402fa12c], ebx
je 0x14001634a
add rdx, 0x90
mov qword [rsp + 0x20], rbx
mov r9d, recvfrom
lea r8, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [0x1402fa1c0]
movss dword [rsp + 0x48], xmm7
movaps xmm0, xmm8
movaps xmm8, xmmword [rsp + 0xe0]
movaps xmm7, xmmword [rsp + 0xf0]
unpcklps xmm0, xmm9
movaps xmm9, xmmword [rsp + 0xd0]
movsd qword [rsp + 0x40], xmm0
test rcx, rcx
je 0x1400163f5
cmp dword [0x1402fa12c], ebx
je 0x1400163f5
lea rdx, [rdi + 0x50]
mov qword [rsp + 0x20], rbx
mov r9d, recvfrom
lea r8, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
jmp 0x1400163f5
mov rdx, qword [0x1402fa098]
cmp byte [0x1402fa2a8], 0
je 0x1400163ee
mov rcx, qword [0x1402fa1c0]
movss xmm0, dword [0x1402fa2ac]
movss dword [rsp + 0x50], xmm0
test rcx, rcx
je 0x1400163ee
cmp dword [0x1402fa12c], 0
je 0x1400163ee
xor ebx, ebx
lea r8, [rsp + 0x50]
add rdx, 0x2c
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 4]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov byte [0x1402fa2a8], 0
mov rbx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400c8490
add rsp, 0x110
pop rdi
ret