Function at 0x140056240
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 [0x1400f50c0]
xor rax, rsp
mov qword [rbp - 9], rax
movss xmm9, dword [0x1400e1bc8]
lea rax, [0x1400e0324]
mov qword [rbp - 0x29], rax
xorps xmm0, xmm0
lea rax, str.Private
mov qword [rbp - 0x21], 2
movaps xmm6, xmmword [rbp - 0x29]
xor r15d, r15d
mov qword [rbp - 0x79], rax
lea rax, str.Athena
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x71], 7
movaps xmm7, xmmword [rbp - 0x79]
mov qword [rbp - 0x11], 6
movaps xmm8, xmmword [rbp - 0x19]
mov qword [r11 + 8], rsi
movups xmmword [0x14014f3d0], xmm0
mov qword [r11 + 0x10], r14
movups xmmword [0x14014f3e0], xmm0
movups xmmword [0x14014f3f0], xmm0
nop word [rax + rax]
mov rdx, qword [0x14014f400]
lea rcx, [0x14014f3d0]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140056330
lea rcx, [0x14014f3d0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x14014f3d0]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x14014f3b8]
cmp rax, rcx
jne 0x14005637f
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x14014f400]
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 [0x14014f3b8]
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 [0x14014f3b8]
lea rdx, [rbp - 0x39]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp - 0x39]
lea rcx, [rbp - 0x19]
mov rbx, qword [0x14014f370]
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 0x14005641f
mov byte [rbx + 0xe48], 1
mov eax, dword [rbx + 0xe44]
mov dword [rbx + 0x3810], eax
mov byte [rbx + 0x3860], 1
jmp 0x140056426
mov byte [rbx + 0xe48], r15b
mov eax, dword [0x14014fb88]
mov ecx, dword [rbp - 0x1d]
mov edx, dword [rbp - 0x21]
cmp dword [rbp - 0x29], eax
jne 0x140056452
cmp edx, dword [0x14014fb90]
jne 0x140056452
mov eax, dword [0x14014fb8c]
cmp dword [rbp - 0x25], eax
jne 0x140056452
cmp ecx, dword [0x14014fb94]
je 0x1400564b3
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 [0x14014f998], edx
mov dword [0x14014f94c], ecx
mov dword [0x14014f450], edx
xor edx, edx
mov dword [0x14014f454], ecx
mov rcx, qword [0x14014f400]
movups xmmword [0x14014fb88], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x14014f490]
lea rdx, [0x14014f450]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x14014f370]
test rax, rax
je 0x1400564c8
mov rcx, qword [rax + 0x98]
jmp 0x1400564cb
mov rcx, r15
cmp qword [rcx + 0x18], r15
jne 0x1400564ec
test rax, rax
je 0x1400564ec
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x1400564ec
cmp qword [rcx], r15
je 0x1400564ec
call fcn.140043c60
call fcn.1400449b0
call fcn.140022010
mov rcx, qword [0x14014fb60]
lea r9, [rbp - 0x79]
lea r8, [rbp - 0x69]
movdqa xmmword [rbp - 0x79], xmm6
lea rdx, [rbp - 0x59]
movdqa xmmword [rbp - 0x69], xmm7
movdqa xmmword [rbp - 0x59], xmm8
call fcn.140004ec0
call fcn.140050960
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14005657a
cmp byte [0x14014fc2a], r15b
je 0x14005657a
mov eax, dword [0x14014fa24]
test eax, eax
jne 0x140056556
mov ecx, WSAGetLastError
call fcn.1400501a0
mov eax, dword [0x14014fa24]
cmp eax, 1
jne 0x14005656b
mov ecx, 0x43
call fcn.1400501a0
mov eax, dword [0x14014fa24]
cmp eax, 2
jne 0x14005657a
mov ecx, Ordinal_41
call fcn.1400501a0
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400566ba
cmp byte [0x14014fc25], r15b
je 0x1400566ba
mov r8, qword [0x14014f440]
lea rdx, [rbp - 0x59]
mov r14, qword [0x14014f410]
call fcn.14004aed0
mov rbx, rax
mov rsi, rbx
mov rax, qword [rax + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x1400565c6
mov rsi, qword [rbx]
cmp rax, 7
jb 0x140056671
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 0x140056671
cmp dword [rax], 0x746f6853
jne 0x140056607
cmp word [rax + 4], 0x7567
jne 0x140056607
cmp byte [rax + 6], 0x6e
je 0x140056625
inc rax
lea r8, [rdi - 6]
sub r8, rax
mov rcx, rax
mov edx, 0x53
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x1400565f1
jmp 0x140056671
sub rax, rsi
cmp rax, 0xffffffffffffffff
je 0x140056671
lea rcx, [r14 + 0x1898]
call fcn.14005b480
test rax, rax
je 0x140056671
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 0x1400566ab
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400566a6
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140056885
mov rcx, r8
call fcn.1400c27f4
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r15b
call fcn.14004df40
call fcn.140023b60
mov rcx, qword [0x14014f490]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14014f490]
xor r8d, r8d
mov edx, reloc.WLDAP32.dll_Ordinal_27
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14014f490]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14014f490]
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 [0x14014f490]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140056785
call fcn.140023f50
mov rax, qword [0x14014f370]
mov rcx, qword [rax + 0x4b40]
mov rax, qword [rcx]
mov rcx, r15
add rax, 0x48
cmp byte [rax], r15b
cmovne rcx, rax
call fcn.1400436a0
mov rcx, qword [0x14014f490]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x14014f490]
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 0x140056863
mov rcx, qword [0x14014f490]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x140056863
mov rbx, qword [0x14014f370]
test rbx, rbx
je 0x14005682a
mov rbx, qword [rbx + 0x98]
test rbx, rbx
je 0x14005682a
cmp qword [rbx], r15
je 0x14005682a
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400567f5
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 0x140056808
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 0x14005682a
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [0x14014f370]
mov qword [rbx + 0x18], r15
mov rcx, qword [rax + 0x38]
mov qword [rcx + 8], r15
mov rcx, qword [0x14014f490]
lea rdx, [0x14014f450]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov r8, qword [0x14014f370]
test r8, r8
je 0x14005686a
mov rax, qword [r8 + 0x98]
test rax, rax
je 0x14005686a
cmp qword [rax], r15
je 0x14005686a
call fcn.140043c60
mov r8, qword [0x14014f370]
cmp dword [0x14014f3d8], 0x12
jne 0x1400562f0
test r8, r8
je 0x14005688c
mov rsi, qword [r8 + 0x98]
jmp 0x14005688f
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 0x1400568ff
mov rbx, qword [r8 + 0x98]
test rbx, rbx
je 0x1400568ff
cmp qword [rbx], r15
je 0x1400568ff
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400568c3
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov r8, qword [0x14014f370]
mov qword [rbx + 8], r15
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400568dd
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov r8, qword [0x14014f370]
mov qword [rbx + 0x10], r15
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400568ff
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov r8, qword [0x14014f370]
mov qword [rbx + 0x18], r15
mov rax, qword [r8 + 0x38]
mov qword [rax + 8], r15
mov rcx, qword [rsi]
test rcx, rcx
je 0x140056914
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov r8, qword [0x14014f370]
and dword [rdi + 4], 0xfffffff7
mov qword [rdi + 0x80], r15
mov qword [rdi + 0x90], r15
test r8, r8
je 0x14005698b
movsx rdx, word [r8 + 0x6120]
mov r9d, dword [r8 + 0x3f88]
lea rcx, [rdx*8 + 0x6124]
add rcx, r8
cmp dword [rcx], r9d
je 0x140056980
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 [0x14014f370]
test r8, r8
je 0x1400569a9
mov rdi, qword [r8 + 0x90]
jmp 0x1400569ac
mov rdi, r15
mov rcx, qword [rdi + 0x38]
lea rbx, [r8 + 8]
test rcx, rcx
je 0x1400569c6
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r8, qword [0x14014f370]
and dword [rbx + 4], 0xfffffff8
mov qword [rbx + 0x78], r15
mov qword [rbx + 0x88], r15
test r8, r8
je 0x140056a3a
movsx rdx, word [r8 + 0x6120]
mov r9d, dword [r8 + 0x3f88]
lea rcx, [rdx*8 + 0x6124]
add rcx, r8
cmp dword [rcx], r9d
je 0x140056a2f
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 [0x14014f370]
mov qword [0x14014f370], rbx
call fcn.14001fc50
mov qword [0x14014f370], r15
test rbx, rbx
je 0x140056ae0
mov rcx, rbx
call fcn.140035a30
mov r8, qword [0x14014f370]
test r8, r8
je 0x140056ad7
movsx r10, word [r8 + 0x6120]
lea rdx, [r8 + 0x6124]
mov r9d, dword [r8 + 0x3f88]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x140056acc
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 [0x14014f490]
test rcx, rcx
je 0x140056b02
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x14014f490]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x14014f408]
test rcx, rcx
je 0x140056b14
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x14014f400]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x14014f3e0]
mov r14, qword [rsp + 0x128]
mov rsi, qword [rsp + 0x120]
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1400c26c0
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