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 + 0xc0], xmm0
lea rdx, [rbp + 0xc0]
mov rcx, qword [rsi + 0xe0]
call qword [sym.imp.USER32.dll_GetClientRect]
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
lea rdx, [rbp + 0x20]
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 + 0xc0], 0xb000
mov dword [rbp + 0xc4], 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 + 0xc0]
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 + 0x20], r15
mov rcx, qword [r12]
mov rax, qword [rcx]
lea r9, [rbp + 0x20]
lea r8, [0x140046900]
xor edx, edx
call qword [rax + 0x48]
mov rdx, qword [rbp + 0x20]
test rdx, rdx
je 0x14003cee0
mov rcx, qword [r14]
mov rax, qword [rcx]
lea r9, [rsi + 0xb0]
xor r8d, r8d
call qword [rax + 0x48]
mov rcx, qword [rbp + 0x20]
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 0x14003cf11
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 + 0xc0], rcx
mov qword [rbp + 0x20], rax
test rax, rax
je 0x14003cf44
xor edx, edx
mov rcx, rax
call fcn.140002d80
jmp 0x14003cf47
mov rax, r15
mov qword [0x14004e980], rax
call fcn.140007110
test rbx, rbx
je 0x14003cf61
mov qword [0x14004e980], rbx
jmp 0x14003cf68
mov rbx, qword [0x14004e980]
mov qword [rbx + 0x20], r15
mov qword [rbx + 0x28], r15
mov rdi, qword [rbx + 0x58]
movabs rax, 0x2d87ce4f2bf93330
mov qword [rsp + 0x70], rax
movabs rax, 0x2a80f23c89141793
mov qword [rsp + 0x78], rax
movabs rax, 0x7dbe1074f79c1c41
mov qword [rbp - 0x80], rax
movabs rax, 0xd2cfec9530b39738
mov qword [rbp - 0x78], rax
movabs rax, 0x42e3a0267ca50973
mov qword [rbp + 0xd0], rax
movabs rax, 0x59f49c53cf4864e4
mov qword [rbp + 0xd8], rax
movabs rax, 0x1cd0711085f94a1d
mov qword [rbp + 0xe0], rax
movabs rax, 0xd2cfec9556c7e316
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 + 0xc0], r15
lea r8, [rbp + 0xc0]
lea rcx, [rsp + 0x70]
call fcn.140004a00
mov rbx, rax
test rax, rax
je 0x14003d1cc
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
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 + 0xc0]
mov dword [rbp - 0x68], eax
mov dword [rbp - 0x5c], 0x41800000
lea rdx, [rbp - 0x70]
mov rcx, rdi
call fcn.1400286f0
mov rcx, qword [rsi + 0xe0]
call fcn.14002e250
mov r15, qword [r13]
mov r14, qword [r14]
mov rdi, qword [0x14004e980]
test rdi, rdi
je 0x14003d1f1
inc dword [rdi + 0xf4]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
xor ecx, ecx
test rax, rax
je 0x14003d234
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 0x14003d237
mov rbx, rcx
mov qword [rdi + 0xa0], rbx
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x90], rax
or dword [rdi + 0xc], 8
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0xc0], rcx
mov qword [rbp + 0xd0], rcx
mov rax, qword [r14]
lea r8, [rbp + 0x20]
lea rdx, [0x1400466a8]
mov rcx, r14
call qword [rax]
test eax, eax
jne 0x14003d2c6
mov rcx, qword [rbp + 0x20]
mov rax, qword [rcx]
lea r8, [rbp + 0xc0]
lea rdx, [0x1400466b8]
call qword [rax + 0x30]
test eax, eax
jne 0x14003d2c6
mov rcx, qword [rbp + 0xc0]
mov rax, qword [rcx]
lea r8, [rbp + 0xd0]
lea rdx, [0x1400466c8]
call qword [rax + 0x30]
test eax, eax
jne 0x14003d2c6
mov qword [rbx], r14
mov qword [rbx + 8], r15
mov rax, qword [rbp + 0xd0]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x14003d2d5
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0xc0]
test rcx, rcx
je 0x14003d2e7
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.1400289c0
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
lea rbx, [rax + 0x1e848]
lea rbx, [rax + rbx*8]
cmp byte [rsi + 0x128], 0
je 0x14003d5d8
movabs r15, 0x7127db7bfff
xorps xmm6, xmm6
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 0x14003d39f
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 0x14003d381
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 0x14003d360
cmp byte [rsi + 0x128], 0
je 0x14003d5d8
movss xmm0, dword [rsi + 0x12c]
ucomiss xmm0, xmm6
jp 0x14003d3bf
je 0x14003d44d
movss xmm0, dword [rsi + 0x130]
ucomiss xmm0, xmm6
jp 0x14003d3ce
je 0x14003d44d
mov rcx, qword [rsi + 0xb0]
test rcx, rcx
je 0x14003d3e0
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 0x14003d462
mov rcx, qword [rax + 0xa0]
jmp 0x14003d465
mov rcx, r14
cmp qword [rcx + 0x48], 0
jne 0x14003d471
call fcn.14002dd30
call fcn.14002ebd0
call fcn.140009290
call fcn.140001c30
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14003d49e
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 0x14003d4d7
mov r8d, 0x8000028
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x14004e9e8]
call fcn.14003c1f0
jmp 0x14003d4e3
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.14002d0c0
mov rcx, qword [r12]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [rax + 0x40]
movabs r14, 0xba69dbdd3ac13d7d
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
lea rdx, [rax + rax*8]
cmp rbx, rdx
je 0x14003d5be
jl 0x14003d5be
mov rcx, rbx
sub rcx, rdx
cmp rcx, r15
jg 0x14003d5b2
mov rax, r14
imul rcx
add rdx, rcx
sar rdx, 0x10
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0x15f90
cmp rax, rcx
jge 0x14003d5a9
inc rdx
mov ecx, edx
call sub.KERNEL32.dll_Sleep
jmp 0x14003d567
mov ecx, 0x5265c00
call sub.KERNEL32.dll_Sleep
jmp 0x14003d567
add rbx, 0xf4240
cmp byte [rsi + 0x128], 0
mov r14d, 0
jne 0x14003d340
mov rbx, qword [0x14004e980]
xor r14d, r14d
test rbx, rbx
je 0x14003d5f0
mov rdi, qword [rbx + 0xa0]
jmp 0x14003d5f3
mov rdi, r14
call fcn.14002e130
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14003d607
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003d615
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14003d624
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 0x14003d648
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 0x14003d666
mov rdi, qword [rax + 0x98]
jmp 0x14003d669
mov rdi, r14
lea rbx, [rax + 8]
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x14003d683
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 0x14003d6a0
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 0x14003d6eb
mov rcx, rbx
call fcn.14001cbe0
mov rax, qword [0x14004e980]
test rax, rax
je 0x14003d6e2
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 0x14003d6fd
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp qword [rsi + 0xa0], 0
je 0x14003d714
mov rcx, qword [rsi + 0x98]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsi + 0x98]
test rcx, rcx
je 0x14003d726
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsi + 0xb0]
test rcx, rcx
je 0x14003d738
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.14003daf0
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