Function at 0x14001c570
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x50
mov rax, qword [0x1401e6b00]
xor esi, esi
movaps xmmword [rsp + 0x40], xmm6
mov rbx, rcx
test rax, rax
je 0x14001c599
mov rcx, qword [rax + 0xa0]
jmp 0x14001c59c
mov rcx, rsi
cmp qword [rcx + 0x18], rsi
jne 0x14001c5bd
test rax, rax
je 0x14001c5bd
mov rcx, qword [rax + 0xa0]
test rcx, rcx
je 0x14001c5bd
cmp qword [rcx], rsi
je 0x14001c5bd
call fcn.140049e30
call fcn.14004a840
call fcn.140024b40
cmp qword [0x1401e6ec8], rsi
je 0x14001c633
cmp byte [0x1400fc0cd], sil
je 0x14001c633
cmp dword [0x1400fc0c4], esi
jne 0x14001c60d
lea rcx, [0x1400fc0b8]
call fcn.140001b90
test rax, rax
je 0x14001c60d
lea rcx, [0x1400fc0b8]
call fcn.140001b90
mov rdx, rax
lea rcx, [0x1400fc0b8]
call fcn.1400021b0
cmp dword [0x1400fc0c4], 1
jne 0x14001c633
lea rcx, [0x1400fc0b8]
call fcn.140001b90
test rax, rax
je 0x14001c633
lea rcx, [0x1400fc0b8]
call fcn.1400028b0
call fcn.140019130
cmp qword [0x1401e6ec8], rsi
je 0x14001c65e
mov rcx, rax
call fcn.1400195d0
cmp qword [0x1401e6ec8], rsi
je 0x14001c65e
lea rcx, [0x1400fc100]
call fcn.14001bb70
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401e6ea0], eax
jle 0x14001c6a1
lea rcx, [0x1401e6ea0]
call fcn.1400ce3c0
cmp dword [0x1401e6ea0], 0xffffffff
jne 0x14001c6a1
lea rcx, [0x1401e6ea0]
mov dword [0x1401e6e98], esi
call fcn.1400ce354
lea rcx, [0x1401e6e98]
mov qword [rsp + 0x68], rdi
call fcn.14001c2a0
cmp byte [0x1400fc0d0], sil
movss xmm6, dword [0x1400e8c28]
je 0x14001c780
mov rax, qword [0x1401e6b00]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x4878]
mov rcx, qword [rcx]
call fcn.140024180
mov ecx, dword [rbx + 0xe8]
xorps xmm0, xmm0
movd xmm2, dword [0x1400fc0b8]
xorps xmm1, xmm1
cvtdq2ps xmm2, xmm2
mov rdi, rax
cvtsi2ss xmm0, rcx
mov ecx, dword [rbx + 0xec]
cvtsi2ss xmm1, rcx
movss dword [rsp + 0x60], xmm0
movss xmm0, dword [0x1400e8be8]
comiss xmm0, xmm2
movss dword [rsp + 0x64], xmm1
ja 0x14001c780
subss xmm2, xmm0
mov dword [rsp + 0x28], 0x1ff
movss xmm0, dword [0x1400e8cc8]
lea rdx, [rsp + 0x60]
xorps xmm3, xmm3
movss dword [rsp + 0x20], xmm0
mov rcx, rax
call fcn.140042980
mov r8d, dword [rdi + 0x78]
mov r9d, 0xffffffff
mov rdx, qword [rdi + 0x80]
mov rcx, rdi
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], 1
call fcn.140040f20
mov dword [rdi + 0x78], esi
mov ecx, reloc.WLDAP32.dll_Ordinal_45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14001c79f
cmp byte [rbx + 0x158], sil
sete al
mov byte [rbx + 0x158], al
cmp byte [rbx + 0x158], sil
je 0x14001c7b8
mov rcx, rbx
call fcn.140064150
mov r8d, 0xa0
jmp 0x14001c7be
mov r8d, 0x800a0
mov rcx, qword [rbx + 0x50]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_SetWindowLongA]
movzx eax, byte [rbx + 0x158]
mov rcx, qword [0x1401e6b00]
mov byte [rcx + 0x78], al
movzx eax, byte [rbx + 0x158]
mov byte [rcx + 0xd9], al
call fcn.1400267a0
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [rbx + 8]
mov r9d, 1
mov dword [rsp + 0x30], esi
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], esi
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x148]
movaps xmm6, xmmword [rsp + 0x40]
test eax, eax
js 0x14001c89c
call fcn.140026b50
mov rax, qword [0x1401e6b00]
mov rcx, qword [rax + 0x4878]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], sil
cmove rcx, rsi
call fcn.140049880
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [rbx + 8]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14001c971
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x14001c971
mov rdi, qword [0x1401e6b00]
test rdi, rdi
je 0x14001c93b
mov rdi, qword [rdi + 0xa0]
test rdi, rdi
je 0x14001c93b
cmp qword [rdi], rsi
je 0x14001c93b
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14001c906
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rdi + 8], rsi
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14001c919
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rdi + 0x10], rsi
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x14001c93b
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [0x1401e6b00]
mov qword [rdi + 0x18], rsi
mov rcx, qword [rax + 0x58]
mov qword [rcx + 8], rsi
mov rcx, qword [rbx + 8]
lea rdx, [rbx + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x1401e6b00]
test rax, rax
je 0x14001c971
mov rax, qword [rax + 0xa0]
test rax, rax
je 0x14001c971
cmp qword [rax], rsi
je 0x14001c971
call fcn.140049e30
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rsi
ret