Function at 0x14003dd20
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xe0
mov rax, qword [0x1400c9098]
xor rax, rsp
mov qword [rbp + 7], rax
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r14
xor r14d, r14d
cmp byte [reloc.WS2_32.dll_accept], r14b
je 0x14003e392
movaps xmmword [r11 - 0x18], xmm6
movss xmm6, dword [0x1400ba4b8]
movaps xmmword [r11 - 0x28], xmm7
movss xmm7, dword [0x1400ba504]
movaps xmmword [r11 - 0x38], xmm8
movss xmm8, dword [0x1400ba518]
movaps xmmword [r11 - 0x48], xmm9
movss xmm9, dword [0x1400ba4ec]
mov qword [rbp - 9], 0xa
nop dword [rax + rax]
lea rcx, [rbp - 9]
call fcn.14003c7c0
mov rdx, qword [0x1400ca348]
lea rcx, [0x1400ca3a0]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14003dde9
lea rcx, [0x1400ca3a0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1400ca3a0]
call qword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [0x1400ca3a8], 0x12
jne 0x14003ddf9
mov byte [reloc.WS2_32.dll_accept], r14b
mov ecx, reloc.WLDAP32.dll_Ordinal_45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14003de16
cmp byte [reloc.WS2_32.dll_accept], r14b
sete byte [0x1400c90e8]
mov ecx, reloc.WLDAP32.dll_Ordinal_35
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x14003e369
cmp byte [reloc.WS2_32.dll_accept], r14b
je 0x14003e370
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov edx, 3
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x1400ca348]
mov r9d, 1
mov dword [rsp + 0x30], 3
mov r8d, r9d
mov dword [rsp + 0x28], r14d
mov rdx, rax
mov dword [rsp + 0x20], r14d
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1400ca348]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x1400c9fd8]
lea rcx, [rbp - 1]
mov qword [rbp - 1], r14
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [rbp - 1]
mov ecx, 1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe00], xmm0
movd xmm0, dword [rbp + 3]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe04], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14003dee3
mov byte [rbx + 0xe08], 1
mov byte [rbx + 0x3740], 1
mov eax, dword [rbx + 0xe04]
mov dword [rbx + 0x36f0], eax
jmp 0x14003deea
mov byte [rbx + 0xe08], r14b
mov rax, qword [0x1400c9fd8]
test rax, rax
je 0x14003deff
mov rcx, qword [rax + 0x98]
jmp 0x14003df02
mov rcx, r14
cmp qword [rcx + 0x18], r14
jne 0x14003df23
test rax, rax
je 0x14003df23
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x14003df23
cmp qword [rcx], r14
je 0x14003df23
call fcn.14002de90
call fcn.14002ea50
call fcn.140009cc0
call fcn.1400022f0
mov rax, qword [0x1400c9fd8]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x48c8]
mov rcx, qword [rcx]
call fcn.1400093d0
movaps xmm0, xmmword [0x1400ba6b0]
lea rcx, [rbp - 0x49]
movups xmmword [rbp - 0x49], xmm0
mov rdi, rax
call fcn.140005300
movss xmm0, dword [0x1400ca3d8]
mov esi, eax
movss xmm1, dword [0x1400ca3dc]
mulss xmm0, xmm6
mulss xmm1, xmm6
movss dword [rbp - 0x39], xmm0
movss dword [rbp - 0x35], xmm1
test eax, 0xff000000
je 0x14003dfed
movss xmm2, dword [0x1400c90cc]
comiss xmm2, xmm6
jb 0x14003dfed
subss xmm2, xmm6
mov dword [rsp + 0x20], Ordinal_50
xor r9d, r9d
lea rdx, [rbp - 0x39]
mov rcx, rdi
call fcn.140026e70
mov r8d, dword [rdi + 0x78]
mov r9d, esi
mov rdx, qword [rdi + 0x80]
dec r8d
movss dword [rsp + 0x28], xmm7
mov rcx, rdi
mov dword [rdi + 0x78], r8d
mov dword [rsp + 0x20], 1
call fcn.140025900
mov dword [rdi + 0x78], r14d
mov rax, qword [0x1400c9fd8]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x48c8]
mov rcx, qword [rcx]
call fcn.1400093d0
movss xmm3, dword [0x1400ca3d8]
lea rcx, [rbp - 0x49]
movaps xmm0, xmmword [0x1400ba6b0]
mov r10, rax
movss xmm1, dword [0x1400ca3dc]
mulss xmm3, xmm6
movups xmmword [rbp - 0x49], xmm0
movaps xmm0, xmm3
mulss xmm1, xmm6
addss xmm0, dword [0x1400c90e4]
subss xmm3, dword [0x1400c90e4]
movss dword [rbp - 0x2d], xmm1
movss dword [rbp - 0x25], xmm1
movss dword [rbp - 0x31], xmm0
movss dword [rbp - 0x29], xmm3
call fcn.140005300
mov r9d, eax
movss dword [rsp + 0x20], xmm7
lea rdx, [rbp - 0x29]
mov rcx, r10
lea r8, [rbp - 0x31]
call fcn.140027d10
mov rax, qword [0x1400c9fd8]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x48c8]
mov rcx, qword [rcx]
call fcn.1400093d0
movss xmm2, dword [0x1400ca3dc]
lea rcx, [rbp - 0x49]
movaps xmm0, xmmword [0x1400ba6b0]
mov r10, rax
movss xmm3, dword [0x1400ca3d8]
mulss xmm2, xmm6
movups xmmword [rbp - 0x49], xmm0
movaps xmm0, xmm2
mulss xmm3, xmm6
addss xmm0, dword [0x1400c90e4]
subss xmm2, dword [0x1400c90e4]
movss dword [rbp - 0x21], xmm3
movss dword [rbp - 0x19], xmm3
movss dword [rbp - 0x1d], xmm0
movss dword [rbp - 0x15], xmm2
call fcn.140005300
mov r9d, eax
movss dword [rsp + 0x20], xmm7
lea rdx, [rbp - 0x19]
mov rcx, r10
lea r8, [rbp - 0x21]
call fcn.140027d10
cmp byte [reloc.WS2_32.dll_accept], r14b
je 0x14003e1b9
mov rax, qword [0x1400c9fd8]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x48c8]
mov rcx, qword [rcx]
call fcn.1400093d0
movaps xmm0, xmmword [0x1400ba6b0]
lea rcx, [rbp - 0x49]
movups xmmword [rbp - 0x49], xmm0
mov rdi, rax
call fcn.140005300
movss xmm0, dword [rbx + 0xe00]
mov esi, eax
movss xmm1, dword [rbx + 0xe04]
movss dword [rbp - 0x11], xmm0
movss dword [rbp - 0xd], xmm1
test eax, 0xff000000
je 0x14003e1b4
xor r9d, r9d
mov dword [rsp + 0x20], Ordinal_50
movaps xmm2, xmm8
lea rdx, [rbp - 0x11]
mov rcx, rdi
call fcn.140026e70
mov r8d, dword [rdi + 0x78]
mov r9d, esi
mov rdx, qword [rdi + 0x80]
dec r8d
mov rcx, rdi
mov dword [rdi + 0x78], r8d
call fcn.140026880
mov dword [rdi + 0x78], r14d
call fcn.14003d560
call fcn.14000b950
mov rcx, qword [0x1400ca358]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400ca358]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400ca358]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400ca358]
mov r9d, 1
mov dword [rsp + 0x30], r14d
xor r8d, r8d
movss dword [rsp + 0x28], xmm9
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x1400ca358]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14003e27c
call fcn.14000bd40
mov rax, qword [0x1400c9fd8]
mov rcx, qword [rax + 0x48c8]
mov rax, qword [rcx]
mov rcx, r14
add rax, 0x48
cmp byte [rax], cl
cmovne rcx, rax
call fcn.14002d8e0
mov rcx, qword [0x1400ca358]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400ca358]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14003e35a
mov rcx, qword [0x1400ca358]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x14003e35a
mov rbx, qword [0x1400c9fd8]
test rbx, rbx
je 0x14003e321
mov rbx, qword [rbx + 0x98]
test rbx, rbx
je 0x14003e321
cmp qword [rbx], r14
je 0x14003e321
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14003e2ec
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 8], r14
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14003e2ff
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 0x10], r14
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14003e321
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [0x1400c9fd8]
mov qword [rbx + 0x18], r14
mov rcx, qword [rax + 0x38]
mov qword [rcx + 8], r14
mov rcx, qword [0x1400ca358]
lea rdx, [0x1400ca360]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rbx, qword [0x1400c9fd8]
test rbx, rbx
je 0x14003e35a
mov rax, qword [rbx + 0x98]
test rax, rax
je 0x14003e35a
cmp qword [rax], r14
je 0x14003e35a
call fcn.14002de90
cmp byte [reloc.WS2_32.dll_accept], r14b
jne 0x14003dda0
jmp 0x14003e370
mov byte [reloc.WS2_32.dll_accept], r14b
movaps xmm8, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xc0]
movaps xmm6, xmmword [rsp + 0xd0]
movaps xmm9, xmmword [rsp + 0xa0]
mov rbx, qword [0x1400c9fd8]
test rbx, rbx
je 0x14003e3a7
mov rsi, qword [rbx + 0x98]
jmp 0x14003e3aa
mov rsi, r14
mov rbx, qword [0x1400c9fd8]
test rbx, rbx
je 0x14003e40f
mov rdi, qword [rbx + 0x98]
test rdi, rdi
je 0x14003e40f
cmp qword [rdi], r14
je 0x14003e40f
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14003e3da
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rdi + 8], r14
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14003e3ed
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rdi + 0x10], r14
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x14003e40f
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [0x1400c9fd8]
mov qword [rdi + 0x18], r14
mov rcx, qword [rax + 0x38]
mov qword [rcx + 8], r14
mov rcx, qword [rsi]
test rcx, rcx
je 0x14003e41d
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
and dword [rbx + 0xc], 0xfffffff7
mov rax, qword [0x1400c9fd8]
mov qword [rbx + 0x88], r14
mov qword [rbx + 0x98], r14
test rax, rax
je 0x14003e441
dec dword [rax + 0xf0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1400c9fd8]
mov rsi, qword [rsp + 0xf8]
test rax, rax
je 0x14003e467
mov rdi, qword [rax + 0x90]
jmp 0x14003e46a
mov rdi, r14
mov rcx, qword [rdi + 0x30]
lea rbx, [rax + 8]
test rcx, rcx
je 0x14003e484
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x1400c9fd8]
and dword [rbx + 4], 0xfffffff8
mov qword [rbx + 0x78], r14
mov qword [rbx + 0x88], r14
test rax, rax
je 0x14003e49e
dec dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400c9fd8]
mov qword [0x1400c9fd8], rbx
call fcn.140007b50
mov rdi, qword [rsp + 0x100]
mov qword [0x1400c9fd8], r14
mov r14, qword [rsp + 0x108]
test rbx, rbx
je 0x14003e4f9
mov rcx, rbx
call fcn.14001d110
mov rax, qword [0x1400c9fd8]
test rax, rax
je 0x14003e4f0
dec dword [rax + 0xf0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1400ca358]
mov rbx, qword [rsp + 0xf0]
test rcx, rcx
je 0x14003e523
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400ca358]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1400ca350]
test rcx, rcx
je 0x14003e535
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1400ca348]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov al, 1
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1400a0dd0
add rsp, 0xe0
pop rbp
ret