Function at 0x14005aa00
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, [rax - 0x228]
sub rsp, 0x300
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x1401ba200]
xor rax, rsp
mov qword [rbp + 0x1c8], rax
mov dword [rbp + 0x140], 0x50
mov dword [rbp + 0x144], 0x40
lea rax, [0x14005a930]
mov qword [rbp + 0x148], rax
xor r12d, r12d
mov qword [rbp + 0x150], r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0x158], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x160], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x170], xmm1
mov rax, qword [0x14039a1e0]
mov qword [rbp + 0x180], rax
mov qword [rbp + 0x188], r12
lea rcx, [rbp + 0x140]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov qword [rsp + 0x58], r12
mov rax, qword [rbp + 0x158]
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
mov r8, qword [0x14039a1e0]
mov rdx, qword [rbp + 0x180]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rbx, rax
mov qword [0x140399da8], rax
lea ecx, [r12 + 0x20]
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov rcx, rax
mov qword [0x140399db0], rax
test rax, rax
je 0x14005b48b
mov qword [0x140399dd0], r12
mov qword [0x140399ddc], r12
mov dword [0x140399de4], r12d
mov qword [0x140399dec], r12
mov dword [0x140399df4], r12d
mov qword [0x140399e04], r12
mov dword [0x140399df8], 1
mov dword [0x140399de8], 1
mov dword [0x140399dd8], r12d
mov dword [0x140399dfc], 1
mov dword [0x140399e00], 0x50
mov dword [0x140399e0c], 1
mov rax, qword [rax]
lea rdx, [0x140399dc8]
mov qword [rsp + 0x30], rdx
lea r15, [0x140399dd0]
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x40
mov r9, rbx
xor edx, edx
lea r8d, [r12 + 1]
call qword [rax + 0x80]
test eax, eax
js 0x14005b484
xor edx, edx
mov rcx, qword [0x140399da8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140399da8]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [0x140399cd0]
test rax, rax
je 0x14005abfc
inc dword [rax + 0x3b0]
mov ecx, 0x40b0
call fcn.1400cfb30
mov qword [rbp + 0x190], rax
lea rcx, [rsp + 0x60]
mov qword [rbp + 0x90], rcx
mov qword [rbp + 0x130], rax
test rax, rax
je 0x14005ac31
xor edx, edx
mov rcx, rax
call fcn.14000b990
jmp 0x14005ac34
mov rax, r12
cmp qword [0x140399cd0], 0
jne 0x14005ac45
mov qword [0x140399cd0], rax
mov rcx, rax
call fcn.140012990
mov r13, qword [0x140399cd0]
mov qword [r13 + 0x20], r12
or dword [r13 + 8], 0x400
mov dword [r13 + 0x1644], r12d
mov dword [r13 + 0x1728], 0x3f800000
call fcn.14003f290
mov rcx, qword [0x140399dc8]
mov rbx, qword [0x140399cd0]
lea rax, str.imgui_impl_dx9
mov qword [rbx + 0xe8], rax
or dword [rbx + 0xc], 0x1008
mov qword [0x140399d68], rcx
mov rax, qword [rcx]
call qword [rax + htons]
test dword [rbx + 8], 0x400
je 0x14005acfd
mov rax, qword [0x140399cd0]
lea rcx, [fcn.14003ef60]
mov qword [rax + 0x15f0], rcx
lea rcx, [fcn.14003f030]
mov qword [rax + 0x15f8], rcx
lea rcx, [0x14003f0b0]
mov qword [rax + 0x1600], rcx
lea rcx, [0x14003f110]
mov qword [rax + 0x1608], rcx
lea rcx, [0x14003f260]
mov qword [rax + 0x1610], rcx
xorps xmm6, xmm6
xor eax, eax
movups xmmword [rbp], xmm6
movups xmmword [rbp + 0x10], xmm6
movups xmmword [rbp + 0x20], xmm6
movups xmmword [rbp + 0x40], xmm6
movups xmmword [rbp + 0x50], xmm6
mov qword [rbp + 0x80], rax
mov byte [rbp + 0xc], 1
mov dword [rbp + 0x44], 0x7f7fffff
movss xmm8, dword [0x14019bccc]
mov dword [rbp + 0x50], 0x3f800000
mov ecx, 0xffff
mov word [rbp + 0x54], cx
xorps xmm2, xmm2
movups xmmword [rsp + 0x70], xmm2
movups xmmword [rbp - 0x80], xmm2
movups xmmword [rbp - 0x50], xmm2
movups xmmword [rbp - 0x40], xmm2
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x78], 3
mov dword [rbp - 0x74], 1
mov dword [rbp - 0x4c], 0x7f7fffff
mov dword [rbp - 0x40], 0x3f800000
mov word [rbp - 0x3c], cx
mov byte [rsp + 0x7c], al
mov byte [rbp + 0x48], 1
mov byte [rbp + 0x20], 1
mov dword [rbp + 0x18], 3
mov dword [rbp + 0x1c], 3
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rbp + 0xa0], xmm0
movaps xmm1, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0xb0], xmm1
movaps xmmword [rbp + 0xc0], xmm2
movaps xmmword [rbp + 0xd0], xmm2
movaps xmm0, xmmword [rbp - 0x50]
movaps xmmword [rbp + 0xe0], xmm0
movaps xmm1, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0xf0], xmm1
movaps xmmword [rbp + 0x100], xmm2
movaps xmmword [rbp + 0x110], xmm2
movsd xmm0, qword [rbp - 0x10]
movsd qword [rbp + 0x120], xmm0
lea rax, [0x14012d690]
mov qword [rbp + 0xa0], rax
mov dword [rbp + 0xa8], 0x225bc
mov dword [rbp + 0xb4], 0x41700000
lea rdx, [rbp + 0xa0]
mov rcx, qword [r13 + 0xa8]
call fcn.140038770
mov r14, qword [r13 + 0xa8]
mov rax, qword [0x140399cd0]
test rax, rax
je 0x14005ae37
inc dword [rax + 0x3b0]
mov ecx, 0x286ac
call fcn.1400cfb30
mov rsi, rax
lea rax, [0x14010eff0]
mov qword [0x140399d38], rax
lea rdi, [rsi + 0x286ac]
mov qword [0x140399d40], rdi
mov qword [0x140399d48], rsi
mov qword [0x140399d50], rsi
lea rbx, [0x14010f000]
mov rcx, rbx
call fcn.14003d800
cmp rax, rbx
je 0x14005ae9b
cmp qword [0x140399d50], rdi
ja 0x14005ae9b
mov rbx, rax
mov rcx, rax
call fcn.14003d800
cmp rax, rbx
jne 0x14005ae82
movaps xmm0, xmmword [rbp]
movaps xmmword [rbp + 0xa0], xmm0
movaps xmm2, xmmword [rbp + 0x10]
movaps xmm3, xmmword [rbp + 0x20]
movaps xmm4, xmmword [rbp + 0x40]
movaps xmm5, xmmword [rbp + 0x50]
movsd xmm1, qword [rbp + 0x80]
mov byte [rbp + 0xac], 1
movaps xmm0, xmmword [rbp + 0xa0]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rbp - 0x80], xmm2
movaps xmmword [rbp - 0x70], xmm3
movaps xmmword [rbp - 0x60], xmm6
movaps xmmword [rbp - 0x50], xmm4
movaps xmmword [rbp - 0x40], xmm5
movaps xmmword [rbp - 0x30], xmm6
movaps xmmword [rbp - 0x20], xmm6
movsd qword [rbp - 0x10], xmm1
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x78], 0x286ac
mov dword [rbp - 0x7c], 0x42020000
lea rax, [0x1401927f4]
mov qword [rbp - 0x58], rax
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.140038770
mov rcx, qword [r13 + 0xa8]
call fcn.140038a20
xorps xmm0, xmm0
movups xmmword [rbp + 0x198], xmm0
movups xmmword [rbp + 0x1a8], xmm0
movups xmmword [rbp + 0x1b8], xmm0
xorps xmm7, xmm7
movss xmm6, dword [0x14019bc88]
nop dword [rax]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x198]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14005af90
lea rcx, [rbp + 0x198]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x198]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x14005b33f
cmp qword [0x140399d58], 0
jne 0x14005af9f
call fcn.14003edf0
mov rbx, qword [0x140399cd0]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x130], xmm0
lea rdx, [rbp + 0x130]
mov rcx, qword [0x140399d90]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp + 0x138]
sub eax, dword [rbp + 0x130]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [rbp + 0x13c]
sub eax, dword [rbp + 0x134]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x10], xmm1
movss dword [rbx + 0x14], xmm0
cmp byte [0x140391291], 0
je 0x14005b003
call fcn.14003ffe0
mov qword [rbp + 0x190], r12
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp + 0x190]
mov rax, rcx
sub rax, qword [0x140399d98]
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x140399da0]
divss xmm1, xmm0
movss dword [rbx + 0x18], xmm1
mov qword [0x140399d98], rcx
mov ecx, send
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rbx + 0x13c], al
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rbx + 0x13d], al
mov ecx, send
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rbx + 0x13e], al
mov byte [rbx + 0x13f], 0
call fcn.14003f810
cmp byte [rbx + 0xcf], 0
je 0x14005b0aa
mov eax, 0xffffffff
jmp 0x14005b0b7
mov rax, qword [0x140399cd0]
mov eax, dword [rax + 0x20d0]
cmp dword [reloc.WS2_32.dll_htons], eax
je 0x14005b0ca
mov dword [reloc.WS2_32.dll_htons], eax
call fcn.14003f690
call fcn.14003fa20
call fcn.1400116f0
cmp dword [0x140399e44], 0
jne 0x14005b171
xor ecx, ecx
call fcn.140033f10
movss xmm0, dword [0x1403913a8]
ucomiss xmm0, xmm7
jp 0x14005b165
jne 0x14005b165
xorps xmm0, xmm0
movups xmmword [rbp + 0x130], xmm0
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rbp + 0x130]
call qword [sym.imp.USER32.dll_GetWindowRect]
movd xmm1, dword [rbp + 0x138]
cvtdq2ps xmm1, xmm1
movd xmm0, dword [rbp + 0x13c]
cvtdq2ps xmm0, xmm0
movss dword [0x1403913a0], xmm1
movss dword [0x1403913a4], xmm0
subss xmm1, dword [0x1403913b0]
mulss xmm1, xmm6
subss xmm0, dword [0x1403913b4]
mulss xmm0, xmm6
movss dword [0x1403913a8], xmm1
movss dword [0x1403913ac], xmm0
mov dword [0x140399e44], 1
jmp 0x14005b176
call fcn.140077b20
call fcn.140013d30
mov rcx, qword [0x140399dc8]
mov rax, qword [rcx]
mov dword [rsp + 0x30], r12d
movss dword [rsp + 0x28], xmm8
mov dword [rsp + 0x20], r12d
mov r9d, 3
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [0x140399dc8]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14005b1f6
call fcn.1400141f0
mov rax, qword [0x140399cd0]
mov rcx, qword [rax + 0x1ef8]
mov rax, qword [rcx]
add rax, 0xa8
mov rcx, r12
cmp byte [rax], r12b
cmovne rcx, rax
call fcn.14003e550
mov rcx, qword [0x140399dc8]
mov rax, qword [rcx]
call qword [rax + 0x150]
test dword [r13 + 8], 0x400
je 0x14005b2e1
call fcn.1400239d0
mov rbx, qword [0x140399cd0]
mov r14d, 1
mov eax, dword [rbx + 0x1628]
cmp eax, r14d
jle 0x14005b27c
mov esi, 8
nop word [rax + rax]
mov rax, qword [rbx + 0x1630]
mov rdi, qword [rsi + rax]
test dword [rdi + 4], 0x400
jne 0x14005b26a
mov rax, qword [rbx + 0x15c0]
test rax, rax
je 0x14005b257
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x1608]
test rax, rax
je 0x14005b26a
xor edx, edx
mov rcx, rdi
call rax
inc r14d
add rsi, 8
mov eax, dword [rbx + 0x1628]
cmp r14d, eax
jl 0x14005b230
mov r14d, 1
cmp eax, r14d
jle 0x14005b2da
mov esi, 8
nop dword [rax]
mov rax, qword [rbx + 0x1630]
mov rdi, qword [rsi + rax]
test dword [rdi + 4], 0x400
jne 0x14005b2ca
mov rax, qword [rbx + 0x15c8]
test rax, rax
je 0x14005b2b7
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x1610]
test rax, rax
je 0x14005b2ca
xor edx, edx
mov rcx, rdi
call rax
inc r14d
add rsi, 8
cmp r14d, dword [rbx + 0x1628]
jl 0x14005b290
lea r15, [0x140399dd0]
mov rcx, qword [0x140399dc8]
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 0x14005b336
mov rcx, qword [0x140399dc8]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14005b336
call fcn.14003ee80
mov rcx, qword [0x140399dc8]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + 0x80]
call fcn.14003edf0
cmp byte [0x1403913c0], 0
je 0x14005b34e
cmp dword [rbp + 0x1a0], 0x12
jne 0x14005af50
jmp 0x14005b358
mov dword [rbp + 0x1a0], socket
call fcn.140023fb0
call fcn.14003ee80
mov rcx, qword [0x140399d68]
test rcx, rcx
je 0x14005b37b
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140399d68], 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 [0x140399d78]
test rcx, rcx
je 0x14005b3a5
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x140399d78], r12
mov qword [0x140399d80], r12
mov qword [0x140399d88], r12
mov qword [0x140399d90], r12
mov qword [0x140399d98], r12
mov qword [0x140399da0], r12
mov dword [reloc.WS2_32.dll_htons], 9
mov byte [0x140399d02], 0
mov byte [0x140391290], 1
mov rbx, qword [0x140399cd0]
mov rcx, rbx
call fcn.140012cf0
cmp qword [0x140399cd0], rbx
jne 0x14005b406
mov qword [0x140399cd0], r12
test rbx, rbx
je 0x14005b42d
mov rcx, rbx
call fcn.14002d070
mov rax, qword [0x140399cd0]
test rax, rax
je 0x14005b425
dec dword [rax + 0x3b0]
mov rcx, rbx
call fcn.1400ca250
mov rcx, qword [0x140399dc8]
test rcx, rcx
je 0x14005b446
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140399dc8], r12
mov rcx, qword [0x140399db0]
test rcx, rcx
je 0x14005b45f
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140399db0], r12
mov rcx, qword [0x140399da8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0x158]
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.USER32.dll_UnregisterClassA]
xor eax, eax
jmp 0x14005b4d9
mov rcx, qword [0x140399db0]
mov rdx, qword [0x140399dc8]
test rdx, rdx
je 0x14005b4ae
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140399dc8], r12
mov rcx, qword [0x140399db0]
test rcx, rcx
je 0x14005b4c0
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov qword [0x140399db0], r12
mov rdx, qword [rbp + 0x158]
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov eax, 1
mov rcx, qword [rbp + 0x1c8]
xor rcx, rsp
call fcn.1400b4820
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret