Function at 0x1400103f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xa0
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x1400e5080]
xor rax, rsp
mov qword [rsp + 0x88], rax
movss xmm6, dword [0x1400d32a4]
xorps xmm0, xmm0
movups xmmword [0x14019dda0], xmm0
xor edi, edi
mov qword [r11 + 8], rbx
movups xmmword [0x14019ddb0], xmm0
movups xmmword [0x14019ddc0], xmm0
nop dword [rax + rax]
xorps xmm0, xmm0
mov dword [rsp + 0x20], 1
xor r9d, r9d
lea rcx, [rsp + 0x58]
xor r8d, r8d
xor edx, edx
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14001048c
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x140010895
cmp byte [reloc.WS2_32.dll_accept], dil
mov edx, 0xffffffec
mov rcx, qword [0x14019dcc8]
je 0x1400104e2
mov r8d, 0x80080
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rbx, qword [0x14019de08]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
mov ecx, 2
and al, 1
mov byte [rbx + 0x130], al
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
mov byte [rbx + 0x131], al
jmp 0x1400104ee
mov r8d, 0x800a0
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [0x14019dcc8]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_GetWindowLongW]
cmp byte [reloc.WS2_32.dll_accept], dil
mov edx, 0xffffffec
mov rcx, qword [0x14019dcc8]
je 0x140010531
btr eax, 0x13
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [0x14019dcc8]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x14001053e
bts eax, 0x13
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowLongW]
call fcn.14003b370
call fcn.14003b930
call fcn.140019ee0
call fcn.14000f530
call fcn.14001b9e0
mov rcx, qword [0x14019dcc0]
lea r8, [rsp + 0x50]
mov dword [rsp + 0x50], edi
mov edx, 0xa8
mov dword [rsp + 0x54], edi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov rax, qword [rcx]
call qword [rax + 0x1d0]
mov rcx, qword [0x14019dcc0]
lea r8, [rsp + 0x54]
mov edx, 0xc2
mov rax, qword [rcx]
call qword [rax + 0x1d0]
mov rcx, qword [0x14019dcc0]
lea rdx, [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x2c0]
mov rcx, qword [0x14019dcc0]
lea rdx, [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x2e8]
mov rcx, qword [0x14019dcc0]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x2e0]
mov rcx, qword [0x14019dcc0]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x358]
mov rcx, qword [0x14019dcc0]
mov edx, 0x44
mov rax, qword [rcx]
call qword [rax + 0x2c8]
mov rcx, qword [0x14019dcc0]
xor r8d, r8d
mov edx, 0x89
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14019dcc0]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1c]
call qword [rax + 0x1c8]
mov rcx, qword [0x14019dcc0]
mov edx, reloc.WLDAP32.dll_Ordinal_22
mov rax, qword [rcx]
lea r8d, [rdx - 0x15]
call qword [rax + 0x1c8]
mov rcx, qword [0x14019dcc0]
mov edx, 8
mov rax, qword [rcx]
lea r8d, [rdx - 5]
call qword [rax + 0x1c8]
mov rcx, qword [0x14019dcc0]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x14019dcc0]
mov edx, 0xae
mov r8d, 1
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14019dcc0]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0xe]
call qword [rax + 0x1c8]
mov rcx, qword [0x14019dcc0]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x34]
call qword [rax + 0x1c8]
mov rcx, qword [0x14019dcc0]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xa1
call qword [rax + 0x1c8]
mov rcx, qword [0x14019dcc0]
xor r8d, r8d
mov edx, 0xb0
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14019dcc0]
mov edx, reloc.WLDAP32.dll_Ordinal_27
mov rax, qword [rcx]
lea r8d, [rdx - 0x1a]
call qword [rax + 0x1c8]
mov rcx, qword [0x14019dcc0]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0xf]
call qword [rax + 0x1c8]
mov rcx, qword [0x14019dcc0]
mov edx, 0xce
mov r8d, 1
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14019dcc0]
mov edx, reloc.WS2_32.dll_send
mov rax, qword [rcx]
lea r8d, [rdx - 0xe]
call qword [rax + 0x1c8]
mov rcx, qword [0x14019dcc0]
mov edx, Ordinal_211
mov r8d, 8
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14019dcc0]
mov edx, reloc.WS2_32.dll_sendto
mov rax, qword [rcx]
lea r8d, [rdx - 0xe]
call qword [rax + 0x1c8]
mov rcx, qword [0x14019dcc0]
mov edx, Ordinal_211
mov r8d, 2
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14019dcc0]
mov edx, 0xa8
mov r8d, reloc.WS2_32.dll_ntohs
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14019dcc0]
xor r8d, r8d
mov edx, 0xc2
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14019dcc0]
mov r9d, 3
mov dword [rsp + 0x30], edi
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], edi
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x14019dcc0]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140010844
call fcn.14001bd50
mov rax, qword [0x14019de08]
mov rcx, rdi
add rax, 0x1e10
cmp byte [rax], cl
cmovne rcx, rax
call fcn.14003adc0
mov rcx, qword [0x14019dcc0]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x14019dcc0]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
mov rcx, qword [0x14019dcc0]
mov edx, 0xa8
mov r8d, dword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14019dcc0]
mov edx, 0xc2
mov r8d, dword [rsp + 0x54]
mov rax, qword [rcx]
call qword [rax + 0x1c8]
cmp dword [0x14019dda8], 0x12
jne 0x140010440
mov rbx, qword [rsp + 0xb0]
xor al, al
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400ba020
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rdi
ret