Function at 0x140059dc0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x1401160c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
movss xmm6, dword [0x140102714]
xorps xmm0, xmm0
movups xmmword [0x1401178a8], xmm0
xor ebp, ebp
movups xmmword [0x1401178b8], xmm0
movups xmmword [0x1401178c8], xmm0
nop dword [rax]
mov rdx, qword [0x1401178d8]
lea rcx, [0x1401178a8]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140059e50
lea rcx, [0x1401178a8]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1401178a8]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x140117890]
cmp rax, rcx
jne 0x140059e9d
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x1401178d8]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], ebp
xor r8d, r8d
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140117890]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rbp
lea rdx, [rsp + 0x48]
movups xmmword [rsp + 0x48], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x140117890]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov rbx, qword [0x140117840]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x4c], eax
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rsp + 0x58]
mov ecx, 1
sub eax, dword [rsp + 0x40]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe0], xmm0
mov eax, dword [rsp + 0x5c]
sub eax, dword [rsp + 0x44]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe4], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140059f4a
mov byte [rbx + 0xe8], 1
mov eax, dword [rbx + 0xe4]
mov dword [rbx + 0x2ab0], eax
mov byte [rbx + 0x2b00], 1
jmp 0x140059f51
mov byte [rbx + 0xe8], bpl
mov eax, dword [0x140117e30]
mov ecx, dword [rsp + 0x54]
mov edx, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jne 0x140059f81
cmp edx, dword [0x140117e38]
jne 0x140059f81
mov eax, dword [0x140117e34]
cmp dword [rsp + 0x4c], eax
jne 0x140059f81
cmp ecx, dword [0x140117e3c]
je 0x140059fe5
movups xmm0, xmmword [rsp + 0x48]
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov dword [0x1401179ec], edx
mov dword [0x1401179e8], ecx
mov dword [0x140117950], edx
xor edx, edx
mov dword [0x140117954], ecx
mov rcx, qword [0x1401178d8]
movups xmmword [0x140117e30], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140117990]
lea rdx, [0x140117950]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x140117840]
test rax, rax
je 0x140059ffa
mov rcx, qword [rax + 0xa0]
jmp 0x140059ffd
mov rcx, rbp
cmp qword [rcx + 0x18], rbp
jne 0x14005a01e
test rax, rax
je 0x14005a01e
mov rcx, qword [rax + 0xa0]
test rcx, rcx
je 0x14005a01e
cmp qword [rcx], rbp
je 0x14005a01e
call fcn.140031da0
call fcn.140032af0
call fcn.140009600
call fcn.140052b50
call fcn.140055650
cmp byte [0x1401178f6], bpl
je 0x14005a078
xorps xmm0, xmm0
lea rdx, [0x140117878]
xor ecx, ecx
movups xmmword [0x140117878], xmm0
call qword [sym.imp.XINPUT1_4.dll_Ordinal_2]
test eax, eax
jne 0x14005a06f
cmp byte [0x14011787e], 0x1e
jbe 0x14005a06f
cmp byte [0x14011783d], bpl
je 0x14005a06f
call fcn.140054900
cmp byte [0x1401178f6], bpl
jne 0x14005a099
cvttss2si ecx, dword [0x140116154]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14005a099
cmp byte [0x14011783d], bpl
je 0x14005a099
call fcn.140054900
call fcn.14000b1b0
mov rcx, qword [0x140117990]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140117990]
xor r8d, r8d
mov edx, reloc.WLDAP32.dll_Ordinal_27
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140117990]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140117990]
mov r9d, 1
mov dword [rsp + 0x30], ebp
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], ebp
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x140117990]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14005a15c
call fcn.14000b560
mov rax, qword [0x140117840]
mov rcx, qword [rax + 0x4bc8]
mov rax, qword [rcx]
mov rcx, rbp
add rax, 0x50
cmp byte [rax], bpl
cmovne rcx, rax
call fcn.1400317e0
mov rcx, qword [0x140117990]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140117990]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbp
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14005a23a
mov rcx, qword [0x140117990]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x14005a23a
mov rbx, qword [0x140117840]
test rbx, rbx
je 0x14005a201
mov rbx, qword [rbx + 0xa0]
test rbx, rbx
je 0x14005a201
cmp qword [rbx], rbp
je 0x14005a201
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14005a1cc
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 8], rbp
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14005a1df
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 0x10], rbp
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14005a201
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [0x140117840]
mov qword [rbx + 0x18], rbp
mov rcx, qword [rax + 0x38]
mov qword [rcx + 8], rbp
mov rcx, qword [0x140117990]
lea rdx, [0x140117950]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov r8, qword [0x140117840]
test r8, r8
je 0x14005a241
mov rax, qword [r8 + 0xa0]
test rax, rax
je 0x14005a241
cmp qword [rax], rbp
je 0x14005a241
call fcn.140031da0
mov r8, qword [0x140117840]
cmp dword [0x1401178b0], 0x12
jne 0x140059e10
test r8, r8
je 0x14005a25c
mov rsi, qword [r8 + 0xa0]
jmp 0x14005a25f
mov rsi, rbp
lea rdi, [r8 + 8]
test r8, r8
je 0x14005a2cf
mov rbx, qword [r8 + 0xa0]
test rbx, rbx
je 0x14005a2cf
cmp qword [rbx], rbp
je 0x14005a2cf
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14005a293
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov r8, qword [0x140117840]
mov qword [rbx + 8], rbp
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14005a2ad
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov r8, qword [0x140117840]
mov qword [rbx + 0x10], rbp
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14005a2cf
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov r8, qword [0x140117840]
mov qword [rbx + 0x18], rbp
mov rax, qword [r8 + 0x38]
mov qword [rax + 8], rbp
mov rcx, qword [rsi]
test rcx, rcx
je 0x14005a2e4
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov r8, qword [0x140117840]
and dword [rdi + 4], 0xfffffff7
mov qword [rdi + 0x88], rbp
mov qword [rdi + 0x98], rbp
test r8, r8
je 0x14005a35a
movsx rdx, word [r8 + 0x6258]
mov r9d, dword [r8 + 0x3fe8]
lea rcx, [rdx*8 + 0x625c]
add rcx, r8
cmp dword [rcx], r9d
je 0x14005a34f
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 + 0x6258], cx
movsx rax, cx
lea rcx, [rax*8 + 0x625c]
add rcx, r8
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x6254]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r8, qword [0x140117840]
test r8, r8
je 0x14005a378
mov rdi, qword [r8 + 0x98]
jmp 0x14005a37b
mov rdi, rbp
mov rcx, qword [rdi + 0x38]
lea rbx, [r8 + 8]
test rcx, rcx
je 0x14005a395
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r8, qword [0x140117840]
and dword [rbx + 4], 0xfffffff8
mov qword [rbx + 0x80], rbp
mov qword [rbx + 0x90], rbp
test r8, r8
je 0x14005a40b
movsx rdx, word [r8 + 0x6258]
mov r9d, dword [r8 + 0x3fe8]
lea rcx, [rdx*8 + 0x625c]
add rcx, r8
cmp dword [rcx], r9d
je 0x14005a400
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 + 0x6258], cx
movsx rax, cx
lea rcx, [rax*8 + 0x625c]
add rcx, r8
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x6254]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140117840]
mov qword [0x140117840], rbx
call fcn.140007130
mov qword [0x140117840], rbp
test rbx, rbx
je 0x14005a4b0
mov rcx, rbx
call fcn.14001f9a0
mov r8, qword [0x140117840]
test r8, r8
je 0x14005a4a7
movsx r10, word [r8 + 0x6258]
lea rdx, [r8 + 0x625c]
mov r9d, dword [r8 + 0x3fe8]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x14005a49c
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 + 0x625c]
sub ecx, eax
mov word [r8 + 0x6258], cx
movsx rax, cx
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
mov dword [rdx + 4], ebp
inc word [rdx + 6]
inc dword [r8 + 0x6254]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140117990]
test rcx, rcx
je 0x14005a4d2
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140117990]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1401178e0]
test rcx, rcx
je 0x14005a4e4
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1401178d8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x1401178b8]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400d2720
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
movaps xmm6, xmmword [rsp + 0x70]
mov rsp, r11
pop rdi
ret