Function at 0x180030eb0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbp
push rsi
push r13
push r14
lea rbp, [rax - 0xf8]
sub rsp, 0x1d8
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
mov rax, qword [0x18019d440]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r14, rcx
lea r13, str.Color_Box
mov rdx, r13
lea rcx, [0x1801de9d0]
mov rsi, r8
call fcn.180077fb0
mov r9d, dword [0x1801df85b]
mov r8d, dword [0x1801df853]
movss xmm9, dword [0x180189690]
mov edx, dword [0x1801df857]
cmp r9d, r8d
jg 0x180030f74
cmp edx, r8d
jg 0x180030f74
movss xmm6, dword [0x1801df7aa]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x14]
call fcn.180076e00
movss xmm7, dword [0x1801df7aa]
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x1c]
call fcn.180076e00
movd xmm2, dword [rbp + 0x10]
movd xmm0, dword [rbp + 0x14]
movd xmm4, dword [rbp + 0x18]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm2, xmm2
divss xmm2, xmm0
movd xmm0, dword [rbp + 0x1c]
jmp 0x180030fd3
mov eax, r9d
sub eax, r8d
cmp edx, eax
jle 0x180031088
cmp edx, r9d
jg 0x180031088
movss xmm6, dword [0x1801df7aa]
lea rdx, [rbp + 0x1c]
lea rcx, [rbp + 0x18]
call fcn.180076e00
movss xmm7, dword [0x1801df7aa]
lea rdx, [rbp + 0x14]
lea rcx, [rbp + 0x10]
call fcn.180076e00
movd xmm2, dword [rbp + 0x1c]
movd xmm0, dword [rbp + 0x18]
movd xmm4, dword [rbp + 0x14]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm2, xmm2
divss xmm2, xmm0
movd xmm0, dword [rbp + 0x10]
movss xmm8, dword [0x1801de9e1]
movss xmm5, dword [0x1801de9e5]
movaps xmm3, xmm8
divss xmm5, dword [0x1801de9ed]
mov r8, qword [rsi + 8]
mov rdx, qword [rsi]
mov rcx, r8
mov rax, rdx
shr rcx, 0x20
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], r8d
shr rax, 0x20
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
movss xmm1, dword [0x1801df74e]
addss xmm5, dword [0x180189600]
cvtdq2ps xmm4, xmm4
addss xmm5, dword [0x1801de9d1]
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm9
divss xmm4, xmm0
addss xmm1, dword [0x1801de9d9]
mulss xmm4, xmm7
mulss xmm2, xmm6
divss xmm4, dword [0x180189720]
mulss xmm3, xmm6
subss xmm5, xmm4
mulss xmm2, xmm8
mulss xmm1, xmm8
mulss xmm5, xmm8
movaps xmm0, xmm5
call fcn.180039a90
mov r8d, dword [0x1801df853]
mov edx, dword [0x1801df857]
mov r9d, dword [0x1801df85b]
cmp edx, r8d
jg 0x1800310a5
movss xmm0, dword [0x1801de9d9]
addss xmm0, dword [0x1801df74e]
movss dword [0x1801de9d9], xmm0
cmp edx, r9d
jne 0x1800318d5
cmp byte [0x1801e46a5], 0
je 0x1800318d5
mov eax, dword [rsi]
movss xmm8, dword [0x1801895b8]
movss xmm7, dword [0x180189684]
mov qword [rsp + 0x200], rbx
mov qword [rsp + 0x208], rdi
mov qword [rsp + 0x218], r12
lea r12, [0x18012083e]
mov qword [rsp + 0x1d0], r15
xor r15d, r15d
movaps xmmword [rsp + 0x180], xmm10
movss xmm10, dword [0x180189610]
movaps xmmword [rsp + 0x170], xmm11
movss xmm11, dword [0x1801895c0]
movaps xmmword [rsp + 0x160], xmm12
movss xmm12, dword [0x180189604]
mov dword [rsp + 0x60], eax
mov eax, dword [rsi + 4]
movaps xmmword [rsp + 0x150], xmm13
movss xmm13, dword [0x1801895f4]
mov dword [rsp + 0x64], eax
mov eax, dword [rsi + 8]
movaps xmmword [rsp + 0x140], xmm14
movss xmm14, dword [0x1801896b8]
mov dword [rsp + 0x68], eax
mov eax, dword [rsi + 0xc]
movaps xmmword [rsp + 0x130], xmm15
movss xmm15, dword [0x18018959c]
mov dword [rsp + 0x6c], eax
mov rax, qword gs:[0x20]
mov rcx, qword [rax]
mov byte [rcx + 0x79], r15b
mov rcx, qword [rcx + 0x61]
call qword [sym.imp.KERNEL32.dll_SwitchToFiber]
call fcn.1800291b0
movups xmm1, xmmword [r14]
lea rax, [rbp - 0x60]
movdqa xmm0, xmmword [0x180189900]
lea rcx, [0x1801de9d0]
movss xmm3, dword [0x180189658]
movaps xmm2, xmm9
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
mov byte [rsp + 0x40], r15b
mov qword [rsp + 0x38], rax
movdqa xmmword [rbp - 0x60], xmm0
movss xmm0, dword [0x180189678]
mov byte [rsp + 0x30], 1
movaps xmmword [rsp + 0x50], xmm1
movaps xmm1, xmm9
mov qword [rsp + 0x28], r13
movss dword [rsp + 0x20], xmm0
call fcn.1800798c0
movss xmm3, dword [0x1801895dc]
movaps xmm0, xmm9
movss xmm2, dword [0x180189644]
movss xmm1, dword [0x180189694]
mov dword [rsp + 0x38], 0xa0
mov dword [rsp + 0x30], reloc.WLDAP32.dll_Ordinal_50
mov dword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_50
mov dword [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_50
call fcn.180039a90
mov edi, r15d
mov ebx, r15d
nop word [rax + rax]
movd xmm2, ebx
lea rdx, [rbp - 0x50]
cvtdq2ps xmm2, xmm2
movaps xmm3, xmm14
movss dword [rsp + 0x20], xmm14
call fcn.18007a7c0
movd xmm0, edi
movaps xmm3, xmm8
cvtdq2ps xmm0, xmm0
mov r8, qword [rax + 8]
mov rcx, r8
shr rcx, 0x20
movups xmm1, xmmword [rax]
mov dword [rsp + 0x38], ecx
mulss xmm0, xmm15
movaps xmm2, xmm15
mov dword [rsp + 0x30], r8d
movq rax, xmm1
shr rax, 0x20
addss xmm0, xmm9
mov dword [rsp + 0x28], eax
movd dword [rsp + 0x20], xmm1
movaps xmm1, xmm7
subss xmm0, xmm12
call fcn.180039a90
inc edi
add ebx, 0x14
cmp ebx, 0x168
jle 0x180031250
movzx eax, byte [0x1801e4d41]
mov edi, r15d
mov ebx, r15d
cmp edi, dword [reloc.WS2_32.dll_getpeername]
jne 0x1800312ed
cmp ebx, dword [reloc.WS2_32.dll_getpeername]
jne 0x1800312ed
test al, al
je 0x18003138b
movd xmm2, dword [0x1801e4d44]
lea rdx, [rbp - 0x40]
movd xmm6, ebx
cvtdq2ps xmm6, xmm6
movd xmm7, edi
cvtdq2ps xmm7, xmm7
movaps xmm0, xmm6
movaps xmm3, xmm7
mulss xmm0, xmm10
cvtdq2ps xmm2, xmm2
mulss xmm3, xmm10
movss dword [rsp + 0x20], xmm0
call fcn.18007a7c0
mulss xmm6, xmm11
movaps xmm3, xmm8
mulss xmm7, xmm11
movaps xmm2, xmm8
movq xmm0, qword [rax + 8]
addss xmm6, xmm9
movups xmm1, xmmword [rax]
addss xmm7, xmm9
movq rcx, xmm0
movq rax, xmm1
shr rcx, 0x20
mov dword [rsp + 0x38], ecx
subss xmm6, xmm13
movd dword [rsp + 0x30], xmm0
shr rax, 0x20
subss xmm7, xmm12
mov dword [rsp + 0x28], eax
movd dword [rsp + 0x20], xmm1
movaps xmm1, xmm6
movaps xmm0, xmm7
call fcn.180039a90
movzx eax, byte [0x1801e4d41]
inc ebx
cmp ebx, 9
jle 0x1800312d5
inc edi
cmp edi, 9
jle 0x1800312d2
test al, al
je 0x180031441
movd xmm6, dword [0x1801e4d44]
lea rdx, [rbp - 0x30]
cvtdq2ps xmm6, xmm6
movaps xmm3, xmm14
movss dword [rsp + 0x20], xmm14
movaps xmm2, xmm6
call fcn.18007a7c0
mulss xmm6, dword [0x18018957c]
lea rcx, [0x1801de9d0]
mov qword [rsp + 0x70], r12
movss xmm7, dword [0x180189684]
movups xmm0, xmmword [rax]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x78], r12
movss xmm3, dword [0x1801895a4]
addss xmm6, xmm7
mov qword [rsp + 0x48], rax
movaps xmm2, xmm7
mov byte [rsp + 0x40], 1
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
movaps xmmword [rsp + 0x50], xmm0
movss xmm0, dword [0x1801895d8]
movaps xmm1, xmm6
mov byte [rsp + 0x30], r15b
mov qword [rsp + 0x28], r12
movss dword [rsp + 0x20], xmm0
call fcn.1800798c0
jmp 0x1800315e6
movd xmm1, dword [0x1801e4d44]
lea rax, [rsp + 0x50]
movss xmm2, dword [0x180189684]
lea rcx, [0x1801de9d0]
movdqa xmm0, xmmword [0x180189900]
movss xmm3, dword [0x180189598]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov byte [rsp + 0x40], r15b
mov qword [rsp + 0x38], rax
cvtdq2ps xmm1, xmm1
mov byte [rsp + 0x30], r15b
mov qword [rsp + 0x28], r12
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
movss dword [rsp + 0x20], xmm8
mulss xmm1, dword [0x18018957c]
movdqa xmmword [rsp + 0x50], xmm0
addss xmm1, xmm2
call fcn.1800798c0
movd xmm2, dword [reloc.WS2_32.dll_getpeername]
lea rax, [rsp + 0x50]
movd xmm1, dword [reloc.WS2_32.dll_getpeername]
lea rcx, [0x1801de9d0]
movdqa xmm0, xmmword [0x180189900]
movss xmm3, dword [0x1801895c8]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
cvtdq2ps xmm2, xmm2
mov byte [rsp + 0x40], r15b
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x30], r15b
mov qword [rsp + 0x28], r12
cvtdq2ps xmm1, xmm1
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], r12
mulss xmm2, xmm11
mulss xmm1, xmm11
addss xmm2, xmm9
movss dword [rsp + 0x20], xmm3
movdqa xmmword [rsp + 0x50], xmm0
addss xmm1, xmm9
subss xmm2, xmm13
subss xmm1, xmm12
call fcn.1800798c0
movd xmm2, dword [0x1801e4d44]
lea rdx, [rbp - 0x20]
movd xmm6, dword [reloc.WS2_32.dll_getpeername]
movd xmm7, dword [reloc.WS2_32.dll_getpeername]
cvtdq2ps xmm6, xmm6
cvtdq2ps xmm7, xmm7
movaps xmm0, xmm6
movaps xmm3, xmm7
mulss xmm0, xmm10
cvtdq2ps xmm2, xmm2
mulss xmm3, xmm10
movss dword [rsp + 0x20], xmm0
call fcn.18007a7c0
mulss xmm6, xmm11
mulss xmm7, xmm11
movq xmm0, qword [rax + 8]
addss xmm6, xmm9
movups xmm1, xmmword [rax]
movq rcx, xmm0
addss xmm7, xmm9
movq rax, xmm1
shr rcx, 0x20
mov dword [rsp + 0x38], ecx
subss xmm6, xmm13
movd dword [rsp + 0x30], xmm0
movss xmm0, dword [0x1801895c8]
subss xmm7, xmm12
shr rax, 0x20
mov dword [rsp + 0x28], eax
movaps xmm3, xmm0
movd dword [rsp + 0x20], xmm1
movaps xmm2, xmm0
movaps xmm1, xmm6
movaps xmm0, xmm7
call fcn.180039a90
movss xmm7, dword [0x180189684]
movd xmm0, dword [reloc.WS2_32.dll_getpeername]
lea rdx, [rbp - 0x10]
movd xmm3, dword [reloc.WS2_32.dll_getpeername]
movd xmm2, dword [0x1801e4d44]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm3, xmm3
mulss xmm0, xmm10
cvtdq2ps xmm2, xmm2
mulss xmm3, xmm10
movss dword [rsp + 0x20], xmm0
call fcn.18007a7c0
movups xmm0, xmmword [rax]
movups xmmword [rsi], xmm0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1801de850]
jne 0x180031645
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x180031655
mov edx, 0xbc
xor ecx, ecx
call fcn.18002fc50
test eax, eax
je 0x180031680
cmp byte [0x1801e4d48], r15b
jne 0x180031679
mov eax, dword [reloc.WS2_32.dll_getpeername]
test eax, eax
jle 0x180031672
dec eax
mov dword [reloc.WS2_32.dll_getpeername], eax
jmp 0x180031679
mov byte [0x1801e4d41], 1
mov byte [0x1801e4d48], r15b
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1801de850]
jne 0x18003169f
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1800316af
mov edx, 0xbb
xor ecx, ecx
call fcn.18002fc50
test eax, eax
je 0x1800316e4
cmp byte [0x1801e4d49], r15b
jne 0x1800316dd
cmp byte [0x1801e4d41], r15b
je 0x1800316ca
mov byte [0x1801e4d41], r15b
jmp 0x1800316dd
mov eax, dword [reloc.WS2_32.dll_getpeername]
cmp eax, 9
jge 0x1800316dd
inc eax
mov dword [reloc.WS2_32.dll_getpeername], eax
mov byte [0x1801e4d49], r15b
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1801de850]
jne 0x180031703
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x180031713
mov edx, 0xbd
xor ecx, ecx
call fcn.18002fc50
test eax, eax
je 0x180031753
cmp byte [0x1801e4d4a], r15b
jne 0x18003174c
cmp byte [0x1801e4d41], r15b
jne 0x180031739
mov eax, dword [reloc.WS2_32.dll_getpeername]
test eax, eax
jle 0x18003174c
dec eax
mov dword [reloc.WS2_32.dll_getpeername], eax
jmp 0x18003174c
sub dword [0x1801e4d44], 2
jns 0x18003174c
mov dword [0x1801e4d44], 0x168
mov byte [0x1801e4d4a], r15b
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1801de850]
jne 0x180031772
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x180031782
mov edx, 0xbe
xor ecx, ecx
call fcn.18002fc50
test eax, eax
je 0x1800317cd
cmp byte [0x1801e4d40], r15b
jne 0x1800317c6
cmp byte [0x1801e4d41], r15b
jne 0x1800317a9
mov eax, dword [reloc.WS2_32.dll_getpeername]
cmp eax, 9
jge 0x1800317c6
inc eax
mov dword [reloc.WS2_32.dll_getpeername], eax
jmp 0x1800317c6
mov eax, dword [0x1801e4d44]
add eax, 2
mov dword [0x1801e4d44], eax
cmp eax, 0x168
jle 0x1800317c6
mov dword [0x1801e4d44], r15d
mov byte [0x1801e4d40], r15b
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1801de850]
jne 0x1800317ec
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x180031838
mov edx, 0xce
xor ecx, ecx
call fcn.18002fc50
test eax, eax
jne 0x180031838
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1801de850]
jne 0x18003181b
mov ecx, reloc.WLDAP32.dll_Ordinal_27
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x18003182f
mov edx, Ordinal_211
xor ecx, ecx
call fcn.18002fc50
test eax, eax
je 0x18003117d
movups xmm0, xmmword [rsp + 0x60]
xor bl, bl
jmp 0x180031877
movd xmm0, dword [reloc.WS2_32.dll_getpeername]
lea rdx, [rbp]
movd xmm3, dword [reloc.WS2_32.dll_getpeername]
mov bl, 1
movd xmm2, dword [0x1801e4d44]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm3, xmm3
mulss xmm0, xmm10
cvtdq2ps xmm2, xmm2
mulss xmm3, xmm10
movss dword [rsp + 0x20], xmm0
call fcn.18007a7c0
movups xmm0, xmmword [rax]
movaps xmm15, xmmword [rsp + 0x130]
movzx eax, bl
mov rbx, qword [rsp + 0x200]
movaps xmm14, xmmword [rsp + 0x140]
movaps xmm13, xmmword [rsp + 0x150]
movaps xmm12, xmmword [rsp + 0x160]
movaps xmm11, xmmword [rsp + 0x170]
movaps xmm10, xmmword [rsp + 0x180]
mov r15, qword [rsp + 0x1d0]
mov r12, qword [rsp + 0x218]
mov rdi, qword [rsp + 0x208]
movups xmmword [rsi], xmm0
jmp 0x1800318d7
mov al, 1
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1800d0330
lea r11, [rsp + 0x1d8]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
mov rsp, r11
pop r14
pop r13
pop rsi
pop rbp
ret