Function at 0x14012efb0
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rdi
sub rsp, 0xd8
mov rax, qword [0x14038a2b0]
xor rax, rsp
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0x98]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_50
rep stosb byte [rdi], al
mov dword [rsp + 0xa0], 0
cmp dword [rsp + 0xa0], 0x12
je 0x14012f2c3
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x14039b328]
lea rcx, [rsp + 0x98]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14012f03c
lea rcx, [rsp + 0x98]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x98]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0x50], rax
mov rax, qword [0x14039b340]
cmp qword [rsp + 0x50], rax
jne 0x14012f09a
mov edx, 3
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetWindow]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [0x14039b328]
call qword [sym.imp.USER32.dll_SetWindowPos]
call fcn.14012e960
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea rdx, [rsp + 0x70]
mov rcx, qword [0x14039b340]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rsp + 0x68]
mov rcx, qword [0x14039b340]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x74], eax
call fcn.1400c23a0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [0x14039b340]
mov qword [rax + 0x118], rcx
mov rax, qword [rsp + 0x40]
movss xmm0, dword [0x140368100]
movss dword [rax + 0x10], xmm0
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_GetCursorPos]
cvtsi2ss xmm0, dword [rsp + 0x80]
cvtsi2ss xmm1, dword [rsp + 0x68]
subss xmm0, xmm1
mov rax, qword [rsp + 0x40]
movss dword [rax + 0x120], xmm0
cvtsi2ss xmm0, dword [rsp + 0x84]
cvtsi2ss xmm1, dword [rsp + 0x6c]
subss xmm0, xmm1
mov rax, qword [rsp + 0x40]
movss dword [rax + 0x124], xmm0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x14012f1d2
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax + 0x128], 1
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax + 0x418], 1
jmp 0x14012f1e8
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax + 0x128], 0
lea rax, [rsp + 0x88]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0x70], eax
jne 0x14012f234
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x78], eax
jne 0x14012f234
mov eax, dword [rsp + 0x8c]
cmp dword [rsp + 0x74], eax
jne 0x14012f234
mov eax, dword [rsp + 0x94]
cmp dword [rsp + 0x7c], eax
je 0x14012f2b7
lea rax, [rsp + 0x88]
lea rcx, [rsp + 0x70]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x78]
mov dword [0x14038a364], eax
mov eax, dword [rsp + 0x7c]
mov dword [0x14038a360], eax
mov eax, dword [rsp + 0x70]
mov dword [0x14039b334], eax
mov eax, dword [rsp + 0x74]
mov dword [0x14039b330], eax
mov eax, dword [0x14038a360]
inc eax
mov ecx, dword [0x14038a364]
dec ecx
mov edx, dword [rsp + 0x6c]
inc edx
mov edi, dword [rsp + 0x68]
dec edi
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9d, edx
mov r8d, edi
xor edx, edx
mov rcx, qword [0x14039b328]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x14039b348]
call fcn.14009b040
mov dword [rsp + 0x48], 1
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x60]
call fcn.140012290
mov rcx, rax
call fcn.140012180
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.140266db0
add rsp, 0xd8
pop rdi
pop rsi
ret