Function at 0x14003c0d0
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 [0x14004d040]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rsi, qword [0x14004d9f0]
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 0x14003c166
xor r8d, r8d
xor edx, edx
lea rcx, [0x14003bfa0]
call qword [sym.imp.KERNEL32.dll_CreateThreadpoolWork]
test rax, rax
jne 0x14003c15d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseThreadpool]
jmp 0x14003c166
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SubmitThreadpoolWork]
mov dword [rsi], 0x50
mov dword [rsi + 4], 3
lea rax, [0x14003bee0]
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
mov r9d, 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
mov edx, 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, [0x140045900]
xor edx, edx
call qword [rax + 0x48]
mov rdx, qword [rbp + 0x20]
test rdx, rdx
je 0x14003c373
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 [0x14004d980]
test rbx, rbx
je 0x14003c3a4
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 0x14003c3d7
xor edx, edx
mov rcx, rax
call fcn.140002d90
jmp 0x14003c3da
mov rax, r15
mov qword [0x14004d980], rax
call fcn.140007080
test rbx, rbx
je 0x14003c3f4
mov qword [0x14004d980], rbx
jmp 0x14003c3fb
mov rbx, qword [0x14004d980]
mov qword [rbx + 0x20], r15
mov qword [rbx + 0x28], r15
mov rdi, qword [rbx + 0x58]
movabs rax, 0xcf1f91545c0b1766
mov qword [rsp + 0x70], rax
movabs rax, 0x1840838fe7bd8cf5
mov qword [rsp + 0x78], rax
movabs rax, 0x111d8443d0c1d31b
mov qword [rbp - 0x80], rax
movabs rax, 0x31331fdaa2c2dfe2
mov qword [rbp - 0x78], rax
movabs rax, 0xa07bff3d0b572d25
mov qword [rbp + 0xd0], rax
movabs rax, 0x6b34ede0a1e1ff82
mov qword [rbp + 0xd8], rax
movabs rax, 0x7073e527a2a48547
mov qword [rbp + 0xe0], rax
movabs rax, 0x31331fdac4b6abcc
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.140004a10
mov rbx, rax
test rax, rax
je 0x14003c65c
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 0x14003c615
lea rcx, [rsp + 0x70]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x14003c583
lea r9, [rsp + 0x70]
add r9, rax
lea rax, [rsp + 0x70]
cmp r9, rax
jbe 0x14003c5bc
nop
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x14003c5bc
cmp al, 0x5c
je 0x14003c5bc
mov r9, rcx
lea rax, [rsp + 0x70]
cmp rcx, rax
ja 0x14003c5a0
movsd xmm0, qword [0x1400459a8]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, 0x28
lea rcx, [rbp + 0x86]
call fcn.140004690
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.140027f20
mov rcx, qword [rsi + 0xe0]
call fcn.14002d720
mov r15, qword [r13]
mov r14, qword [r14]
mov rdi, qword [0x14004d980]
test rdi, rdi
je 0x14003c681
inc dword [rdi + 0xf4]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14003c6c2
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 0x14003c6c6
xor edx, edx
mov ebx, edx
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], 0
mov qword [rbp + 0xc0], 0
mov qword [rbp + 0xd0], 0
mov rax, qword [r14]
lea r8, [rbp + 0x20]
lea rdx, [0x1400456a8]
mov rcx, r14
call qword [rax]
test eax, eax
jne 0x14003c761
mov rcx, qword [rbp + 0x20]
mov rax, qword [rcx]
lea r8, [rbp + 0xc0]
lea rdx, [0x1400456b8]
call qword [rax + 0x30]
test eax, eax
jne 0x14003c761
mov rcx, qword [rbp + 0xc0]
mov rax, qword [rcx]
lea r8, [rbp + 0xd0]
lea rdx, [0x1400456c8]
call qword [rax + 0x30]
test eax, eax
jne 0x14003c761
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 0x14003c770
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0xc0]
test rcx, rcx
je 0x14003c782
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 [0x14004d980]
mov rcx, qword [rcx + 0x58]
call fcn.1400281f0
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
lea rbx, [rax + 0x1e848]
lea rbx, [rax + rbx*8]
cmp byte [rsi + 0x128], 0
je 0x14003ca8e
movabs r14, 0x7127db7c000
movabs r15, 0xba69dbdd3ac13d7d
xorps xmm6, xmm6
nop word [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 0x14003c83f
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 0x14003c821
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 0x14003c800
cmp byte [rsi + 0x128], 0
je 0x14003ca8e
movss xmm0, dword [rsi + 0x12c]
ucomiss xmm0, xmm6
jp 0x14003c85f
je 0x14003c8eb
movss xmm0, dword [rsi + 0x130]
ucomiss xmm0, xmm6
jp 0x14003c86e
je 0x14003c8eb
mov rcx, qword [rsi + 0xb0]
test rcx, rcx
je 0x14003c880
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]
xor edx, edx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], edx
call qword [rax + 0x68]
mov rcx, qword [r12]
mov rax, qword [rcx]
lea r9, [rbp + 0xd0]
lea r8, [0x140045900]
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 [0x14004d980]
test rax, rax
je 0x14003c900
mov rcx, qword [rax + 0xa0]
jmp 0x14003c902
xor ecx, ecx
cmp qword [rcx + 0x48], 0
jne 0x14003c90e
call fcn.14002d200
call fcn.14002e0a0
call fcn.140009260
call fcn.140001c30
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14003c93b
mov rcx, qword [0x14004d9e8]
cmp byte [rcx], 0
sete al
mov byte [rcx], al
mov rax, qword [0x14004d9e8]
mov edx, 0xffffffec
mov rcx, qword [0x14004d9f0]
mov rcx, qword [rcx + 0xe0]
cmp byte [rax], 0
je 0x14003c974
mov r8d, 0x8000028
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x14004d9e8]
call fcn.14003b680
jmp 0x14003c980
mov r8d, 0x8080028
call qword [sym.imp.USER32.dll_SetWindowLongA]
call fcn.14000b380
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
mov rcx, qword [r13]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rsi + 0xb0]
mov edx, 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 [0x14004d980]
mov rcx, qword [rax + 0x48a8]
mov rax, qword [rcx]
add rax, 0x48
xor ecx, ecx
cmp byte [rax], cl
cmovne rcx, rax
call fcn.14002c580
mov rcx, qword [r12]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 1
call qword [rax + 0x40]
nop word [rax + rax]
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
lea rax, [rax + rax*8]
cmp rbx, rax
je 0x14003ca7a
jl 0x14003ca7a
mov rcx, rbx
sub rcx, rax
cmp rcx, r14
jne 0x14003ca3c
mov rax, r15
imul rcx
add rdx, rcx
sar rdx, 0x10
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov ecx, edx
call sub.KERNEL32.dll_Sleep
jmp 0x14003ca00
jl 0x14003ca4c
mov edx, 0x5265c00
mov ecx, edx
call sub.KERNEL32.dll_Sleep
jmp 0x14003ca00
mov rax, r15
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 0x14003ca71
inc edx
mov ecx, edx
call sub.KERNEL32.dll_Sleep
jmp 0x14003ca00
add rbx, 0xf4240
cmp byte [rsi + 0x128], 0
jne 0x14003c7e0
mov rbx, qword [0x14004d980]
test rbx, rbx
je 0x14003caa3
mov rdi, qword [rbx + 0xa0]
jmp 0x14003caa5
xor edi, edi
call fcn.14002d600
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14003cab9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003cac7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14003cad6
mov rax, qword [rcx]
call qword [rax + 0x10]
xor r14d, r14d
mov qword [rbx + 0x90], r14
mov qword [rbx + 0xa0], r14
and dword [rbx + 0xc], 0xfffffff7
mov rax, qword [0x14004d980]
test rax, rax
je 0x14003cafd
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x14004d980]
test rax, rax
je 0x14003cb1b
mov rdi, qword [rax + 0x98]
jmp 0x14003cb1e
mov rdi, r14
lea rbx, [rax + 8]
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x14003cb38
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x14004d980]
mov qword [rbx + 0x80], r14
mov qword [rbx + 0x90], r14
and dword [rbx + 4], 0xfffffff8
test rax, rax
je 0x14003cb55
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x14004d980]
mov qword [0x14004d980], rbx
call fcn.140007490
mov qword [0x14004d980], r14
test rbx, rbx
je 0x14003cba0
mov rcx, rbx
call fcn.14001ca20
mov rax, qword [0x14004d980]
test rax, rax
je 0x14003cb97
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 0x14003cbb2
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp qword [rsi + 0xa0], r14
je 0x14003cbc8
mov rcx, qword [rsi + 0x98]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsi + 0x98]
test rcx, rcx
je 0x14003cbda
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsi + 0xb0]
test rcx, rcx
je 0x14003cbec
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.14003cf90
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