Function at 0x140031150
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x18], r8
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov r14, qword [0x141557390]
mov r12, r9
mov r15d, edx
mov r13, rcx
test r14, r14
je case.0x14003180f.527
lea rbx, [r14 + 8]
mov r14, qword [r14 + 0x90]
cmp edx, 0x200
ja 0x1400317e5
je case.0x1400311d6.160
lea eax, [rdx - 7]
cmp eax, 0xfe
ja case.0x14003180f.527
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x31a0c]
mov ecx, dword [rdx + rax*4 + 0x319f0]
add rcx, rdx
jmp rcx
lea eax, [r15 - 0x100]
mov esi, 0x100
test eax, 0xfffffffb
sete dil
cmp r8, rsi
jae case.0x14003180f.527
mov ecx, 0x11
movaps xmmword [rsp + 0x80], xmm6
call qword [sym.imp.USER32.dll_GetKeyState]
movss xmm6, dword [0x1400c5be0]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0x38d1], 0
je 0x14003123c
test al, al
je 0x140031228
movaps xmm3, xmm6
jmp 0x14003122b
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x1000
mov rcx, rbx
call fcn.140003100
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0x38d1], 0
je 0x140031272
test al, al
je 0x14003125e
movaps xmm3, xmm6
jmp 0x140031261
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x2000
mov rcx, rbx
call fcn.140003100
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0x38d1], 0
je 0x1400312a8
test al, al
je 0x140031294
movaps xmm3, xmm6
jmp 0x140031297
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x4000
mov rcx, rbx
call fcn.140003100
mov ecx, 0x5d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0x38d1], 0
je 0x1400312dc
test al, al
jne 0x1400312c8
xorps xmm6, xmm6
movaps xmm3, xmm6
movzx r8d, al
mov edx, 0x8000
mov rcx, rbx
call fcn.140003100
mov rbx, qword [rbp + 0x77]
movaps xmm6, xmmword [rsp + 0x80]
cmp rbx, 0xd
jne 0x1400312fe
shr r12, 0x10
mov eax, 0x10d
test si, r12w
cmovne ebx, eax
movsxd rcx, ebx
call fcn.140030b30
mov esi, eax
cmp eax, 0x262
jne 0x140031322
test dil, dil
jne 0x140031326
mov r8d, ebx
mov dl, 1
mov ecx, eax
call fcn.14002ffa0
jmp 0x140031326
test esi, esi
je 0x140031334
mov r8d, ebx
movzx edx, dil
mov ecx, esi
call fcn.14002ffa0
cmp ebx, 0x10
jne 0x140031394
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x140031362
mov r8d, 0xa0
movzx edx, dil
mov ecx, 0x210
call fcn.14002ffa0
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x14003180f.527
mov r8d, 0xa1
movzx edx, dil
mov ecx, 0x214
call fcn.14002ffa0
jmp case.0x14003180f.527
cmp ebx, 0x11
jne 0x1400313f4
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x1400313c2
mov r8d, 0xa2
movzx edx, dil
mov ecx, 0x20f
call fcn.14002ffa0
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x14003180f.527
mov r8d, 0xa3
movzx edx, dil
mov ecx, 0x213
call fcn.14002ffa0
jmp case.0x14003180f.527
cmp ebx, 0x12
jne case.0x14003180f.527
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x140031426
mov r8d, 0xa4
movzx edx, dil
mov ecx, 0x211
call fcn.14002ffa0
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x14003180f.527
mov r8d, 0xa5
movzx edx, dil
mov ecx, 0x215
call fcn.14002ffa0
jmp case.0x14003180f.527
cmp r15d, 7
sete byte [rbp - 0x29]
cmp qword [rbx + 0xe38], 0
jne 0x140031484
mov r8d, 0x657
lea rdx, str.C:Users_nukeeDocumentsRebrandsNVM_Rebrandexamplesexample_win32_directx11ImGuiimgui.cpp
lea rcx, str.Ctx___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r13, qword [rbx + 0xe38]
mov edi, dword [r13 + 0x3fb0]
sub edi, 1
movsxd rsi, edi
js 0x1400314de
imul r14, rsi, 0x1c
nop
cmp edi, dword [r13 + 0x3fb0]
jl 0x1400314c3
mov r8d, 0x771
lea rdx, [0x140078b70]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [r13 + 0x3fb8]
add rcx, r14
cmp dword [rcx], 6
je 0x140031547
dec edi
sub r14, 0x1c
sub rsi, 1
jns 0x1400314a0
cmp byte [r13 + 0x38d8], 0
sete al
movzx ecx, byte [rbp - 0x29]
cmp al, cl
je case.0x14003180f.527
cmp byte [rbx + 0x72], 0
je 0x140031505
cmp r15d, 7
jne case.0x14003180f.527
xor eax, eax
lea rdx, [rbp - 0x21]
mov qword [rbp - 0x11], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov dword [rbp - 9], eax
mov eax, dword [r13 + 0x3fd4]
mov dword [rbp - 0x19], eax
inc eax
mov byte [rbp - 0x15], cl
lea rcx, [r13 + 0x3fb0]
mov dword [r13 + 0x3fd4], eax
mov dword [rbp - 0x21], 6
call fcn.14001f1f0
jmp case.0x14003180f.527
test rcx, rcx
je 0x1400314de
movzx eax, byte [rcx + 0xc]
jmp 0x1400314e9
call fcn.14002fa80
jmp case.0x14003180f.527
mov rcx, r13
call qword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x140031616
mov rsi, qword [rbp + 0x77]
lea rax, [rsi - 1]
cmp rax, 0xfffe
ja case.0x14003180f.527
test si, si
jne 0x140031593
cmp word [rbx + 0x38d4], si
je case.0x14003180f.527
cmp byte [rbx + 0x38d1], 0
je case.0x14003180f.527
mov ecx, 0xfc00
movzx eax, si
and ax, cx
mov edx, 0xd800
movzx ecx, word [rbx + 0x38d4]
cmp ax, dx
jne 0x1400315da
test cx, cx
je 0x1400315ce
mov edx, 0xfffd
mov rcx, rbx
call fcn.140003060
mov word [rbx + 0x38d4], si
jmp case.0x14003180f.527
test cx, cx
je 0x140031606
mov ecx, 0xdc00
cmp ax, cx
je 0x1400315f8
mov edx, 0xfffd
mov rcx, rbx
call fcn.140003060
jmp 0x1400315fd
mov esi, 0xfffd
xor edi, edi
mov word [rbx + 0x38d4], di
movzx edx, si
mov rcx, rbx
call fcn.140003060
jmp case.0x14003180f.527
mov eax, 1
lea rcx, [rbp - 0x29]
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x77]
mov qword [rsp + 0x20], rcx
xor edi, edi
mov ecx, dword [r14 + 0x2c]
mov r9d, eax
mov edx, eax
mov word [rbp - 0x29], di
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx r14d, word [rbp - 0x29]
cmp qword [rbx + 0xe38], rdi
jne 0x140031669
mov r8d, 0x539
lea rdx, str.C:Users_nukeeDocumentsRebrandsNVM_Rebrandexamplesexample_win32_directx11ImGuiimgui.cpp
lea rcx, str.Ctx___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0xe38]
test r14d, r14d
je case.0x14003180f.527
cmp byte [rbx + 0x38d1], dil
je case.0x14003180f.527
mov eax, dword [rcx + 0x3fd4]
lea rdx, [rbp - 0x21]
mov dword [rbp - 0x19], eax
mov esi, 2
inc eax
mov qword [rbp - 0x11], rdi
mov dword [rcx + 0x3fd4], eax
add rcx, 0x3fb0
mov dword [rbp - 9], edi
mov dword [rbp - 0x21], 5
mov dword [rbp - 0x1d], esi
mov dword [rbp - 0x15], r14d
call fcn.14001f1f0
jmp case.0x14003180f.527
cmp r12w, 1
jne case.0x14003180f.527
call fcn.14002fe00
test al, al
je case.0x14003180f.527
mov eax, 1
jmp 0x1400319ce
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov ecx, 0xffffff80
xor edi, edi
and rax, rcx
mov esi, 2
mov ecx, 0xff515700
cmp rax, rcx
jne 0x14003170c
mov dword [rbp - 0x29], esi
jmp 0x14003171c
mov ecx, edi
mov edx, 0xff515780
cmp rax, rdx
sete cl
mov dword [rbp - 0x29], ecx
mov ecx, dword [r14 + 0x10]
cmp r15d, 0x200
mov eax, edi
mov qword [r14 + 8], r13
setne al
inc eax
mov dword [rbp - 0x25], eax
cmp ecx, eax
je 0x14003178d
cmp r15d, 0x200
mov dword [rbp + 7], 0x18
mov eax, 0x12
mov dword [rbp + 0xb], 0x80000000
cmovne esi, eax
mov qword [rbp + 0xf], r13
mov dword [rbp - 0x1d], esi
mov dword [rbp + 0x17], edi
mov dword [rbp - 0x21], 0x18
mov qword [rbp - 0x19], r13
mov dword [rbp - 0x11], edi
test ecx, ecx
je 0x14003177c
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
lea rcx, [rbp - 0x21]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov eax, dword [rbp - 0x25]
mov dword [r14 + 0x10], eax
movsx eax, r12w
shr r12, 0x10
mov dword [rbp - 1], eax
movsx eax, r12w
mov dword [rbp + 3], eax
cmp r15d, 0xa0
jne 0x1400317bd
lea rdx, [rbp - 1]
mov rcx, r13
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je case.0x14003180f.527
mov edx, dword [rbp - 0x29]
mov rcx, rbx
call fcn.140003800
movd xmm2, dword [rbp + 3]
mov rcx, rbx
movd xmm1, dword [rbp - 1]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.1400033e0
jmp case.0x14003180f.527
lea eax, [rdx - 0x201]
cmp eax, 0xa2
ja case.0x14003180f.527
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x31b28]
mov ecx, dword [rdx + rax*4 + 0x31b0c]
add rcx, rdx
jmp rcx
xor edi, edi
cmp r15d, 0x2a3
mov eax, edi
setne al
inc eax
cmp dword [r14 + 0x10], eax
jne case.0x14003180f.527
cmp qword [r14 + 8], r13
jne 0x140031835
mov qword [r14 + 8], rdi
movss xmm1, dword [0x1400c5ddc]
mov rcx, rbx
movaps xmm2, xmm1
mov dword [r14 + 0x10], edi
call fcn.1400033e0
jmp case.0x14003180f.527
call fcn.140031110
xor edi, edi
mov dword [rbp - 0x25], eax
lea ecx, [r15 - 0x204]
mov eax, 1
test ecx, 0xfffffffd
mov r12d, edi
lea ecx, [r15 - 0x207]
mov esi, 2
cmove r12d, eax
test ecx, 0xfffffffd
lea eax, [r15 - 0x20b]
cmove r12d, esi
test eax, 0xfffffffd
jne 0x1400318af
mov rax, qword [rbp + 0x77]
mov r12d, edi
shr rax, 0x10
cmp ax, 1
setne r12b
add r12d, 3
cmp dword [r14 + 0x14], edi
jne 0x1400318c9
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x1400318c9
mov rcx, r13
call qword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [r14 + 0x14]
mov rcx, rbx
mov edx, dword [rbp - 0x25]
bts eax, r12d
mov dword [r14 + 0x14], eax
call fcn.140003800
mov r8b, 1
mov edx, r12d
mov rcx, rbx
call fcn.1400035c0
jmp case.0x14003180f.527
call fcn.140031110
xor edi, edi
mov r12d, eax
cmp r15d, 0x205
mov esi, edi
sete sil
cmp r15d, 0x208
jne 0x14003191a
mov esi, 2
jmp 0x140031938
cmp r15d, 0x20c
jne 0x140031938
mov rax, qword [rbp + 0x77]
mov esi, edi
shr rax, 0x10
cmp ax, 1
setne sil
add esi, 3
mov eax, dword [r14 + 0x14]
btr eax, esi
mov dword [r14 + 0x14], eax
test eax, eax
jne 0x140031958
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r13
jne 0x140031958
call qword [sym.imp.USER32.dll_ReleaseCapture]
mov edx, r12d
mov rcx, rbx
call fcn.140003800
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.1400035c0
jmp case.0x14003180f.527
shr r8, 0x10
xorps xmm1, xmm1
movsx eax, r8w
mov rcx, rbx
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x1400c5ca4]
call fcn.140003740
jmp case.0x14003180f.527
shr r8, 0x10
xorps xmm2, xmm2
movsx eax, r8w
mov rcx, rbx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
xorps xmm1, xmmword [0x1400c6070]
divss xmm1, dword [0x1400c5ca4]
call fcn.140003740
jmp case.0x14003180f.527
cmp r8d, 7
jne case.0x14003180f.527
mov byte [r14 + 0x31], 1
xor eax, eax
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret