Function at 0x1400160f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
xorps xmm0, xmm0
lea r15, [0x14018ade0]
movups xmmword [0x1408f3060], xmm0
xor esi, esi
mov r14d, 0xffff
movups xmmword [0x1408f3070], xmm0
lea rdi, [0x14015d4b8]
movups xmmword [0x1408f3080], xmm0
lea r12, [0x1401775d0]
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [0x1408f3620]
lea rcx, [0x1408f3060]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140016190
lea rcx, [0x1408f3060]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1408f3060]
call qword [sym.imp.USER32.dll_DispatchMessageW]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x1408f2fb8]
cmp rax, rcx
jne 0x1400161e8
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x1408f3620]
mov r9d, 2
mov dword [rsp + 0x30], 3
mov r8d, r9d
mov dword [rsp + 0x28], 0xfffffffd
mov rdx, rax
mov dword [rsp + 0x20], 0xfffffffd
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1408f2fb8]
xorps xmm0, xmm0
mov qword [rbp + 0x90], rsi
lea rdx, [0x1408f3140]
movups xmmword [0x1408f3140], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x1408f2fb8]
lea rdx, [rbp + 0x90]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp + 0x90]
lea rdx, [rbp - 0x30]
mov rbx, qword [0x1408f31a0]
xorps xmm2, xmm2
mov dword [0x1408f3140], eax
mov eax, dword [rbp + 0x94]
mov dword [0x1408f3144], eax
mov rax, qword [0x1408f2fb8]
mov rcx, qword [rbx + 0x58]
or dword [rbx + 8], 3
movups xmmword [rsp + 0x50], xmm2
mov qword [rbx + 0xd0], rax
xor eax, eax
movups xmmword [rbp - 0x70], xmm2
mov qword [rbp - 0x40], rax
movups xmmword [rsp + 0x40], xmm2
mov byte [rsp + 0x4c], 1
movups xmm0, xmmword [rsp + 0x40]
mov dword [rsp + 0x58], 3
movups xmmword [rbp - 0x80], xmm2
mov dword [rsp + 0x5c], 1
movups xmm1, xmmword [rsp + 0x50]
mov dword [rbp - 0x7c], 0x7f7fffff
movaps xmmword [rbp - 0x30], xmm0
movups xmm0, xmmword [rbp - 0x80]
mov dword [rbp - 0x70], 0x3f800000
movaps xmmword [rbp - 0x20], xmm1
movaps xmmword [rbp + 0x10], xmm0
movsd xmm0, qword [rbp - 0x40]
movaps xmmword [rbp], xmm2
mov word [rbp - 0x6c], r14w
movups xmm1, xmmword [rbp - 0x70]
mov dword [rbx + 0x18], 0x3c888889
movsd qword [rbp + 0x50], xmm0
movaps xmmword [rbp - 0x10], xmm2
movaps xmmword [rbp + 0x20], xmm1
movaps xmmword [rbp + 0x30], xmm2
movaps xmmword [rbp + 0x40], xmm2
mov qword [rbp - 0x30], r15
mov dword [rbp - 0x28], 0x13368
mov dword [rbp - 0x1c], 0x41880000
mov qword [rbp + 8], rdi
call fcn.14004b7e0
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rsp + 0x50], xmm2
mov dword [rsp + 0x58], 3
movups xmmword [rbp - 0x70], xmm2
mov dword [rsp + 0x5c], 1
movups xmm1, xmmword [rsp + 0x50]
mov dword [rbp - 0x70], 0x3f800000
movups xmmword [rsp + 0x40], xmm2
mov byte [rsp + 0x4c], 1
movups xmm0, xmmword [rsp + 0x40]
mov word [rbp - 0x6c], r14w
movups xmmword [rbp - 0x80], xmm2
mov dword [rbp - 0x7c], 0x7f7fffff
movaps xmmword [rbp - 0x30], xmm0
movups xmm0, xmmword [rbp - 0x80]
mov qword [rbp - 0x40], rax
movaps xmmword [rbp - 0x20], xmm1
movups xmm1, xmmword [rbp - 0x70]
mov qword [rbp - 0x30], r12
movaps xmmword [rbp + 0x10], xmm0
movsd xmm0, qword [rbp - 0x40]
movsd qword [rbp + 0x50], xmm0
movaps xmmword [rbp - 0x10], xmm2
movaps xmmword [rbp], xmm2
movaps xmmword [rbp + 0x20], xmm1
movaps xmmword [rbp + 0x30], xmm2
movaps xmmword [rbp + 0x40], xmm2
mov dword [rbp - 0x28], 0x13328
mov dword [rbp - 0x1c], 0x41880000
mov rcx, qword [rbx + 0x58]
lea rdx, [rbp - 0x30]
mov qword [rbp + 8], rdi
call fcn.14004b7e0
lea rcx, [rbp + 0x98]
mov qword [0x1408f3120], rax
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rbp + 0x98]
mov ecx, 1
sub eax, dword [rbp + 0x90]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xdfc], xmm0
mov eax, dword [rbp + 0x9c]
sub eax, dword [rbp + 0x94]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe00], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14001640c
mov byte [rbx + 0xe04], 1
mov eax, dword [rbx + 0xe00]
mov dword [rbx + 0x36e8], eax
mov byte [rbx + 0x3738], 1
jmp 0x140016413
mov byte [rbx + 0xe04], sil
mov eax, dword [0x1408f39c8]
cmp dword [0x1408f3140], eax
mov edx, dword [0x1408f314c]
mov ecx, dword [0x1408f3148]
jne 0x14001644b
cmp ecx, dword [0x1408f39d0]
jne 0x14001644b
mov eax, dword [0x1408f39cc]
cmp dword [0x1408f3144], eax
jne 0x14001644b
cmp edx, dword [0x1408f39d4]
je 0x1400164ac
movups xmm0, xmmword [0x1408f3140]
mov r9d, dword [rbp + 0x94]
lea eax, [rdx - 3]
mov r8d, dword [rbp + 0x90]
add r9d, 2
mov dword [0x1408f32a4], ecx
add r8d, 2
mov dword [0x1408f2fe0], ecx
add ecx, 0xfffffffd
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov rcx, qword [0x1408f3620]
mov dword [0x1408f3278], edx
mov dword [0x1408f2fe4], edx
xor edx, edx
movups xmmword [0x1408f39c8], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rax, qword [0x1408f31a0]
test rax, rax
je 0x1400164c1
mov rcx, qword [rax + 0xa0]
jmp 0x1400164c4
mov rcx, rsi
cmp qword [rcx + 0x48], rsi
jne 0x1400164cf
call fcn.140051f30
call fcn.140052cf0
call fcn.140028780
mov ecx, reloc.WLDAP32.dll_Ordinal_46
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400164fa
cmp byte [0x1408f1d18], sil
sete al
mov byte [0x1408f1d18], al
jmp 0x140016501
movzx eax, byte [0x1408f1d18]
test al, al
mov rax, qword [0x1408f31a0]
je 0x140016517
mov byte [rax + 0x78], 1
call fcn.140004140
jmp 0x14001651b
mov byte [rax + 0x78], sil
call fcn.1400116c0
mov rcx, qword [0x1408f2fb0]
lea r8, [0x1408f3150]
xor r9d, r9d
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [0x1408f2fb0]
lea r8, [0x1408f3130]
mov rdx, qword [0x1408f3150]
mov rax, qword [rcx]
call qword [rax + 0x190]
call fcn.14002a7c0
mov rax, qword [0x1408f31a0]
mov rcx, qword [rax + 0x48a8]
mov rax, qword [rcx]
mov rcx, rsi
add rax, 0x48
cmp byte [rax], cl
cmovne rcx, rax
call fcn.140051500
mov rcx, qword [0x1408f3050]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [0x1408f3050]
xor r8d, r8d
cmp byte [0x1408f2fcc], sil
mov rax, qword [rcx]
je 0x1400165b2
lea edx, [r8 + 1]
jmp 0x1400165b4
xor edx, edx
call qword [rax + 0x40]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x1408f3068], 0x12
jne 0x140016150
mov rdi, qword [0x1408f31a0]
test rdi, rdi
je 0x1400165ea
mov rbx, qword [rdi + 0xa0]
jmp 0x1400165ed
mov rbx, rsi
call fcn.140052410
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140016601
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001660f
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14001661e
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [0x1408f31a0]
mov qword [rdi + 0x90], rsi
mov qword [rdi + 0xa0], rsi
test rax, rax
je 0x14001663e
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1408f31a0]
test rax, rax
je 0x14001665c
mov rbx, qword [rax + 0x98]
jmp 0x14001665f
mov rbx, rsi
mov rcx, qword [rbx + 0x30]
lea rdi, [rax + 8]
test rcx, rcx
je 0x140016679
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x1408f31a0]
mov qword [rdi + 0x80], rsi
mov qword [rdi + 0x90], rsi
test rax, rax
je 0x140016692
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1408f31a0]
mov qword [0x1408f31a0], rbx
call fcn.140026600
mov qword [0x1408f31a0], rsi
test rbx, rbx
je 0x1400166dd
mov rcx, rbx
call fcn.14003c110
mov rax, qword [0x1408f31a0]
test rax, rax
je 0x1400166d4
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1408f3620]
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
jmp qword [sym.imp.USER32.dll_DestroyWindow]