Function at 0x18002d040
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 [0x18033a094]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax - 0x20], rdi
mov edi, dword [0x180339d70]
mov qword [rax - 0x28], r12
movaps xmmword [rax - 0x38], xmm6
xorps xmm6, xmm6
ucomiss xmm0, xmm6
mov r12d, 4
jne 0x18002d0c4
call fcn.180020150
mov rbx, rax
test rax, rax
je 0x18002d0bc
mov rax, qword gs:[0x58]
mov rax, qword [rax + rdi*8]
mov eax, dword [r12 + rax]
cmp dword [0x180370578], eax
jg 0x18002d615
mov rax, qword [0x180370460]
movss xmm6, dword [rax + rbx]
movss dword [0x18033a094], xmm6
call fcn.180020150
mov rcx, rax
call fcn.180020060
xor r15d, r15d
mov rsi, rax
movabs r14, 0x7fffffff0000
lea rdx, [rax + 0x18]
cmp rdx, 0x40000
jbe 0x18002d39a
lea rcx, [rdx + 8]
cmp rcx, r14
jae 0x18002d11c
mov rcx, qword [rdx]
add rcx, 0x18
cmp rcx, 0x40000
jbe 0x18002d11c
lea rax, [rcx + 4]
cmp rax, r14
jae 0x18002d11c
cmp dword [rcx], 0x40547fde
je 0x18002d163
cmp rdx, 0x40000
jbe 0x18002d39a
lea rax, [rdx + 8]
cmp rax, r14
jae 0x18002d39a
mov rcx, qword [rdx]
add rcx, 0x18
cmp rcx, 0x40000
jbe 0x18002d39a
lea rax, [rcx + 4]
cmp rax, r14
jae 0x18002d39a
cmp dword [rcx], 0x847b9bf0
jne 0x18002d39a
cmp byte [0x18033a024], r15b
je 0x18002d39a
call fcn.180020150
mov rbx, rax
test rax, rax
je 0x18002d1b3
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx + rdi*8]
mov ecx, dword [r12 + rcx]
cmp dword [0x180370a28], ecx
jg 0x18002d650
mov rax, qword [0x180370808]
movss xmm0, dword [rbx + rax]
comiss xmm0, dword [0x1801cebf8]
jae 0x18002d39a
lea rcx, [rsi + 0xb0]
cmp rcx, 0x40000
jbe 0x18002d38d
lea rax, [rcx + 8]
cmp rax, r14
jae 0x18002d38d
mov rdi, qword [rcx]
lea rbx, [rdi + 0x190]
cmp rbx, 0x40000
jbe 0x18002d38d
lea rax, [rbx + 1]
cmp rax, r14
jae 0x18002d38d
movzx ebx, byte [rbx]
call fcn.180020150
mov rcx, rax
call fcn.18001fc10
movss xmm6, dword [rax]
test bl, bl
je 0x18002d39a
movss xmm0, dword [0x18033a094]
addss xmm0, dword [0x1801ce6e8]
comiss xmm6, xmm0
jbe 0x18002d39a
mov r9, qword [0x180339f08]
lea rcx, [rsp + 0x20]
movabs rax, 0x92c29f49eb2a5c8a
add r9, 0x595ed0
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp + 0xc0]
mov qword [rsp + 0x20], rax
movabs rax, 0x6d54d86f8b9fba0d
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp + 0xc0]
mov qword [rsp + 0x28], rax
movabs rax, 0x92919f2ceb595cdf
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp + 0xc0]
mov qword [rsp + 0x30], rax
movabs rax, 0x6d54d8098bf3ba68
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 0x18002d2d0
mov r8d, 0x40
mov edx, r15d
cmp rax, r8
cmovb r8d, eax
mov dword [rsp + 0x50], r8d
test r8d, r8d
jle 0x18002d31a
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 0x18002d300
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 [0x18033a094], xmm6
jmp 0x18002d39a
call fcn.180020150
mov rcx, rax
call fcn.18001fc10
mov rcx, qword [0x180339f08]
movaps xmm6, xmmword [rsp + 0x180]
add rcx, 0x33786c8
mov r12, qword [rsp + 0x190]
mov rdi, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x1d0]
cmp rcx, 0x40000
jbe 0x18002d3fb
lea rax, [rcx + 8]
cmp rax, r14
jae 0x18002d3fb
mov rbx, qword [rcx]
add rbx, 0xb8
cmp rbx, 0x40000
jbe 0x18002d3fb
lea rax, [rbx + 8]
cmp rax, r14
jae 0x18002d3fb
mov rbx, qword [rbx]
jmp 0x18002d3fe
mov rbx, r15
cmp byte [0x180339fbc], r15b
je 0x18002d436
mov ecx, dword [0x18033a050]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18002d436
lea rcx, [rbx + 0x18]
cmp rcx, 0x40000
jbe 0x18002d458
lea rax, [rcx + 4]
cmp rax, r14
jae 0x18002d458
mov dword [rcx], 0x41200000
jmp 0x18002d458
add rbx, 0x18
cmp rbx, 0x40000
jbe 0x18002d458
lea rax, [rbx + 4]
cmp rax, r14
jae 0x18002d458
movss xmm0, dword [0x1802706c4]
movss dword [rbx], xmm0
cmp byte [0x18033a02e], r15b
mov rbx, qword [rsp + 0x1c8]
je 0x18002d4c3
call fcn.180020150
add rax, 0x6a0
cmp rax, 0x40000
jbe 0x18002d4c3
lea rcx, [rax + 8]
cmp rcx, r14
jae 0x18002d4c3
mov rcx, qword [rax]
mov rdx, rcx
lea r8, [rcx + 0xc4]
cmp r8, 0x40000
jbe 0x18002d4a7
lea rax, [r8 + 4]
cmp rax, r14
jae 0x18002d4a7
mov dword [r8], r15d
lea rcx, [rdx + 0xc8]
cmp rcx, 0x40000
jbe 0x18002d4c3
lea rax, [rcx + 4]
cmp rax, r14
jae 0x18002d4c3
mov dword [rcx], r15d
cmp byte [0x18033a01c], r15b
je 0x18002d4fe
mov rax, qword [0x180339f08]
add rax, 0x2570b00
call rax
movss xmm1, dword [0x1802706c8]
mov rcx, rax
mov rdx, qword [0x180339f08]
mulss xmm1, dword [0x1801ce534]
add rdx, 0x2571330
call rdx
cmp byte [0x18033a030], r15b
je 0x18002d543
call fcn.180020150
lea rcx, [rax + 0x8b0]
cmp rcx, 0x40000
jbe 0x18002d543
lea rax, [rcx + 4]
cmp rax, r14
jae 0x18002d529
mov edx, dword [rcx]
jmp 0x18002d53e
cmp rcx, 0x40000
jbe 0x18002d543
lea rax, [rcx + 4]
mov edx, r15d
cmp rax, r14
jae 0x18002d543
or edx, 4
mov dword [rcx], edx
cmp byte [0x18033a01e], r15b
je 0x18002d5ae
call fcn.180020150
mov rcx, qword [0x180339f08]
add rcx, 0x3331268
cmp rcx, 0x40000
jbe 0x18002d5ae
lea rax, [rcx + 8]
cmp rax, r14
jae 0x18002d5ae
mov rcx, qword [rcx]
add rcx, 0xb8
cmp rcx, 0x40000
jbe 0x18002d5ae
lea rax, [rcx + 8]
cmp rax, r14
jae 0x18002d5ae
mov rcx, qword [rcx]
cmp rcx, 0x40000
jbe 0x18002d5ae
lea rax, [rcx + 4]
cmp rax, r14
jae 0x18002d5ae
movss xmm0, dword [0x1802706b0]
movss dword [rcx], xmm0
cmp byte [0x18033a03d], r15b
je 0x18002d608
mov ecx, dword [0x18033a060]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18002d608
call fcn.180020150
add rax, 0x8b8
cmp rax, 0x40000
jbe 0x18002d608
lea rcx, [rax + 8]
cmp rcx, r14
jae 0x18002d608
mov rcx, qword [rax]
add rcx, 0x38
cmp rcx, 0x40000
jbe 0x18002d608
lea rax, [rcx + 0xc]
cmp rax, r14
jae 0x18002d608
mov dword [rcx], r15d
mov qword [rcx + 4], 0x3fc00000
add rsp, 0x1a0
pop r15
pop r14
pop rbp
ret
lea rcx, [0x180370578]
call fcn.18010a928
cmp dword [0x180370578], 0xffffffff
jne 0x18002d0b0
mov ecx, 0xc566d10
call fcn.180015390
lea rcx, [0x180370578]
mov qword [0x180370460], rax
call fcn.18010a8bc
jmp 0x18002d0b0
lea rcx, [0x180370a28]
call fcn.18010a928
cmp dword [0x180370a28], 0xffffffff
jne 0x18002d19a
mov ecx, 0x43f29029
call fcn.180015390
lea rcx, [0x180370a28]
mov qword [0x180370808], rax
call fcn.18010a8bc
jmp 0x18002d19a