Function at 0x140056440
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4ab0]
mov eax, 0x4bb0
call fcn.140067700
sub rsp, rax
movaps xmmword [rsp + 0x4ba0], xmm6
movaps xmmword [rsp + 0x4b90], xmm7
movaps xmmword [rsp + 0x4b80], xmm8
movaps xmmword [rsp + 0x4b70], xmm9
movaps xmmword [rsp + 0x4b60], xmm10
mov rax, qword [0x14009c040]
xor rax, rsp
mov qword [rbp + 0x4a50], rax
movsd xmm8, qword [0x140090d20]
mov dword [0x14009c09c], 0xffffffff
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140056930
mov rcx, qword [0x14009ca70]
mov edx, dword [rcx]
xor ebx, ebx
test edx, edx
je 0x14005650f
sub edx, 1
je 0x140056508
sub edx, 1
je 0x140056501
sub edx, 1
je 0x1400564fa
cmp edx, 1
jne 0x14005650f
mov edx, 0x254d448
jmp 0x140056512
mov edx, 0x2567db0
jmp 0x140056512
mov edx, 0x25667e8
jmp 0x140056512
mov edx, 0x247f840
jmp 0x140056512
mov rdx, rbx
mov rcx, qword [0x14009ca60]
add rdx, qword [rcx + 0x10]
mov qword [rbp + 0x49e8], rbx
mov qword [rsp + 0x20], rbx
mov r9d, 8
lea r8, [rbp + 0x49e8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov qword [rbp + 0x49e0], rbx
mov rdx, qword [rbp + 0x49e8]
add rdx, 8
mov qword [rsp + 0x20], rbx
mov r9d, 8
lea r8, [rbp + 0x49e0]
mov rcx, qword [0x14009ca60]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp + 0x49e0]
lea rcx, [rbp + 0x2640]
call fcn.140054990
nop
mov rcx, qword [0x14009ca70]
mov edx, dword [rcx]
test edx, edx
je 0x1400565c4
sub edx, 1
je 0x1400565bd
sub edx, 1
je 0x1400565b6
sub edx, 1
je 0x1400565af
cmp edx, 1
jne 0x1400565c4
mov edx, 0x1f5b820
jmp 0x1400565c7
mov edx, 0x1f77ef0
jmp 0x1400565c7
mov edx, 0x1f2e7a8
jmp 0x1400565c7
mov edx, 0x1efd4c8
jmp 0x1400565c7
mov rdx, rbx
mov rcx, qword [0x14009ca60]
add rdx, qword [rcx + 0x10]
mov qword [rbp + 0x49e0], rbx
mov qword [rsp + 0x20], rbx
mov r9d, 8
lea r8, [rbp + 0x49e0]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp + 0x49e0]
lea rcx, [rsp + 0x50]
call fcn.1400546e0
nop
mov r12, qword [rbp + 0x50]
mov qword [rsp + 0x30], r12
test r12, r12
je 0x140056930
mov r14d, ebx
mov edi, dword [rbp + 0x58]
test edi, edi
jle 0x140056930
mov r15d, 0xc
movss xmm9, dword [0x140090c7c]
movsd xmm10, qword [0x140090ce8]
nop
mov qword [rbp + 0x49e0], rbx
mov qword [rsp + 0x20], rbx
mov r9d, 8
lea r8, [rbp + 0x49e0]
mov rdx, r12
mov rcx, qword [0x14009ca60]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp + 0x49e0]
lea rcx, [rbp + 0x2a0]
call fcn.140054990
nop
mov r13, qword [rbp + 0x2638]
test r13, r13
jne 0x140056691
jmp 0x14005691b
cmp r13, qword [rbp + 0x49d8]
jne 0x14005669f
jmp 0x14005691b
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov eax, r15d
mov ecx, dword [rax + rsi]
cmp dword [0x14009cac4], ecx
jle 0x14005676a
lea rcx, [0x14009cac4]
call fcn.1400665f0
cmp dword [0x14009cac4], 0xffffffff
jne 0x14005676a
movdqa xmm0, xmmword [0x140090e60]
movdqu xmmword [rbp + 0x4a10], xmm0
movdqa xmm1, xmmword [0x140090e40]
movdqu xmmword [rbp + 0x4a20], xmm1
mov dword [rbp + 0x4a30], 1
xorps xmm0, xmm0
movdqu xmmword [0x14009caf8], xmm0
mov qword [0x14009cb08], rbx
mov ecx, 0x24
call fcn.140066b6c
mov qword [0x14009caf8], rax
mov qword [0x14009cb00], rax
lea rbx, [rax + 0x24]
mov qword [0x14009cb08], rbx
mov r8d, 0x24
lea rdx, [rbp + 0x4a10]
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [0x14009cb00], rbx
lea rcx, [0x1400682c0]
call fcn.140066adc
nop
lea rcx, [0x14009cac4]
call fcn.140066584
mov r15, qword [0x14009cb00]
mov rbx, qword [0x14009caf8]
cmp rbx, r15
je 0x140056913
mov edi, dword [rbx]
mov qword [rsp + 0x20], 0
mov r9d, 0x40
lea r8, [rbp + 0x4a10]
lea rdx, [r13 + 0x60]
mov rcx, qword [0x14009ca60]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea eax, [rdi + 0x43]
shl eax, 4
movsxd rdx, eax
add rdx, r13
mov qword [rsp + 0x20], 0
mov r9d, 0xc
lea r8, [rbp + 0x4a00]
mov rcx, qword [0x14009ca60]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea r8, [rbp + 0x4a10]
lea rdx, [rbp + 0x4a00]
lea rcx, [rbp + 0x49f0]
call qword [sym.imp.d3dx10_43.dll_D3DXVec3Transform]
mov qword [rbp + 0x49e8], 0
movss xmm0, dword [rbp + 0x49f0]
movss dword [rsp + 0x40], xmm0
movss xmm1, dword [rbp + 0x49f4]
movss dword [rsp + 0x44], xmm1
movss xmm0, dword [rbp + 0x49f8]
movss dword [rsp + 0x48], xmm0
lea rdx, [rbp + 0x49e8]
lea rcx, [rsp + 0x40]
call fcn.140054400
test al, al
je 0x1400568fe
mov eax, 8
cmp byte [rax + rsi], 0
jne 0x140056858
call fcn.140066538
mov eax, 0x10
mov rcx, qword [rax + rsi]
mov rax, qword [rcx + 0x4c38]
mov rcx, qword [rax]
movss xmm7, dword [rcx + 0x14]
mulss xmm7, xmm9
addss xmm7, dword [rcx + 0xc]
movss xmm0, dword [rcx + 0x10]
mulss xmm0, xmm9
addss xmm0, dword [rcx + 8]
subss xmm0, dword [rbp + 0x49e8]
cvtps2pd xmm0, xmm0
movaps xmm1, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
subss xmm7, dword [rbp + 0x49ec]
cvtps2pd xmm0, xmm7
movaps xmm1, xmm10
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 0x1400568cd
xorps xmm0, xmm0
sqrtsd xmm0, xmm1
jmp 0x1400568d5
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movss xmm1, dword [0x14009c094]
cvtps2pd xmm1, xmm1
comisd xmm0, xmm1
jae 0x1400568fe
comisd xmm8, xmm0
jb 0x1400568fe
movaps xmm8, xmm0
mov dword [0x14009c09c], r14d
mov dword [0x14009ca38], edi
add rbx, 4
cmp rbx, r15
jne 0x140056781
mov r12, qword [rsp + 0x30]
mov edi, dword [rbp + 0x58]
xor ebx, ebx
mov r15d, 0xc
inc r14d
add r12, 0x10
mov qword [rsp + 0x30], r12
cmp r14d, edi
jl 0x140056640
mov rcx, qword [rbp + 0x4a50]
xor rcx, rsp
call fcn.1400664b0
lea r11, [rsp + 0x4bb0]
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]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret