Function at 0x14003cc40
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 - 0x168]
sub rsp, 0x240
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
mov rax, qword [0x14004e040]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rsi, qword [0x14004e9f0]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThreadpool]
mov rbx, rax
test rax, rax
je 0x14003ccd6
xor r8d, r8d
xor edx, edx
lea rcx, [0x14003cb10]
call qword [sym.imp.KERNEL32.dll_CreateThreadpoolWork]
test rax, rax
jne 0x14003cccd
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseThreadpool]
jmp 0x14003ccd6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SubmitThreadpoolWork]
mov dword [rsi], 0x50
mov dword [rsi + 4], 3
lea rax, [0x14003ca50]
mov qword [rsi + 8], rax
lea rax, [rbp + 0xd0]
mov qword [rsi + 0x40], rax
mov rcx, rsi
call qword [sym.imp.USER32.dll_RegisterClassExA]
cvttss2si ecx, dword [rsi + 0x130]
cvttss2si edx, dword [rsi + 0x12c]
xor r15d, r15d
mov qword [rsp + 0x58], r15
mov rax, qword [rsi + 0x18]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
mov r9d, 0x80000000
xor r8d, r8d
mov rdx, qword [rsi + 0x40]
mov ecx, 0x8080028
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [rsi + 0xe0], rax
lea r9d, [r15 + 2]
mov r8b, 0xff
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
lea rdx, [rbp + 0x20]
mov rcx, qword [rsi + 0xe0]
call qword [sym.imp.USER32.dll_GetClientRect]
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
lea rdx, [rbp + 0xc0]
mov rcx, qword [rsi + 0xe0]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov qword [rbp + 0xd0], r15
lea rdx, [rbp + 0xd0]
mov rcx, qword [rsi + 0xe0]
call qword [sym.imp.USER32.dll_ClientToScreen]
lea rdx, [rsi + 0xc8]
mov rcx, qword [rsi + 0xe0]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x44], r15
mov qword [rbp + 0x4c], 1
mov qword [rbp + 0x58], 2
mov qword [rbp + 0x70], 2
mov dword [rbp + 0x38], 0x3c
mov dword [rbp + 0x3c], 1
mov dword [rbp + 0x40], 0x1c
mov dword [rbp + 0x54], 0x20
mov rax, qword [rsi + 0xe0]
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], 1
mov dword [rbp + 0x20], 0xb000
mov dword [rbp + 0x24], 0xa000
lea r13, [rsi + 0xa0]
lea r14, [rsi + 0x98]
lea r12, [rsi + 0xa8]
lea rax, [rsi + 0xb8]
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r12
lea rax, [rbp + 0x30]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r15 + 1]
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
mov qword [rbp + 0xc0], r15
mov rcx, qword [r12]
mov rax, qword [rcx]
lea r9, [rbp + 0xc0]
lea r8, [0x140046900]
xor edx, edx
call qword [rax + 0x48]
mov rdx, qword [rbp + 0xc0]
test rdx, rdx
je 0x14003cee3
mov rcx, qword [r14]
mov rax, qword [rcx]
lea r9, [rsi + 0xb0]
xor r8d, r8d
call qword [rax + 0x48]
mov rcx, qword [rbp + 0xc0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov edx, 0xa
mov rcx, qword [rsi + 0xe0]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsi + 0xe0]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x14004e980]
test rbx, rbx
je 0x14003cf14
inc dword [rbx + 0xf4]
mov ecx, 0x5e48
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0xd0], rax
lea rcx, [rsp + 0x60]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0xc0], rax
test rax, rax
je 0x14003cf47
xor edx, edx
mov rcx, rax
call fcn.140002d80
jmp 0x14003cf4a
mov rax, r15
mov qword [0x14004e980], rax
call fcn.140007110
test rbx, rbx
je 0x14003cf64
mov qword [0x14004e980], rbx
jmp 0x14003cf6b
mov rbx, qword [0x14004e980]
mov qword [rbx + 0x20], r15
mov qword [rbx + 0x28], r15
mov rdi, qword [rbx + 0x58]
movabs rax, 0x96854593e86cd0c0
mov qword [rsp + 0x70], rax
movabs rax, 0xb098e58b016b4c7
mov qword [rsp + 0x78], rax
movabs rax, 0xfb8f17847f950399
mov qword [rbp - 0x80], rax
movabs rax, 0x7f23fc3d82fba48c
mov qword [rbp - 0x78], rax
movabs rax, 0xf9e12bfabf30ea83
mov qword [rbp + 0xd0], rax
movabs rax, 0x787de037f64ac7b0
mov qword [rbp + 0xd8], rax
movabs rax, 0x9ae176e00df055c5
mov qword [rbp + 0xe0], rax
movabs rax, 0x7f23fc3de48fd0a2
mov qword [rbp + 0xe8], rax
movdqa xmm0, xmmword [rsp + 0x70]
xorps xmm0, xmmword [rbp + 0xd0]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [rbp - 0x80]
xorps xmm1, xmmword [rbp + 0xe0]
movdqa xmmword [rbp - 0x80], xmm1
mov qword [rbp + 0x20], r15
lea r8, [rbp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.140004a00
mov rbx, rax
test rax, rax
je 0x14003d1c9
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp - 0x70], xmm2
movups xmmword [rbp - 0x60], xmm2
movups xmmword [rbp - 0x30], xmm2
movups xmmword [rbp - 0x20], xmm2
mov qword [rbp + 0x10], rax
mov byte [rbp - 0x64], 1
mov dword [rbp - 0x58], 3
mov dword [rbp - 0x54], 1
mov dword [rbp - 0x2c], 0x7f7fffff
mov dword [rbp - 0x20], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0x1c], ax
movups xmm3, xmmword [rbp - 0x70]
movups xmmword [rbp + 0x30], xmm3
movups xmm4, xmmword [rbp - 0x60]
movups xmmword [rbp + 0x40], xmm4
movups xmmword [rbp + 0x50], xmm2
xorps xmm5, xmm5
movups xmmword [rbp + 0x60], xmm5
movups xmm6, xmmword [rbp - 0x30]
movups xmmword [rbp + 0x70], xmm6
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rbp + 0x80], xmm1
xorps xmm7, xmm7
movups xmmword [rbp + 0x90], xmm7
xorps xmm8, xmm8
movups xmmword [rbp + 0xa0], xmm8
movsd xmm9, qword [rbp + 0x10]
movsd qword [rbp + 0xb0], xmm9
movdqa xmm0, xmm1
psrldq xmm0, 6
movd eax, xmm0
test al, al
jne 0x14003d185
lea rcx, [rsp + 0x70]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x14003d0f0
lea r9, [rsp + 0x70]
add r9, rax
lea rax, [rsp + 0x70]
cmp r9, rax
jbe 0x14003d12c
nop dword [rax + rax]
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x14003d12c
cmp al, 0x5c
je 0x14003d12c
mov r9, rcx
lea rax, [rsp + 0x70]
cmp rcx, rax
ja 0x14003d110
movsd xmm0, qword [0x1400469a8]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, 0x28
lea rcx, [rbp + 0x86]
call fcn.140004680
movsd xmm9, qword [rbp + 0xb0]
movups xmm8, xmmword [rbp + 0xa0]
movups xmm7, xmmword [rbp + 0x90]
movups xmm1, xmmword [rbp + 0x80]
movups xmm6, xmmword [rbp + 0x70]
movups xmm5, xmmword [rbp + 0x60]
movups xmm2, xmmword [rbp + 0x50]
movups xmm4, xmmword [rbp + 0x40]
movups xmm3, xmmword [rbp + 0x30]
movups xmmword [rbp - 0x70], xmm3
movups xmmword [rbp - 0x60], xmm4
movups xmmword [rbp - 0x50], xmm2
movups xmmword [rbp - 0x40], xmm5
movups xmmword [rbp - 0x30], xmm6
movups xmmword [rbp - 0x20], xmm1
movups xmmword [rbp - 0x10], xmm7
movups xmmword [rbp], xmm8
movsd qword [rbp + 0x10], xmm9
mov qword [rbp - 0x70], rbx
mov eax, dword [rbp + 0x20]
mov dword [rbp - 0x68], eax
mov dword [rbp - 0x5c], 0x41800000
lea rdx, [rbp - 0x70]
mov rcx, rdi
call fcn.140028700
mov rcx, qword [rsi + 0xe0]
call fcn.14002e220
mov r15, qword [r13]
mov r14, qword [r14]
mov rdi, qword [0x14004e980]
test rdi, rdi
je 0x14003d1ee
inc dword [rdi + 0xf4]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
mov qword [rbp + 0xd0], rax
test rax, rax
je 0x14003d23e
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm0
movups xmmword [rbx + 0x60], xmm0
mov qword [rbx + 0x70], rax
mov dword [rbx + 0x70], 0x1388
mov dword [rbx + 0x74], 0x2710
xor ecx, ecx
jmp 0x14003d242
xor ecx, ecx
mov ebx, ecx
mov qword [rdi + 0xa0], rbx
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x90], rax
or dword [rdi + 0xc], 8
mov qword [rbp + 0xc0], rcx
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0xd0], rcx
mov rax, qword [r14]
lea r8, [rbp + 0xc0]
lea rdx, [0x1400466a8]
mov rcx, r14
call qword [rax]
test eax, eax
jne 0x14003d2d1
mov rcx, qword [rbp + 0xc0]
mov rax, qword [rcx]
lea r8, [rbp + 0x20]
lea rdx, [0x1400466b8]
call qword [rax + 0x30]
test eax, eax
jne 0x14003d2d1
mov rcx, qword [rbp + 0x20]
mov rax, qword [rcx]
lea r8, [rbp + 0xd0]
lea rdx, [0x1400466c8]
call qword [rax + 0x30]
test eax, eax
jne 0x14003d2d1
mov qword [rbx], r14
mov qword [rbx + 8], r15
mov rax, qword [rbp + 0xd0]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp + 0xc0]
test rcx, rcx
je 0x14003d2e3
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x14003d2f2
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]
mov rcx, qword [0x14004e980]
mov rcx, qword [rcx + 0x58]
call fcn.1400289d0
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
lea rbx, [rax + 0x1e848]
lea rbx, [rax + rbx*8]
cmp byte [rsi + 0x128], 0
je 0x14003d61d
movabs r15, 0x311cdad160000
xorps xmm7, xmm7
movsd xmm6, qword [0x140046a08]
xor r14d, r14d
nop dword [rax + rax]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14003d3af
nop
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [rbp + 0x38], 0x12
jne 0x14003d391
mov byte [rsi + 0x128], 0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x14003d370
cmp byte [rsi + 0x128], 0
je 0x14003d61d
movss xmm0, dword [rsi + 0x12c]
ucomiss xmm0, xmm7
jp 0x14003d3cf
je 0x14003d45d
movss xmm0, dword [rsi + 0x130]
ucomiss xmm0, xmm7
jp 0x14003d3de
je 0x14003d45d
mov rcx, qword [rsi + 0xb0]
test rcx, rcx
je 0x14003d3f0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [r12]
mov rax, qword [rcx]
cvttss2si r9, dword [rsi + 0x130]
cvttss2si r8, dword [rsi + 0x12c]
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor edx, edx
call qword [rax + 0x68]
mov rcx, qword [r12]
mov rax, qword [rcx]
lea r9, [rbp + 0xd0]
lea r8, [0x140046900]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [rsi + 0x98]
mov rax, qword [rcx]
lea r9, [rsi + 0xb0]
xor r8d, r8d
mov rdx, qword [rbp + 0xd0]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0xd0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x14004e980]
test rax, rax
je 0x14003d472
mov rcx, qword [rax + 0xa0]
jmp 0x14003d475
mov rcx, r14
cmp qword [rcx + 0x48], 0
jne 0x14003d481
call fcn.14002dd00
call fcn.14002eba0
call fcn.140009290
call fcn.140001c30
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14003d4ae
mov rcx, qword [0x14004e9e8]
cmp byte [rcx], 0
sete al
mov byte [rcx], al
mov rax, qword [0x14004e9e8]
mov edx, 0xffffffec
mov rcx, qword [0x14004e9f0]
mov rcx, qword [rcx + 0xe0]
cmp byte [rax], 0
je 0x14003d4e7
mov r8d, 0x8000028
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x14004e9e8]
call fcn.14003c1f0
jmp 0x14003d4f3
mov r8d, 0x8080028
call qword [sym.imp.USER32.dll_SetWindowLongA]
call fcn.14000b3a0
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
mov rcx, qword [r13]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rsi + 0xb0]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [r13]
mov rax, qword [rcx]
lea r8, [rbp + 0xc0]
mov rdx, qword [rsi + 0xb0]
call qword [rax + 0x190]
mov rax, qword [0x14004e980]
mov rcx, qword [rax + 0x48a8]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, r14
cmp byte [rax], 0
cmovne rcx, rax
call fcn.14002d090
mov rcx, qword [r12]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [rax + 0x40]
movabs r14, 0x1c71c71c71c71c72
movabs r13, 0x112e0be826d694b3
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
lea rdi, [rax + rax*8]
cmp rbx, rdi
je 0x14003d5fc
jl 0x14003d5fc
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
imul r8, rax, 0x64
mov rax, rbx
sub rax, rdi
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
comisd xmm0, xmm6
jbe 0x14003d5b6
lea rcx, [r8 + r15]
jmp 0x14003d5cd
imul rcx, rax, 0x64
mov rax, r14
imul rcx
mov rcx, rdx
shr rcx, 0x3f
add rcx, rdx
add rcx, r8
mov rax, r13
imul rcx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rbp + 0x20], rdx
imul eax, edx, 0x3b9aca00
sub ecx, eax
mov dword [rbp + 0x28], ecx
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP140.dll__Thrd_sleep]
jmp 0x14003d581
add rbx, 0xf4240
cmp byte [rsi + 0x128], 0
lea r13, [rsi + 0xa0]
mov r14d, 0
jne 0x14003d350
mov rbx, qword [0x14004e980]
xor r14d, r14d
test rbx, rbx
je 0x14003d635
mov rdi, qword [rbx + 0xa0]
jmp 0x14003d638
mov rdi, r14
call fcn.14002e100
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14003d64c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003d65a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14003d669
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x90], r14
mov qword [rbx + 0xa0], r14
and dword [rbx + 0xc], 0xfffffff7
mov rax, qword [0x14004e980]
test rax, rax
je 0x14003d68d
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x14004e980]
test rax, rax
je 0x14003d6ab
mov rdi, qword [rax + 0x98]
jmp 0x14003d6ae
mov rdi, r14
lea rbx, [rax + 8]
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x14003d6c8
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x14004e980]
mov qword [rbx + 0x80], r14
mov qword [rbx + 0x90], r14
and dword [rbx + 4], 0xfffffff8
test rax, rax
je 0x14003d6e5
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x14004e980]
mov qword [0x14004e980], rbx
call fcn.140007520
mov qword [0x14004e980], r14
test rbx, rbx
je 0x14003d730
mov rcx, rbx
call fcn.14001cbc0
mov rax, qword [0x14004e980]
test rax, rax
je 0x14003d727
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsi + 0xa8]
test rcx, rcx
je 0x14003d742
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp qword [rsi + 0xa0], 0
je 0x14003d759
mov rcx, qword [rsi + 0x98]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsi + 0x98]
test rcx, rcx
je 0x14003d76b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsi + 0xb0]
test rcx, rcx
je 0x14003d77d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsi + 0xe0]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.14003db20
lea r11, [rsp + 0x240]
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]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret