Function at 0x140033680
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], r8
push rbp
push rbx
push rsi
push r12
push r14
mov rbp, rsp
sub rsp, 0x80
mov rsi, qword [0x14013eb00]
mov r14, r9
mov ebx, edx
mov r12, rcx
test rsi, rsi
jne 0x1400336bb
xor eax, eax
add rsp, 0x80
pop r14
pop r12
pop rsi
pop rbx
pop rbp
ret
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xb8], r13
mov qword [rsp + 0xc8], r15
lea r15, [rsi + 8]
mov rsi, qword [rsi + 0x98]
cmp ebx, 0x200
ja 0x140033b67
je case.0x140033717.160
lea eax, [rdx - 7]
cmp eax, 0xfe
ja case.0x140033b91.527
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x33d7c]
mov ecx, dword [rdx + rax*4 + 0x33d64]
add rcx, rdx
jmp rcx
lea eax, [rbx - 0x100]
mov esi, 0x100
test eax, 0xfffffffb
sete bl
cmp r8, rsi
jae case.0x140033b91.527
call fcn.1400327c0
mov rdi, qword [rbp + 0x40]
cmp rdi, 0xd
jne 0x140033754
shr r14, 0x10
mov eax, 0x10d
test si, r14w
cmovne edi, eax
movsxd rcx, edi
call fcn.1400330f0
test eax, eax
je 0x14003376d
mov r8d, edi
movzx edx, bl
mov ecx, eax
call fcn.140032580
movaps xmmword [rsp + 0x70], xmm6
cmp edi, 0x10
jne 0x14003383b
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
movss xmm6, dword [0x1400ddb70]
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x1400337d9
mov rdi, qword [0x14013eb00]
cmp byte [rdi + 0x37b9], 0
je 0x1400337c5
test bl, bl
je 0x1400337b0
movaps xmm3, xmm6
jmp 0x1400337b3
xorps xmm3, xmm3
movzx r8d, bl
lea rcx, [rdi + 8]
mov edx, 0x210
call fcn.140002ef0
mov dword [rdi + 0x380], 0x210
mov dword [rdi + 0x940], 0xa0
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x1400339bf
mov rdi, qword [0x14013eb00]
cmp byte [rdi + 0x37b9], 0
je 0x14003381d
test bl, bl
jne 0x140033808
xorps xmm6, xmm6
movaps xmm3, xmm6
lea rcx, [rdi + 8]
movzx r8d, bl
mov edx, 0x214
call fcn.140002ef0
movaps xmm6, xmmword [rsp + 0x70]
mov dword [rdi + 0x384], 0x214
mov dword [rdi + 0x950], 0xa1
jmp case.0x140033b91.527
cmp edi, 0x11
jne 0x140033904
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
movss xmm6, dword [0x1400ddb70]
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x1400338a2
mov rdi, qword [0x14013eb00]
cmp byte [rdi + 0x37b9], 0
je 0x14003388e
test bl, bl
je 0x140033879
movaps xmm3, xmm6
jmp 0x14003387c
xorps xmm3, xmm3
movzx r8d, bl
lea rcx, [rdi + 8]
mov edx, 0x20f
call fcn.140002ef0
mov dword [rdi + 0x388], 0x20f
mov dword [rdi + 0x93c], 0xa2
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x1400339bf
mov rdi, qword [0x14013eb00]
cmp byte [rdi + 0x37b9], 0
je 0x1400338e6
test bl, bl
jne 0x1400338d1
xorps xmm6, xmm6
movaps xmm3, xmm6
lea rcx, [rdi + 8]
movzx r8d, bl
mov edx, 0x213
call fcn.140002ef0
movaps xmm6, xmmword [rsp + 0x70]
mov dword [rdi + 0x38c], 0x213
mov dword [rdi + 0x94c], 0xa3
jmp case.0x140033b91.527
cmp edi, 0x12
jne 0x1400339bf
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
movss xmm6, dword [0x1400ddb70]
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x14003396b
mov rdi, qword [0x14013eb00]
cmp byte [rdi + 0x37b9], 0
je 0x140033957
test bl, bl
je 0x140033942
movaps xmm3, xmm6
jmp 0x140033945
xorps xmm3, xmm3
movzx r8d, bl
lea rcx, [rdi + 8]
mov edx, 0x211
call fcn.140002ef0
mov dword [rdi + 0x390], 0x211
mov dword [rdi + 0x944], 0xa4
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, bl
jne 0x1400339bf
mov rdi, qword [0x14013eb00]
cmp byte [rdi + 0x37b9], 0
je 0x1400339ab
test bl, bl
jne 0x140033996
xorps xmm6, xmm6
movaps xmm3, xmm6
lea rcx, [rdi + 8]
movzx r8d, bl
mov edx, 0x215
call fcn.140002ef0
mov dword [rdi + 0x394], 0x215
mov dword [rdi + 0x954], 0xa5
movaps xmm6, xmmword [rsp + 0x70]
jmp case.0x140033b91.527
cmp ebx, 7
mov rcx, r15
sete dl
call fcn.140003460
jmp case.0x140033b91.527
mov rcx, r12
call qword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x140033a0d
mov rcx, qword [rbp + 0x40]
lea rax, [rcx - 1]
cmp rax, 0xfffe
ja case.0x140033b91.527
movzx edx, cx
mov rcx, r15
call fcn.140002d90
jmp case.0x140033b91.527
xor edx, edx
lea rax, [rbp - 0x50]
mov r14d, 1
mov word [rbp - 0x50], dx
mov edx, r14d
mov dword [rsp + 0x28], r14d
mov r9d, r14d
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx edx, word [rbp - 0x50]
mov rcx, r15
call fcn.140002cc0
jmp case.0x140033b91.527
cmp r14w, 1
jne case.0x140033b91.527
call fcn.140032410
test al, al
je case.0x140033b91.527
mov eax, 1
jmp 0x140033d3c
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov ecx, 0xffffff80
xor edx, edx
and rax, rcx
mov ecx, 0xff515700
lea edi, [rdx + 2]
cmp rax, rcx
jne 0x140033a8e
mov dword [rbp - 0x50], edi
jmp 0x140033a9f
mov ecx, edx
mov r8d, 0xff515780
cmp rax, r8
sete cl
mov dword [rbp - 0x50], ecx
mov eax, dword [rsi + 0x10]
cmp ebx, 0x200
mov r13d, edx
mov qword [rsi + 8], r12
setne r13b
inc r13d
cmp eax, r13d
je 0x140033b0b
cmp ebx, 0x200
mov dword [rbp - 0x40], 0x18
mov ecx, 0x12
mov dword [rbp - 0x3c], 0x80000000
cmovne edi, ecx
mov qword [rbp - 0x38], r12
mov dword [rbp - 0x24], edi
mov dword [rbp - 0x30], edx
mov dword [rbp - 0x28], 0x18
mov qword [rbp - 0x20], r12
mov dword [rbp - 0x18], edx
test eax, eax
je 0x140033afd
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov dword [rsi + 0x10], r13d
movsx eax, r14w
shr r14, 0x10
mov dword [rbp - 0x48], eax
movsx eax, r14w
mov dword [rbp - 0x44], eax
cmp ebx, 0xa0
jne 0x140033b3a
lea rdx, [rbp - 0x48]
mov rcx, r12
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je case.0x140033b91.527
mov rax, qword [r15 + 0xdf8]
mov ecx, dword [rbp - 0x50]
mov dword [rax + 0x3e90], ecx
mov rcx, r15
movd xmm2, dword [rbp - 0x44]
movd xmm1, dword [rbp - 0x48]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.140003080
jmp case.0x140033b91.527
lea eax, [rdx - 0x201]
cmp eax, 0xa2
ja case.0x140033b91.527
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x33e98]
mov ecx, dword [rdx + rax*4 + 0x33e7c]
add rcx, rdx
jmp rcx
xor edx, edx
cmp ebx, 0x2a3
mov eax, edx
setne al
inc eax
cmp dword [rsi + 0x10], eax
jne case.0x140033b91.527
cmp qword [rsi + 8], r12
jne 0x140033bb5
mov qword [rsi + 8], rdx
movss xmm1, dword [0x1400ddd40]
mov rcx, r15
movaps xmm2, xmm1
mov dword [rsi + 0x10], edx
call fcn.140003080
jmp case.0x140033b91.527
call fcn.140033640
xor edx, edx
mov r13d, eax
cmp ebx, 0x204
je 0x140033bed
mov r14d, edx
cmp ebx, 0x206
jne 0x140033bf3
mov r14d, 1
lea ecx, [rbx - 0x207]
mov edi, 2
test ecx, 0xfffffffd
lea eax, [rbx - 0x20b]
cmove r14d, edi
test eax, 0xfffffffd
jne 0x140033c28
mov rax, qword [rbp + 0x40]
shr rax, 0x10
cmp ax, 1
setne dl
lea r14d, [rdx + 3]
cmp dword [rsi + 0x14], 0
jne 0x140033c42
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x140033c42
mov rcx, r12
call qword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [rsi + 0x14]
mov r8b, 1
bts eax, r14d
mov edx, r14d
mov dword [rsi + 0x14], eax
mov rcx, r15
mov rax, qword [r15 + 0xdf8]
mov dword [rax + 0x3e90], r13d
call fcn.140003240
jmp case.0x140033b91.527
call fcn.140033640
xor edx, edx
mov r14d, eax
cmp ebx, 0x205
mov edi, edx
sete dil
cmp ebx, 0x208
jne 0x140033c90
lea edi, [rdx + 2]
jmp 0x140033cad
cmp ebx, 0x20c
jne 0x140033cad
mov rax, qword [rbp + 0x40]
mov edi, edx
shr rax, 0x10
cmp ax, 1
setne dil
add edi, 3
mov eax, dword [rsi + 0x14]
btr eax, edi
mov dword [rsi + 0x14], eax
test eax, eax
jne 0x140033ccb
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r12
jne 0x140033ccb
call qword [sym.imp.USER32.dll_ReleaseCapture]
mov rax, qword [r15 + 0xdf8]
xor r8d, r8d
mov edx, edi
mov rcx, r15
mov dword [rax + 0x3e90], r14d
call fcn.140003240
jmp case.0x140033b91.527
shr r8, 0x10
xorps xmm1, xmm1
movsx eax, r8w
mov rcx, r15
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x1400ddc7c]
call fcn.140003370
jmp case.0x140033b91.527
shr r8, 0x10
xorps xmm2, xmm2
movsx eax, r8w
mov rcx, r15
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x1400ddd34]
call fcn.140003370
jmp case.0x140033b91.527
cmp r8d, 7
jne case.0x140033b91.527
mov byte [rsi + 0x2d], 1
xor eax, eax
mov r13, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xb0]
mov r15, qword [rsp + 0xc8]
add rsp, 0x80
pop r14
pop r12
pop rsi
pop rbx
pop rbp
ret