Function at 0x14003c3e0
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 [0x14038e790]
mov r12, r9
mov r15d, edx
mov r13, rcx
test r14, r14
je case.0x14003ca9f.527
lea rbx, [r14 + 8]
mov r14, qword [r14 + 0x90]
cmp edx, 0x200
ja 0x14003ca75
je case.0x14003c466.160
lea eax, [rdx - 7]
cmp eax, 0xfe
ja case.0x14003ca9f.527
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x3cc9c]
mov ecx, dword [rdx + rax*4 + 0x3cc80]
add rcx, rdx
jmp rcx
lea eax, [r15 - 0x100]
mov esi, 0x100
test eax, 0xfffffffb
sete dil
cmp r8, rsi
jae case.0x14003ca9f.527
mov ecx, send
movaps xmmword [rsp + 0x80], xmm6
call qword [sym.imp.USER32.dll_GetKeyState]
movss xmm6, dword [0x14014df94]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0x38d1], 0
je 0x14003c4cc
test al, al
je 0x14003c4b8
movaps xmm3, xmm6
jmp 0x14003c4bb
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x1000
mov rcx, rbx
call fcn.140003200
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 0x14003c502
test al, al
je 0x14003c4ee
movaps xmm3, xmm6
jmp 0x14003c4f1
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x2000
mov rcx, rbx
call fcn.140003200
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 0x14003c538
test al, al
je 0x14003c524
movaps xmm3, xmm6
jmp 0x14003c527
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x4000
mov rcx, rbx
call fcn.140003200
mov ecx, 0x5d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0x38d1], 0
je 0x14003c56c
test al, al
jne 0x14003c558
xorps xmm6, xmm6
movaps xmm3, xmm6
movzx r8d, al
mov edx, 0x8000
mov rcx, rbx
call fcn.140003200
mov rbx, qword [rbp + 0x77]
movaps xmm6, xmmword [rsp + 0x80]
cmp rbx, 0xd
jne 0x14003c58e
shr r12, 0x10
mov eax, 0x10d
test si, r12w
cmovne ebx, eax
movsxd rcx, ebx
call fcn.14003bdc0
mov esi, eax
cmp eax, 0x262
jne 0x14003c5b2
test dil, dil
jne 0x14003c5b6
mov r8d, ebx
mov dl, 1
mov ecx, eax
call fcn.14003b230
jmp 0x14003c5b6
test esi, esi
je 0x14003c5c4
mov r8d, ebx
movzx edx, dil
mov ecx, esi
call fcn.14003b230
cmp ebx, 0x10
jne 0x14003c624
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x14003c5f2
mov r8d, 0xa0
movzx edx, dil
mov ecx, 0x210
call fcn.14003b230
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x14003ca9f.527
mov r8d, 0xa1
movzx edx, dil
mov ecx, 0x214
call fcn.14003b230
jmp case.0x14003ca9f.527
cmp ebx, 0x11
jne 0x14003c684
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x14003c652
mov r8d, 0xa2
movzx edx, dil
mov ecx, 0x20f
call fcn.14003b230
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x14003ca9f.527
mov r8d, 0xa3
movzx edx, dil
mov ecx, 0x213
call fcn.14003b230
jmp case.0x14003ca9f.527
cmp ebx, 0x12
jne case.0x14003ca9f.527
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x14003c6b6
mov r8d, 0xa4
movzx edx, dil
mov ecx, 0x211
call fcn.14003b230
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x14003ca9f.527
mov r8d, 0xa5
movzx edx, dil
mov ecx, 0x215
call fcn.14003b230
jmp case.0x14003ca9f.527
cmp r15d, 7
sete byte [rbp - 0x29]
cmp qword [rbx + 0xe38], 0
jne 0x14003c714
mov r8d, 0x657
lea rdx, str.C:Users_nukeaDesktopNVM_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 0x14003c76e
imul r14, rsi, 0x1c
nop
cmp edi, dword [r13 + 0x3fb0]
jl 0x14003c753
mov r8d, 0x771
lea rdx, str.C:Users_nukeaDesktopNVM_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 0x14003c7d7
dec edi
sub r14, 0x1c
sub rsi, 1
jns 0x14003c730
cmp byte [r13 + 0x38d8], 0
sete al
movzx ecx, byte [rbp - 0x29]
cmp al, cl
je case.0x14003ca9f.527
cmp byte [rbx + 0x72], 0
je 0x14003c795
cmp r15d, 7
jne case.0x14003ca9f.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.14001f2e0
jmp case.0x14003ca9f.527
test rcx, rcx
je 0x14003c76e
movzx eax, byte [rcx + 0xc]
jmp 0x14003c779
call fcn.14003ad10
jmp case.0x14003ca9f.527
mov rcx, r13
call qword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x14003c8a6
mov rsi, qword [rbp + 0x77]
lea rax, [rsi - 1]
cmp rax, 0xfffe
ja case.0x14003ca9f.527
test si, si
jne 0x14003c823
cmp word [rbx + 0x38d4], si
je case.0x14003ca9f.527
cmp byte [rbx + 0x38d1], 0
je case.0x14003ca9f.527
mov ecx, 0xfc00
movzx eax, si
and ax, cx
mov edx, 0xd800
movzx ecx, word [rbx + 0x38d4]
cmp ax, dx
jne 0x14003c86a
test cx, cx
je 0x14003c85e
mov edx, 0xfffd
mov rcx, rbx
call fcn.140003160
mov word [rbx + 0x38d4], si
jmp case.0x14003ca9f.527
test cx, cx
je 0x14003c896
mov ecx, 0xdc00
cmp ax, cx
je 0x14003c888
mov edx, 0xfffd
mov rcx, rbx
call fcn.140003160
jmp 0x14003c88d
mov esi, 0xfffd
xor edi, edi
mov word [rbx + 0x38d4], di
movzx edx, si
mov rcx, rbx
call fcn.140003160
jmp case.0x14003ca9f.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 0x14003c8f9
mov r8d, 0x539
lea rdx, str.C:Users_nukeaDesktopNVM_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.0x14003ca9f.527
cmp byte [rbx + 0x38d1], dil
je case.0x14003ca9f.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.14001f2e0
jmp case.0x14003ca9f.527
cmp r12w, 1
jne case.0x14003ca9f.527
call fcn.14003b090
test al, al
je case.0x14003ca9f.527
mov eax, 1
jmp 0x14003cc5e
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 0x14003c99c
mov dword [rbp - 0x29], esi
jmp 0x14003c9ac
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 0x14003ca1d
cmp r15d, 0x200
mov dword [rbp + 7], 0x18
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], 0x18
mov qword [rbp - 0x19], r13
mov dword [rbp - 0x11], edi
test ecx, ecx
je 0x14003ca0c
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 0x14003ca4d
lea rdx, [rbp - 1]
mov rcx, r13
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je case.0x14003ca9f.527
mov edx, dword [rbp - 0x29]
mov rcx, rbx
call fcn.140003900
movd xmm2, dword [rbp + 3]
mov rcx, rbx
movd xmm1, dword [rbp - 1]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.1400034e0
jmp case.0x14003ca9f.527
lea eax, [rdx - 0x201]
cmp eax, 0xa2
ja case.0x14003ca9f.527
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x3cdb8]
mov ecx, dword [rdx + rax*4 + 0x3cd9c]
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.0x14003ca9f.527
cmp qword [r14 + 8], r13
jne 0x14003cac5
mov qword [r14 + 8], rdi
movss xmm1, dword [0x14014e19c]
mov rcx, rbx
movaps xmm2, xmm1
mov dword [r14 + 0x10], edi
call fcn.1400034e0
jmp case.0x14003ca9f.527
call fcn.14003c3a0
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 0x14003cb3f
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 0x14003cb59
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x14003cb59
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.140003900
mov r8b, 1
mov edx, r12d
mov rcx, rbx
call fcn.1400036c0
jmp case.0x14003ca9f.527
call fcn.14003c3a0
xor edi, edi
mov r12d, eax
cmp r15d, 0x205
mov esi, edi
sete sil
cmp r15d, 0x208
jne 0x14003cbaa
mov esi, 2
jmp 0x14003cbc8
cmp r15d, 0x20c
jne 0x14003cbc8
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 0x14003cbe8
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r13
jne 0x14003cbe8
call qword [sym.imp.USER32.dll_ReleaseCapture]
mov edx, r12d
mov rcx, rbx
call fcn.140003900
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.1400036c0
jmp case.0x14003ca9f.527
shr r8, 0x10
xorps xmm1, xmm1
movsx eax, r8w
mov rcx, rbx
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x14014e058]
call fcn.140003840
jmp case.0x14003ca9f.527
shr r8, 0x10
xorps xmm2, xmm2
movsx eax, r8w
mov rcx, rbx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
xorps xmm1, xmmword [0x14014e470]
divss xmm1, dword [0x14014e058]
call fcn.140003840
jmp case.0x14003ca9f.527
cmp r8d, 7
jne case.0x14003ca9f.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