Function at 0x18008c738
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov r15, r9
mov ebx, edx
mov r12, rcx
call fcn.180069ccc
xor r13d, r13d
test rax, rax
je 0x18008cdfa
call fcn.180069f64
mov r14, rax
call fcn.18008b878
mov rsi, rax
mov edi, 0x204
cmp ebx, edi
ja 0x18008cb9d
je 0x18008ccd0
mov eax, 0x102
cmp ebx, eax
ja 0x18008c9d9
je 0x18008c969
mov eax, ebx
sub eax, 7
je 0x18008c954
sub eax, 1
je 0x18008c954
sub eax, 0x18
je 0x18008c932
sub eax, 0x80
je 0x18008ca16
sub eax, 0x60
je 0x18008c7d9
cmp eax, 1
jne 0x18008cc7a
lea eax, [rbx - 0x100]
test eax, 0xfffffffb
sete sil
mov r14d, 0x100
cmp qword [rsp + 0xb0], r14
jae 0x18008cb96
call fcn.180069f64
mov rbx, rax
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edi, 1
and al, dil
mov r8b, al
mov edx, 0x1000
mov rcx, rbx
call fcn.1800631a4
lea ecx, [rdi + 0xf]
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
mov r8b, al
mov edx, 0x2000
mov rcx, rbx
call fcn.1800631a4
lea r12d, [rdi + 0x11]
mov ecx, r12d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
mov r8b, al
mov edx, 0x4000
mov rcx, rbx
call fcn.1800631a4
lea ecx, [rdi + 0x5c]
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
mov r8b, al
mov edx, 0x8000
mov rcx, rbx
call fcn.1800631a4
mov rbx, qword [rsp + 0xb0]
mov dword [rsp + 0x34], ebx
cmp rbx, 0xd
jne 0x18008c8b3
mov rax, r15
shr rax, 0x10
test r14w, ax
lea eax, [r14 + 0xd]
cmovne ebx, eax
mov dword [rsp + 0x34], ebx
movsxd rcx, ebx
call fcn.18008c1a4
shr r15, 0x10
movzx r14d, r15b
test eax, eax
je 0x18008c8d7
mov r9d, r14d
mov r8d, ebx
mov dl, sil
mov ecx, eax
call fcn.18008b810
cmp ebx, 0x10
jne 0x18008caec
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x18008c90c
mov r9d, r14d
mov r8d, 0xa0
mov dl, sil
mov ecx, 0x210
call fcn.18008b810
mov ebx, 0xa1
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x18008cb96
mov ecx, 0x214
jmp 0x18008cb88
mov edi, 1
cmp r15w, di
jne 0x18008c94d
call fcn.18008c0f4
test al, al
je 0x18008c94d
mov eax, edi
jmp 0x18008cdfa
xor eax, eax
jmp 0x18008cdfa
cmp ebx, 7
sete dl
mov rcx, r14
call fcn.180062eb4
xor eax, eax
jmp 0x18008cdfa
mov rcx, r12
call qword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x18008c997
mov rcx, qword [rsp + 0xb0]
lea rax, [rcx - 1]
cmp rax, 0xfffe
ja 0x18008c9d2
movzx edx, cx
mov rcx, r14
call fcn.180062fb8
jmp 0x18008c9d2
mov word [rsp + 0x30], r13w
mov edi, 1
mov dword [rsp + 0x28], edi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, [rsp + 0xb0]
mov edx, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx edx, word [rsp + 0x30]
mov rcx, r14
call fcn.180062f58
xor eax, eax
jmp 0x18008cdfa
mov eax, ebx
sub eax, 0x104
je 0x18008c7d9
sub eax, 1
je 0x18008c7d9
sub eax, 0xfb
je 0x18008ca16
sub eax, 1
je 0x18008ccd0
sub eax, 1
je 0x18008cd73
cmp eax, 1
je 0x18008ccd0
jmp 0x18008cc7a
call fcn.18008b7d8
mov dword [rsp + 0x30], eax
mov edx, 0x200
cmp ebx, edx
setne r13b
mov edi, 1
add r13d, edi
mov qword [rsi + 8], r12
cmp dword [rsi + 0x10], r13d
je 0x18008ca97
mov dword [rsp + 0x40], 0x18
mov dword [rsp + 0x44], 0x80000000
mov qword [rsp + 0x48], r12
and dword [rsp + 0x50], 0
mov dword [rsp + 0x58], 0x18
lea eax, [rdi + 1]
lea ecx, [rdi + 0x11]
cmp ebx, edx
cmovne eax, ecx
mov dword [rsp + 0x5c], eax
mov qword [rsp + 0x60], r12
and dword [rsp + 0x68], 0
cmp dword [rsi + 0x10], 0
je 0x18008ca88
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov dword [rsi + 0x10], r13d
movsx eax, r15w
mov dword [rsp + 0x38], eax
shr r15, 0x10
movsx eax, r15w
mov dword [rsp + 0x3c], eax
cmp ebx, 0xa0
jne 0x18008cac9
lea rdx, [rsp + 0x38]
mov rcx, r12
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x18008cc7a
mov edx, dword [rsp + 0x30]
mov rcx, r14
call fcn.1800633bc
movd xmm2, dword [rsp + 0x3c]
cvtdq2ps xmm2, xmm2
movd xmm1, dword [rsp + 0x38]
cvtdq2ps xmm1, xmm1
jmp 0x18008cc71
cmp ebx, 0x11
jne 0x18008cb3b
mov ebx, 0xa2
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x18008cb1c
mov r9d, r14d
mov r8d, ebx
mov dl, sil
mov ecx, 0x20f
call fcn.18008b810
mov ebx, 0xa3
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x18008cb96
mov ecx, 0x213
jmp 0x18008cb88
cmp ebx, r12d
jne 0x18008cb96
mov ebx, 0xa4
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x18008cb6b
mov r9d, r14d
mov r8d, ebx
mov dl, sil
mov ecx, 0x211
call fcn.18008b810
mov ebx, 0xa5
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x18008cb96
mov ecx, 0x215
mov r9d, r14d
mov r8d, ebx
mov dl, sil
call fcn.18008b810
xor eax, eax
jmp 0x18008cdfa
mov eax, 0x20b
cmp ebx, eax
ja 0x18008cc14
je 0x18008ccd0
mov eax, ebx
sub eax, 0x205
je 0x18008cd73
sub eax, 1
je 0x18008ccd0
sub eax, 1
je 0x18008ccd0
sub eax, 1
je 0x18008cd73
sub eax, 1
je 0x18008ccd0
cmp eax, 1
jne 0x18008cc7a
mov rax, qword [rsp + 0xb0]
shr rax, 0x10
cwde
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x180155508]
xorps xmm1, xmm1
mov rcx, r14
call fcn.1800633cc
xor eax, eax
jmp 0x18008cdfa
mov eax, ebx
sub eax, 0x20c
je 0x18008cd73
sub eax, 1
je 0x18008ccd0
sub eax, 1
je 0x18008cc9b
sub eax, 0xb
je 0x18008cc81
sub eax, 0x89
je 0x18008cc40
cmp eax, 1
jne 0x18008cc7a
mov eax, r13d
cmp ebx, 0x2a3
setne al
mov edi, 1
add eax, edi
cmp dword [rsi + 0x10], eax
jne 0x18008cc7a
cmp qword [rsi + 8], r12
jne 0x18008cc62
mov qword [rsi + 8], r13
mov dword [rsi + 0x10], r13d
movss xmm1, dword [0x180157358]
movaps xmm2, xmm1
mov rcx, r14
call fcn.180063290
nop
xor eax, eax
jmp 0x18008cdfa
cmp dword [rsp + 0xb0], 7
jne 0x18008cc94
mov edi, 1
mov byte [rsi + 0x2d], dil
xor eax, eax
jmp 0x18008cdfa
mov rax, qword [rsp + 0xb0]
shr rax, 0x10
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
xorps xmm1, xmmword [0x1801573c0]
divss xmm1, dword [0x180155508]
xorps xmm2, xmm2
mov rcx, r14
call fcn.1800633cc
xor eax, eax
jmp 0x18008cdfa
call fcn.18008b7d8
mov r13d, eax
cmp ebx, edi
je 0x18008cced
xor r15d, r15d
cmp ebx, 0x206
je 0x18008cced
lea edi, [r15 + 1]
jmp 0x18008ccf5
mov edi, 1
mov r15d, edi
lea eax, [rbx - 0x207]
mov ecx, 0xfffffffd
test ecx, eax
mov eax, 2
cmove r15d, eax
lea eax, [rbx - 0x20b]
test ecx, eax
jne 0x18008cd2f
mov rax, qword [rsp + 0xb0]
shr rax, 0x10
xor r15d, r15d
cmp ax, di
setne r15b
add r15d, 3
cmp dword [rsi + 0x14], 0
jne 0x18008cd49
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x18008cd49
mov rcx, r12
call qword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [rsi + 0x14]
bts eax, r15d
mov dword [rsi + 0x14], eax
mov edx, r13d
mov rcx, r14
call fcn.1800633bc
mov r8b, dil
mov edx, r15d
mov rcx, r14
call fcn.1800631d0
xor eax, eax
jmp 0x18008cdfa
call fcn.18008b7d8
mov r13d, eax
xor r15d, r15d
cmp ebx, 0x205
sete r15b
mov eax, 2
cmp ebx, 0x208
cmove r15d, eax
cmp ebx, 0x20c
jne 0x18008cdbc
mov rcx, qword [rsp + 0xb0]
shr rcx, 0x10
xor r15d, r15d
lea edi, [rax - 1]
cmp cx, di
setne r15b
add r15d, 3
mov eax, dword [rsi + 0x14]
btr eax, r15d
mov dword [rsi + 0x14], eax
test eax, eax
jne 0x18008cddb
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r12
jne 0x18008cddb
call qword [sym.imp.USER32.dll_ReleaseCapture]
mov edx, r13d
mov rcx, r14
call fcn.1800633bc
xor r8d, r8d
mov edx, r15d
mov rcx, r14
call fcn.1800631d0
xor eax, eax
jmp 0x18008cdfa
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret