Function at 0x1400584c0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rbx
push r13
push r15
lea rbp, [rsp - 0xc8]
sub rsp, 0x1c8
mov rax, qword [0x140069040]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rax, qword [0x140069828]
test rax, rax
je 0x140058503
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x140058503
mov byte [rcx + 0x2e], 1
xor edx, edx
mov ebx, 4
mov ecx, 0xa
call fcn.14003c860
test eax, eax
je 0x14005858b
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x1400698b0], eax
jle 0x140058564
lea rcx, [0x1400698b0]
call fcn.140058ddc
cmp dword [0x1400698b0], 0xffffffff
jne 0x140058564
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, [0x1400698b0]
mov qword [0x1400698c0], rax
call fcn.140058d70
mov rcx, qword [0x1400698c0]
lea rdx, str.SetThreadDpiAwarenessContext
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14005858b
mov rcx, 0xfffffffffffffffc
call rax
jmp 0x140058612
mov edx, 3
mov ecx, 6
call fcn.14003c860
test eax, eax
je 0x14005860c
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x1400698b8], eax
jle 0x1400585ea
lea rcx, [0x1400698b8]
call fcn.140058ddc
cmp dword [0x1400698b8], 0xffffffff
jne 0x1400585ea
lea rcx, str.shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, [0x1400698b8]
mov qword [0x1400698a0], rax
call fcn.140058d70
mov rcx, qword [0x1400698a0]
lea rdx, str.SetProcessDpiAwareness
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14005860c
mov ecx, 2
call rax
jmp 0x140058612
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
lea rax, [0x140058390]
mov dword [rbp + 0x10], 0x50
xor r15d, r15d
mov qword [rbp + 0x18], rax
xor ecx, ecx
mov qword [rbp + 0x20], r15
mov dword [rbp + 0x14], 0x40
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xorps xmm0, xmm0
mov qword [rbp + 0x58], r15
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x30], xmm0
lea rbx, str.ImGui_Standalone
movdqa xmmword [rbp + 0x40], xmm1
lea rcx, [rbp + 0x10]
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x50], rbx
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov rax, qword [rbp + 0x28]
mov r9d, 0xcf0000
mov rdx, qword [rbp + 0x50]
mov r8, rbx
mov qword [rsp + 0x58], r15
xor ecx, ecx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], 0x32
mov dword [rsp + 0x30], 0x32
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], 0x64
call qword [sym.imp.USER32.dll_CreateWindowExW]
xor r9d, r9d
mov qword [rbp - 0x6c], r15
mov r13, rax
mov qword [rbp - 0x50], rax
lea rax, [0x140069848]
mov qword [rbp - 0x58], 2
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rax, [rsp + 0x70]
mov qword [rbp - 0x40], 2
mov qword [rsp + 0x50], rax
mov edx, 1
lea rax, [0x140069838]
mov qword [rbp - 0x80], r15
mov qword [rsp + 0x48], rax
xor ecx, ecx
lea rax, [0x140069850]
mov dword [rbp - 0x70], 0x1c
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x88]
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x78], 0x3c
mov dword [rbp - 0x74], 1
mov dword [rbp - 0x5c], 0x20
mov qword [rbp - 0x64], 1
mov qword [rbp - 0x48], 1
mov dword [rbp + 0x88], 0xb000
mov dword [rbp + 0x8c], 0xa000
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
jne 0x140058d04
mov qword [rsp + 0x1f0], rsi
mov qword [rsp + 0x1f8], rdi
mov qword [rsp + 0x200], r12
mov qword [rsp + 0x1c0], r14
movaps xmmword [rsp + 0x1b0], xmm6
call fcn.1400582a0
xor edx, edx
mov rcx, r13
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r13
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.140006d70
mov r12, qword [0x140069828]
xor ecx, ecx
mov qword [rsp + 0x68], r12
or dword [r12 + 8], 0x401
call fcn.14002f410
test dword [r12 + 8], 0x400
mov rax, qword [0x140069828]
je 0x140058809
mov dword [rax + 0x3918], 0x40800000
mov dword [rax + 0x39fc], 0x3f800000
mov edx, 2
mov rcx, r13
call qword [sym.imp.USER32.dll_MonitorFromWindow]
xor ecx, ecx
lea rdx, [rbp + 0x60]
xorps xmm0, xmm0
mov qword [rbp + 0x80], rcx
movups xmmword [rbp + 0x60], xmm0
mov rcx, rax
mov dword [rbp + 0x60], 0x28
movups xmmword [rbp + 0x70], xmm0
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
mov eax, dword [rbp + 0x70]
sub eax, dword [rbp + 0x68]
cmp eax, 0x438
jle 0x1400588b9
mov rcx, qword [0x140069828]
lea rdx, [rbp - 0x80]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp], rax
mov eax, 0xffff
mov rcx, qword [rcx + 0x50]
movups xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x68], 3
movups xmmword [rbp - 0x80], xmm0
mov byte [rbp - 0x74], 1
movups xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x64], 1
movups xmmword [rbp - 0x60], xmm0
mov dword [rbp - 0x3c], 0x7f7fffff
movups xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x30], 0x3f800000
movups xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x2c], ax
movups xmmword [rbp - 0x10], xmm0
mov dword [rbp - 0x6c], 0x41d00000
call fcn.140034640
mov rax, qword [0x140069828]
mov rcx, r13
mov qword [rax + 0x20], r15
call fcn.14003a8a0
mov rdi, qword [0x140069828]
mov r14, qword [0x140069848]
mov rsi, qword [0x140069838]
test rdi, rdi
je 0x1400588ec
inc dword [rdi + 0xf4]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x90], rax
mov rbx, rax
test rax, rax
je 0x14005893a
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 0x14005893d
mov rbx, r15
or dword [rdi + 0xc], 0x1008
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x90], rax
lea r8, [rsp + 0x70]
mov qword [rdi + 0xa0], rbx
lea rdx, [0x1400607e8]
mov rax, qword [rsi]
mov rcx, rsi
mov qword [rsp + 0x70], r15
mov qword [rbp + 0x88], r15
mov qword [rbp + 0x90], r15
call qword [rax]
test eax, eax
jne 0x1400589d2
mov rcx, qword [rsp + 0x70]
lea r8, [rbp + 0x88]
lea rdx, [0x1400607f8]
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
jne 0x1400589d2
mov rcx, qword [rbp + 0x88]
lea r8, [rbp + 0x90]
lea rdx, [0x140060818]
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
jne 0x1400589d2
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov rax, qword [rbp + 0x90]
mov qword [rbx + 0x10], rax
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400589e2
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x1400589f4
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 0x140058a5d
mov rax, qword [0x140069828]
lea rcx, [0x14003a4e0]
mov qword [rax + 0x38a0], rcx
lea rcx, [0x14003a640]
mov qword [rax + 0x38a8], rcx
lea rcx, [0x14003a6d0]
mov qword [rax + 0x38b0], rcx
lea rcx, [0x14003a7d0]
mov qword [rax + 0x38b8], rcx
lea rcx, [0x14003a880]
mov qword [rax + 0x38c0], rcx
movdqa xmm6, xmmword [0x140061450]
mov edi, 1
nop word [rax + rax]
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor r8d, r8d
lea rcx, [rbp - 0x80]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140058aca
nop word [rax + rax]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [rbp - 0x78], 0x12
lea rcx, [rbp - 0x80]
movzx r15d, r15b
cmove r15d, edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140058a90
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x140058c7c
test r15b, r15b
jne 0x140058c7c
mov rax, qword [0x140069828]
test rax, rax
je 0x140058afb
mov rcx, qword [rax + 0xa0]
jmp 0x140058afd
xor ecx, ecx
cmp qword [rcx + 0x48], 0
jne 0x140058b09
call fcn.140039f30
call fcn.14003b7d0
call fcn.140008930
call section..text
call fcn.14000b510
call fcn.14000ba30
mov rcx, qword [0x140069848]
lea r8, [0x140069840]
movups xmmword [rbp + 0x90], xmm6
xor r9d, r9d
mov edx, edi
mov rax, qword [rcx]
call qword [rax + 0x108]
mov rcx, qword [0x140069848]
lea r8, [rbp + 0x90]
mov rdx, qword [0x140069840]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x140069828]
mov rcx, qword [rax + 0x4210]
mov rax, qword [rcx]
xor ecx, ecx
add rax, 0xa8
cmp byte [rax], cl
cmovne rcx, rax
call fcn.1400392b0
test dword [r12 + 8], 0x400
je 0x140058c65
call fcn.14001cca0
mov rbx, qword [0x140069828]
mov r14d, edi
mov eax, dword [rbx + 0x38d8]
cmp eax, 1
jle 0x140058c06
mov esi, 8
mov rax, qword [rbx + 0x38e0]
mov rdi, qword [rsi + rax]
test dword [rdi + 4], 0x400
jne 0x140058bef
mov rax, qword [rbx + 0x3878]
test rax, rax
je 0x140058bdc
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x38b8]
test rax, rax
je 0x140058bef
xor edx, edx
mov rcx, rdi
call rax
mov eax, dword [rbx + 0x38d8]
inc r14d
add rsi, 8
cmp r14d, eax
jl 0x140058bb5
mov edi, 1
mov esi, edi
cmp eax, 1
jle 0x140058c60
mov r14d, 8
mov rax, qword [rbx + 0x38e0]
mov rdi, qword [r14 + rax]
test dword [rdi + 4], 0x400
jne 0x140058c4d
mov rax, qword [rbx + 0x3880]
test rax, rax
je 0x140058c3a
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x38c0]
test rax, rax
je 0x140058c4d
xor edx, edx
mov rcx, rdi
call rax
inc esi
add r14, 8
cmp esi, dword [rbx + 0x38d8]
jl 0x140058c13
mov edi, 1
mov r12, qword [rsp + 0x68]
mov rcx, qword [0x140069850]
xor r8d, r8d
mov edx, edi
mov rax, qword [rcx]
call qword [rax + 0x40]
jmp 0x140058a70
call fcn.14003a440
call fcn.14003ac80
mov rbx, qword [0x140069828]
mov qword [0x140069828], rbx
call fcn.140009ec0
movaps xmm6, xmmword [rsp + 0x1b0]
mov r14, qword [rsp + 0x1c0]
mov r12, qword [rsp + 0x200]
mov rdi, qword [rsp + 0x1f8]
mov rsi, qword [rsp + 0x1f0]
mov qword [0x140069828], 0
test rbx, rbx
je 0x140058cf4
mov rcx, rbx
call fcn.140027fa0
mov rax, qword [0x140069828]
test rax, rax
je 0x140058ceb
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.140058310
mov rcx, r13
call qword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x140058d09
call fcn.140058310
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.140058d50
add rsp, 0x1c8
pop r15
pop r13
pop rbx
pop rbp
ret