Function at 0x1400157a0
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, [0x140189de0]
movups xmmword [0x140473de0], xmm0
xor esi, esi
mov r14d, 0xffff
movups xmmword [0x140473df0], xmm0
lea rdi, [0x14015c3f8]
movups xmmword [0x140473e00], xmm0
lea r12, [0x1401765d0]
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [0x1404743a0]
lea rcx, [0x140473de0]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140015840
lea rcx, [0x140473de0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140473de0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x140473d38]
cmp rax, rcx
jne 0x140015898
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x1404743a0]
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 [0x140473d38]
xorps xmm0, xmm0
mov qword [rbp + 0x90], rsi
lea rdx, [0x140473ec0]
movups xmmword [0x140473ec0], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x140473d38]
lea rdx, [rbp + 0x90]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp + 0x90]
lea rdx, [rbp - 0x30]
mov rbx, qword [0x140473f20]
xorps xmm2, xmm2
mov dword [0x140473ec0], eax
mov eax, dword [rbp + 0x94]
mov dword [0x140473ec4], eax
mov rax, qword [0x140473d38]
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.14004afc0
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.14004afc0
lea rcx, [rbp + 0x98]
mov qword [0x140473ea0], 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 0x140015abc
mov byte [rbx + 0xe04], 1
mov eax, dword [rbx + 0xe00]
mov dword [rbx + 0x36e8], eax
mov byte [rbx + 0x3738], 1
jmp 0x140015ac3
mov byte [rbx + 0xe04], sil
mov eax, dword [0x140474748]
cmp dword [0x140473ec0], eax
mov edx, dword [0x140473ecc]
mov ecx, dword [0x140473ec8]
jne 0x140015afb
cmp ecx, dword [0x140474750]
jne 0x140015afb
mov eax, dword [0x14047474c]
cmp dword [0x140473ec4], eax
jne 0x140015afb
cmp edx, dword [0x140474754]
je 0x140015b5c
movups xmm0, xmmword [0x140473ec0]
mov r9d, dword [rbp + 0x94]
lea eax, [rdx - 3]
mov r8d, dword [rbp + 0x90]
add r9d, 2
mov dword [0x140474024], ecx
add r8d, 2
mov dword [0x140473d60], ecx
add ecx, 0xfffffffd
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov rcx, qword [0x1404743a0]
mov dword [0x140473ff8], edx
mov dword [0x140473d64], edx
xor edx, edx
movups xmmword [0x140474748], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rax, qword [0x140473f20]
test rax, rax
je 0x140015b71
mov rcx, qword [rax + 0xa0]
jmp 0x140015b74
mov rcx, rsi
cmp qword [rcx + 0x48], rsi
jne 0x140015b7f
call fcn.140051710
call fcn.1400524d0
call fcn.140027f60
mov ecx, reloc.WLDAP32.dll_Ordinal_46
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140015baa
cmp byte [reloc.WS2_32.dll_accept], sil
sete al
mov byte [reloc.WS2_32.dll_accept], al
jmp 0x140015bb1
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
mov rax, qword [0x140473f20]
je 0x140015bc7
mov byte [rax + 0x78], 1
call fcn.140003cc0
jmp 0x140015bcb
mov byte [rax + 0x78], sil
call fcn.140010dd0
mov rcx, qword [0x140473d30]
lea r8, [0x140473ed0]
xor r9d, r9d
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [0x140473d30]
lea r8, [0x140473eb0]
mov rdx, qword [0x140473ed0]
mov rax, qword [rcx]
call qword [rax + 0x190]
call fcn.140029fa0
mov rax, qword [0x140473f20]
mov rcx, qword [rax + 0x48a8]
mov rax, qword [rcx]
mov rcx, rsi
add rax, 0x48
cmp byte [rax], cl
cmovne rcx, rax
call fcn.140050ce0
mov rcx, qword [0x140473dd0]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [0x140473dd0]
xor r8d, r8d
cmp byte [0x140473d4c], sil
mov rax, qword [rcx]
je 0x140015c62
lea edx, [r8 + 1]
jmp 0x140015c64
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 [0x140473de8], 0x12
jne 0x140015800
mov rdi, qword [0x140473f20]
test rdi, rdi
je 0x140015c9a
mov rbx, qword [rdi + 0xa0]
jmp 0x140015c9d
mov rbx, rsi
call fcn.140051bf0
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140015cb1
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140015cbf
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140015cce
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [0x140473f20]
mov qword [rdi + 0x90], rsi
mov qword [rdi + 0xa0], rsi
test rax, rax
je 0x140015cee
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140473f20]
test rax, rax
je 0x140015d0c
mov rbx, qword [rax + 0x98]
jmp 0x140015d0f
mov rbx, rsi
mov rcx, qword [rbx + 0x30]
lea rdi, [rax + 8]
test rcx, rcx
je 0x140015d29
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x140473f20]
mov qword [rdi + 0x80], rsi
mov qword [rdi + 0x90], rsi
test rax, rax
je 0x140015d42
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140473f20]
mov qword [0x140473f20], rbx
call fcn.140025de0
mov qword [0x140473f20], rsi
test rbx, rbx
je 0x140015d8d
mov rcx, rbx
call fcn.14003b8f0
mov rax, qword [0x140473f20]
test rax, rax
je 0x140015d84
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1404743a0]
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]