Function at 0x140052d70
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rdi
push r15
lea rbp, [r11 - 0x5f]
sub rsp, 0x100
movaps xmmword [r11 - 0x28], xmm6
movaps xmmword [r11 - 0x38], xmm7
movaps xmmword [r11 - 0x48], xmm8
movaps xmmword [r11 - 0x58], xmm9
mov rax, qword [0x1400f70c0]
xor rax, rsp
mov qword [rbp - 9], rax
movss xmm9, dword [0x1400e3fe8]
lea rax, [0x1400e24b4]
mov qword [rbp - 0x29], rax
xorps xmm0, xmm0
lea rax, str.Free
mov qword [rbp - 0x21], 2
movaps xmm6, xmmword [rbp - 0x29]
xor r15d, r15d
mov qword [rbp - 0x79], rax
lea rax, str.___DESIRELESS__Free
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x71], 4
movaps xmm7, xmmword [rbp - 0x79]
mov qword [rbp - 0x11], reloc.WLDAP32.dll_Ordinal_22
movaps xmm8, xmmword [rbp - 0x19]
mov qword [r11 + 8], rsi
movups xmmword [0x140151518], xmm0
mov qword [r11 + 0x10], r14
movups xmmword [0x140151528], xmm0
movups xmmword [0x140151538], xmm0
nop word [rax + rax]
mov rdx, qword [0x140151548]
lea rcx, [0x140151518]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140052e60
lea rcx, [0x140151518]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140151518]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x140151500]
cmp rax, rcx
jne 0x140052eaf
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x140151548]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], r15d
xor r8d, r8d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140151500]
xorps xmm0, xmm0
mov qword [rbp - 0x39], r15
lea rdx, [rbp - 0x29]
movups xmmword [rbp - 0x29], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x140151500]
lea rdx, [rbp - 0x39]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp - 0x39]
lea rcx, [rbp - 0x19]
mov rbx, qword [0x1401514c0]
mov dword [rbp - 0x29], eax
mov eax, dword [rbp - 0x35]
mov dword [rbp - 0x25], eax
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rbp - 0x19]
mov ecx, 1
sub eax, dword [rbp - 0x39]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe40], xmm0
mov eax, dword [rbp - 0x15]
sub eax, dword [rbp - 0x35]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe44], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140052f4f
mov byte [rbx + 0xe48], 1
mov eax, dword [rbx + 0xe44]
mov dword [rbx + 0x3810], eax
mov byte [rbx + 0x3860], 1
jmp 0x140052f56
mov byte [rbx + 0xe48], r15b
mov eax, dword [0x140151cd8]
mov ecx, dword [rbp - 0x1d]
mov edx, dword [rbp - 0x21]
cmp dword [rbp - 0x29], eax
jne 0x140052f82
cmp edx, dword [0x140151ce0]
jne 0x140052f82
mov eax, dword [0x140151cdc]
cmp dword [rbp - 0x25], eax
jne 0x140052f82
cmp ecx, dword [0x140151ce4]
je 0x140052fe3
movups xmm0, xmmword [rbp - 0x29]
mov r9d, dword [rbp - 0x35]
mov r8d, dword [rbp - 0x39]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov dword [0x140151ae8], edx
mov dword [0x140151a64], ecx
mov dword [0x1401515a0], edx
xor edx, edx
mov dword [0x1401515a4], ecx
mov rcx, qword [0x140151548]
movups xmmword [0x140151cd8], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140151598]
lea rdx, [0x1401515a0]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x1401514c0]
test rax, rax
je 0x140052ff8
mov rcx, qword [rax + 0x98]
jmp 0x140052ffb
mov rcx, r15
cmp qword [rcx + 0x18], r15
jne 0x14005301c
test rax, rax
je 0x14005301c
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x14005301c
cmp qword [rcx], r15
je 0x14005301c
call fcn.140041060
call fcn.140041db0
call fcn.14001f410
lea r9, [rbp - 0x79]
movdqa xmmword [rbp - 0x79], xmm6
lea r8, [rbp - 0x69]
movdqa xmmword [rbp - 0x69], xmm7
lea rdx, [rbp - 0x59]
movdqa xmmword [rbp - 0x59], xmm8
call fcn.140004af0
call fcn.14004d8e0
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400530a3
cmp byte [0x140151d7b], r15b
je 0x1400530a3
mov eax, dword [0x140151b74]
test eax, eax
jne 0x14005307f
mov ecx, WSAGetLastError
call fcn.14004d120
mov eax, dword [0x140151b74]
cmp eax, 1
jne 0x140053094
mov ecx, 0x43
call fcn.14004d120
mov eax, dword [0x140151b74]
cmp eax, 2
jne 0x1400530a3
mov ecx, Ordinal_41
call fcn.14004d120
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400531e9
cmp byte [0x140151d75], r15b
je 0x1400531e9
mov r8, qword [0x140151588]
lea rdx, [rbp - 0x59]
mov r14, qword [0x140151558]
call fcn.1400482d0
mov rbx, rax
mov rsi, rbx
mov rax, qword [rax + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x1400530ef
mov rsi, qword [rbx]
cmp rax, 7
jb 0x1400531a0
lea rdi, [rax + rsi]
mov edx, 0x53
lea r8, [rdi - 6]
mov rcx, rsi
sub r8, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400531a0
nop word [rax + rax]
cmp dword [rax], 0x746f6853
jne 0x140053136
cmp word [rax + 4], 0x7567
jne 0x140053136
cmp byte [rax + 6], 0x6e
je 0x140053154
inc rax
lea r8, [rdi - 6]
sub r8, rax
mov rcx, rax
mov edx, 0x53
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140053120
jmp 0x1400531a0
sub rax, rsi
cmp rax, 0xffffffffffffffff
je 0x1400531a0
lea rcx, [r14 + 0x1898]
call fcn.140059df0
test rax, rax
je 0x1400531a0
mov r9d, 2
mov qword [rsp + 0x20], r15
mov ecx, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_mouse_event]
mov r9d, 4
mov qword [rsp + 0x20], r15
mov ecx, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_mouse_event]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400531da
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400531d5
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400533b4
mov rcx, r8
call fcn.1400c46e4
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r15b
call fcn.14004b540
call fcn.140020f60
mov rcx, qword [0x140151598]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140151598]
xor r8d, r8d
mov edx, reloc.WLDAP32.dll_Ordinal_27
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140151598]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140151598]
mov r9d, 1
mov dword [rsp + 0x30], r15d
xor r8d, r8d
movss dword [rsp + 0x28], xmm9
xor edx, edx
mov dword [rsp + 0x20], r15d
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x140151598]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x1400532b4
call fcn.140021350
mov rax, qword [0x1401514c0]
mov rcx, qword [rax + 0x4b40]
mov rax, qword [rcx]
mov rcx, r15
add rax, 0x48
cmp byte [rax], r15b
cmovne rcx, rax
call fcn.140040aa0
mov rcx, qword [0x140151598]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140151598]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r15
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140053392
mov rcx, qword [0x140151598]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x140053392
mov rbx, qword [0x1401514c0]
test rbx, rbx
je 0x140053359
mov rbx, qword [rbx + 0x98]
test rbx, rbx
je 0x140053359
cmp qword [rbx], r15
je 0x140053359
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140053324
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 8], r15
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140053337
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 0x10], r15
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140053359
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [0x1401514c0]
mov qword [rbx + 0x18], r15
mov rcx, qword [rax + 0x38]
mov qword [rcx + 8], r15
mov rcx, qword [0x140151598]
lea rdx, [0x1401515a0]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov r8, qword [0x1401514c0]
test r8, r8
je 0x140053399
mov rax, qword [r8 + 0x98]
test rax, rax
je 0x140053399
cmp qword [rax], r15
je 0x140053399
call fcn.140041060
mov r8, qword [0x1401514c0]
cmp dword [0x140151520], 0x12
jne 0x140052e20
test r8, r8
je 0x1400533bb
mov rsi, qword [r8 + 0x98]
jmp 0x1400533be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rsi, r15
lea rdi, [r8 + 8]
test r8, r8
je 0x14005342e
mov rbx, qword [r8 + 0x98]
test rbx, rbx
je 0x14005342e
cmp qword [rbx], r15
je 0x14005342e
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400533f2
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov r8, qword [0x1401514c0]
mov qword [rbx + 8], r15
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14005340c
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov r8, qword [0x1401514c0]
mov qword [rbx + 0x10], r15
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14005342e
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov r8, qword [0x1401514c0]
mov qword [rbx + 0x18], r15
mov rax, qword [r8 + 0x38]
mov qword [rax + 8], r15
mov rcx, qword [rsi]
test rcx, rcx
je 0x140053443
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov r8, qword [0x1401514c0]
and dword [rdi + 4], 0xfffffff7
mov qword [rdi + 0x80], r15
mov qword [rdi + 0x90], r15
test r8, r8
je 0x1400534ba
movsx rdx, word [r8 + 0x6120]
mov r9d, dword [r8 + 0x3f88]
lea rcx, [rdx*8 + 0x6124]
add rcx, r8
cmp dword [rcx], r9d
je 0x1400534af
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 + 0x6120], cx
movsx rax, cx
lea rcx, [rax*8 + 0x6124]
add rcx, r8
mov dword [rcx], r9d
mov dword [rcx + 4], r15d
inc word [rcx + 6]
inc dword [r8 + 0x611c]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r8, qword [0x1401514c0]
test r8, r8
je 0x1400534d8
mov rdi, qword [r8 + 0x90]
jmp 0x1400534db
mov rdi, r15
mov rcx, qword [rdi + 0x38]
lea rbx, [r8 + 8]
test rcx, rcx
je 0x1400534f5
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r8, qword [0x1401514c0]
and dword [rbx + 4], 0xfffffff8
mov qword [rbx + 0x78], r15
mov qword [rbx + 0x88], r15
test r8, r8
je 0x140053569
movsx rdx, word [r8 + 0x6120]
mov r9d, dword [r8 + 0x3f88]
lea rcx, [rdx*8 + 0x6124]
add rcx, r8
cmp dword [rcx], r9d
je 0x14005355e
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 + 0x6120], cx
movsx rax, cx
lea rcx, [rax*8 + 0x6124]
add rcx, r8
mov dword [rcx], r9d
mov dword [rcx + 4], r15d
inc word [rcx + 6]
inc dword [r8 + 0x611c]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1401514c0]
mov qword [0x1401514c0], rbx
call fcn.14001d050
mov qword [0x1401514c0], r15
test rbx, rbx
je 0x14005360f
mov rcx, rbx
call fcn.140032e30
mov r8, qword [0x1401514c0]
test r8, r8
je 0x140053606
movsx r10, word [r8 + 0x6120]
lea rdx, [r8 + 0x6124]
mov r9d, dword [r8 + 0x3f88]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x1400535fb
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 + 0x6124]
sub ecx, eax
mov word [r8 + 0x6120], cx
movsx rax, cx
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
mov dword [rdx + 4], r15d
inc word [rdx + 6]
inc dword [r8 + 0x611c]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140151598]
test rcx, rcx
je 0x140053631
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140151598]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140151550]
test rcx, rcx
je 0x140053643
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov r14, qword [rsp + 0x128]
mov rsi, qword [rsp + 0x120]
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1400c45b0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret