Function at 0x18002d220
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x1a0
movss xmm0, dword [0x18039d6fc]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax - 0x20], rdi
mov edi, dword [0x18039d430]
mov qword [rax - 0x28], r12
movaps xmmword [rax - 0x38], xmm6
xorps xmm6, xmm6
ucomiss xmm0, xmm6
mov r12d, 4
jne 0x18002d2a4
call fcn.1800202d0
mov rbx, rax
test rax, rax
je 0x18002d29c
mov rax, qword gs:[0x58]
mov rax, qword [rax + rdi*8]
mov eax, dword [r12 + rax]
cmp dword [0x1803d4058], eax
jg 0x18002d840
mov rax, qword [0x1803d3f30]
movss xmm6, dword [rax + rbx]
movss dword [0x18039d6fc], xmm6
call fcn.1800202d0
mov rcx, rax
call fcn.180020160
xor r15d, r15d
mov rsi, rax
movabs r14, 0x7fffffff0000
lea rdx, [rax + 0x18]
cmp rdx, 0x40000
jbe 0x18002d57a
lea rcx, [rdx + 8]
cmp rcx, r14
jae 0x18002d2fc
mov rcx, qword [rdx]
add rcx, 0x18
cmp rcx, 0x40000
jbe 0x18002d2fc
lea rax, [rcx + 4]
cmp rax, r14
jae 0x18002d2fc
cmp dword [rcx], 0x40547fde
je 0x18002d343
cmp rdx, 0x40000
jbe 0x18002d57a
lea rax, [rdx + 8]
cmp rax, r14
jae 0x18002d57a
mov rcx, qword [rdx]
add rcx, 0x18
cmp rcx, 0x40000
jbe 0x18002d57a
lea rax, [rcx + 4]
cmp rax, r14
jae 0x18002d57a
cmp dword [rcx], 0x847b9bf0
jne 0x18002d57a
cmp byte [0x18039d689], r15b
je 0x18002d57a
call fcn.1800202d0
mov rbx, rax
test rax, rax
je 0x18002d393
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx + rdi*8]
mov ecx, dword [r12 + rcx]
cmp dword [0x1803d4500], ecx
jg 0x18002d87b
mov rax, qword [0x1803d42d0]
movss xmm0, dword [rbx + rax]
comiss xmm0, dword [0x180243168]
jae 0x18002d57a
lea rcx, [rsi + 0xa8]
cmp rcx, 0x40000
jbe 0x18002d56d
lea rax, [rcx + 8]
cmp rax, r14
jae 0x18002d56d
mov rdi, qword [rcx]
lea rbx, [rdi + 0x190]
cmp rbx, 0x40000
jbe 0x18002d56d
lea rax, [rbx + 1]
cmp rax, r14
jae 0x18002d56d
movzx ebx, byte [rbx]
call fcn.1800202d0
mov rcx, rax
call fcn.18001fd10
movss xmm6, dword [rax]
test bl, bl
je 0x18002d57a
movss xmm0, dword [0x18039d6fc]
addss xmm0, dword [0x180242c58]
comiss xmm6, xmm0
jbe 0x18002d57a
mov r9, qword [0x18039d578]
lea rcx, [rsp + 0x20]
movabs rax, 0xb6ca98b1b984802
add r9, 0x577810
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp + 0xc0]
mov qword [rsp + 0x20], rax
movabs rax, 0x10b7c61943f24a51
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp + 0xc0]
mov qword [rsp + 0x28], rax
movabs rax, 0xb3fa9ee1beb4857
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp + 0xc0]
mov qword [rsp + 0x30], rax
movabs rax, 0x10b7c67f439e4a34
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp + 0xc0]
movdqa xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov rax, 0xffffffffffffffff
xorps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x20], xmm0
nop dword [rax]
inc rax
cmp word [rcx + rax*2], r15w
jne 0x18002d4b0
mov r8d, 0x40
mov edx, r15d
cmp rax, r8
cmovb r8d, eax
mov dword [rsp + 0x50], r8d
test r8d, r8d
jle 0x18002d4fa
mov rcx, r15
nop word [rax + rax]
movzx eax, word [rsp + rcx + 0x20]
inc edx
mov word [rsp + rcx + 0x54], ax
lea rcx, [rcx + 2]
mov r8d, dword [rsp + 0x50]
cmp edx, r8d
jl 0x18002d4e0
movsxd rax, r8d
lea rdx, [rbp - 0x20]
mov rcx, rdi
mov word [rsp + rax*2 + 0x54], r15w
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x20], xmm0
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rbp - 0x10], xmm1
movups xmm1, xmmword [rsp + 0x70]
movaps xmmword [rbp], xmm0
movups xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x10], xmm1
movups xmm1, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x20], xmm0
movups xmm0, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0x30], xmm1
movups xmm1, xmmword [rbp - 0x50]
movaps xmmword [rbp + 0x40], xmm0
movups xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0x50], xmm1
movsd xmm1, qword [rbp - 0x30]
movaps xmmword [rbp + 0x60], xmm0
movsd qword [rbp + 0x70], xmm1
call r9
movss dword [0x18039d6fc], xmm6
jmp 0x18002d57a
call fcn.1800202d0
mov rcx, rax
call fcn.18001fd10
mov rcx, qword [0x18039d578]
movaps xmm6, xmmword [rsp + 0x180]
add rcx, 0x33411a8
mov r12, qword [rsp + 0x190]
mov rdi, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x1d0]
cmp rcx, 0x40000
jbe 0x18002d5db
lea rax, [rcx + 8]
cmp rax, r14
jae 0x18002d5db
mov rbx, qword [rcx]
add rbx, 0xb8
cmp rbx, 0x40000
jbe 0x18002d5db
lea rax, [rbx + 8]
cmp rax, r14
jae 0x18002d5db
mov rbx, qword [rbx]
jmp 0x18002d5de
mov rbx, r15
cmp byte [0x18039d621], r15b
je 0x18002d616
mov ecx, dword [0x18039d6b8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18002d616
lea rcx, [rbx + 0x18]
cmp rcx, 0x40000
jbe 0x18002d638
lea rax, [rcx + 4]
cmp rax, r14
jae 0x18002d638
mov dword [rcx], 0x41200000
jmp 0x18002d638
add rbx, 0x18
cmp rbx, 0x40000
jbe 0x18002d638
lea rax, [rbx + 4]
cmp rax, r14
jae 0x18002d638
movss xmm0, dword [0x1802caabc]
movss dword [rbx], xmm0
cmp byte [0x18039d693], r15b
mov rbx, qword [rsp + 0x1c8]
je 0x18002d6a3
call fcn.1800202d0
add rax, 0x610
cmp rax, 0x40000
jbe 0x18002d6a3
lea rcx, [rax + 8]
cmp rcx, r14
jae 0x18002d6a3
mov rcx, qword [rax]
mov rdx, rcx
lea r8, [rcx + 0xc4]
cmp r8, 0x40000
jbe 0x18002d687
lea rax, [r8 + 4]
cmp rax, r14
jae 0x18002d687
mov dword [r8], r15d
lea rcx, [rdx + 0xc8]
cmp rcx, 0x40000
jbe 0x18002d6a3
lea rax, [rcx + 4]
cmp rax, r14
jae 0x18002d6a3
mov dword [rcx], r15d
cmp byte [0x18039d67a], r15b
je 0x18002d6de
mov rax, qword [0x18039d578]
add rax, 0x2570b00
call rax
movss xmm1, dword [0x1802caacc]
mov rcx, rax
mov rdx, qword [0x18039d578]
mulss xmm1, dword [0x180242aa4]
add rdx, 0x2571330
call rdx
cmp byte [0x18039d695], r15b
je 0x18002d723
call fcn.1800202d0
lea rcx, [rax + 0x820]
cmp rcx, 0x40000
jbe 0x18002d723
lea rax, [rcx + 4]
cmp rax, r14
jae 0x18002d709
mov edx, dword [rcx]
jmp 0x18002d71e
cmp rcx, 0x40000
jbe 0x18002d723
lea rax, [rcx + 4]
mov edx, r15d
cmp rax, r14
jae 0x18002d723
or edx, 4
mov dword [rcx], edx
cmp byte [0x18039d669], r15b
je 0x18002d76e
call fcn.1800202d0
lea rcx, [rax + 0x820]
cmp rcx, 0x40000
jbe 0x18002d76e
lea rax, [rcx + 4]
cmp rax, r14
jae 0x18002d74e
mov edx, dword [rcx]
jmp 0x18002d763
cmp rcx, 0x40000
jbe 0x18002d76e
lea rax, [rcx + 4]
mov edx, r15d
cmp rax, r14
jae 0x18002d76e
mov eax, r15d
cmp edx, 4
sete al
mov dword [rcx], eax
cmp byte [0x18039d688], r15b
je 0x18002d7d9
call fcn.1800202d0
mov rcx, qword [0x18039d578]
add rcx, 0x32f9ae0
cmp rcx, 0x40000
jbe 0x18002d7d9
lea rax, [rcx + 8]
cmp rax, r14
jae 0x18002d7d9
mov rcx, qword [rcx]
add rcx, 0xb8
cmp rcx, 0x40000
jbe 0x18002d7d9
lea rax, [rcx + 8]
cmp rax, r14
jae 0x18002d7d9
mov rcx, qword [rcx]
cmp rcx, 0x40000
jbe 0x18002d7d9
lea rax, [rcx + 4]
cmp rax, r14
jae 0x18002d7d9
movss xmm0, dword [0x1802caa6c]
movss dword [rcx], xmm0
cmp byte [0x18039d6a2], r15b
je 0x18002d833
mov ecx, dword [0x18039d6c8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18002d833
call fcn.1800202d0
add rax, 0x828
cmp rax, 0x40000
jbe 0x18002d833
lea rcx, [rax + 8]
cmp rcx, r14
jae 0x18002d833
mov rcx, qword [rax]
add rcx, 0x38
cmp rcx, 0x40000
jbe 0x18002d833
lea rax, [rcx + 0xc]
cmp rax, r14
jae 0x18002d833
mov dword [rcx], r15d
mov qword [rcx + 4], 0x3fc00000
add rsp, 0x1a0
pop r15
pop r14
pop rbp
ret
lea rcx, [0x1803d4058]
call fcn.18010a9a8
cmp dword [0x1803d4058], 0xffffffff
jne 0x18002d290
mov ecx, 0xc566d10
call fcn.1800153a0
lea rcx, [0x1803d4058]
mov qword [0x1803d3f30], rax
call fcn.18010a93c
jmp 0x18002d290
lea rcx, [0x1803d4500]
call fcn.18010a9a8
cmp dword [0x1803d4500], 0xffffffff
jne 0x18002d37a
mov ecx, 0x43f29029
call fcn.1800153a0
lea rcx, [0x1803d4500]
mov qword [0x1803d42d0], rax
call fcn.18010a93c
jmp 0x18002d37a