Function at 0x140029d40
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x140041040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140029d86
cmp byte [0x140042129], 0
sete byte [0x140042129]
mov rcx, qword [0x140042130]
movss xmm2, dword [0x14003a9f4]
mov rcx, qword [rcx + 0xa0]
call fcn.140021ed0
cmp qword [0x1400421d8], 0
jne 0x140029db0
call fcn.140026470
mov rcx, qword [0x1400421f8]
lea rdx, [rbp + 0xf]
mov rdi, qword [0x140042130]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp + 0x17]
lea rcx, [rbp + 0x27]
sub eax, dword [rbp + 0xf]
movd xmm1, eax
mov eax, dword [rbp + 0x1b]
sub eax, dword [rbp + 0x13]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp + 0x27]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x140042200]
cvtsi2ss xmm0, qword [0x140042208]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x140042200], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rdi + 0x130], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rdi + 0x131], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [0x140042130]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x133], 0
mov byte [rdi + 0x132], al
cmp byte [rcx + 0x3af], 0
lea rbx, [rcx + 0x118]
je 0x140029eb7
cvttss2si eax, dword [rbx]
lea rdx, [rbp + 0x37]
mov dword [rbp + 0x37], eax
cvttss2si eax, dword [rcx + 0x11c]
mov rcx, qword [0x1400421f8]
mov dword [rbp + 0x3b], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp + 0x3b]
mov ecx, dword [rbp + 0x37]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx], 0xff7fffff
mov dword [rbx + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x1400421f8]
jne 0x140029f0f
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140029f0f
mov rcx, qword [0x1400421f8]
lea rdx, [rbp + 7]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140029f0f
movd xmm0, dword [rbp + 7]
movd xmm1, dword [rbp + 0xb]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xd0], 0
je 0x140029f1f
mov eax, 0xffffffff
jmp 0x140029f2c
mov rax, qword [0x140042130]
mov eax, dword [rax + 0x1d70]
cmp dword [0x140041630], eax
je 0x140029f3f
mov dword [0x140041630], eax
call fcn.1400265e0
call fcn.14000b7b0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor edi, edi
cmp rax, qword [0x1400412e8]
jne 0x140029f89
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x1400412e0]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_SetWindowPos]
cmp byte [0x140042129], dil
je 0x140029fb5
mov r8d, 0x40
lea rdx, [0x140042129]
lea rcx, str.cheat_foda
call fcn.14000e2d0
call fcn.140028520
call fcn.140011240
mov rbx, qword [0x140042130]
lea rdx, [rbp + 0x27]
mov dword [rbp + 0x27], 3
movss xmm0, dword [rbx + 0x1560]
lea rcx, [rbx + 0x1a88]
movss dword [rbp + 0x2b], xmm0
call fcn.140016c80
mov dword [rbx + 0x1560], edi
lea rdx, [rbp + 0x27]
mov rbx, qword [0x140042130]
mov dword [rbp + 0x27], 1
movss xmm1, dword [rbx + 0x1554]
lea rcx, [rbx + 0x1a88]
movss xmm0, dword [rbx + 0x1558]
movss dword [rbp + 0x2b], xmm1
movss dword [rbp + 0x2f], xmm0
call fcn.140016c80
movdqa xmm6, xmmword [0x14003abc0]
lea rdx, [rbp + 0xf]
mov dword [rbx + 0x1554], 0x3f800000
mov dword [rbx + 0x1558], 0x3f800000
mov rbx, qword [0x140042130]
mov dword [rbp + 0xf], 2
mov dword [rbx + 0x1ae4], 0x40a00000
lea rcx, [rbx + 0x1a78]
mov qword [rbx + 0x1ae8], 0x40a00000
mov dword [rbx + 0x1af0], edi
mov dword [rbx + 0x1ac8], 1
movups xmm0, xmmword [rbx + 0x1610]
movups xmmword [rbp + 0x13], xmm0
call fcn.140016d70
xor edx, edx
lea rcx, str.gozada
mov r8d, 3
movups xmmword [rbx + 0x1610], xmm6
call fcn.14000e2d0
mov eax, dword [0x1400412f4]
lea r9, [0x140041820]
movss xmm0, dword [0x14003a9ec]
cdq
sub eax, edx
movd ecx, xmm0
sar eax, 1
lea r8d, [rax - 0x190]
mov eax, dword [0x1400412f0]
cdq
sub eax, edx
sar eax, 1
mov edx, eax
lea rax, [0x14003a860]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
call fcn.1400290c0
call fcn.140003020
mov rcx, qword [0x140042130]
mov rax, qword [rcx + 0x19f8]
mov byte [rax + 0x7c], 1
mov rcx, qword [rcx + 0x19f8]
mov rcx, qword [rcx + 0x2a0]
call fcn.14001f110
call fcn.140011240
mov r8, qword [0x140042130]
lea r11, [0x14002d960]
mov rcx, qword [r8 + 0x1a80]
movsxd rax, dword [r8 + 0x1a78]
lea rdx, [rax + rax*4]
movsxd rax, dword [rcx + rdx*4 - 0x14]
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
add rax, 0x15f
add rax, rax
movups xmmword [r8 + rax*8], xmm0
dec dword [r8 + 0x1a78]
movsxd rax, dword [r8 + 0x1a88]
mov rdx, qword [r8 + 0x1a90]
lea rcx, [rax + rax*2]
movsxd rax, dword [rdx + rcx*4 - 0xc]
lea rax, [rax + rax*2]
cmp dword [r11 + rax*4], 4
mov r9d, dword [r11 + rax*4 + 8]
jne 0x14002a1ba
mov eax, dword [r11 + rax*4 + 4]
cmp eax, 1
jne 0x14002a19d
mov eax, dword [rdx + rcx*4 - 8]
mov dword [r9 + r8 + 0x1550], eax
jmp 0x14002a1ba
cmp eax, 2
jne 0x14002a1ba
mov eax, dword [rdx + rcx*4 - 8]
mov dword [r9 + r8 + 0x1550], eax
mov eax, dword [rdx + rcx*4 - 4]
mov dword [r9 + r8 + 0x1554], eax
movsxd rcx, dword [r8 + 0x1a88]
lea eax, [rcx - 1]
mov dword [r8 + 0x1a88], eax
lea rax, [rcx - 2]
mov rdx, qword [r8 + 0x1a90]
lea rcx, [rax + rax*2]
movsxd rax, dword [rdx + rcx*4]
lea r10, [rax + rax*2]
cmp dword [r11 + r10*4], 4
mov r9d, dword [r11 + r10*4 + 8]
jne 0x14002a223
mov eax, dword [r11 + r10*4 + 4]
cmp eax, 1
jne 0x14002a206
mov eax, dword [rdx + rcx*4 + 4]
mov dword [r9 + r8 + 0x1550], eax
jmp 0x14002a223
cmp eax, 2
jne 0x14002a223
mov eax, dword [rdx + rcx*4 + 4]
mov dword [r9 + r8 + 0x1550], eax
mov eax, dword [rdx + rcx*4 + 8]
mov dword [r9 + r8 + 0x1554], eax
dec dword [r8 + 0x1a88]
call fcn.14000c350
mov rcx, qword [0x140042180]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140042180]
xor r8d, r8d
mov edx, 0x1b
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140042180]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140042180]
mov r9d, 1
movss xmm0, dword [0x14003a99c]
xor r8d, r8d
mov dword [rsp + 0x30], edi
xor edx, edx
movss dword [rsp + 0x28], xmm0
mov rax, qword [rcx]
mov dword [rsp + 0x20], edi
call qword [rax + 0x158]
mov rcx, qword [0x140042180]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14002a2eb
call fcn.14000c800
mov rcx, qword [0x140042130]
add rcx, 0x1c70
cmp byte [rcx], dil
cmove rcx, rdi
call fcn.140025b70
mov rcx, qword [0x140042180]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140042180]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14002a3ad
mov rcx, qword [0x140042180]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14002a3ad
cmp qword [0x1400421e8], rdi
je 0x14002a391
mov rcx, qword [0x1400421f0]
test rcx, rcx
je 0x14002a34d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400421f0], rdi
mov rcx, qword [0x1400421e0]
test rcx, rcx
je 0x14002a366
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400421e0], rdi
mov rcx, qword [0x1400421d8]
mov rbx, qword [0x140042130]
test rcx, rcx
je 0x14002a37f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400421d8], rdi
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], rdi
mov rcx, qword [0x140042180]
lea rdx, [0x140042140]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140026470
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14002a4a0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret