Function at 0x140002540
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x38
mov rcx, qword [0x1401034f8]
test rcx, rcx
jne 0x140002571
mov r8d, 0xda0
lea rdx, [0x1400e4060]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [0x1401034f8]
mov ecx, dword [rcx + 0x74]
call fcn.140022420
test al, al
je 0x14000258b
mov byte [reloc.WLDAP32.dll_Ordinal_46], 0x42
mov al, 1
add rsp, 0x38
ret
mov rax, qword [0x1401034f8]
movaps xmmword [rsp + 0x20], xmm6
test rax, rax
jne 0x1400025bd
mov r8d, 0xda0
lea rdx, [0x1400e4060]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [0x1401034f8]
movss xmm0, dword [rax + 0x130]
xorps xmm6, xmm6
comiss xmm6, xmm0
jbe 0x1400025e0
movaps xmm6, xmmword [rsp + 0x20]
mov al, 1
mov byte [reloc.WLDAP32.dll_Ordinal_46], 0x3f
add rsp, 0x38
ret
comiss xmm0, xmm6
jbe 0x1400025f8
movaps xmm6, xmmword [rsp + 0x20]
mov al, 1
mov byte [reloc.WLDAP32.dll_Ordinal_46], 0x40
add rsp, 0x38
ret
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14000261b
movaps xmm6, xmmword [rsp + 0x20]
mov al, 1
mov byte [reloc.WLDAP32.dll_Ordinal_46], 0x37
add rsp, 0x38
ret
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14000263e
movaps xmm6, xmmword [rsp + 0x20]
mov al, 1
mov byte [reloc.WLDAP32.dll_Ordinal_46], 0x34
add rsp, 0x38
ret
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140002661
movaps xmm6, xmmword [rsp + 0x20]
mov al, 1
mov byte [reloc.WLDAP32.dll_Ordinal_46], 0x35
add rsp, 0x38
ret
mov ecx, 3
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140002684
movaps xmm6, xmmword [rsp + 0x20]
mov al, 1
mov byte [reloc.WLDAP32.dll_Ordinal_46], 0x3c
add rsp, 0x38
ret
mov ecx, 4
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1400026a7
movaps xmm6, xmmword [rsp + 0x20]
mov al, 1
mov byte [reloc.WLDAP32.dll_Ordinal_46], 0x3d
add rsp, 0x38
ret
mov qword [rsp + 0x40], rbx
xor ebx, ebx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x30], rdi
mov edi, ebx
nop word [rax + rax]
mov rsi, qword [0x1401034f8]
cmp edi, 4
jbe 0x1400026e6
mov r8d, 0x135b
lea rdx, [0x1400e4060]
lea rcx, str.button___0__button_____int__sizeof_g.IO.MouseDown____sizeof__g.IO.MouseDown____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, edi
movss xmm0, dword [rsi + rax*4 + 0x434]
ucomiss xmm0, xmm6
jp 0x1400026f9
je 0x140002758
inc edi
cmp edi, 5
jl 0x1400026c0
lea rsi, str.__._0123456789_A
lea rdi, reloc.WS2_32.dll_ioctlsocket
nop
mov ecx, ebx
call fcn.140022420
test al, al
je 0x140002733
mov rcx, rsi
nop
cmp dword [rcx + 0x10], ebx
je 0x14000272e
add rcx, 0x18
cmp rcx, rdi
jne 0x140002720
cmp rcx, rdi
jne 0x140002767
inc ebx
cmp ebx, 0x200
jl 0x140002710
xor al, al
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
ret
add dil, 0x39
mov al, 1
mov byte [reloc.WLDAP32.dll_Ordinal_46], dil
jmp 0x14000273f
sub rcx, rsi
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov byte [reloc.WLDAP32.dll_Ordinal_46], dl
cmp dl, 0x35
jne 0x1400027a5
mov ecx, 0xa5
call fcn.140022420
test al, al
je 0x1400027a5
mov byte [reloc.WLDAP32.dll_Ordinal_46], 0x53
mov al, 1
jmp 0x14000273f