Function at 0x140004df0
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0xe0
mov rax, qword [0x1400e8040]
xor rax, rsp
mov qword [rsp + 0x40], rax
cmp byte [0x1400ea489], 0
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
jne 0x1400051e8
mov eax, dword [0x1400ea470]
vmovaps xmmword [r11 - 0x28], xmm6
vmovaps xmmword [r11 - 0x38], xmm7
vmovaps xmmword [r11 - 0x48], xmm8
vmovaps xmmword [r11 - 0x58], xmm9
vmovaps xmmword [r11 - 0x68], xmm10
vmovaps xmmword [r11 - 0x78], xmm11
test eax, eax
jne 0x140005200
vmovss xmm1, dword [0x1400dae94]
vmovsd xmm3, qword [rdx]
mov rax, qword [0x1400ea5e8]
vmovss xmm0, dword [r8]
vmovss xmm2, dword [r8 + 4]
vmovss xmm6, dword [rcx + 0x60]
mov qword [r11 + 0x10], r14
mov qword [r11 + 0x18], r15
vmovaps xmmword [rsp + 0x70], xmm12
vsubss xmm10, xmm0, xmm3
vmovaps xmmword [rsp + 0x60], xmm13
vmulss xmm13, xmm1, dword [rax + 0xec]
vmovsd qword [rsp + 0x30], xmm3
vmovaps xmmword [rsp + 0x50], xmm14
vmulss xmm14, xmm1, dword [rax + 0xe8]
vshufps xmm1, xmm3, xmm3, 0x55
vsubss xmm9, xmm2, xmm1
vmovss xmm1, dword [r8 + 8]
vsubss xmm4, xmm1, dword [rdx + 8]
vcvtss2sd xmm3, xmm10, xmm10
vmulsd xmm2, xmm3, xmm3
vcvtss2sd xmm5, xmm9, xmm9
vfmadd231sd xmm2, xmm5, xmm5
vsqrtsd xmm2, xmm2, xmm2
vcvtsd2ss xmm3, xmm2, xmm2
vdivss xmm0, xmm4, xmm3
vcvttss2si r14d, xmm14
vcvttss2si r15d, xmm13
vxorps xmm11, xmm11, xmm11
vxorps xmm12, xmm12, xmm12
vcvtss2sd xmm6, xmm6, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_atanf
vxorps xmm2, xmm0, xmmword [0x1400db2e0]
vcvtss2sd xmm3, xmm2, xmm2
vfmsub231sd xmm6, xmm3, qword [0x1400daf90]
vcvtsd2ss xmm2, xmm6, xmm6
vmovss xmm6, dword [rdi + 0x64]
vmovaps xmm1, xmm10
vmovaps xmm0, xmm9
vcvtss2sd xmm6, xmm6, xmm6
vcvtss2sd xmm8, xmm2, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
vmovss xmm3, dword [0x1400daee4]
vcvtss2sd xmm1, xmm0, xmm0
vfmsub231sd xmm6, xmm1, qword [0x1400daf90]
vcvtsd2ss xmm0, xmm6, xmm6
vcvtss2sd xmm1, xmm0, xmm0
vmulsd xmm2, xmm1, xmm1
vfmadd231sd xmm2, xmm8, xmm8
vmovss xmm8, dword [rbx + 8]
vsqrtsd xmm0, xmm2, xmm2
vcvtsd2ss xmm9, xmm0, xmm0
vmovsd xmm0, qword [rbx]
vshufps xmm4, xmm0, xmm0, 0x55
vmulss xmm1, xmm4, dword [0x1400ea5dc]
vmovsd qword [rsp + 0x30], xmm0
vmovss xmm7, dword [rsp + 0x30]
vfmadd231ss xmm1, xmm7, dword [0x1400ea5d8]
vfmadd231ss xmm1, xmm8, dword [0x1400ea5e0]
vaddss xmm2, xmm1, dword [0x1400ea5e4]
vcvtss2sd xmm0, xmm2, xmm2
vcomisd xmm0, qword [0x1400daee8]
vxorps xmm6, xmm6, xmm6
vxorps xmm5, xmm5, xmm5
jbe 0x140005010
vmulss xmm0, xmm4, dword [0x1400ea5ac]
vfmadd231ss xmm0, xmm7, dword [0x1400ea5a8]
vfmadd231ss xmm0, xmm8, dword [0x1400ea5b0]
vmulss xmm1, xmm7, dword [0x1400ea5b8]
vaddss xmm0, xmm0, dword [0x1400ea5b4]
vfmadd231ss xmm1, xmm4, dword [0x1400ea5bc]
vfmadd231ss xmm1, xmm8, dword [0x1400ea5c0]
vdivss xmm2, xmm3, xmm2
vfmadd213ss xmm0, xmm2, xmm3
vmulss xmm6, xmm0, xmm14
vaddss xmm0, xmm1, dword [0x1400ea5c4]
vmulss xmm1, xmm0, xmm2
vmovaps xmm5, xmm13
vfnmadd231ss xmm5, xmm13, xmm1
vmovss xmm7, dword [0x1400e80d0]
vcomiss xmm9, xmm7
vmovaps xmm14, xmmword [rsp + 0x50]
vmovaps xmm13, xmmword [rsp + 0x60]
jae 0x14000519c
vmovss xmm2, dword [str.333_]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, r14d
vcomiss xmm6, xmm0
jbe 0x140005070
vucomiss xmm2, xmm11
vsubss xmm4, xmm6, xmm0
je 0x140005054
vdivss xmm4, xmm4, xmm2
vaddss xmm1, xmm0, xmm4
vxorps xmm0, xmm0, xmm0
lea eax, [r14 + r14]
vcvtsi2ss xmm0, xmm0, eax
vcomiss xmm1, xmm0
jbe 0x140005095
vxorps xmm4, xmm4, xmm4
jmp 0x140005095
vxorps xmm4, xmm4, xmm4
jae 0x140005095
vucomiss xmm2, xmm11
vsubss xmm4, xmm6, xmm0
je 0x140005085
vdivss xmm4, xmm4, xmm2
vaddss xmm0, xmm0, xmm4
vcmpltss xmm1, xmm0, xmm11
vblendvps xmm4, xmm4, xmm11, xmm1
vucomiss xmm5, xmm11
je 0x1400050f9
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, r15d
vcomiss xmm5, xmm0
jbe 0x1400050d8
vucomiss xmm2, xmm11
vsubss xmm12, xmm5, xmm0
je 0x1400050ba
vdivss xmm12, xmm12, xmm2
vaddss xmm1, xmm0, xmm12
vxorps xmm0, xmm0, xmm0
lea eax, [r15 + r15]
vcvtsi2ss xmm0, xmm0, eax
vcomiss xmm1, xmm0
jbe 0x1400050f9
vxorps xmm12, xmm12, xmm12
jmp 0x1400050f9
jae 0x1400050f9
vucomiss xmm2, xmm11
vsubss xmm5, xmm5, xmm0
je 0x1400050e9
vdivss xmm5, xmm5, xmm2
vaddss xmm0, xmm0, xmm5
vcmpltss xmm1, xmm0, xmm11
vblendvps xmm12, xmm5, xmm11, xmm1
vucomiss xmm2, xmm11
jne 0x14000510c
vcvttss2si r8, xmm12
vcvttss2si rdx, xmm4
jmp 0x140005189
vdivss xmm0, xmm3, xmm7
vfnmadd213ss xmm0, xmm9, xmm3
vaddss xmm0, xmm0, xmm3
vmulss xmm1, xmm0, xmm2
vdivss xmm2, xmm3, xmm1
vmulss xmm1, xmm4, xmm2
vmovss xmm4, dword [0x1400db2d0]
vandps xmm0, xmm1, xmm4
vcomiss xmm0, xmm3
vmulss xmm5, xmm12, xmm2
vmovss xmm2, dword [0x1400db0d4]
jae 0x14000515c
vcomiss xmm1, xmm11
jbe 0x140005150
vmovaps xmm1, xmm3
jmp 0x14000515c
vcmpltss xmm0, xmm1, xmm11
vblendvps xmm1, xmm1, xmm2, xmm0
vandps xmm0, xmm5, xmm4
vcomiss xmm0, xmm3
jae 0x14000517f
vcomiss xmm5, xmm11
jbe 0x140005173
vmovaps xmm5, xmm3
jmp 0x14000517f
vcmpltss xmm0, xmm5, xmm11
vblendvps xmm5, xmm5, xmm2, xmm0
vcvttss2si r8, xmm5
vcvttss2si rdx, xmm1
xor ebx, ebx
xor r9d, r9d
mov qword [rsp + 0x20], rbx
lea ecx, [rbx + 1]
call qword [sym.imp.USER32.dll_mouse_event]
mov r14, qword [rsp + 0x108]
mov r15, qword [rsp + 0x110]
vmovaps xmm12, xmmword [rsp + 0x70]
vmovaps xmm8, xmmword [rsp + 0xb0]
vmovaps xmm7, xmmword [rsp + 0xc0]
vmovaps xmm6, xmmword [rsp + 0xd0]
vmovaps xmm9, xmmword [rsp + 0xa0]
vmovaps xmm10, xmmword [rsp + 0x90]
vmovaps xmm11, xmmword [rsp + 0x80]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140069700
add rsp, 0xe0
pop rdi
pop rsi
pop rbx
ret
cmp eax, 1
jne 0x1400051b2
vmovsd xmm3, qword [rdx]
vmovss xmm0, dword [r8]
vmovss xmm2, dword [r8 + 4]
vmovss xmm10, dword [rcx + 0x64]
vshufps xmm1, xmm3, xmm3, 0x55
vsubss xmm7, xmm2, xmm1
vsubss xmm8, xmm0, xmm3
vmovaps xmm0, xmm7
vmovaps xmm1, xmm8
vmovsd qword [rsp + 0x30], xmm3
vcvtss2sd xmm6, xmm10, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
vcvtss2sd xmm1, xmm0, xmm0
vfmsub231sd xmm6, xmm1, qword [0x1400daf90]
vmovss xmm1, dword [rbx + 8]
vsubss xmm3, xmm1, dword [rsi + 8]
vcvtss2sd xmm2, xmm8, xmm8
vmulsd xmm2, xmm2, xmm2
vcvtss2sd xmm4, xmm7, xmm7
vmovss xmm7, dword [rdi + 0x60]
vfmadd231sd xmm2, xmm4, xmm4
vsqrtsd xmm0, xmm2, xmm2
vcvtsd2ss xmm1, xmm0, xmm0
vcvtsd2ss xmm11, xmm6, xmm6
vdivss xmm0, xmm3, xmm1
vcvtss2sd xmm6, xmm7, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_atanf
vxorps xmm0, xmm0, xmmword [0x1400db2e0]
vcvtss2sd xmm1, xmm0, xmm0
vfmsub231sd xmm6, xmm1, qword [0x1400daf90]
vcvtss2sd xmm0, xmm11, xmm11
vmulsd xmm2, xmm0, xmm0
vcvtsd2ss xmm3, xmm6, xmm6
vcvtss2sd xmm1, xmm3, xmm3
vfmadd231sd xmm2, xmm1, xmm1
vsqrtsd xmm0, xmm2, xmm2
vcvtsd2ss xmm1, xmm0, xmm0
vcomiss xmm1, dword [0x1400e80d0]
ja 0x1400051b2
vmovss xmm0, dword [0x1400daee4]
vsubss xmm1, xmm0, dword [str.333_]
vmovaps xmm6, xmm10
mov ecx, 1
vfmadd231ss xmm6, xmm11, xmm1
vfmadd231ss xmm7, xmm3, xmm1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ebx, ebx
test ax, ax
jne 0x14000530d
mov ecx, dword [0x1400e80b8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14000538f
mov rax, qword [rdi + 0xb8]
vxorps xmm0, xmm0, xmm0
vmovss dword [rsp + 0x30], xmm0
vmovss dword [rsp + 0x34], xmm0
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0xc0]
lea rcx, [rcx - 3]
lea rdx, [rax + rcx*4]
mov rcx, qword [0x1400e8110]
test rcx, rcx
je 0x1400051b2
cmp dword [0x1400e8118], ebx
je 0x1400051b2
mov r9d, 8
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400051b2
vmovss xmm0, dword [rsp + 0x34]
vfnmadd231ss xmm6, xmm0, dword [0x1400e82c8]
vmovss xmm0, dword [rsp + 0x30]
vfnmadd231ss xmm7, xmm0, dword [0x1400e82cc]
mov rcx, qword [0x1400e8110]
vmovss dword [rsp + 0x30], xmm7
vmovss dword [rsp + 0x34], xmm6
test rcx, rcx
je 0x1400051b2
cmp dword [0x1400e8118], ebx
je 0x1400051b2
mov rdx, qword [0x1400ea578]
lea r8, [rsp + 0x30]
mov r9d, 8
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
jmp 0x1400051b2