Function at 0x18003bc90
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xa8
movaps xmmword [rsp + 0x90], xmm6
mov rax, qword [0x180075040]
xor rax, rsp
mov qword [rbp - 1], rax
mov rbx, qword [0x1800763b0]
mov r13, r9
mov qword [rbp - 0x11], r8
mov r15d, edx
mov r12, rcx
test rbx, rbx
je case.0x18003c501.527
mov rsi, qword [rbx + 0x98]
test rsi, rsi
je case.0x18003c501.527
add rbx, 8
cmp edx, 0x200
ja 0x18003c4d7
je case.0x18003bd77.160
cmp edx, 7
ja 0x18003bd50
je 0x18003c144
cmp edx, 2
jne case.0x18003c501.527
cmp qword [rsi + 8], rcx
jne case.0x18003c501.527
cmp dword [rsi + 0x10], 0
je case.0x18003c501.527
mov qword [rbp - 0x29], rcx
xor edi, edi
lea rcx, [rbp - 0x31]
mov dword [rbp - 0x21], edi
mov dword [rbp - 0x31], 0x18
mov dword [rbp - 0x2d], 0x80000000
call qword [sym.imp.USER32.dll_TrackMouseEvent]
jmp 0x18003c522
lea eax, [rdx - 8]
cmp eax, 0xfd
ja case.0x18003c501.527
lea rdx, [0x180000000]
movzx eax, byte [rdx + rax + 0x3c70c]
mov ecx, dword [rdx + rax*4 + 0x3c6f0]
add rcx, rdx
jmp rcx
lea eax, [r15 - 0x100]
test eax, 0xfffffffb
sete dil
cmp r8, 0x100
jae case.0x18003c501.527
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
movss xmm6, dword [0x18006aa60]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0x2b69], 0
je 0x18003bdd4
test al, al
je 0x18003bdc0
movaps xmm3, xmm6
jmp 0x18003bdc3
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x1000
mov rcx, rbx
call fcn.18000a980
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0x2b69], 0
je 0x18003be0a
test al, al
je 0x18003bdf6
movaps xmm3, xmm6
jmp 0x18003bdf9
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x2000
mov rcx, rbx
call fcn.18000a980
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0x2b69], 0
je 0x18003be40
test al, al
je 0x18003be2c
movaps xmm3, xmm6
jmp 0x18003be2f
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x4000
mov rcx, rbx
call fcn.18000a980
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18003be69
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18003be69
xor r8b, r8b
jmp 0x18003be6c
mov r8b, 1
cmp byte [rbx + 0x2b69], 0
je 0x18003be8f
test r8b, r8b
je 0x18003be7f
movaps xmm3, xmm6
jmp 0x18003be82
xorps xmm3, xmm3
mov edx, 0x8000
mov rcx, rbx
call fcn.18000a980
mov rbx, qword [rbp - 0x11]
mov rdx, r13
mov rcx, rbx
call fcn.18003b690
mov r14d, eax
cmp eax, 0x262
jne 0x18003beec
test dil, dil
jne 0x18003bef1
mov rsi, qword [0x1800763b0]
cmp byte [rsi + 0x2b71], dil
je 0x18003bece
movaps xmm3, xmm6
lea rcx, [rsi + 8]
mov r8b, 1
mov edx, eax
call fcn.18000a980
cmp ebx, 0x1ff
ja 0x18003bef1
movsxd rax, ebx
mov dword [rsi + rax*4 + 0x2b88], 0x262
mov dword [rsi + 0x3510], ebx
jmp 0x18003bef1
test r14d, r14d
je 0x18003bf00
mov r8d, ebx
movzx edx, dil
mov ecx, r14d
call fcn.18003ac80
cmp ebx, 0x10
jne 0x18003bfc0
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x18003bf61
mov rbx, qword [0x1800763b0]
cmp byte [rbx + 0x2b71], 0
je 0x18003bf4d
test dil, dil
je 0x18003bf38
movaps xmm3, xmm6
jmp 0x18003bf3b
xorps xmm3, xmm3
movzx r8d, dil
lea rcx, [rbx + 8]
mov edx, 0x210
call fcn.18000a980
mov dword [rbx + 0x2e08], 0x210
mov dword [rbx + 0x33c8], 0xa0
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x18003c501.527
mov rbx, qword [0x1800763b0]
cmp byte [rbx + 0x2b71], 0
je 0x18003bfa7
test dil, dil
jne 0x18003bf92
xorps xmm6, xmm6
movaps xmm3, xmm6
lea rcx, [rbx + 8]
movzx r8d, dil
mov edx, 0x214
call fcn.18000a980
mov dword [rbx + 0x2e0c], 0x214
mov dword [rbx + 0x33d8], 0xa1
jmp case.0x18003c501.527
cmp ebx, 0x11
jne 0x18003c080
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x18003c021
mov rbx, qword [0x1800763b0]
cmp byte [rbx + 0x2b71], 0
je 0x18003c00d
test dil, dil
je 0x18003bff8
movaps xmm3, xmm6
jmp 0x18003bffb
xorps xmm3, xmm3
movzx r8d, dil
lea rcx, [rbx + 8]
mov edx, 0x20f
call fcn.18000a980
mov dword [rbx + 0x2e10], 0x20f
mov dword [rbx + 0x33c4], 0xa2
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x18003c501.527
mov rbx, qword [0x1800763b0]
cmp byte [rbx + 0x2b71], 0
je 0x18003c067
test dil, dil
jne 0x18003c052
xorps xmm6, xmm6
movaps xmm3, xmm6
lea rcx, [rbx + 8]
movzx r8d, dil
mov edx, 0x213
call fcn.18000a980
mov dword [rbx + 0x2e14], 0x213
mov dword [rbx + 0x33d4], 0xa3
jmp case.0x18003c501.527
cmp ebx, 0x12
jne case.0x18003c501.527
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x18003c0e1
mov rbx, qword [0x1800763b0]
cmp byte [rbx + 0x2b71], 0
je 0x18003c0cd
test dil, dil
je 0x18003c0b8
movaps xmm3, xmm6
jmp 0x18003c0bb
xorps xmm3, xmm3
movzx r8d, dil
lea rcx, [rbx + 8]
mov edx, 0x211
call fcn.18000a980
mov dword [rbx + 0x2e18], 0x211
mov dword [rbx + 0x33cc], 0xa4
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x18003c501.527
mov rbx, qword [0x1800763b0]
cmp byte [rbx + 0x2b71], 0
je 0x18003c127
test dil, dil
jne 0x18003c112
xorps xmm6, xmm6
movaps xmm3, xmm6
lea rcx, [rbx + 8]
movzx r8d, dil
mov edx, 0x215
call fcn.18000a980
mov dword [rbx + 0x2e1c], 0x215
mov dword [rbx + 0x33dc], 0xa5
jmp case.0x18003c501.527
cmp r15d, 7
mov rdx, qword [rbx + 0xd0]
sete r8b
lea r9, [rdx + 0x4018]
mov eax, dword [r9]
sub eax, 1
js 0x18003c17f
movsxd rcx, eax
imul rax, rcx, 0x1c
add rax, qword [rdx + 0x4020]
nop dword [rax]
cmp dword [rax], 6
je 0x18003c1df
sub rax, 0x1c
sub rcx, 1
jns 0x18003c170
cmp byte [rdx + 0x2b70], 0
sete cl
cmp cl, r8b
je case.0x18003c501.527
cmp byte [rbx + 0x7c], 0
je 0x18003c1a2
cmp r15d, 7
jne case.0x18003c501.527
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x41], rax
mov rcx, r9
mov dword [rbp - 0x39], eax
mov eax, dword [rdx + 0x403c]
mov dword [rbp - 0x49], eax
inc eax
mov dword [rdx + 0x403c], eax
lea rdx, [rbp - 0x51]
mov dword [rbp - 0x51], 6
mov byte [rbp - 0x45], r8b
call fcn.180028940
jmp case.0x18003c501.527
test rax, rax
je 0x18003c17f
movzx ecx, byte [rax + 0xc]
jmp 0x18003c189
call fcn.18003a920
jmp case.0x18003c501.527
mov rcx, r12
call qword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x18003c326
mov rsi, qword [rbp - 0x11]
lea rax, [rsi - 1]
cmp rax, 0xfffe
ja case.0x18003c501.527
test si, si
jne 0x18003c22b
cmp word [rbx + 0x2b6c], si
je case.0x18003c501.527
cmp byte [rbx + 0x2b69], 0
je case.0x18003c501.527
mov ecx, 0xfc00
movzx eax, si
and ax, cx
mov edx, 0xd800
movzx ecx, word [rbx + 0x2b6c]
cmp ax, dx
jne 0x18003c2af
test cx, cx
je 0x18003c2a3
mov rcx, qword [rbx + 0xd0]
lea rdx, [rbp - 0x51]
xor edi, edi
mov dword [rbp - 0x51], 5
mov r14d, 2
mov qword [rbp - 0x41], rdi
mov dword [rbp - 0x39], edi
mov eax, dword [rcx + 0x403c]
mov dword [rbp - 0x49], eax
inc eax
mov dword [rcx + 0x403c], eax
mov eax, 0xfffd
add rcx, 0x4018
mov dword [rbp - 0x45], eax
mov dword [rbp - 0x4d], r14d
call fcn.180028940
mov word [rbx + 0x2b6c], si
jmp case.0x18003c501.527
test cx, cx
je 0x18003c316
mov ecx, 0xdc00
xor edi, edi
cmp ax, cx
je 0x18003c30a
mov rcx, qword [rbx + 0xd0]
lea rdx, [rbp - 0x51]
mov r14d, 2
mov qword [rbp - 0x41], rdi
mov dword [rbp - 0x39], edi
mov dword [rbp - 0x51], 5
mov eax, dword [rcx + 0x403c]
mov dword [rbp - 0x49], eax
inc eax
mov dword [rcx + 0x403c], eax
mov eax, 0xfffd
add rcx, 0x4018
mov dword [rbp - 0x45], eax
mov dword [rbp - 0x4d], r14d
call fcn.180028940
jmp 0x18003c30f
mov esi, 0xfffd
mov word [rbx + 0x2b6c], di
movzx edx, si
mov rcx, rbx
call fcn.18000a7f0
jmp case.0x18003c501.527
mov eax, 1
lea rcx, [rbp - 0x19]
mov dword [rsp + 0x28], eax
lea r8, [rbp - 0x11]
mov qword [rsp + 0x20], rcx
xor edi, edi
mov ecx, dword [rsi + 0x2c]
mov r9d, eax
mov edx, eax
mov word [rbp - 0x19], di
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx edx, word [rbp - 0x19]
mov rcx, qword [rbx + 0xd0]
test edx, edx
je case.0x18003c501.527
cmp byte [rbx + 0x2b69], dil
je case.0x18003c501.527
mov eax, dword [rcx + 0x403c]
mov r14d, 2
mov dword [rbp - 0x49], eax
inc eax
mov dword [rcx + 0x403c], eax
add rcx, 0x4018
mov dword [rbp - 0x45], edx
lea rdx, [rbp - 0x51]
mov qword [rbp - 0x41], rdi
mov dword [rbp - 0x39], edi
mov dword [rbp - 0x51], 5
mov dword [rbp - 0x4d], r14d
call fcn.180028940
jmp case.0x18003c501.527
cmp r13w, 1
jne case.0x18003c501.527
call fcn.18003ab10
test al, al
je case.0x18003c501.527
mov eax, 1
jmp 0x18003c6c7
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov ecx, 0xffffff80
xor edi, edi
and rax, rcx
mov r14d, 2
mov ecx, 0xff515700
cmp rax, rcx
jne 0x18003c3f9
mov dword [rbp - 0x19], r14d
jmp 0x18003c409
mov ecx, edi
mov edx, 0xff515780
cmp rax, rdx
sete cl
mov dword [rbp - 0x19], ecx
mov ecx, dword [rsi + 0x10]
cmp r15d, 0x200
mov eax, edi
mov qword [rsi + 8], r12
setne al
inc eax
mov dword [rbp - 0x59], eax
cmp ecx, eax
je 0x18003c47a
cmp r15d, 0x200
mov dword [rbp - 0x31], 0x18
mov eax, 0x12
mov dword [rbp - 0x2d], 0x80000000
cmovne r14d, eax
mov qword [rbp - 0x29], r12
mov dword [rbp - 0x4d], r14d
mov dword [rbp - 0x21], edi
mov dword [rbp - 0x51], 0x18
mov qword [rbp - 0x49], r12
mov dword [rbp - 0x41], edi
test ecx, ecx
je 0x18003c46a
lea rcx, [rbp - 0x31]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
lea rcx, [rbp - 0x51]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov eax, dword [rbp - 0x59]
mov dword [rsi + 0x10], eax
movsx eax, r13w
shr r13, 0x10
mov dword [rbp - 9], eax
movsx eax, r13w
mov dword [rbp - 5], eax
cmp r15d, 0xa0
jne 0x18003c4aa
lea rdx, [rbp - 9]
mov rcx, r12
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je case.0x18003c501.527
mov rax, qword [rbx + 0xd0]
mov ecx, dword [rbp - 0x19]
mov dword [rax + 0x4038], ecx
mov rcx, rbx
movd xmm2, dword [rbp - 5]
movd xmm1, dword [rbp - 9]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.18000ab90
jmp case.0x18003c501.527
lea eax, [rdx - 0x201]
cmp eax, 0xa2
ja case.0x18003c501.527
lea rdx, [0x180000000]
movzx eax, byte [rdx + rax + 0x3c828]
mov ecx, dword [rdx + rax*4 + 0x3c80c]
add rcx, rdx
jmp rcx
xor edi, edi
cmp r15d, 0x2a3
mov eax, edi
setne al
inc eax
cmp dword [rsi + 0x10], eax
jne case.0x18003c501.527
cmp qword [rsi + 8], r12
jne 0x18003c526
mov qword [rsi + 8], rdi
movss xmm1, dword [0x18006ab98]
mov rcx, rbx
movaps xmm2, xmm1
mov dword [rsi + 0x10], edi
call fcn.18000ab90
jmp case.0x18003c501.527
call fcn.18003bc50
xor edi, edi
mov dword [rbp - 0x59], eax
lea ecx, [r15 - 0x204]
mov eax, 1
test ecx, 0xfffffffd
mov r13d, edi
lea ecx, [r15 - 0x207]
mov r14d, 2
cmove r13d, eax
test ecx, 0xfffffffd
lea eax, [r15 - 0x20b]
cmove r13d, r14d
test eax, 0xfffffffd
jne 0x18003c5a0
mov rax, qword [rbp - 0x11]
mov r13d, edi
shr rax, 0x10
cmp ax, 1
setne r13b
add r13d, 3
cmp dword [rsi + 0x14], edi
jne 0x18003c5b9
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x18003c5b9
mov rcx, r12
call qword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [rsi + 0x14]
mov r8b, 1
mov ecx, dword [rbp - 0x59]
bts eax, r13d
mov dword [rsi + 0x14], eax
mov edx, r13d
mov rax, qword [rbx + 0xd0]
mov dword [rax + 0x4038], ecx
mov rcx, rbx
call fcn.18000acd0
jmp case.0x18003c501.527
call fcn.18003bc50
xor edi, edi
mov r13d, eax
cmp r15d, 0x205
mov r14d, edi
sete r14b
cmp r15d, 0x208
jne 0x18003c60f
mov r14d, 2
jmp 0x18003c62f
cmp r15d, 0x20c
jne 0x18003c62f
mov rax, qword [rbp - 0x11]
mov r14d, edi
shr rax, 0x10
cmp ax, 1
setne r14b
add r14d, 3
mov eax, dword [rsi + 0x14]
btr eax, r14d
mov dword [rsi + 0x14], eax
test eax, eax
jne 0x18003c64e
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r12
jne 0x18003c64e
call qword [sym.imp.USER32.dll_ReleaseCapture]
mov rax, qword [rbx + 0xd0]
xor r8d, r8d
mov edx, r14d
mov rcx, rbx
mov dword [rax + 0x4038], r13d
call fcn.18000acd0
jmp case.0x18003c501.527
shr r8, 0x10
xorps xmm1, xmm1
movsx eax, r8w
mov rcx, rbx
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x18006ab04]
call fcn.18000aea0
jmp case.0x18003c501.527
shr r8, 0x10
xorps xmm2, xmm2
movsx eax, r8w
mov rcx, rbx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
xorps xmm1, xmmword [0x18006b210]
divss xmm1, dword [0x18006ab04]
call fcn.18000aea0
jmp case.0x18003c501.527
cmp r8d, 7
jne case.0x18003c501.527
mov byte [rsi + 0x31], 1
xor eax, eax
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.18005f660
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret