Function at 0x14005bec0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1400f0080]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov dword [rbp - 0x70], 0x50
mov dword [rbp - 0x6c], 0x40
lea rax, [0x14005c940]
mov qword [rbp - 0x68], rax
xor r12d, r12d
mov qword [rbp - 0x60], r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp - 0x58], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
movabs r14, 0xef57f6e7b1d1e614
mov qword [rsp + 0x60], r14
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x80], rax
movabs rsi, 0x23e0c7af6cc0f79d
mov qword [rsp + 0x60], rsi
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x78], rax
movabs rdi, 0x993e828ec2bf8347
mov qword [rsp + 0x60], rdi
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0x20], rax
movabs rbx, 0x23e0c7af6cb983f4
mov qword [rsp + 0x60], rbx
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0x28], rax
movdqa xmm0, xmmword [rbp - 0x80]
xorps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp - 0x80], xmm0
lea rax, [rbp - 0x80]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], r12
lea rcx, [rbp - 0x70]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov qword [rsp + 0x60], r14
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x60], rsi
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x60], rdi
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0x30], rax
mov qword [rsp + 0x60], rbx
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0x38], rax
movdqa xmm0, xmmword [rsp + 0x70]
xorps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x58], r12
mov rax, qword [rbp - 0x58]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], 5
mov dword [rsp + 0x30], 5
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
mov r9d, 0x80000000
lea r8, [rsp + 0x70]
mov rdx, qword [rbp - 0x30]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rbx, rax
mov qword [0x1400f1550], rax
lea ecx, [r12 + 0x20]
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov rcx, rax
mov qword [0x1400f1548], rax
test rax, rax
je 0x14005c8c1
mov qword [0x1400f1500], r12
mov qword [0x1400f150c], r12
mov dword [0x1400f1514], r12d
mov qword [0x1400f151c], r12
mov dword [0x1400f1524], r12d
mov qword [0x1400f1534], r12
mov dword [0x1400f1528], 1
mov dword [0x1400f1518], 1
mov dword [0x1400f1508], r12d
mov dword [0x1400f152c], 1
mov dword [0x1400f1530], 0x50
mov dword [0x1400f153c], 1
mov rax, qword [rax]
lea rdx, [0x1400f1540]
mov qword [rsp + 0x30], rdx
lea rdx, [0x1400f1500]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
mov r9, rbx
xor edx, edx
lea r8d, [r12 + 1]
call qword [rax + 0x80]
test eax, eax
js 0x14005c8ba
xor edx, edx
mov rcx, qword [0x1400f1550]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400f1550]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [0x1400f14f0]
test rax, rax
je 0x14005c13d
inc dword [rax + 0x3b0]
mov ecx, 0x40b0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x70], rcx
mov qword [rbp - 0x80], rax
test rax, rax
je 0x14005c16c
xor edx, edx
mov rcx, rax
call fcn.140002390
jmp 0x14005c16f
mov rax, r12
cmp qword [0x1400f14f0], 0
jne 0x14005c180
mov qword [0x1400f14f0], rax
mov rcx, rax
call fcn.140008ff0
mov r13, qword [0x1400f14f0]
mov qword [r13 + 0x20], r12
or dword [r13 + 8], 0x400
mov dword [r13 + 0x1644], 0x3f000000
mov dword [r13 + 0x1728], 0x3f800000
call fcn.140036310
mov rcx, qword [0x1400f1540]
mov rbx, qword [0x1400f14f0]
lea rax, str.imgui_impl_dx9
mov qword [rbx + 0xe8], rax
or dword [rbx + 0xc], 0x1008
mov qword [0x1400f1a98], rcx
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
test dword [rbx + 8], 0x400
je 0x14005c23c
mov rax, qword [0x1400f14f0]
lea rcx, [fcn.140035fe0]
mov qword [rax + 0x15f0], rcx
lea rcx, [fcn.1400360b0]
mov qword [rax + 0x15f8], rcx
lea rcx, [0x140036130]
mov qword [rax + 0x1600], rcx
lea rcx, [0x140036190]
mov qword [rax + 0x1608], rcx
lea rcx, [0x1400362e0]
mov qword [rax + 0x1610], rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
movss xmm6, dword [0x1400dcef8]
nop dword [rax]
nop word [rax + rax]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x18]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14005c297
lea rcx, [rbp - 0x18]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x18]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x14005c780
cmp qword [0x1400f1a88], 0
jne 0x14005c2a6
call fcn.140035e70
mov rdi, qword [0x1400f14f0]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
lea rdx, [rbp - 0x80]
mov rcx, qword [0x1400f1ac0]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp - 0x78]
sub eax, dword [rbp - 0x80]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [rbp - 0x74]
sub eax, dword [rbp - 0x7c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x14005c343
mov rbx, qword [0x1400f14f0]
mov ecx, dword [rbx + 0x161c]
test ecx, ecx
jns 0x14005c321
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov edx, r12d
test eax, eax
cmovg edx, eax
lea rcx, [rbx + 0x1618]
call fcn.1400237d0
mov dword [rbx + 0x1618], r12d
xor r9d, r9d
lea r8, [0x140036d70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayMonitors]
mov byte [reloc.WS2_32.dll_accept], 0
mov qword [rbp - 0x20], r12
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
sub rax, qword [0x1400f1ac8]
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x1400f1ad0]
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1400f1ac8], rcx
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x13c], al
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x13d], al
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x13e], al
mov byte [rdi + 0x13f], 0
call fcn.140036890
cmp byte [rdi + 0xcf], 0
je 0x14005c3e1
mov eax, 0xffffffff
jmp 0x14005c3ee
mov rax, qword [0x1400f14f0]
mov eax, dword [rax + 0x20d0]
cmp dword [reloc.WS2_32.dll_htons], eax
je 0x14005c401
mov dword [reloc.WS2_32.dll_htons], eax
call fcn.140036710
call fcn.140036aa0
call fcn.140007cd0
cmp dword [0x1400f1b98], 0
jne 0x14005c5c2
xor ecx, ecx
call fcn.14002b7b0
mov rax, qword [0x1400f14f0]
mov dword [rax + 0x163c], 0x41000000
mov dword [rax + 0x1640], 0x41000000
mov dword [rax + 0x1648], 0x3f800000
mov dword [rax + 0x1670], 0x41000000
mov dword [rax + 0x1674], 0x40c00000
mov dword [rax + 0x1678], 0x40800000
mov dword [rax + 0x171c], 0x3df5c28f
mov dword [rax + 0x1720], 0x3df5c28f
mov dword [rax + 0x1724], 0x3df5c28f
mov dword [rax + 0x1728], 0x3f800000
mov dword [rax + 0x174c], 0x3ecccccd
mov dword [rax + 0x1750], 0x3f333333
mov dword [rax + 0x1754], 0x3f666666
mov dword [rax + 0x1758], 0x3f800000
mov dword [rax + 0x176c], 0x3e4ccccd
mov dword [rax + 0x1770], 0x3e4ccccd
mov dword [rax + 0x1774], 0x3e4ccccd
mov dword [rax + 0x1778], 0x3f800000
mov dword [rax + 0x177c], 0x3e800000
mov dword [rax + 0x1780], 0x3e800000
mov dword [rax + 0x1784], 0x3e800000
mov dword [rax + 0x1788], 0x3f800000
mov dword [rax + 0x184c], 0x3ecccccd
mov dword [rax + 0x1850], 0x3f333333
mov dword [rax + 0x1854], 0x3f666666
mov dword [rax + 0x1858], 0x3f800000
mov dword [rax + 0x186c], 0x3eb33333
mov dword [rax + 0x1870], 0x3f266666
mov dword [rax + 0x1874], 0x3f59999a
mov dword [rax + 0x1878], 0x3f800000
mov dword [rax + 0x185c], 0x3ec28f5c
mov dword [rax + 0x1860], 0x3f2e147b
mov dword [rax + 0x1864], 0x3f6147ae
mov dword [rax + 0x1868], 0x3f800000
mov dword [rax + 0x170c], 0x3f000000
mov dword [rax + 0x1710], 0x3f000000
mov dword [rax + 0x1714], 0x3f000000
mov dword [rax + 0x1718], 0x3f800000
mov dword [rax + 0x167c], 0x3f800000
mov dword [rax + 0x1668], 0x40400000
mov dword [0x1400f1b98], 1
jmp 0x14005c5dd
mov ecx, dword [0x1400f1558]
test ecx, ecx
je 0x14005c5d8
cmp ecx, 1
jne 0x14005c5dd
call fcn.14005da70
jmp 0x14005c5dd
call fcn.14005d160
call fcn.14000a410
mov rcx, qword [0x1400f1540]
mov rax, qword [rcx]
mov dword [rsp + 0x30], r12d
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], r12d
mov r9d, 3
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [0x1400f1540]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14005c65c
call fcn.14000a8e0
mov rax, qword [0x1400f14f0]
mov rcx, qword [rax + 0x1ef8]
mov rax, qword [rcx]
add rax, 0xa8
mov rcx, r12
cmp byte [rax], r12b
cmovne rcx, rax
call fcn.140035650
mov rcx, qword [0x1400f1540]
mov rax, qword [rcx]
call qword [rax + 0x150]
test dword [r13 + 8], 0x400
je 0x14005c73a
call fcn.140019b50
mov rbx, qword [0x1400f14f0]
mov r14d, 1
mov eax, dword [rbx + 0x1628]
cmp eax, r14d
jle 0x14005c6dc
mov esi, 8
nop dword [rax]
mov rax, qword [rbx + 0x1630]
mov rdi, qword [rsi + rax]
test dword [rdi + 4], 0x400
jne 0x14005c6ca
mov rax, qword [rbx + 0x15c0]
test rax, rax
je 0x14005c6b7
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x1608]
test rax, rax
je 0x14005c6ca
xor edx, edx
mov rcx, rdi
call rax
inc r14d
add rsi, 8
mov eax, dword [rbx + 0x1628]
cmp r14d, eax
jl 0x14005c690
mov r14d, 1
cmp eax, r14d
jle 0x14005c73a
mov esi, 8
nop dword [rax]
mov rax, qword [rbx + 0x1630]
mov rdi, qword [rsi + rax]
test dword [rdi + 4], 0x400
jne 0x14005c72a
mov rax, qword [rbx + 0x15c8]
test rax, rax
je 0x14005c717
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x1610]
test rax, rax
je 0x14005c72a
xor edx, edx
mov rcx, rdi
call rax
inc r14d
add rsi, 8
cmp r14d, dword [rbx + 0x1628]
jl 0x14005c6f0
mov rcx, qword [0x1400f1540]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14005c777
mov rcx, qword [0x1400f1540]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x14005c777
call fcn.14005be20
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x14005c78c
cmp dword [rbp - 0x10], 0x12
jne 0x14005c260
jmp 0x14005c793
mov dword [rbp - 0x10], reloc.WS2_32.dll_select
call fcn.14001a130
call fcn.140035f00
mov rcx, qword [0x1400f1a98]
test rcx, rcx
je 0x14005c7b6
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1400f1a98], r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rax
lea rcx, str.ImGui_Platform
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [0x1400f1aa8]
test rcx, rcx
je 0x14005c7e0
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x1400f1aa8], r12
mov qword [0x1400f1ab0], r12
mov qword [0x1400f1ab8], r12
mov qword [0x1400f1ac0], r12
mov qword [0x1400f1ac8], r12
mov qword [0x1400f1ad0], r12
mov dword [reloc.WS2_32.dll_htons], 9
mov byte [0x1400f15a4], 0
mov byte [reloc.WS2_32.dll_accept], 1
mov rbx, qword [0x1400f14f0]
mov rcx, rbx
call fcn.140009350
cmp qword [0x1400f14f0], rbx
jne 0x14005c841
mov qword [0x1400f14f0], r12
test rbx, rbx
je 0x14005c869
mov rcx, rbx
call fcn.1400242f0
mov rax, qword [0x1400f14f0]
test rax, rax
je 0x14005c860
dec dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1400f1540]
test rcx, rcx
je 0x14005c882
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1400f1540], r12
mov rcx, qword [0x1400f1548]
test rcx, rcx
je 0x14005c89b
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1400f1548], r12
mov rcx, qword [0x1400f1550]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.USER32.dll_UnregisterClassA]
xor eax, eax
jmp 0x14005c909
mov rcx, qword [0x1400f1548]
mov rdx, qword [0x1400f1540]
test rdx, rdx
je 0x14005c8e4
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1400f1540], r12
mov rcx, qword [0x1400f1548]
test rcx, rcx
je 0x14005c8f6
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov qword [0x1400f1548], r12
mov rdx, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov eax, 1
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1400c3380
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret