Function at 0x1400129f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
xorps xmm0, xmm0
xor esi, esi
movups xmmword [0x1401e7c90], xmm0
movups xmmword [0x1401e7ca0], xmm0
movups xmmword [0x1401e7cb0], xmm0
nop dword [rax]
mov rdx, qword [0x1401e80f8]
lea rcx, [0x1401e7c90]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140012a60
lea rcx, [0x1401e7c90]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1401e7c90]
call qword [sym.imp.USER32.dll_DispatchMessageW]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x1401e7be8]
cmp rax, rcx
jne 0x140012ab8
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x1401e80f8]
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 [0x1401e7be8]
xorps xmm0, xmm0
mov qword [rsp + 0x60], rsi
lea rdx, [rsp + 0x40]
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x1401e7be8]
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x60]
lea rcx, [rsp + 0x68]
mov rbx, qword [0x1401e7d40]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x44], eax
mov rax, qword [0x1401e7be8]
or dword [rbx + 8], 3
mov qword [rbx + 0xd0], rax
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rsp + 0x68]
mov ecx, 1
sub eax, dword [rsp + 0x60]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe08], xmm0
mov eax, dword [rsp + 0x6c]
sub eax, dword [rsp + 0x64]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe0c], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140012b77
mov byte [rbx + 0xe10], 1
mov eax, dword [rbx + 0xe0c]
mov dword [rbx + 0x36f8], eax
mov byte [rbx + 0x3748], 1
jmp 0x140012b7e
mov byte [rbx + 0xe10], sil
mov eax, dword [0x1401e8318]
mov ecx, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x48]
cmp dword [rsp + 0x40], eax
jne 0x140012bae
cmp edx, dword [0x1401e8320]
jne 0x140012bae
mov eax, dword [0x1401e831c]
cmp dword [rsp + 0x44], eax
jne 0x140012bae
cmp ecx, dword [0x1401e8324]
je 0x140012c09
movups xmm0, xmmword [rsp + 0x40]
mov r9d, dword [rsp + 0x64]
lea eax, [rcx - 3]
mov r8d, dword [rsp + 0x60]
add r9d, 2
mov dword [0x1401e7d54], ecx
add r8d, 2
mov dword [0x1401e7c14], ecx
lea ecx, [rdx - 3]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov rcx, qword [0x1401e80f8]
mov dword [0x1401e7d90], edx
mov dword [0x1401e7c10], edx
xor edx, edx
movups xmmword [0x1401e8318], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rax, qword [0x1401e7d40]
test rax, rax
je 0x140012c1e
mov rcx, qword [rax + 0xa0]
jmp 0x140012c21
mov rcx, rsi
cmp qword [rcx + 0x48], rsi
jne 0x140012c2c
call fcn.1400488d0
call fcn.140049830
call fcn.14001e5f0
mov ecx, reloc.WLDAP32.dll_Ordinal_45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140012c57
cmp byte [reloc.WS2_32.dll_accept], sil
sete al
mov byte [reloc.WS2_32.dll_accept], al
jmp 0x140012c5e
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
mov rax, qword [0x1401e7d40]
je 0x140012c74
mov byte [rax + 0x78], 1
call fcn.140002460
jmp 0x140012c78
mov byte [rax + 0x78], sil
call fcn.14000e0a0
mov rcx, qword [0x1401e7be0]
lea r8, [0x1401e7d00]
xor r9d, r9d
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [0x1401e7be0]
lea r8, [0x1401e7ce8]
mov rdx, qword [0x1401e7d00]
mov rax, qword [rcx]
call qword [rax + 0x190]
call fcn.1400206b0
mov rax, qword [0x1401e7d40]
mov rcx, qword [rax + 0x48d0]
mov rax, qword [rcx]
mov rcx, rsi
add rax, 0x48
cmp byte [rax], cl
cmovne rcx, rax
call fcn.140047ea0
mov rcx, qword [0x1401e7c80]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [0x1401e7c80]
xor r8d, r8d
cmp byte [0x1401e7c08], sil
mov rax, qword [rcx]
je 0x140012d0f
lea edx, [r8 + 1]
jmp 0x140012d11
xor edx, edx
call qword [rax + 0x40]
cmp dword [0x1401e7c98], 0x12
jne 0x140012a20
mov rbx, qword [0x1401e7d40]
test rbx, rbx
je 0x140012d36
mov rdi, qword [rbx + 0xa0]
jmp 0x140012d39
mov rdi, rsi
call fcn.140048db0
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140012d4d
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi]
test rcx, rcx
je 0x140012d5b
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140012d6a
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
and dword [rbx + 0xc], 0xfffffff7
mov rax, qword [0x1401e7d40]
mov qword [rbx + 0x90], rsi
mov qword [rbx + 0xa0], rsi
test rax, rax
je 0x140012d8e
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1401e7d40]
test rax, rax
je 0x140012dac
mov rdi, qword [rax + 0x98]
jmp 0x140012daf
mov rdi, rsi
mov rcx, qword [rdi + 0x30]
lea rbx, [rax + 8]
test rcx, rcx
je 0x140012dc9
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x1401e7d40]
and dword [rbx + 4], 0xfffffff8
mov qword [rbx + 0x80], rsi
mov qword [rbx + 0x90], rsi
test rax, rax
je 0x140012de6
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1401e7d40]
mov qword [0x1401e7d40], rbx
call fcn.14001c600
mov qword [0x1401e7d40], rsi
test rbx, rbx
je 0x140012e31
mov rcx, rbx
call fcn.1400333a0
mov rax, qword [0x1401e7d40]
test rax, rax
je 0x140012e28
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1401e80f8]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
jmp qword [sym.imp.USER32.dll_DestroyWindow]