Function at 0x180059590
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov rcx, qword [0x180255ba8]
test rcx, rcx
jne 0x1800595c5
mov r8d, 0xc58
lea rdx, str.D:WeasReposcLimbusTechIl2CPP_BaseImGui_DirectX_11_Kiero_Hookimguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1800e0db4
mov rcx, qword [0x180255ba8]
mov ecx, dword [rcx + 0x74]
call fcn.180027b20
test al, al
je 0x1800595dd
mov byte [rsi + 0x20], 0x42
mov al, 1
add rsp, 0x30
pop rsi
ret
mov rax, qword [0x180255ba8]
movaps xmmword [rsp + 0x20], xmm6
test rax, rax
jne 0x18005960e
mov r8d, 0xc58
lea rdx, str.D:WeasReposcLimbusTechIl2CPP_BaseImGui_DirectX_11_Kiero_Hookimguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1800e0db4
mov rax, qword [0x180255ba8]
movss xmm0, dword [rax + 0x140]
xorps xmm6, xmm6
comiss xmm6, xmm0
jbe 0x18005962f
movaps xmm6, xmmword [rsp + 0x20]
mov al, 1
mov byte [rsi + 0x20], 0x3f
add rsp, 0x30
pop rsi
ret
comiss xmm0, xmm6
jbe 0x180059645
movaps xmm6, xmmword [rsp + 0x20]
mov al, 1
mov byte [rsi + 0x20], 0x40
add rsp, 0x30
pop rsi
ret
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x180059666
movaps xmm6, xmmword [rsp + 0x20]
mov al, 1
mov byte [rsi + 0x20], gethostname
add rsp, 0x30
pop rsi
ret
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x180059687
movaps xmm6, xmmword [rsp + 0x20]
mov al, 1
mov byte [rsi + 0x20], 0x34
add rsp, 0x30
pop rsi
ret
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1800596a8
movaps xmm6, xmmword [rsp + 0x20]
mov al, 1
mov byte [rsi + 0x20], 0x35
add rsp, 0x30
pop rsi
ret
mov ecx, 5
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1800596c9
movaps xmm6, xmmword [rsp + 0x20]
mov al, 1
mov byte [rsi + 0x20], 0x3c
add rsp, 0x30
pop rsi
ret
mov ecx, 6
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1800596ea
movaps xmm6, xmmword [rsp + 0x20]
mov al, 1
mov byte [rsi + 0x20], 0x3d
add rsp, 0x30
pop rsi
ret
mov qword [rsp + 0x48], rbx
xor ebx, ebx
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rdi
mov edi, ebx
nop dword [rax]
mov rbp, qword [0x180255ba8]
cmp edi, 4
jbe 0x180059725
mov r8d, 0x10d8
lea rdx, str.D:WeasReposcLimbusTechIl2CPP_BaseImGui_DirectX_11_Kiero_Hookimguiimgui.cpp
lea rcx, str.button___0__button_____int__sizeof_g.IO.MouseDown____sizeof_g.IO.MouseDown___
call fcn.1800e0db4
movsxd rax, edi
movss xmm0, dword [rbp + rax*4 + 0x43c]
ucomiss xmm0, xmm6
jp 0x180059738
je 0x180059799
inc edi
cmp edi, 5
jl 0x180059700
lea rbp, str._._46789_
lea rdi, [0x18013a888]
nop dword [rax]
mov ecx, ebx
call fcn.180027b20
test al, al
je 0x180059773
mov rcx, rbp
nop
cmp dword [rcx + 0x10], ebx
je 0x18005976e
add rcx, 0x18
cmp rcx, rdi
jne 0x180059760
cmp rcx, rdi
jne 0x1800597a5
inc ebx
cmp ebx, 0x200
jl 0x180059750
xor al, al
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop rsi
ret
add dil, 0x39
mov al, 1
mov byte [rsi + 0x20], dil
jmp 0x18005977f
sub rcx, rbp
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov byte [rsi + 0x20], dl
cmp dl, 0x35
jne 0x1800597dd
mov ecx, 0xa5
call fcn.180027b20
test al, al
je 0x1800597dd
mov byte [rsi + 0x20], 0x53
mov al, 1
jmp 0x18005977f