Function at 0x180028de4
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x88
mov rax, qword [0x180104020]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r15, qword [0x180174890]
xor esi, esi
mov qword [rbp + 7], r8
mov r12, r9
mov edi, edx
mov r13, rcx
test r15, r15
je 0x1800294d1
mov eax, 0x204
lea r14, [r15 + 8]
mov r15, qword [r15 + 0x98]
lea ebx, [rsi + 1]
lea r11d, [rax + 1]
lea r10d, [rax + 8]
cmp edx, eax
ja 0x180029371
je 0x1800291aa
mov ecx, 0x100
lea edx, [rsi + 0x18]
lea eax, [rcx + 2]
lea r9d, [rcx + 4]
cmp edi, eax
ja 0x18002916d
je 0x180028ff7
mov eax, edi
sub eax, 7
je 0x180028fe7
sub eax, ebx
je 0x180028fe7
sub eax, edx
je 0x180028fc8
sub eax, 0x80
je 0x180029212
sub eax, 0x60
je 0x180028ea2
cmp eax, ebx
jne 0x1800294d1
cmp edi, ecx
je 0x180028eae
cmp edi, r9d
mov dil, sil
jne 0x180028eb1
mov dil, bl
cmp r8, rcx
jae 0x1800294d1
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x1000
and al, bl
mov rcx, r14
mov r8b, al
call fcn.18002ab04
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x2000
and al, bl
mov rcx, r14
mov r8b, al
call fcn.18002ab04
mov r15d, 0x12
mov ecx, r15d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x4000
and al, bl
mov rcx, r14
mov r8b, al
call fcn.18002ab04
lea ecx, [r15 + 0x4b]
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x8000
and al, bl
mov rcx, r14
mov r8b, al
call fcn.18002ab04
mov rsi, qword [rbp + 7]
cmp rsi, 0xd
jne 0x180028f59
shr r12, 0x10
mov eax, 0x10d
bt r12w, 8
cmovb esi, eax
movsxd rcx, esi
call fcn.180028850
test eax, eax
je 0x180028f72
mov r8d, esi
mov dl, dil
mov ecx, eax
call fcn.1800280dc
cmp esi, 0x10
jne 0x1800292c3
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, bl
cmp al, dil
jne 0x180028fa3
mov r8d, 0xa0
mov dl, dil
mov ecx, 0x210
call fcn.1800280dc
mov esi, 0xa1
mov ecx, esi
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, bl
cmp al, dil
jne 0x1800294d1
mov ecx, 0x214
jmp 0x180029361
cmp r12w, bx
jne 0x1800294d1
call fcn.180028030
test al, al
je 0x1800294d1
mov rax, rbx
jmp 0x1800294d3
cmp edi, 7
sete dl
call fcn.18002adf4
jmp 0x1800294d1
mov rcx, r13
call qword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x1800290b3
mov rbx, qword [rbp + 7]
lea rax, [rbx - 1]
cmp rax, 0xfffe
ja 0x1800294d1
test bx, bx
jne 0x18002902f
cmp word [r14 + 0x37a4], si
je 0x1800294d1
cmp byte [r14 + 0x37a1], sil
je 0x1800294d1
mov ecx, 0xfc00
movzx eax, bx
and ax, cx
mov edx, 0xd800
movzx ecx, word [r14 + 0x37a4]
cmp ax, dx
jne 0x180029078
test cx, cx
je 0x18002906b
mov edx, 0xfffd
mov rcx, r14
call fcn.18002a8e4
mov word [r14 + 0x37a4], bx
jmp 0x1800294d1
test cx, cx
je 0x1800290a3
mov ecx, 0xdc00
cmp ax, cx
je 0x180029096
mov edx, 0xfffd
mov rcx, r14
call fcn.18002a8e4
jmp 0x18002909b
mov ebx, 0xfffd
mov word [r14 + 0x37a4], si
movzx edx, bx
mov rcx, r14
call fcn.18002a8e4
jmp 0x1800294d1
lea rax, [rbp - 9]
mov dword [rsp + 0x28], ebx
mov r9d, ebx
mov qword [rsp + 0x20], rax
lea r8, [rbp + 7]
mov word [rbp - 9], si
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx eax, word [rbp - 9]
test eax, eax
je 0x1800294d1
cmp byte [r14 + 0x37a1], sil
je 0x1800294d1
mov rdi, qword [0x180174890]
add rdi, 0x37c0
mov qword [rbp - 0x2d], rsi
mov dword [rbp - 0x25], esi
mov esi, 2
mov dword [rbp - 0x39], 5
mov dword [rbp - 0x35], esi
mov ecx, dword [rdi]
mov r8d, dword [rdi + 4]
mov dword [rbp - 0x31], eax
cmp ecx, r8d
jne 0x180029148
inc ecx
test r8d, r8d
je 0x180029134
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180029139
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rdi
call fcn.18003f890
movsxd rax, dword [rdi]
movups xmm0, xmmword [rbp - 0x39]
movsd xmm1, qword [rbp - 0x29]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
movups xmmword [rax + rcx*8], xmm0
movsd qword [rax + rcx*8 + 0x10], xmm1
add dword [rdi], ebx
jmp 0x1800294d1
mov eax, edi
sub eax, r9d
je 0x180028ea6
sub eax, ebx
je 0x180028ea6
sub eax, 0xfb
je 0x180029212
sub eax, ebx
je 0x18002919f
sub eax, ebx
je 0x180029478
cmp eax, ebx
jne 0x1800294d1
mov r12d, esi
cmp edi, 0x206
jne 0x1800291ad
mov r12d, ebx
lea eax, [rdi - 0x207]
mov ecx, 0xfffffffd
test ecx, eax
mov esi, 2
lea eax, [rdi - 0x20b]
cmove r12d, esi
test ecx, eax
jne 0x1800291e0
xor r12d, r12d
shr r8, 0x10
cmp r8w, bx
setne r12b
add r12d, 3
cmp dword [r15 + 0x14], 0
jne 0x1800291fb
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x1800291fb
mov rcx, r13
call qword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [r15 + 0x14]
mov r8b, bl
bts eax, r12d
mov edx, r12d
mov dword [r15 + 0x14], eax
jmp 0x1800294c9
mov eax, esi
mov qword [r15 + 8], r13
mov ecx, 0x200
cmp edi, ecx
setne al
add eax, ebx
mov dword [rbp - 9], eax
cmp dword [r15 + 0x10], eax
je 0x18002927b
mov dword [rbp - 0x29], esi
cmp edi, ecx
mov esi, 2
mov dword [rbp - 0x39], edx
mov dword [rbp - 0x35], 0x80000000
mov qword [rbp - 0x31], r13
mov dword [rbp - 0x21], edx
lea eax, [rsi + 0x10]
mov qword [rbp - 0x19], r13
cmovne esi, eax
mov dword [rbp - 0x1d], esi
xor esi, esi
mov dword [rbp - 0x11], esi
cmp dword [r15 + 0x10], esi
je 0x18002926a
lea rcx, [rbp - 0x39]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
lea rcx, [rbp - 0x21]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov eax, dword [rbp - 9]
mov dword [r15 + 0x10], eax
movsx eax, r12w
shr r12, 0x10
movsx ecx, r12w
mov dword [rbp + 3], ecx
mov dword [rbp - 1], eax
cmp edi, 0xa0
jne 0x1800292b0
lea rdx, [rbp - 1]
mov rcx, r13
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1800294d1
mov ecx, dword [rbp + 3]
mov eax, dword [rbp - 1]
movd xmm2, ecx
movd xmm1, eax
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
jmp 0x180029435
cmp esi, 0x11
jne 0x180029311
mov esi, 0xa2
mov ecx, esi
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, bl
cmp al, dil
jne 0x1800292ef
mov r8d, esi
mov dl, dil
mov ecx, 0x20f
call fcn.1800280dc
mov esi, 0xa3
mov ecx, esi
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, bl
cmp al, dil
jne 0x1800294d1
mov ecx, 0x213
jmp 0x180029361
cmp esi, r15d
jne 0x1800294d1
mov esi, 0xa4
mov ecx, esi
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, bl
cmp al, dil
jne 0x180029341
mov r8d, esi
mov dl, dil
mov ecx, 0x211
call fcn.1800280dc
mov esi, 0xa5
mov ecx, esi
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, bl
cmp al, dil
jne 0x1800294d1
mov ecx, 0x215
mov r8d, esi
mov dl, dil
call fcn.1800280dc
jmp 0x1800294d1
mov eax, 0x20b
cmp edi, eax
ja 0x1800293da
je 0x18002919f
mov eax, edi
sub eax, r11d
je 0x180029478
sub eax, ebx
je 0x18002919f
sub eax, ebx
je 0x18002919f
sub eax, ebx
je 0x180029478
sub eax, ebx
je 0x18002919f
cmp eax, ebx
jne 0x1800294d1
shr r8, 0x10
xorps xmm1, xmm1
movsx eax, r8w
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x1800f4a74]
mov rcx, r14
call fcn.18002ad44
jmp 0x1800294d1
mov eax, edi
sub eax, r10d
je 0x180029478
sub eax, ebx
je 0x18002919f
sub eax, ebx
je 0x180029452
sub eax, 0xb
je 0x180029442
sub eax, 0x89
je 0x180029405
cmp eax, ebx
jne 0x1800294d1
cmp edi, 0x2a3
mov eax, esi
setne al
add eax, ebx
cmp dword [r15 + 0x10], eax
jne 0x1800294d1
cmp qword [r15 + 8], r13
jne 0x180029426
mov qword [r15 + 8], rsi
movss xmm1, dword [0x1800f4b1c]
movaps xmm2, xmm1
mov dword [r15 + 0x10], esi
mov rcx, r14
call fcn.18002ab30
jmp 0x1800294d1
cmp r8d, 7
jne 0x1800294d1
mov byte [r15 + 0x2d], bl
jmp 0x1800294d1
shr r8, 0x10
xorps xmm2, xmm2
movsx eax, r8w
movd xmm1, eax
cvtdq2ps xmm1, xmm1
xorps xmm1, xmmword [0x1800f4c80]
divss xmm1, dword [0x1800f4a74]
jmp 0x1800293cd
cmp edi, r11d
sete sil
cmp edi, 0x208
jne 0x18002948e
mov esi, 2
jmp 0x1800294a4
cmp edi, r10d
jne 0x1800294a4
xor esi, esi
shr r8, 0x10
cmp r8w, bx
setne sil
add esi, 3
mov eax, dword [r15 + 0x14]
btr eax, esi
mov dword [r15 + 0x14], eax
test eax, eax
jne 0x1800294c4
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r13
jne 0x1800294c4
call qword [sym.imp.USER32.dll_ReleaseCapture]
xor r8d, r8d
mov edx, esi
mov rcx, r14
call fcn.18002ac78
xor eax, eax
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1800cac90
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret