Function at 0x140015160
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, [0x140189dc0]
movups xmmword [0x140473dc0], xmm0
xor esi, esi
mov r14d, 0xffff
movups xmmword [0x140473dd0], xmm0
lea rdi, [0x14015c308]
movups xmmword [0x140473de0], xmm0
lea r12, [0x1401765d0]
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [0x140474380]
lea rcx, [0x140473dc0]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140015200
lea rcx, [0x140473dc0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140473dc0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x140473d18]
cmp rax, rcx
jne 0x140015258
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x140474380]
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 [0x140473d18]
xorps xmm0, xmm0
mov qword [rbp + 0x90], rsi
lea rdx, [0x140473ea0]
movups xmmword [0x140473ea0], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x140473d18]
lea rdx, [rbp + 0x90]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp + 0x90]
lea rdx, [rbp - 0x30]
mov rbx, qword [0x140473f00]
xorps xmm2, xmm2
mov dword [0x140473ea0], eax
mov eax, dword [rbp + 0x94]
mov dword [0x140473ea4], eax
mov rax, qword [0x140473d18]
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.14004a9c0
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.14004a9c0
lea rcx, [rbp + 0x98]
mov qword [0x140473e80], 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 0x14001547c
mov byte [rbx + 0xe04], 1
mov eax, dword [rbx + 0xe00]
mov dword [rbx + 0x36e8], eax
mov byte [rbx + 0x3738], 1
jmp 0x140015483
mov byte [rbx + 0xe04], sil
mov eax, dword [0x140474728]
cmp dword [0x140473ea0], eax
mov edx, dword [0x140473eac]
mov ecx, dword [0x140473ea8]
jne 0x1400154bb
cmp ecx, dword [0x140474730]
jne 0x1400154bb
mov eax, dword [0x14047472c]
cmp dword [0x140473ea4], eax
jne 0x1400154bb
cmp edx, dword [0x140474734]
je 0x14001551c
movups xmm0, xmmword [0x140473ea0]
mov r9d, dword [rbp + 0x94]
lea eax, [rdx - 3]
mov r8d, dword [rbp + 0x90]
add r9d, 2
mov dword [0x140474004], ecx
add r8d, 2
mov dword [0x140473d40], ecx
add ecx, 0xfffffffd
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov rcx, qword [0x140474380]
mov dword [0x140473fd8], edx
mov dword [0x140473d44], edx
xor edx, edx
movups xmmword [0x140474728], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rax, qword [0x140473f00]
test rax, rax
je 0x140015531
mov rcx, qword [rax + 0xa0]
jmp 0x140015534
mov rcx, rsi
cmp qword [rcx + 0x48], rsi
jne 0x14001553f
call fcn.140051110
call fcn.140051ed0
call fcn.140027960
mov ecx, reloc.WLDAP32.dll_Ordinal_46
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14001556a
cmp byte [reloc.WS2_32.dll_accept], sil
sete al
mov byte [reloc.WS2_32.dll_accept], al
jmp 0x140015571
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
mov rax, qword [0x140473f00]
je 0x140015587
mov byte [rax + 0x78], 1
call fcn.140003cf0
jmp 0x14001558b
mov byte [rax + 0x78], sil
call fcn.140010730
mov rcx, qword [0x140473d10]
lea r8, [0x140473eb0]
xor r9d, r9d
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [0x140473d10]
lea r8, [0x140473e90]
mov rdx, qword [0x140473eb0]
mov rax, qword [rcx]
call qword [rax + 0x190]
call fcn.1400299a0
mov rax, qword [0x140473f00]
mov rcx, qword [rax + 0x48a8]
mov rax, qword [rcx]
mov rcx, rsi
add rax, 0x48
cmp byte [rax], cl
cmovne rcx, rax
call fcn.1400506e0
mov rcx, qword [0x140473db0]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [0x140473db0]
xor r8d, r8d
cmp byte [0x140473d2c], sil
mov rax, qword [rcx]
je 0x140015622
lea edx, [r8 + 1]
jmp 0x140015624
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 [0x140473dc8], 0x12
jne 0x1400151c0
mov rdi, qword [0x140473f00]
test rdi, rdi
je 0x14001565a
mov rbx, qword [rdi + 0xa0]
jmp 0x14001565d
mov rbx, rsi
call fcn.1400515f0
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140015671
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001567f
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14001568e
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [0x140473f00]
mov qword [rdi + 0x90], rsi
mov qword [rdi + 0xa0], rsi
test rax, rax
je 0x1400156ae
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140473f00]
test rax, rax
je 0x1400156cc
mov rbx, qword [rax + 0x98]
jmp 0x1400156cf
mov rbx, rsi
mov rcx, qword [rbx + 0x30]
lea rdi, [rax + 8]
test rcx, rcx
je 0x1400156e9
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x140473f00]
mov qword [rdi + 0x80], rsi
mov qword [rdi + 0x90], rsi
test rax, rax
je 0x140015702
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140473f00]
mov qword [0x140473f00], rbx
call fcn.1400257e0
mov qword [0x140473f00], rsi
test rbx, rbx
je 0x14001574d
mov rcx, rbx
call fcn.14003b2f0
mov rax, qword [0x140473f00]
test rax, rax
je 0x140015744
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140474380]
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]