Function at 0x140023f30
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x360
mov rax, qword [0x140413c00]
xor rax, rsp
mov qword [rsp + 0x350], rax
call fcn.140023f10
nop
lea rcx, [0x1404148a0]
call fcn.140024a90
movzx eax, al
test eax, eax
jne 0x140023fa9
lea rcx, [0x1404148a0]
call fcn.14006d1f0
nop
lea rcx, [0x1404148a0]
call fcn.140024a90
movzx eax, al
test eax, eax
jne 0x140023fa7
mov dword [rsp + 0x50], 5
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x1a8]
call fcn.140014ab0
mov rcx, rax
call fcn.1400216b0
nop
jmp 0x140023f51
lea rcx, [0x1404148a0]
call fcn.140023ef0
mov ecx, eax
call fcn.140114540
call fcn.140114250
nop
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x1e0]
call fcn.14001e0a0
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call fcn.140026720
nop
lea rcx, [rsp + 0x1e0]
call fcn.140023770
nop
lea rax, [rsp + 0x41]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x41]
lea rcx, [rsp + 0x1f0]
call fcn.14001e0d0
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0xe0]
call fcn.140026720
nop
lea rcx, [rsp + 0x1f0]
call fcn.140023770
nop
lea rax, [rsp + 0x42]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x42]
lea rcx, [rsp + 0x200]
call fcn.14001e100
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf0], rax
mov rcx, qword [rsp + 0xf0]
call fcn.140026720
nop
lea rcx, [rsp + 0x200]
call fcn.140023770
nop
lea rax, [rsp + 0x43]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x43]
lea rcx, [rsp + 0x210]
call fcn.14001e130
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x100], rax
mov rcx, qword [rsp + 0x100]
call fcn.140026720
nop
lea rcx, [rsp + 0x210]
call fcn.140023770
nop
lea rax, [rsp + 0x44]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x44]
lea rcx, [rsp + 0x220]
call fcn.14001e160
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x110], rax
mov rcx, qword [rsp + 0x110]
call fcn.140026720
nop
lea rcx, [rsp + 0x220]
call fcn.140023770
nop
call fcn.140114530
movzx eax, al
test eax, eax
je 0x140024a77
mov edx, 0x28
lea rcx, [rsp + 0x2e0]
call fcn.14001a540
call fcn.140114940
mov qword [rsp + 0x118], rax
call fcn.140114930
mov qword [rsp + 0x120], rax
call fcn.140114220
mov qword [rsp + 0x128], rax
call fcn.140114210
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x120]
mov r8, qword [rsp + 0x128]
mov rdx, qword [rsp + 0x130]
lea rcx, [rsp + 0x2e0]
call fcn.140022470
nop
lea rcx, [rsp + 0x2e0]
call fcn.14010e1f0
nop
lea rax, [rsp + 0x288]
mov qword [rsp + 0x148], rax
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0x138], rax
lea rax, [0x14010fe50]
mov qword [rsp + 0x140], rax
lea rax, [0x140135b44]
mov qword [rsp + 0x30], rax
lea rax, [0x140135b43]
mov qword [rsp + 0x28], rax
lea rax, [0x140135b42]
mov qword [rsp + 0x20], rax
lea r9, [0x140135b41]
lea r8, [rsp + 0x138]
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x270]
call fcn.140020220
mov rdx, rax
mov rcx, qword [rsp + 0x148]
call fcn.14001e190
mov qword [rsp + 0x150], rax
mov rcx, qword [rsp + 0x150]
call fcn.1401145e0
nop
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x320]
call sub.VCRUNTIME140.dll_memset
nop
cmp dword [rsp + 0x328], 0x12
je 0x140024a69
call fcn.140114210
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x320]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140024312
lea rcx, [rsp + 0x320]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x320]
call qword [sym.imp.USER32.dll_DispatchMessageW]
nop
lea rcx, [rsp + 0x2e0]
call fcn.140023ee0
mov byte [rsp + 0x45], al
call fcn.140096260
movzx ecx, byte [rsp + 0x45]
mov byte [rax + 0x50], cl
lea rcx, [0x1404148a0]
call fcn.1400701d0
lea rcx, [0x1404148a0]
call fcn.140071420
nop
cmp dword [rsp + 0x304], 0
jne 0x14002435d
cmp dword [rsp + 0x300], 0
je 0x1400243d6
call fcn.140114840
call fcn.140114950
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x158], rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x304]
mov r8d, dword [rsp + 0x300]
xor edx, edx
mov rcx, qword [rsp + 0x88]
call qword [rsp + 0x158]
mov dword [rsp + 0x300], 0
mov eax, dword [rsp + 0x300]
mov dword [rsp + 0x304], eax
call fcn.140114880
nop
lea rcx, [rsp + 0x2e0]
call fcn.140109360
call fcn.140114610
nop
movzx eax, byte [0x140414d4c]
movzx ecx, byte [0x140414d58]
cmp eax, ecx
je 0x140024452
movzx eax, byte [0x140414d4c]
mov byte [0x140414d58], al
movzx eax, byte [0x140414d58]
test eax, eax
je 0x14002441d
mov dword [rsp + 0x48], 0x11
jmp 0x140024425
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x54], eax
call fcn.140114210
mov qword [rsp + 0x160], rax
lea r8, [rsp + 0x54]
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x46]
call fcn.14001e2d0
nop
call fcn.1400d4680
call fcn.1400d6250
call fcn.1400a1fd0
mov r8d, 0x30281
xor edx, edx
lea rcx, str.HiddenOverlayWindow
call fcn.1400887c0
call fcn.140096f60
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x4c], xmm0
mov ecx, 0x34
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1400244a0
mov byte [0x1403b0018], 0
movzx eax, byte [0x1403b0018]
test eax, eax
je 0x1400247e7
movss xmm0, dword [0x140414d54]
ucomiss xmm0, dword [0x140135c20]
jp 0x1400244d0
jne 0x1400244d0
movss xmm0, dword [rsp + 0x4c]
movss dword [0x140414d54], xmm0
movss xmm0, dword [rsp + 0x4c]
subss xmm0, dword [0x140414d54]
movss dword [rsp + 0x58], xmm0
movss xmm0, dword [0x140135c30]
comiss xmm0, dword [rsp + 0x58]
jbe 0x1400247e0
call fcn.140096260
mov rax, qword [rax + 8]
mov qword [rsp + 0x2c8], rax
lea rax, str.Press_4_to_open_the_menu
mov qword [rsp + 0x98], rax
call fcn.140095620
mov qword [rsp + 0x178], rax
mov dword [rsp + 0x20], 0x80
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x230]
call fcn.140022310
mov rcx, rax
call fcn.140023820
mov dword [rsp + 0x5c], eax
movss xmm2, dword [rsp + 0x2cc]
movss xmm1, dword [rsp + 0x2c8]
lea rcx, [rsp + 0x1b0]
call fcn.1400223a0
mov qword [rsp + 0x168], rax
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rsp + 0x1b8]
call fcn.1400223a0
mov qword [rsp + 0x170], rax
mov dword [rsp + 0x28], 0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x5c]
mov r8, qword [rsp + 0x168]
mov rdx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x178]
call fcn.1400b7530
nop
movss xmm0, dword [0x140135c40]
movss dword [rsp + 0x20], xmm0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x308]
call fcn.14008e5a0
movss xmm0, dword [rsp + 0x2cc]
subss xmm0, dword [rsp + 0x30c]
divss xmm0, dword [0x140135c2c]
subss xmm0, dword [0x140135c3c]
movss xmm1, dword [rsp + 0x2c8]
subss xmm1, dword [rsp + 0x308]
divss xmm1, dword [0x140135c2c]
movaps xmm2, xmm0
lea rcx, [rsp + 0x310]
call fcn.1400223a0
movss xmm2, dword [0x140135c38]
movss xmm1, dword [0x140135c38]
lea rcx, [rsp + 0x2d0]
call fcn.1400223a0
movss xmm0, dword [rsp + 0x314]
subss xmm0, dword [rsp + 0x2d4]
subss xmm0, dword [0x140135c34]
movss xmm1, dword [rsp + 0x2c8]
subss xmm1, dword [rsp + 0x2d0]
divss xmm1, dword [0x140135c2c]
movaps xmm2, xmm0
lea rcx, [rsp + 0x2d8]
call fcn.1400223a0
nop
call fcn.140095620
mov qword [rsp + 0x180], rax
mov dword [rsp + 0x20], 0xff
mov r9d, 0xff
mov r8d, 0xff
mov edx, 0xff
lea rcx, [rsp + 0x240]
call fcn.140022310
mov rcx, rax
call fcn.140023820
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x98]
mov r8d, dword [rsp + 0x60]
lea rdx, [rsp + 0x310]
mov rcx, qword [rsp + 0x180]
call fcn.1400bb090
nop
movss xmm0, dword [rsp + 0x2dc]
addss xmm0, dword [rsp + 0x2d4]
movss xmm1, dword [rsp + 0x2d8]
addss xmm1, dword [rsp + 0x2d0]
movaps xmm2, xmm0
lea rcx, [rsp + 0x318]
call fcn.1400223a0
nop
call fcn.140095620
mov qword [rsp + 0x1a0], rax
movss xmm2, dword [0x140135c28]
movss xmm1, dword [0x140135c28]
lea rcx, [rsp + 0x1c0]
call fcn.1400223a0
mov qword [rsp + 0x188], rax
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rsp + 0x1c8]
call fcn.1400223a0
mov qword [rsp + 0x190], rax
mov rax, qword [0x140414890]
mov qword [rsp + 0x198], rax
mov dword [rsp + 0x30], 0xffffffff
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x318]
lea r8, [rsp + 0x2d8]
mov rdx, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x1a0]
call fcn.1400b5090
nop
jmp 0x1400247e7
mov byte [0x1403b0018], 0
call fcn.1400920d0
nop
movzx eax, byte [0x1403b0018]
test eax, eax
jne 0x1400249f4
movzx eax, byte [0x140414ccc]
test eax, eax
je 0x1400248e0
call fcn.140095620
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x20], 0xff
mov r9d, 0xff
mov r8d, 0xff
mov edx, 0xff
lea rcx, [rsp + 0x250]
call fcn.140022310
mov rcx, rax
call fcn.140023820
mov dword [rsp + 0x6c], eax
cvtsi2ss xmm0, dword [0x140414bd8]
movss dword [rsp + 0x70], xmm0
call fcn.140096260
movss xmm0, dword [rax + 0xc]
divss xmm0, dword [0x140135c2c]
movss dword [rsp + 0x64], xmm0
call fcn.140096260
movss xmm0, dword [rax + 8]
divss xmm0, dword [0x140135c2c]
movss dword [rsp + 0x68], xmm0
movss xmm2, dword [rsp + 0x64]
movss xmm1, dword [rsp + 0x68]
lea rcx, [rsp + 0x1d0]
call fcn.1400223a0
mov qword [rsp + 0xa0], rax
movss xmm0, dword [0x140135c28]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0x168
mov r9d, dword [rsp + 0x6c]
movss xmm2, dword [rsp + 0x70]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
call fcn.1400b3900
nop
movzx eax, byte [0x140414ccd]
test eax, eax
je 0x1400249c4
call fcn.140095620
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0x20], 0xff
xor r9d, r9d
xor r8d, r8d
mov edx, 0xff
lea rcx, [rsp + 0x260]
call fcn.140022310
mov rcx, rax
call fcn.140023820
mov dword [rsp + 0x7c], eax
cvtsi2ss xmm0, dword [0x140414c00]
movss dword [rsp + 0x80], xmm0
call fcn.140096260
movss xmm0, dword [rax + 0xc]
divss xmm0, dword [0x140135c2c]
movss dword [rsp + 0x74], xmm0
call fcn.140096260
movss xmm0, dword [rax + 8]
divss xmm0, dword [0x140135c2c]
movss dword [rsp + 0x78], xmm0
movss xmm2, dword [rsp + 0x74]
movss xmm1, dword [rsp + 0x78]
lea rcx, [rsp + 0x1d8]
call fcn.1400223a0
mov qword [rsp + 0xb0], rax
movss xmm0, dword [0x140135c28]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0x168
mov r9d, dword [rsp + 0x7c]
movss xmm2, dword [rsp + 0x80]
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb8]
call fcn.1400b3900
nop
movzx eax, byte [0x140414cb4]
test eax, eax
je 0x1400249d5
call fcn.140066e00
nop
movzx eax, byte [0x140414c19]
test eax, eax
je 0x1400249e6
call fcn.140063340
nop
lea rcx, [rsp + 0x2e0]
call fcn.14010b530
nop
call fcn.1400928c0
call fcn.1400a4360
call fcn.140114980
call fcn.140095e70
mov rcx, rax
call fcn.1400d46b0
call fcn.140114950
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0xc0], rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x90]
call qword [rsp + 0xc0]
nop
movzx eax, byte [0x140414d40]
test eax, eax
je 0x140024a64
lea rcx, [rsp + 0x2e0]
call fcn.140023690
nop
jmp 0x140024a77
jmp 0x1400242bf
lea rcx, [rsp + 0x2e0]
call fcn.140023690
nop
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.14011cd30
add rsp, 0x360
pop rdi
ret