Function at 0x1400298c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1402c10c0]
xor rax, rsp
mov qword [rbp - 8], rax
mov r12, rcx
mov qword [rbp - 0x10], r8
mov rcx, qword [0x1402c2240]
xor r13d, r13d
mov r15, r9
test rcx, rcx
je 0x140029f51
mov r14, qword [rcx + 0x98]
lea rbx, [rcx + 8]
mov eax, 0x204
lea r11d, [rax + 1]
lea r10d, [rax + 8]
cmp edx, eax
ja 0x140029d81
je 0x140029e6d
mov eax, 0x104
lea edi, [r13 + 1]
lea r9d, [rax - 4]
cmp edx, eax
ja 0x140029c50
je 0x140029c48
mov eax, edx
sub eax, 7
je 0x140029c38
sub eax, edi
je 0x140029c38
sub eax, 0x18
je 0x140029c19
sub eax, 0xe0
je 0x140029af0
sub eax, edi
je 0x140029af0
cmp eax, edi
jne 0x140029f51
mov rcx, r12
call qword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x140029a34
mov rdi, qword [rbp - 0x10]
lea rax, [rdi - 1]
cmp rax, 0xfffe
ja 0x140029f51
test di, di
jne 0x1400299b2
cmp word [rbx + 0x37a4], r13w
je 0x140029f51
cmp byte [rbx + 0x37a1], r13b
je 0x140029f51
mov ecx, 0xfc00
movzx eax, di
and ax, cx
mov edx, 0xd800
movzx ecx, word [rbx + 0x37a4]
cmp ax, dx
jne 0x1400299f9
test cx, cx
je 0x1400299ed
mov edx, 0xfffd
mov rcx, rbx
call fcn.140002c20
mov word [rbx + 0x37a4], di
jmp 0x140029f51
test cx, cx
je 0x140029a24
mov ecx, 0xdc00
cmp ax, cx
je 0x140029a17
mov edx, 0xfffd
mov rcx, rbx
call fcn.140002c20
jmp 0x140029a1c
mov edi, 0xfffd
mov word [rbx + 0x37a4], r13w
movzx edx, di
mov rcx, rbx
call fcn.140002c20
jmp 0x140029f51
lea rax, [rbp - 0x18]
mov dword [rsp + 0x28], edi
mov r9d, edi
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x10]
mov word [rbp - 0x18], r13w
mov edx, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx eax, word [rbp - 0x18]
test eax, eax
je 0x140029f51
cmp byte [rbx + 0x37a1], r13b
je 0x140029f51
mov rbx, qword [0x1402c2240]
mov esi, 2
add rbx, 0x37c0
mov qword [rbp - 0x24], r13
mov dword [rbp - 0x1c], r13d
mov dword [rbp - 0x30], 5
mov dword [rbp - 0x2c], esi
mov ecx, dword [rbx]
mov r8d, dword [rbx + 4]
mov dword [rbp - 0x28], eax
cmp ecx, r8d
jne 0x140029acb
inc ecx
test r8d, r8d
je 0x140029ab7
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140029abc
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140016c24
movsxd rax, dword [rbx]
movups xmm0, xmmword [rbp - 0x30]
movsd xmm1, qword [rbp - 0x20]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
movups xmmword [rax + rcx*8], xmm0
movsd qword [rax + rcx*8 + 0x10], xmm1
add dword [rbx], edi
jmp 0x140029f51
cmp edx, r9d
je 0x140029c48
mov sil, r13b
cmp r8, r9
jae 0x140029f51
lea rbx, [rcx + 8]
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x1000
and al, dil
mov rcx, rbx
mov r8b, al
call fcn.140002e40
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x2000
and al, dil
mov rcx, rbx
mov r8b, al
call fcn.140002e40
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x4000
and al, dil
mov rcx, rbx
mov r8b, al
call fcn.140002e40
mov ecx, 0x5d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x8000
and al, dil
mov rcx, rbx
mov r8b, al
call fcn.140002e40
mov rbx, qword [rbp - 0x10]
cmp rbx, 0xd
jne 0x140029ba9
shr r15, 0x10
mov eax, 0x10d
bt r15w, 8
cmovb ebx, eax
movsxd rcx, ebx
call fcn.14002932c
test eax, eax
je 0x140029bc2
mov r8d, ebx
mov dl, sil
mov ecx, eax
call fcn.140028bac
cmp ebx, 0x10
jne 0x140029ccf
mov ebx, 0xa0
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x140029bf3
mov r8d, ebx
mov dl, sil
mov ecx, 0x210
call fcn.140028bac
mov ebx, 0xa1
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x140029f51
mov ecx, 0x214
jmp 0x140029d71
cmp r15w, di
jne 0x140029f51
call fcn.140028b00
test al, al
je 0x140029f51
mov rax, rdi
jmp 0x140029f53
cmp edx, 7
sete dl
call fcn.140003130
jmp 0x140029f51
mov sil, dil
jmp 0x140029afc
mov eax, edx
sub eax, 0x105
je 0x140029af9
sub eax, 0xfb
je 0x140029c81
sub eax, edi
je 0x140029e72
sub eax, edi
je 0x140029ef4
cmp eax, edi
je 0x140029e72
jmp 0x140029f51
mov qword [r14 + 8], r12
cmp byte [r14 + 0x10], r13b
jne 0x140029cb0
mov esi, 2
mov dword [rbp - 0x30], Ordinal_30
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], esi
mov qword [rbp - 0x28], r12
mov dword [rbp - 0x20], r13d
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov byte [r14 + 0x10], dil
mov rax, r15
shr rax, 0x10
cwde
movd xmm2, eax
movsx eax, r15w
cvtdq2ps xmm2, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
jmp 0x140029e2d
cmp ebx, 0x11
jne 0x140029d1f
mov ebx, 0xa2
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x140029cfc
mov r8d, ebx
mov dl, sil
mov ecx, 0x20f
call fcn.140028bac
mov ebx, 0xa3
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x140029f51
mov ecx, 0x213
jmp 0x140029d71
cmp ebx, 0x12
jne 0x140029f51
mov ebx, 0xa4
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x140029d50
mov r8d, ebx
mov dl, sil
mov ecx, 0x211
call fcn.140028bac
mov ebx, 0xa5
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x140029f51
mov ecx, 0x215
mov r8d, ebx
mov dl, sil
call fcn.140028bac
jmp 0x140029f51
mov eax, 0x20b
cmp edx, eax
ja 0x140029def
je 0x140029e6d
mov eax, edx
sub eax, r11d
je 0x140029eef
sub eax, 1
je 0x140029e6d
sub eax, 1
je 0x140029e6d
sub eax, 1
je 0x140029eef
sub eax, 1
je 0x140029e6d
cmp eax, 1
jne 0x140029f51
shr r8, 0x10
xorps xmm1, xmm1
movsx eax, r8w
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x1402b314c]
mov rcx, rbx
call fcn.140003080
jmp 0x140029f51
mov eax, edx
sub eax, r10d
je 0x140029eef
sub eax, 1
je 0x140029e6d
sub eax, 1
je 0x140029e4e
sub eax, 0xb
je 0x140029e3a
cmp eax, 0x8a
jne 0x140029f51
cmp qword [r14 + 8], r12
jne 0x140029e1e
mov qword [r14 + 8], r13
movss xmm1, dword [0x1402b3218]
movaps xmm2, xmm1
mov byte [r14 + 0x10], r13b
mov rcx, rbx
call fcn.140002e6c
jmp 0x140029f51
cmp r8d, 7
jne 0x140029f51
mov byte [r14 + 0x2d], 1
jmp 0x140029f51
shr r8, 0x10
xorps xmm2, xmm2
movsx eax, r8w
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x1402b314c]
jmp 0x140029de2
mov edi, 1
mov ecx, 0xfffffffd
lea eax, [rdx - 0x201]
and eax, ecx
mov esi, 2
neg eax
lea eax, [rdx - 0x204]
sbb r15d, r15d
and r15d, r13d
test ecx, eax
lea eax, [rdx - 0x207]
cmove r15d, edi
test ecx, eax
lea eax, [rdx - 0x20b]
cmove r15d, esi
test ecx, eax
jne 0x140029ec1
shr r8, 0x10
mov r15d, r13d
cmp r8w, di
setne r15b
add r15d, 3
cmp dword [r14 + 0x14], r13d
jne 0x140029edb
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x140029edb
mov rcx, r12
call qword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [r14 + 0x14]
mov r8b, dil
bts eax, r15d
mov edx, r15d
mov dword [r14 + 0x14], eax
jmp 0x140029f49
mov edi, 1
cmp edx, r11d
mov esi, r13d
sete sil
cmp edx, 0x208
jne 0x140029f0d
mov esi, 2
jmp 0x140029f24
cmp edx, r10d
jne 0x140029f24
shr r8, 0x10
mov esi, r13d
cmp r8w, di
setne sil
add esi, 3
mov eax, dword [r14 + 0x14]
btr eax, esi
mov dword [r14 + 0x14], eax
test eax, eax
jne 0x140029f44
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r12
jne 0x140029f44
call qword [sym.imp.USER32.dll_ReleaseCapture]
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.140002fb4
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14009fef0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret