Function at 0x1400020d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x40
mov rax, qword [0x1400c5020]
xor esi, esi
mov rbx, rcx
test rax, rax
je 0x1400020f4
mov rcx, qword [rax + 0xa0]
jmp 0x1400020f7
mov rcx, rsi
cmp qword [rcx + 0x18], rsi
jne 0x140002118
test rax, rax
je 0x140002118
mov rcx, qword [rax + 0xa0]
test rcx, rcx
je 0x140002118
cmp qword [rcx], rsi
je 0x140002118
call fcn.140030670
call fcn.140031080
call fcn.14000da50
cmp qword [0x1400c5668], rsi
je 0x140002137
lea rcx, [0x1400c4108]
call fcn.1400017d0
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400c5648], eax
jle 0x14000217a
lea rcx, [0x1400c5648]
call fcn.14009b658
cmp dword [0x1400c5648], 0xffffffff
jne 0x14000217a
lea rcx, [0x1400c5648]
mov dword [0x1400c5640], esi
call fcn.14009b5ec
lea rcx, [0x1400c5640]
call fcn.140001ca0
mov ecx, reloc.WLDAP32.dll_Ordinal_45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400021a5
cmp byte [rbx + 0x158], sil
sete al
mov byte [rbx + 0x158], al
cmp byte [rbx + 0x158], sil
je 0x1400021be
mov rcx, rbx
call fcn.140037270
mov r8d, 0xa0
jmp 0x1400021c4
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 [0x1400c5020]
mov byte [rcx + 0x78], al
movzx eax, byte [rbx + 0x158]
mov byte [rcx + 0xd9], al
call fcn.14000f700
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov edx, reloc.WLDAP32.dll_Ordinal_27
mov rax, qword [rcx]
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
movss xmm0, dword [0x1400b4b34]
xor r8d, r8d
mov dword [rsp + 0x30], esi
xor edx, edx
movss dword [rsp + 0x28], xmm0
mov rax, qword [rcx]
mov dword [rsp + 0x20], esi
call qword [rax + 0x158]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x1400022a7
call fcn.14000fac0
mov rax, qword [0x1400c5020]
mov rcx, qword [rax + 0x4878]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], sil
cmove rcx, rsi
call fcn.1400300b0
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 0x140002386
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x140002386
mov qword [rsp + 0x50], rdi
mov rdi, qword [0x1400c5020]
test rdi, rdi
je 0x14000234b
mov rdi, qword [rdi + 0xa0]
test rdi, rdi
je 0x14000234b
cmp qword [rdi], rsi
je 0x14000234b
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140002316
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 0x140002329
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 0x14000234b
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [0x1400c5020]
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 [0x1400c5020]
mov rdi, qword [rsp + 0x50]
test rax, rax
je 0x140002386
mov rax, qword [rax + 0xa0]
test rax, rax
je 0x140002386
cmp qword [rax], rsi
je 0x140002386
call fcn.140030670
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rsi
ret