Function at 0x14003cc30
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 [0x1403a2250]
mov r12, r9
mov r15d, edx
mov r13, rcx
test r14, r14
je case.0x14003d2ef.527
lea rbx, [r14 + 8]
mov r14, qword [r14 + 0x90]
cmp edx, 0x200
ja 0x14003d2c5
je case.0x14003ccb6.160
lea eax, [rdx - 7]
cmp eax, 0xfe
ja case.0x14003d2ef.527
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x3d4ec]
mov ecx, dword [rdx + rax*4 + 0x3d4d0]
add rcx, rdx
jmp rcx
lea eax, [r15 - 0x100]
mov esi, 0x100
test eax, 0xfffffffb
sete dil
cmp r8, rsi
jae case.0x14003d2ef.527
mov ecx, reloc.WS2_32.dll_recvfrom
movaps xmmword [rsp + 0x80], xmm6
call qword [sym.imp.USER32.dll_GetKeyState]
movss xmm6, dword [0x14016f468]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0x38d1], 0
je 0x14003cd1c
test al, al
je 0x14003cd08
movaps xmm3, xmm6
jmp 0x14003cd0b
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x1000
mov rcx, rbx
call fcn.140003a90
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0x38d1], 0
je 0x14003cd52
test al, al
je 0x14003cd3e
movaps xmm3, xmm6
jmp 0x14003cd41
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x2000
mov rcx, rbx
call fcn.140003a90
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0x38d1], 0
je 0x14003cd88
test al, al
je 0x14003cd74
movaps xmm3, xmm6
jmp 0x14003cd77
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x4000
mov rcx, rbx
call fcn.140003a90
mov ecx, 0x5d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0x38d1], 0
je 0x14003cdbc
test al, al
jne 0x14003cda8
xorps xmm6, xmm6
movaps xmm3, xmm6
movzx r8d, al
mov edx, 0x8000
mov rcx, rbx
call fcn.140003a90
mov rbx, qword [rbp + 0x77]
movaps xmm6, xmmword [rsp + 0x80]
cmp rbx, 0xd
jne 0x14003cdde
shr r12, 0x10
mov eax, 0x10d
test si, r12w
cmovne ebx, eax
movsxd rcx, ebx
call fcn.14003c610
mov esi, eax
cmp eax, 0x262
jne 0x14003ce02
test dil, dil
jne 0x14003ce06
mov r8d, ebx
mov dl, 1
mov ecx, eax
call fcn.14003ba80
jmp 0x14003ce06
test esi, esi
je 0x14003ce14
mov r8d, ebx
movzx edx, dil
mov ecx, esi
call fcn.14003ba80
cmp ebx, 0x10
jne 0x14003ce74
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x14003ce42
mov r8d, 0xa0
movzx edx, dil
mov ecx, 0x210
call fcn.14003ba80
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x14003d2ef.527
mov r8d, 0xa1
movzx edx, dil
mov ecx, 0x214
call fcn.14003ba80
jmp case.0x14003d2ef.527
cmp ebx, 0x11
jne 0x14003ced4
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x14003cea2
mov r8d, 0xa2
movzx edx, dil
mov ecx, 0x20f
call fcn.14003ba80
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x14003d2ef.527
mov r8d, 0xa3
movzx edx, dil
mov ecx, 0x213
call fcn.14003ba80
jmp case.0x14003d2ef.527
cmp ebx, 0x12
jne case.0x14003d2ef.527
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x14003cf06
mov r8d, 0xa4
movzx edx, dil
mov ecx, 0x211
call fcn.14003ba80
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x14003d2ef.527
mov r8d, 0xa5
movzx edx, dil
mov ecx, 0x215
call fcn.14003ba80
jmp case.0x14003d2ef.527
cmp r15d, 7
sete byte [rbp - 0x29]
cmp qword [rbx + 0xe38], 0
jne 0x14003cf64
mov r8d, 0x657
lea rdx, str.C:Users_nukefDesktopNVM_Spooferimgui.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 0x14003cfbe
imul r14, rsi, 0x1c
nop
cmp edi, dword [r13 + 0x3fb0]
jl 0x14003cfa3
mov r8d, 0x771
lea rdx, str.C:Users_nukefDesktopNVM_Spooferimgui.h
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 0x14003d027
dec edi
sub r14, 0x1c
sub rsi, 1
jns 0x14003cf80
cmp byte [r13 + 0x38d8], 0
sete al
movzx ecx, byte [rbp - 0x29]
cmp al, cl
je case.0x14003d2ef.527
cmp byte [rbx + 0x72], 0
je 0x14003cfe5
cmp r15d, 7
jne case.0x14003d2ef.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.14001fb70
jmp case.0x14003d2ef.527
test rcx, rcx
je 0x14003cfbe
movzx eax, byte [rcx + 0xc]
jmp 0x14003cfc9
call fcn.14003b560
jmp case.0x14003d2ef.527
mov rcx, r13
call qword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x14003d0f6
mov rsi, qword [rbp + 0x77]
lea rax, [rsi - 1]
cmp rax, 0xfffe
ja case.0x14003d2ef.527
test si, si
jne 0x14003d073
cmp word [rbx + 0x38d4], si
je case.0x14003d2ef.527
cmp byte [rbx + 0x38d1], 0
je case.0x14003d2ef.527
mov ecx, 0xfc00
movzx eax, si
and ax, cx
mov edx, 0xd800
movzx ecx, word [rbx + 0x38d4]
cmp ax, dx
jne 0x14003d0ba
test cx, cx
je 0x14003d0ae
mov edx, 0xfffd
mov rcx, rbx
call fcn.1400039f0
mov word [rbx + 0x38d4], si
jmp case.0x14003d2ef.527
test cx, cx
je 0x14003d0e6
mov ecx, 0xdc00
cmp ax, cx
je 0x14003d0d8
mov edx, 0xfffd
mov rcx, rbx
call fcn.1400039f0
jmp 0x14003d0dd
mov esi, 0xfffd
xor edi, edi
mov word [rbx + 0x38d4], di
movzx edx, si
mov rcx, rbx
call fcn.1400039f0
jmp case.0x14003d2ef.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 0x14003d149
mov r8d, 0x539
lea rdx, str.C:Users_nukefDesktopNVM_Spooferimgui.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.0x14003d2ef.527
cmp byte [rbx + 0x38d1], dil
je case.0x14003d2ef.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.14001fb70
jmp case.0x14003d2ef.527
cmp r12w, 1
jne case.0x14003d2ef.527
call fcn.14003b8e0
test al, al
je case.0x14003d2ef.527
mov eax, 1
jmp 0x14003d4ae
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 0x14003d1ec
mov dword [rbp - 0x29], esi
jmp 0x14003d1fc
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 0x14003d26d
cmp r15d, 0x200
mov dword [rbp + 7], Ordinal_27
mov eax, reloc.WS2_32.dll_select
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], Ordinal_27
mov qword [rbp - 0x19], r13
mov dword [rbp - 0x11], edi
test ecx, ecx
je 0x14003d25c
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 0x14003d29d
lea rdx, [rbp - 1]
mov rcx, r13
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je case.0x14003d2ef.527
mov edx, dword [rbp - 0x29]
mov rcx, rbx
call fcn.140004190
movd xmm2, dword [rbp + 3]
mov rcx, rbx
movd xmm1, dword [rbp - 1]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.140003d70
jmp case.0x14003d2ef.527
lea eax, [rdx - 0x201]
cmp eax, 0xa2
ja case.0x14003d2ef.527
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x3d608]
mov ecx, dword [rdx + rax*4 + 0x3d5ec]
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.0x14003d2ef.527
cmp qword [r14 + 8], r13
jne 0x14003d315
mov qword [r14 + 8], rdi
movss xmm1, dword [0x14016f678]
mov rcx, rbx
movaps xmm2, xmm1
mov dword [r14 + 0x10], edi
call fcn.140003d70
jmp case.0x14003d2ef.527
call fcn.14003cbf0
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 0x14003d38f
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 0x14003d3a9
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x14003d3a9
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.140004190
mov r8b, 1
mov edx, r12d
mov rcx, rbx
call fcn.140003f50
jmp case.0x14003d2ef.527
call fcn.14003cbf0
xor edi, edi
mov r12d, eax
cmp r15d, 0x205
mov esi, edi
sete sil
cmp r15d, 0x208
jne 0x14003d3fa
mov esi, 2
jmp 0x14003d418
cmp r15d, 0x20c
jne 0x14003d418
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 0x14003d438
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r13
jne 0x14003d438
call qword [sym.imp.USER32.dll_ReleaseCapture]
mov edx, r12d
mov rcx, rbx
call fcn.140004190
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.140003f50
jmp case.0x14003d2ef.527
shr r8, 0x10
xorps xmm1, xmm1
movsx eax, r8w
mov rcx, rbx
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x14016f530]
call fcn.1400040d0
jmp case.0x14003d2ef.527
shr r8, 0x10
xorps xmm2, xmm2
movsx eax, r8w
mov rcx, rbx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
xorps xmm1, xmmword [0x14016f920]
divss xmm1, dword [0x14016f530]
call fcn.1400040d0
jmp case.0x14003d2ef.527
cmp r8d, 7
jne case.0x14003d2ef.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