Function at 0x140015100
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
cmp byte [0x14015ce66], 0
jne 0x140015137
xorps xmm0, xmm0
mov byte [0x14015ce66], 1
movups xmmword [0x14015d9c8], xmm0
movups xmmword [0x14015d9d8], xmm0
movups xmmword [0x14015d9e8], xmm0
mov rdx, qword [0x14015d9f8]
lea rcx, [0x14015d9c8]
mov esi, 1
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140015178
lea rcx, [0x14015d9c8]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x14015d9c8]
call qword [sym.imp.USER32.dll_DispatchMessageA]
mov rbx, qword [0x14015da58]
lea rcx, [0x14015d070]
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [0x14015d070]
mov ecx, esi
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xdfc], xmm0
movd xmm0, dword [0x14015d074]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe00], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400151e2
mov byte [rbx + 0xe04], sil
mov eax, dword [rbx + 0xe00]
mov dword [rbx + 0x36e8], eax
mov byte [rbx + 0x3738], sil
jmp 0x1400151e9
mov byte [rbx + 0xe04], 0
mov rax, qword [0x14015da58]
xor edi, edi
test rax, rax
je 0x140015200
mov rcx, qword [rax + 0xa0]
jmp 0x140015203
mov rcx, rdi
cmp qword [rcx + 0x18], rdi
jne 0x140015224
test rax, rax
je 0x140015224
mov rcx, qword [rax + 0xa0]
test rcx, rcx
je 0x140015224
cmp qword [rcx], rdi
je 0x140015224
call fcn.14005fbd0
call fcn.1400605d0
call fcn.14003b3d0
mov rax, qword [0x14015da58]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax + 0x48a8]
mov rcx, qword [rcx]
call fcn.14003aa10
movd xmm0, dword [0x14015e1b8]
lea r8, [rsp + 0x50]
movd xmm1, dword [0x14015da98]
lea rdx, [rsp + 0x58]
cvtdq2ps xmm0, xmm0
mov dword [rsp + 0x28], edi
mov r9d, 0xff000000
mov rcx, rax
mov qword [rsp + 0x58], rdi
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x50], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
movss dword [rsp + 0x54], xmm1
call fcn.140057a40
call fcn.1400100e0
call fcn.140014070
call fcn.14003d040
mov rcx, qword [0x14015da40]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x14015da40]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x14015da40]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14015da40]
mov r9d, esi
movss xmm0, dword [0x1400e9634]
xor r8d, r8d
mov dword [rsp + 0x30], edi
xor edx, edx
movss dword [rsp + 0x28], xmm0
mov rax, qword [rcx]
mov dword [rsp + 0x20], edi
call qword [rax + 0x158]
mov rcx, qword [0x14015da40]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140015366
call fcn.14003d400
mov rax, qword [0x14015da58]
mov rcx, qword [rax + 0x48a8]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], dil
cmove rcx, rdi
call fcn.14005f610
mov rcx, qword [0x14015da40]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x14015da40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140015444
mov rcx, qword [0x14015da40]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x140015444
mov rbx, qword [0x14015da58]
test rbx, rbx
je 0x14001540b
mov rbx, qword [rbx + 0xa0]
test rbx, rbx
je 0x14001540b
cmp qword [rbx], rdi
je 0x14001540b
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400153d6
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 8], rdi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400153e9
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14001540b
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [0x14015da58]
mov qword [rbx + 0x18], rdi
mov rcx, qword [rax + 0x58]
mov qword [rcx + 8], rdi
mov rcx, qword [0x14015da40]
lea rdx, [0x14015da00]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rbx, qword [0x14015da58]
test rbx, rbx
je 0x14001544b
mov rax, qword [rbx + 0xa0]
test rax, rax
je 0x14001544b
cmp qword [rax], rdi
je 0x14001544b
call fcn.14005fbd0
mov rbx, qword [0x14015da58]
movzx ecx, byte [0x14015ce59]
cmp cl, byte [0x14015ce58]
je 0x140015512
test cl, cl
mov eax, 0x80000000
cmovne eax, esi
mov dword [0x14015da3c], eax
test rbx, rbx
je 0x1400154cc
mov rbx, qword [rbx + 0xa0]
test rbx, rbx
je 0x1400154cc
cmp qword [rbx], rdi
je 0x1400154cc
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140015497
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 8], rdi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400154aa
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400154cc
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [0x14015da58]
mov qword [rbx + 0x18], rdi
mov rcx, qword [rax + 0x58]
mov qword [rcx + 8], rdi
mov rcx, qword [0x14015da40]
lea rdx, [0x14015da00]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x14015da58]
test rax, rax
je 0x140015505
mov rax, qword [rax + 0xa0]
test rax, rax
je 0x140015505
cmp qword [rax], rdi
je 0x140015505
call fcn.14005fbd0
movzx eax, byte [0x14015ce59]
mov byte [0x14015ce58], al
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret