Function at 0x140056c20
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 - 0x108]
sub rsp, 0x1e0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x14006b040]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rax, qword [0x14006bab8]
test rax, rax
je 0x140056c80
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x140056c80
mov byte [rcx + 0x2e], 1
mov ebx, 4
xor edx, edx
mov ecx, 0xa
call fcn.14003f540
test eax, eax
je 0x140056d08
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x14006bb78], eax
jle 0x140056ce1
lea rcx, [0x14006bb78]
call fcn.1400579cc
cmp dword [0x14006bb78], 0xffffffff
jne 0x140056ce1
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x14006bb88], rax
lea rcx, [0x14006bb78]
call fcn.140057960
lea rdx, str.SetThreadDpiAwarenessContext
mov rcx, qword [0x14006bb88]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140056d08
mov rcx, 0xfffffffffffffffc
call rax
jmp 0x140056d8f
mov edx, 3
mov ecx, 6
call fcn.14003f540
test eax, eax
je 0x140056d89
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x14006bb80], eax
jle 0x140056d67
lea rcx, [0x14006bb80]
call fcn.1400579cc
cmp dword [0x14006bb80], 0xffffffff
jne 0x140056d67
lea rcx, str.shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x14006bb68], rax
lea rcx, [0x14006bb80]
call fcn.140057960
lea rdx, str.SetProcessDpiAwareness
mov rcx, qword [0x14006bb68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140056d89
mov ecx, 2
call rax
jmp 0x140056d8f
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
mov dword [rbp + 0x10], 0x50
mov dword [rbp + 0x14], 0x40
lea rax, [0x140056af0]
mov qword [rbp + 0x18], rax
xor r12d, r12d
mov qword [rbp + 0x20], r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 0x28], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x40], xmm1
lea rbx, [0x140060370]
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x58], r12
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], r12
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], 0x32
mov dword [rsp + 0x30], 0x32
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], 0x64
mov r9d, 0xcf0000
mov r8, rbx
mov rdx, qword [rbp + 0x50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r14, rax
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x6c], r12
mov qword [rbp - 0x58], 2
mov qword [rbp - 0x40], 2
mov qword [rbp - 0x80], r12
mov dword [rbp - 0x70], 0x1c
mov dword [rbp - 0x78], 0x3c
mov r15d, 1
mov dword [rbp - 0x74], r15d
mov dword [rbp - 0x5c], 0x20
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x64], r15
mov qword [rbp - 0x48], r15
mov dword [rbp + 0x88], 0xb000
mov dword [rbp + 0x8c], 0xa000
lea rax, [0x14006bad8]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x50], rax
lea rax, [0x14006bac8]
mov qword [rsp + 0x48], rax
lea rax, [0x14006bae0]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0x88]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
jne 0x14005781b
call fcn.140056a00
xor edx, edx
mov rcx, r14
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r14
call qword [sym.imp.USER32.dll_UpdateWindow]
mov r13, qword [0x14006bab8]
test r13, r13
je 0x140056f28
inc dword [r13 + 0xf4]
mov ecx, 0x6450
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x60]
mov qword [rbp + 0x88], rcx
mov qword [rsp + 0x78], rax
test rax, rax
je 0x140056f5a
xor edx, edx
mov rcx, rax
call fcn.140005db0
jmp 0x140056f5d
mov rax, r12
mov qword [0x14006bab8], rax
call fcn.14000d9b0
test r13, r13
je 0x140056f77
mov qword [0x14006bab8], r13
jmp 0x140056f7e
mov r13, qword [0x14006bab8]
or dword [r13 + 8], 0x401
mov dword [r13 + 0x3918], 0x40c00000
mov dword [r13 + 0x394c], 0x40800000
mov dword [r13 + 0x393c], 0x40800000
mov dword [r13 + 0x3980], 0x40800000
mov dword [r13 + 0x3988], 0x40800000
mov dword [r13 + 0x391c], 0x3f800000
mov dword [r13 + 0x3950], 0x3f800000
mov dword [r13 + 0x3940], 0x3f800000
mov dword [r13 + 0x397c], 0x41800000
test dword [r13 + 8], 0x400
je 0x140057009
mov dword [r13 + 0x3918], 0x40800000
mov dword [r13 + 0x39fc], 0x3f800000
movdqa xmm0, xmmword [0x140060850]
movups xmmword [r13 + 0x39d0], xmm0
movdqa xmm1, xmmword [0x140060950]
movups xmmword [r13 + 0x39e0], xmm1
movdqa xmm3, xmmword [0x1400609c0]
movups xmmword [r13 + 0x39f0], xmm3
movdqa xmm0, xmmword [0x1400609b0]
movups xmmword [r13 + 0x3a00], xmm0
movdqa xmm1, xmmword [0x1400607f0]
movups xmmword [r13 + 0x3a10], xmm1
movdqa xmm0, xmmword [0x140060980]
movups xmmword [r13 + 0x3a20], xmm0
movdqa xmm1, xmmword [0x140060550]
movups xmmword [r13 + 0x3a30], xmm1
movups xmmword [r13 + 0x3a40], xmm3
movdqa xmm8, xmmword [0x1400606c0]
movups xmmword [r13 + 0x3a50], xmm8
movdqa xmm5, xmmword [0x140060730]
movups xmmword [r13 + 0x3a60], xmm5
movdqa xmm2, xmmword [0x140060780]
movups xmmword [r13 + 0x3a70], xmm2
movdqa xmm6, xmmword [0x140060670]
movups xmmword [r13 + 0x3a90], xmm6
movdqa xmm0, xmmword [0x140060760]
movups xmmword [r13 + 0x3a80], xmm0
movdqa xmm1, xmmword [0x1400609f0]
movups xmmword [r13 + 0x3aa0], xmm1
movups xmmword [r13 + 0x3ab0], xmm3
movdqa xmm0, xmmword [0x140060770]
movups xmmword [r13 + 0x3ac0], xmm0
movdqa xmm7, xmmword [0x1400608e0]
movups xmmword [r13 + 0x3ad0], xmm7
movdqa xmm4, xmmword [0x1400608a0]
movups xmmword [r13 + 0x3ae0], xmm4
movups xmmword [r13 + 0x3af0], xmm7
movups xmmword [r13 + 0x3b00], xmm2
movups xmmword [r13 + 0x3b10], xmm4
movups xmmword [r13 + 0x3b20], xmm8
movdqa xmm2, xmmword [0x140060740]
movups xmmword [r13 + 0x3b30], xmm2
movups xmmword [r13 + 0x3b40], xmm4
movups xmmword [r13 + 0x3b50], xmm5
movdqa xmm3, xmmword [0x140060920]
movups xmmword [r13 + 0x3b60], xmm3
movups xmmword [r13 + 0x3b70], xmm4
movdqa xmm0, xmmword [0x140060990]
movups xmmword [r13 + 0x3b80], xmm0
movdqa xmm1, xmmword [0x140060710]
movups xmmword [r13 + 0x3b90], xmm1
movups xmmword [r13 + 0x3ba0], xmm4
movdqa xmm0, xmmword [0x140060600]
movups xmmword [r13 + 0x3bb0], xmm0
movups xmmword [r13 + 0x3bc0], xmm8
movdqa xmm0, xmmword [0x1400607a0]
movups xmmword [r13 + 0x3bd0], xmm0
movups xmmword [r13 + 0x3be0], xmm5
movups xmmword [r13 + 0x3bf0], xmm2
movups xmmword [r13 + 0x3c00], xmm4
movups xmmword [r13 + 0x3c10], xmm6
movdqa xmm0, xmmword [0x140060700]
movups xmmword [r13 + 0x3c20], xmm0
movups xmmword [r13 + 0x3c50], xmm8
movups xmmword [r13 + 0x3c60], xmm3
movdqa xmm2, xmmword [0x1400606e0]
movups xmmword [r13 + 0x3c70], xmm2
movups xmmword [r13 + 0x3c80], xmm3
movdqa xmm0, xmmword [0x140060630]
movups xmmword [r13 + 0x3ce0], xmm0
movdqa xmm1, xmmword [0x1400607d0]
movups xmmword [r13 + 0x3cf0], xmm1
movups xmmword [r13 + 0x3d00], xmm7
movups xmmword [r13 + 0x3d10], xmm2
movdqa xmm0, xmmword [0x1400605d0]
movups xmmword [r13 + 0x3d20], xmm0
movdqa xmm1, xmmword [0x140060620]
movups xmmword [r13 + 0x3d30], xmm1
mov edx, 2
mov rcx, r14
call qword [sym.imp.USER32.dll_MonitorFromWindow]
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], rcx
mov dword [rbp + 0x60], 0x28
lea rdx, [rbp + 0x60]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
mov eax, dword [rbp + 0x70]
sub eax, dword [rbp + 0x68]
cmp eax, 0x438
jle 0x140057317
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
mov byte [rbp - 0x74], 1
mov dword [rbp - 0x68], 3
mov dword [rbp - 0x64], r15d
mov dword [rbp - 0x3c], 0x7f7fffff
mov dword [rbp - 0x30], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0x2c], ax
mov dword [rbp - 0x6c], 0x41d00000
lea rdx, [rbp - 0x80]
mov rcx, qword [0x14006bab8]
mov rcx, qword [rcx + 0x50]
call fcn.1400378a0
mov rax, qword [0x14006bab8]
mov qword [rax + 0x20], r12
mov rcx, r14
call fcn.14003d610
mov r14, qword [0x14006bad8]
mov rsi, qword [0x14006bac8]
mov rdi, qword [0x14006bab8]
test rdi, rdi
je 0x14005734a
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 [rsp + 0x70], rax
test rax, rax
je 0x140057396
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
jmp 0x140057399
mov rbx, r12
mov qword [rdi + 0xa0], rbx
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x90], rax
or dword [rdi + 0xc], 0x1008
mov qword [rsp + 0x78], r12
mov qword [rbp + 0x88], r12
mov qword [rsp + 0x70], r12
mov rax, qword [rsi]
lea r8, [rsp + 0x78]
lea rdx, [0x14005ff38]
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x140057428
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea r8, [rbp + 0x88]
lea rdx, [0x14005ff48]
call qword [rax + 0x30]
test eax, eax
jne 0x140057428
mov rcx, qword [rbp + 0x88]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
lea rdx, [0x14005ff68]
call qword [rax + 0x30]
test eax, eax
jne 0x140057428
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov rax, qword [rsp + 0x70]
mov qword [rbx + 0x10], rax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140057438
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x14005744a
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]
test dword [rdi + 8], 0x400
je 0x1400574b3
mov rax, qword [0x14006bab8]
lea rcx, [0x14003d250]
mov qword [rax + 0x38a0], rcx
lea rcx, [0x14003d3b0]
mov qword [rax + 0x38a8], rcx
lea rcx, [0x14003d440]
mov qword [rax + 0x38b0], rcx
lea rcx, [0x14003d540]
mov qword [rax + 0x38b8], rcx
lea rcx, [0x14003d5f0]
mov qword [rax + 0x38c0], rcx
xor dil, dil
movdqa xmm6, xmmword [0x140060940]
nop
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14005751b
nop dword [rax + rax]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_DispatchMessageW]
movzx edi, dil
cmp dword [rbp - 0x78], 0x12
cmove edi, r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1400574e0
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x1400576e3
test dil, dil
jne 0x1400576e3
mov rax, qword [0x14006bab8]
test rax, rax
je 0x14005754c
mov rcx, qword [rax + 0xa0]
jmp 0x14005754f
mov rcx, r12
cmp qword [rcx + 0x48], 0
jne 0x14005755b
call fcn.14003cd40
call fcn.14003e4b0
call fcn.14000c780
call fcn.140002a30
call fcn.14000f360
call fcn.14000f880
movups xmmword [rbp + 0x90], xmm6
mov rcx, qword [0x14006bad8]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x14006bad0]
mov edx, r15d
call qword [rax + 0x108]
mov rcx, qword [0x14006bad8]
mov rax, qword [rcx]
lea r8, [rbp + 0x90]
mov rdx, qword [0x14006bad0]
call qword [rax + 0x190]
mov rax, qword [0x14006bab8]
mov rcx, qword [rax + 0x4210]
mov rax, qword [rcx]
add rax, 0xa8
mov rcx, r12
cmp byte [rax], 0
cmovne rcx, rax
call fcn.14003c0c0
test dword [r13 + 8], 0x400
je 0x1400576c3
call fcn.140020880
mov rbx, qword [0x14006bab8]
mov eax, dword [rbx + 0x38d8]
cmp eax, 1
jle 0x14005765c
mov r14d, 8
nop word [rax + rax]
mov rax, qword [rbx + 0x38e0]
mov rsi, qword [r14 + rax]
test dword [rsi + 4], 0x400
jne 0x14005764a
mov rax, qword [rbx + 0x3878]
test rax, rax
je 0x140057637
xor edx, edx
mov rcx, rsi
call rax
mov rax, qword [rbx + 0x38b8]
test rax, rax
je 0x14005764a
xor edx, edx
mov rcx, rsi
call rax
inc r15d
add r14, 8
mov eax, dword [rbx + 0x38d8]
cmp r15d, eax
jl 0x140057610
mov r15d, 1
mov r14d, r15d
cmp eax, r15d
jle 0x1400576c0
mov r15d, 8
mov rax, qword [rbx + 0x38e0]
mov rsi, qword [r15 + rax]
test dword [rsi + 4], 0x400
jne 0x1400576aa
mov rax, qword [rbx + 0x3880]
test rax, rax
je 0x140057697
xor edx, edx
mov rcx, rsi
call rax
mov rax, qword [rbx + 0x38c0]
test rax, rax
je 0x1400576aa
xor edx, edx
mov rcx, rsi
call rax
inc r14d
add r15, 8
cmp r14d, dword [rbx + 0x38d8]
jl 0x140057670
mov r15d, 1
xor r12d, r12d
mov rcx, qword [0x14006bae0]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, r15d
call qword [rax + 0x40]
cmp byte [0x14006b0b8], 1
je 0x1400574c0
mov rdi, qword [0x14006bab8]
test rdi, rdi
je 0x1400576f8
mov rbx, qword [rdi + 0xa0]
jmp 0x1400576fb
mov rbx, r12
call fcn.140020e60
call fcn.14003d130
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140057714
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140057722
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140057731
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x90], r12
mov qword [rdi + 0xa0], r12
mov rax, qword [0x14006bab8]
test rax, rax
je 0x140057751
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x14006bab8]
test rbx, rbx
je 0x14005776f
mov rdi, qword [rbx + 0x98]
jmp 0x140057772
mov rdi, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdx, rax
lea rcx, str.ImGui_Platform
call qword [sym.imp.USER32.dll_UnregisterClassW]
call fcn.140020e60
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x14005779e
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 0x88], r12
mov qword [rbx + 0x98], r12
mov rax, qword [0x14006bab8]
test rax, rax
je 0x1400577be
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x14006bab8]
mov qword [0x14006bab8], rbx
call fcn.14000dd10
mov qword [0x14006bab8], r12
test rbx, rbx
je 0x140057809
mov rcx, rbx
call fcn.14002ba80
mov rax, qword [0x14006bab8]
test rax, rax
je 0x140057800
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.140056a70
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x140057820
call fcn.140056a70
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400578d0
lea r11, [rsp + 0x1e0]
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]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret