Function at 0x14004cc80
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
mov rax, qword [0x140063040]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov dword [rbp + 0xc0], 0x50
mov dword [rbp + 0xc4], 0x40
lea rax, [0x14004d820]
mov qword [rbp + 0xc8], rax
xor r12d, r12d
mov qword [rbp + 0xd0], r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0xd8], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xe0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xf0], xmm1
lea rdi, str.ImGui_Example
mov qword [rbp + 0x100], rdi
mov qword [rbp + 0x108], r12
lea rcx, [rbp + 0xc0]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov r13d, 1
mov ecx, r13d
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov qword [rsp + 0x58], r12
mov rcx, qword [rbp + 0xd8]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
mov r9d, 0x80000000
mov r8, rdi
mov rdx, qword [rbp + 0x100]
mov ecx, 0x800a8
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r15, rax
mov r9d, 2
mov r8b, 0xff
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x1400597b0]
movdqu xmmword [rbp + 0x110], xmm0
lea rdx, [rbp + 0x110]
mov rcx, r15
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov qword [rbp + 0x44], r12
mov qword [rbp + 0x58], 2
mov qword [rbp + 0x70], 2
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x40], 0x1c
mov dword [rbp + 0x38], 0x3c
mov dword [rbp + 0x3c], r13d
mov dword [rbp + 0x54], 0x20
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x4c], r13
mov qword [rbp + 0x68], r13
mov dword [rbp + 0x10], 0xb000
mov dword [rbp + 0x14], 0xa000
lea rbx, [0x140069f18]
mov qword [rsp + 0x58], rbx
lea rax, [rbp + 0x18]
mov qword [rsp + 0x50], rax
lea rdi, [0x140069f10]
mov qword [rsp + 0x48], rdi
lea rsi, [0x140069f00]
mov qword [rsp + 0x40], rsi
lea rax, [rbp + 0x30]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
cmp eax, 0x887a0004
jne 0x14004cef8
mov qword [rsp + 0x58], rbx
lea rax, [rbp + 0x18]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rsi
lea rax, [rbp + 0x30]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 5
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x14004cf06
call fcn.14004d7a0
jmp 0x14004d72c
mov rcx, qword [0x140069f00]
mov rax, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [0x140059570]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x140069f10]
mov rax, qword [rcx]
lea r9, [0x140069ef8]
xor r8d, r8d
mov rdx, qword [rbp + 0x20]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov edx, 0xa
mov rcx, r15
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r15
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x140069e08]
test rbx, rbx
je 0x14004cf6e
inc dword [rbx + 0xec]
mov ecx, 0x5e68
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x70], rcx
mov qword [rbp + 0x28], rax
test rax, rax
je 0x14004cf9d
xor edx, edx
mov rcx, rax
call fcn.14001caf0
jmp 0x14004cfa0
mov rax, r12
mov qword [0x140069e08], rax
call fcn.140020510
test rbx, rbx
je 0x14004cfba
mov qword [0x140069e08], rbx
jmp 0x14004cfc1
mov rbx, qword [0x140069e08]
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp + 0x30], xmm2
movups xmmword [rbp + 0x40], xmm2
movups xmmword [rbp + 0x70], xmm2
movups xmmword [rbp + 0x80], xmm2
mov qword [rbp + 0xb0], rax
mov dword [rbp + 0x48], 3
mov dword [rbp + 0x4c], r13d
mov dword [rbp + 0x74], 0x7f7fffff
movss xmm6, dword [0x1400596c0]
mov dword [rbp + 0x80], 0x3f800000
mov eax, 0xffff
mov word [rbp + 0x84], ax
mov byte [rbp + 0x3c], 0
movaps xmm0, xmmword [rbp + 0x30]
movaps xmmword [rbp - 0x80], xmm0
movaps xmm1, xmmword [rbp + 0x40]
movaps xmmword [rbp - 0x70], xmm1
movaps xmmword [rbp - 0x60], xmm2
movaps xmmword [rbp - 0x50], xmm2
movaps xmm0, xmmword [rbp + 0x70]
movaps xmmword [rbp - 0x40], xmm0
movaps xmm1, xmmword [rbp + 0x80]
movaps xmmword [rbp - 0x30], xmm1
movaps xmmword [rbp - 0x20], xmm2
movaps xmmword [rbp - 0x10], xmm2
movsd xmm0, qword [rbp + 0xb0]
movsd qword [rbp], xmm0
lea rax, [0x140063200]
mov qword [rbp - 0x80], rax
mov dword [rbp - 0x78], 0x602c
mov dword [rbp - 0x6c], 0x41800000
lea rdx, [rbp - 0x80]
mov rcx, qword [rbx + 0x38]
call fcn.140040d70
mov qword [rbx + 0x48], rax
mov qword [rbx + 0x20], r12
or dword [rbx + 8], 3
call fcn.14004cb60
mov rcx, r15
call fcn.140046140
mov r14, qword [0x140069f18]
mov rsi, qword [0x140069f10]
mov rdi, qword [0x140069e08]
test rdi, rdi
je 0x14004d0b3
inc dword [rdi + 0xec]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14004d0f4
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
mov dword [rax + 0x70], 0x1388
mov dword [rax + 0x74], 0x2710
jmp 0x14004d0f7
mov rbx, r12
mov qword [rdi + 0x98], rbx
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x88], rax
or dword [rdi + 0xc], 8
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x20], r12
mov rax, qword [rsi]
lea r8, [rbp + 0x10]
lea rdx, [0x1400592d8]
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x14004d174
mov rcx, qword [rbp + 0x10]
mov rax, qword [rcx]
lea r8, [rbp + 0x18]
lea rdx, [0x1400592e8]
call qword [rax + 0x30]
test eax, eax
jne 0x14004d174
mov rcx, qword [rbp + 0x18]
mov rax, qword [rcx]
lea r8, [rbp + 0x20]
lea rdx, [0x1400592f8]
call qword [rax + 0x30]
test eax, eax
jne 0x14004d174
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov rax, qword [rbp + 0x20]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x14004d183
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x14004d192
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 8]
xor bl, bl
movss xmm13, dword [0x140059658]
movss xmm14, dword [0x140059790]
xorps xmm9, xmm9
movss xmm12, dword [0x1400596e8]
nop word [rax + rax]
mov rcx, qword [0x140069e38]
call fcn.14004d8d0
movzx ebx, bl
test eax, eax
cmove ebx, r13d
mov ecx, 0x73
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14004d202
cmp byte [0x140069f50], 0
sete byte [0x140069f50]
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14004d25a
nop dword [rax]
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageA]
movzx ebx, bl
cmp dword [rbp + 0x38], 0x12
cmove ebx, r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x14004d220
mov r8d, dword [0x140069ebc]
test r8d, r8d
je 0x14004d307
mov r9d, dword [0x140069f08]
test r9d, r9d
je 0x14004d307
mov rcx, qword [0x140069ef8]
test rcx, rcx
je 0x14004d2a1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140069ef8], r12
mov r8d, dword [0x140069ebc]
mov r9d, dword [0x140069f08]
mov rcx, qword [0x140069f00]
mov rax, qword [rcx]
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor edx, edx
call qword [rax + 0x68]
mov dword [0x140069f08], r12d
mov dword [0x140069ebc], r12d
mov rcx, qword [0x140069f00]
mov rax, qword [rcx]
lea r9, [rbp + 0x28]
lea r8, [0x140059570]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x140069f10]
mov rax, qword [rcx]
lea r9, [0x140069ef8]
xor r8d, r8d
mov rdx, qword [rbp + 0x28]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0x28]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x140069e08]
test rax, rax
je 0x14004d31c
mov rcx, qword [rax + 0x98]
jmp 0x14004d31f
mov rcx, r12
cmp qword [rcx + 0x48], 0
jne 0x14004d32b
call fcn.140045ae0
call fcn.140046ac0
call fcn.140022780
mov rax, qword [0x140069e08]
or dword [rax + 0x47b8], 1
mov dword [rax + 0x47c8], 0x44228000
mov qword [rax + 0x47cc], 0x42c80000
mov dword [rax + 0x47d4], r12d
mov dword [rax + 0x47bc], r13d
xor edx, edx
mov r8d, 0x6f
lea rcx, [0x1400518a1]
call fcn.1400276e0
lea rcx, str.CatFlowers_X_RL_GameAssembly
call fcn.140049860
mov rcx, qword [0x140069e08]
mov rax, qword [rcx + 0x3ed8]
movss xmm10, dword [rax + 0x28]
mov byte [rax + 0xb8], 1
mov rax, qword [rcx + 0x3ed8]
mov rsi, qword [rax + 0x298]
movss xmm11, dword [rax + 0x20]
movss xmm1, dword [rax + 0x24]
movss xmm2, dword [0x140069f40]
subss xmm2, xmm13
movss dword [0x140069f40], xmm2
or dword [rcx + 0x47b8], 1
mov dword [rcx + 0x47c8], 0x44bb8000
mov qword [rcx + 0x47cc], 0x442f0000
mov dword [rcx + 0x47d4], r12d
mov dword [rcx + 0x47bc], r13d
comiss xmm14, xmm2
jbe 0x14004d40b
addss xmm2, xmm6
movss dword [0x140069f40], xmm2
mov edi, r12d
comiss xmm10, xmm9
jbe 0x14004d4d2
movaps xmm8, xmm6
divss xmm8, xmm10
movaps xmm7, xmm9
movaps xmm0, xmm1
addss xmm0, xmm12
movss dword [rsp + 0x74], xmm0
movss dword [rsp + 0x6c], xmm1
nop dword [rax]
movaps xmm1, xmm8
mulss xmm1, xmm7
addss xmm1, xmm2
comiss xmm9, xmm1
jbe 0x14004d456
addss xmm1, xmm6
movss dword [rsp + 0x20], xmm6
movaps xmm3, xmm6
movaps xmm2, xmm6
lea rcx, [rbp + 0x120]
call fcn.140035b40
movaps xmm1, xmm11
addss xmm1, xmm7
movaps xmm0, xmm1
addss xmm0, xmm6
movss dword [rsp + 0x70], xmm0
movss dword [rsp + 0x68], xmm1
lea rcx, [rbp + 0x120]
call fcn.14001e970
mov r9d, eax
mov dword [rsp + 0x28], r12d
movss dword [rsp + 0x20], xmm9
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.14003fe80
inc edi
movd xmm7, edi
cvtdq2ps xmm7, xmm7
comiss xmm10, xmm7
jbe 0x14004d4d2
movss xmm2, dword [0x140069f40]
jmp 0x14004d440
call fcn.1400298f0
cmp byte [0x140069f50], 0
je 0x14004d510
mov rax, qword [0x140069e08]
or dword [rax + 0x47b8], 1
mov qword [rax + 0x47c8], r12
mov qword [rax + 0x47d0], r12
mov dword [rax + 0x47bc], r13d
call fcn.140012890
mov r8d, 0x80088
jmp 0x14004d516
mov r8d, 0x800a8
mov edx, 0xffffffec
mov rcx, r15
call qword [sym.imp.USER32.dll_SetWindowLongA]
call fcn.14001af90
call fcn.1400248c0
xorps xmm0, xmm0
movups xmmword [rbp + 0x130], xmm0
mov rcx, qword [0x140069f18]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x140069ef8]
mov edx, r13d
call qword [rax + 0x108]
mov rcx, qword [0x140069f18]
mov rax, qword [rcx]
lea r8, [rbp + 0x130]
mov rdx, qword [0x140069ef8]
call qword [rax + 0x190]
mov rax, qword [0x140069e08]
mov rcx, qword [rax + 0x48b8]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, r12
cmp byte [rax], r12b
cmovne rcx, rax
call fcn.140045070
mov rcx, qword [0x140069f00]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, r13d
call qword [rax + 0x40]
test bl, bl
je 0x14004d1d0
mov rbx, qword [0x140069e08]
test rbx, rbx
je 0x14004d5c7
mov rdi, qword [rbx + 0x98]
jmp 0x14004d5ca
mov rdi, r12
call fcn.140046020
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14004d5de
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14004d5ec
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14004d5fb
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x88], r12
mov qword [rbx + 0x98], r12
and dword [rbx + 0xc], 0xfffffff7
mov rax, qword [0x140069e08]
test rax, rax
je 0x14004d61f
dec dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140069e08]
test rax, rax
je 0x14004d63d
mov rdi, qword [rax + 0x90]
jmp 0x14004d640
mov rdi, r12
lea rbx, [rax + 8]
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x14004d65a
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x140069e08]
mov qword [rbx + 0x78], r12
mov qword [rbx + 0x88], r12
and dword [rbx + 4], 0xfffffff8
test rax, rax
je 0x14004d674
dec dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140069e08]
mov qword [0x140069e08], rbx
call fcn.140020950
mov qword [0x140069e08], r12
test rbx, rbx
je 0x14004d6bf
mov rcx, rbx
call fcn.140035420
mov rax, qword [0x140069e08]
test rax, rax
je 0x14004d6b6
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140069ef8]
test rcx, rcx
je 0x14004d6d8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140069ef8], r12
mov rcx, qword [0x140069f00]
test rcx, rcx
je 0x14004d6f1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140069f00], r12
mov rcx, qword [0x140069f18]
test rcx, rcx
je 0x14004d70a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140069f18], r12
mov rcx, qword [0x140069f10]
test rcx, rcx
je 0x14004d723
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140069f10], r12
mov rcx, r15
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0xd8]
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14004e280
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret