Function at 0x14004edb0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1400eb080]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rcx, qword [0x140168a90]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140168a90]
call qword [sym.imp.USER32.dll_UpdateWindow]
xorps xmm0, xmm0
xor esi, esi
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14004ee55
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x14004ee20
mov rbx, qword [0x140168020]
lea rcx, [rsp + 0x30]
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rax, qword [rsp + 0x30]
cmp eax, dword [0x1401689c8]
jne 0x14004ee87
mov ecx, dword [0x1401689cc]
cmp dword [rsp + 0x34], ecx
je 0x14004eeb3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe40], xmm0
movd xmm1, dword [rsp + 0x34]
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0xe44], xmm1
mov rax, qword [rsp + 0x30]
mov qword [0x1401689c8], rax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
cmp al, byte [0x1401689c0]
je 0x14004eef2
mov byte [rbx + 0xe48], al
test al, al
je 0x14004eeec
mov byte [rbx + 0x3860], 1
movsd xmm0, qword [rbx + 0xe40]
movsd qword [rbx + 0x3810], xmm0
mov byte [0x1401689c0], al
mov rax, qword [0x140168020]
test rax, rax
je 0x14004ef07
mov rcx, qword [rax + 0x98]
jmp 0x14004ef0a
mov rcx, rsi
cmp qword [rcx + 0x48], rsi
jne 0x14004ef15
call fcn.14000e1e0
call fcn.14000f420
call fcn.1400177f0
call fcn.140050dd0
mov ecx, reloc.WLDAP32.dll_Ordinal_45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14004ef45
cmp byte [reloc.WS2_32.dll_accept], sil
sete al
mov byte [reloc.WS2_32.dll_accept], al
jmp 0x14004ef4c
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x14004ef55
call fcn.14004d270
call fcn.140019910
mov rcx, qword [0x140168af0]
lea r8, [0x140168a88]
xor r9d, r9d
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [0x140168af0]
lea r8, [0x140168988]
mov rdx, qword [0x140168a88]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x140168020]
mov rcx, qword [rax + 0x4b10]
mov rax, qword [rcx]
mov rcx, rsi
add rax, 0x48
cmp byte [rax], sil
cmovne rcx, rax
call fcn.14000d780
mov rcx, qword [0x140168a98]
xor r8d, r8d
movzx edx, byte [0x1400eb1a8]
mov rax, qword [rcx]
call qword [rax + 0x40]
cmp dword [rsp + 0x40], 0x12
jne 0x14004ee01
mov rbx, qword [0x140168020]
test rbx, rbx
je 0x14004eff1
mov rdi, qword [rbx + 0x98]
jmp 0x14004eff4
mov rdi, rsi
call fcn.14000e720
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14004f008
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14004f016
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14004f025
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
and dword [rbx + 0xc], 0xfffffff7
mov r8, qword [0x140168020]
mov qword [rbx + 0x88], rsi
mov qword [rbx + 0x98], rsi
test r8, r8
je 0x14004f0a2
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14004f097
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rcx, [r8 + 0x60f4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], esi
inc word [rcx + 6]
inc dword [r8 + 0x60ec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r8, qword [0x140168020]
test r8, r8
je 0x14004f0c0
mov rdi, qword [r8 + 0x90]
jmp 0x14004f0c3
mov rdi, rsi
mov rcx, qword [rdi + 0x38]
lea rbx, [r8 + 8]
test rcx, rcx
je 0x14004f0dd
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r8, qword [0x140168020]
and dword [rbx + 4], 0xfffffff8
mov qword [rbx + 0x78], rsi
mov qword [rbx + 0x88], rsi
test r8, r8
je 0x14004f150
movsx rdx, word [r8 + 0x60f0]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rdx*8 + 0x60f4]
add rcx, r8
cmp dword [rcx], r9d
je 0x14004f145
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rcx, [rax*8 + 0x60f4]
add rcx, r8
mov dword [rcx], r9d
mov dword [rcx + 4], esi
inc word [rcx + 6]
inc dword [r8 + 0x60ec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140168020]
mov qword [0x140168020], rbx
call fcn.140015800
mov qword [0x140168020], rsi
test rbx, rbx
je 0x14004f1f5
mov rcx, rbx
call fcn.14002bf90
mov r8, qword [0x140168020]
test r8, r8
je 0x14004f1ec
movsx r10, word [r8 + 0x60f0]
lea rdx, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x14004f1e1
lea ecx, [r10 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
lea rdx, [r8 + 0x60f4]
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
mov dword [rdx + 4], esi
inc word [rdx + 6]
inc dword [r8 + 0x60ec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400bc820
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret