Function at 0x1400530d0
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 - 0x218]
sub rsp, 0x2f0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140066040]
xor rax, rsp
mov qword [rbp + 0x1d8], rax
mov dword [rsp + 0x30], 0x40
mov dword [rsp + 0x28], 0x100
mov dword [rsp + 0x20], 0x100
mov r9d, 0x30000
mov r12d, 1
mov r8d, r12d
mov edx, 0x30a77
lea rcx, [0x1400660d0]
call qword [sym.imp.USER32.dll_CreateIconFromResourceEx]
mov rbx, rax
mov rax, qword [0x1400e9428]
test rax, rax
je 0x140053163
mov rax, qword [rax + 0x98]
test rax, rax
je 0x140053163
mov byte [rax + 0x2e], r12b
mov edi, 4
xor edx, edx
lea ecx, [rdx + 0xa]
call fcn.140042c80
test eax, eax
je 0x1400531e9
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdi + rcx]
cmp dword [0x1400e94d0], eax
jle 0x1400531c2
lea rcx, [0x1400e94d0]
call fcn.14005410c
cmp dword [0x1400e94d0], 0xffffffff
jne 0x1400531c2
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1400e94e0], rax
lea rcx, [0x1400e94d0]
call fcn.1400540a0
lea rdx, str.SetThreadDpiAwarenessContext
mov rcx, qword [0x1400e94e0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400531e9
mov rcx, 0xfffffffffffffffc
call rax
jmp 0x14005326e
mov edx, 3
lea ecx, [rdx + 3]
call fcn.140042c80
test eax, eax
je 0x140053268
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdi + rcx]
cmp dword [0x1400e94d8], eax
jle 0x140053246
lea rcx, [0x1400e94d8]
call fcn.14005410c
cmp dword [0x1400e94d8], 0xffffffff
jne 0x140053246
lea rcx, str.shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1400e94c0], rax
lea rcx, [0x1400e94d8]
call fcn.1400540a0
lea rdx, str.SetProcessDpiAwareness
mov rcx, qword [0x1400e94c0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140053268
mov ecx, 2
call rax
jmp 0x14005326e
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
mov dword [rbp + 0x130], 0x50
mov dword [rbp + 0x134], 0x40
lea rax, [0x140052fa0]
mov qword [rbp + 0x138], rax
xor esi, esi
mov qword [rbp + 0x140], rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 0x148], rax
mov qword [rbp + 0x150], rbx
mov qword [rbp + 0x158], rbx
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x160], xmm0
lea rdi, [0x14005c258]
mov qword [rbp + 0x170], rdi
mov qword [rbp + 0x178], rbx
lea rcx, [rbp + 0x130]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], rbx
mov rax, qword [rbp + 0x148]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
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, rdi
mov rdx, qword [rbp + 0x170]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r15, rax
mov qword [rsp + 0x68], rax
mov qword [rbp + 0xb4], rsi
mov qword [rbp + 0xc8], 2
mov qword [rbp + 0xe0], 2
mov qword [rbp + 0xa0], rsi
mov dword [rbp + 0xb0], 0x1c
mov dword [rbp + 0xa8], 0x3c
mov dword [rbp + 0xac], r12d
mov dword [rbp + 0xc4], 0x20
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xbc], r12
mov qword [rbp + 0xd8], r12
mov dword [rbp + 0x1c0], 0xb000
mov dword [rbp + 0x1c4], 0xa000
lea rax, [0x1400e9460]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x90]
mov qword [rsp + 0x50], rax
lea rax, [0x1400e9450]
mov qword [rsp + 0x48], rax
lea rax, [0x1400e9468]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, r12d
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x140053427
call fcn.140052f20
jmp 0x140053cfe
call fcn.140052eb0
xor edx, edx
mov rcx, r15
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r15
call qword [sym.imp.USER32.dll_UpdateWindow]
mov r13, qword [0x1400e9428]
test r13, r13
je 0x140053453
inc dword [r13 + 0xf4]
mov ecx, 0x6450
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x180], rax
lea rcx, [rsp + 0x60]
mov qword [rbp + 0x1c0], rcx
mov qword [rbp + 0x90], rax
test rax, rax
je 0x140053489
xor edx, edx
mov rcx, rax
call fcn.1400083d0
jmp 0x14005348c
mov rax, rsi
mov qword [0x1400e9428], rax
call fcn.140010230
test r13, r13
je 0x1400534a6
mov qword [0x1400e9428], r13
jmp 0x1400534ad
mov r13, qword [0x1400e9428]
or dword [r13 + 8], 0x401
xor ecx, ecx
call fcn.140035430
mov rax, qword [0x1400e9428]
mov qword [rax + 0x20], rsi
mov rcx, r15
call fcn.140040b90
mov r14, qword [0x1400e9460]
mov rsi, qword [0x1400e9450]
mov rdi, qword [0x1400e9428]
test rdi, rdi
je 0x1400534ef
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 + 0x180], rax
test rax, rax
je 0x14005353f
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 0x140053543
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], 0x1008
mov qword [rbp + 0x1c0], rcx
mov qword [rbp + 0x90], rcx
mov qword [rbp + 0x180], rcx
mov rax, qword [rsi]
lea r8, [rbp + 0x1c0]
lea rdx, [0x14005bef8]
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x1400535de
mov rcx, qword [rbp + 0x1c0]
mov rax, qword [rcx]
lea r8, [rbp + 0x90]
lea rdx, [0x14005bf08]
call qword [rax + 0x30]
test eax, eax
jne 0x1400535de
mov rcx, qword [rbp + 0x90]
mov rax, qword [rcx]
lea r8, [rbp + 0x180]
lea rdx, [0x14005bf28]
call qword [rax + 0x30]
test eax, eax
jne 0x1400535de
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov rax, qword [rbp + 0x180]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp + 0x1c0]
test rcx, rcx
je 0x1400535f0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x90]
test rcx, rcx
je 0x140053602
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 0x14005366b
mov rax, qword [0x1400e9428]
lea rcx, [0x1400407e0]
mov qword [rax + 0x38a0], rcx
lea rcx, [0x140040940]
mov qword [rax + 0x38a8], rcx
lea rcx, [0x1400409d0]
mov qword [rax + 0x38b0], rcx
lea rcx, [0x140040ac0]
mov qword [rax + 0x38b8], rcx
lea rcx, [0x140040b70]
mov qword [rax + 0x38c0], rcx
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp + 0xa0], xmm2
movups xmmword [rbp + 0xb0], xmm2
movups xmmword [rbp + 0xc0], xmm2
movups xmmword [rbp + 0xe0], xmm2
movups xmmword [rbp + 0xf0], xmm2
mov qword [rbp + 0x120], rax
mov byte [rbp + 0xac], 1
mov dword [rbp + 0xe4], 0x7f7fffff
mov ecx, 0xffff
mov word [rbp + 0xf4], cx
mov byte [rbp + 0xc0], 1
mov dword [rbp + 0xb8], 2
mov dword [rbp + 0xbc], 3
mov dword [rbp + 0xf0], 0x3fa66666
xorps xmm6, xmm6
movups xmmword [rbp], xmm6
movups xmmword [rbp + 0x10], xmm6
movups xmmword [rbp + 0x20], xmm6
movups xmmword [rbp + 0x40], xmm6
movups xmmword [rbp + 0x50], xmm6
mov qword [rbp + 0x80], rax
mov byte [rbp + 0xc], 1
mov dword [rbp + 0x44], 0x7f7fffff
mov word [rbp + 0x54], cx
mov byte [rbp + 0x20], 1
mov dword [rbp + 0x18], 2
mov dword [rbp + 0x1c], 2
mov dword [rbp + 0x50], 0x3f800000
movaps xmm0, xmmword [rbp + 0xa0]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm1, xmmword [rbp + 0xb0]
movaps xmmword [rbp - 0x80], xmm1
movaps xmm0, xmmword [rbp + 0xc0]
movaps xmmword [rbp - 0x70], xmm0
movaps xmmword [rbp - 0x60], xmm2
movaps xmm0, xmmword [rbp + 0xe0]
movaps xmmword [rbp - 0x50], xmm0
movaps xmm1, xmmword [rbp + 0xf0]
movaps xmmword [rbp - 0x40], xmm1
movaps xmmword [rbp - 0x30], xmm2
movaps xmmword [rbp - 0x20], xmm2
movsd xmm0, qword [rbp + 0x120]
movsd qword [rbp - 0x10], xmm0
lea rax, [0x1400c5700]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x2316c
mov dword [rbp - 0x7c], 0x41800000
lea rdx, [rsp + 0x70]
mov rcx, qword [r13 + 0x50]
call fcn.14003ab10
mov qword [0x1400e9440], rax
movaps xmm0, xmmword [rbp]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm1, xmmword [rbp + 0x10]
movaps xmmword [rbp - 0x80], xmm1
movaps xmm0, xmmword [rbp + 0x20]
movaps xmmword [rbp - 0x70], xmm0
movaps xmmword [rbp - 0x60], xmm6
movaps xmm0, xmmword [rbp + 0x40]
movaps xmmword [rbp - 0x50], xmm0
movaps xmm1, xmmword [rbp + 0x50]
movaps xmmword [rbp - 0x40], xmm1
movaps xmmword [rbp - 0x30], xmm6
movaps xmmword [rbp - 0x20], xmm6
movsd xmm0, qword [rbp + 0x80]
movsd qword [rbp - 0x10], xmm0
lea rax, [0x1400a1840]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x23eb8
mov dword [rbp - 0x7c], 0x41700000
lea rdx, [rsp + 0x70]
mov rcx, qword [r13 + 0x50]
call fcn.14003ab10
mov qword [0x1400e9448], rax
xor sil, sil
lea rdx, [rbp + 0x180]
mov rcx, r15
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp + 0x180]
mov dword [rbp + 0x1c0], eax
mov eax, dword [rbp + 0x184]
mov dword [rbp + 0x1c4], eax
lea rdx, [rbp + 0x1c0]
mov rcx, r15
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp + 0x188]
mov dword [rbp + 0x90], eax
mov eax, dword [rbp + 0x18c]
mov dword [rbp + 0x94], eax
lea rdx, [rbp + 0x90]
mov rcx, r15
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edi, dword [rbp + 0x90]
sub edi, dword [rbp + 0x1c0]
mov ebx, dword [rbp + 0x94]
sub ebx, dword [rbp + 0x1c4]
xor r9d, r9d
lea r8, [rbp + 0x1c8]
xor edx, edx
lea ecx, [rdx + 0x30]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [rbp + 0x1d4]
mov ecx, dword [rbp + 0x1cc]
sub eax, ecx
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
lea r9d, [rcx - 0xf0]
add r9d, eax
mov eax, dword [rbp + 0x1d0]
mov ecx, dword [rbp + 0x1c8]
sub eax, ecx
sub eax, edi
cdq
sub eax, edx
sar eax, 1
lea r8d, [rcx - 0xf0]
add r8d, eax
mov dword [rsp + 0x30], 5
xor r14d, r14d
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor edx, edx
mov rcx, r15
call qword [sym.imp.USER32.dll_SetWindowPos]
mov qword [rbp + 0xa0], 0xffffffffffffffff
mov qword [rbp + 0xa8], 0xffffffffffffffff
mov qword [rbp + 0xb0], 0xffffffffffffffff
mov qword [rbp + 0xb8], 0xffffffffffffffff
mov dword [rbp + 0xc0], 0xffffffff
mov qword [rbp + 0xc4], 0xfffffffffffffffd
mov dword [rbp + 0xcc], 0xffffffff
mov qword [rbp + 0xd0], r14
mov qword [rsp + 0x30], r14
lea rax, [0x1400e9438]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0xa0]
mov r8d, 0xacee
lea rdx, [0x140096b50]
mov rcx, qword [0x1400e9450]
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
nop dword [rax]
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x190]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400539f7
nop
lea rcx, [rbp + 0x190]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x190]
call qword [sym.imp.USER32.dll_DispatchMessageW]
movzx esi, sil
cmp dword [rbp + 0x198], 0x12
cmove esi, r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x190]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1400539b0
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x140053bc8
test sil, sil
jne 0x140053bc8
mov rax, qword [0x1400e9428]
test rax, rax
je 0x140053a28
mov rcx, qword [rax + 0xa0]
jmp 0x140053a2b
mov rcx, r14
cmp qword [rcx + 0x48], 0
jne 0x140053a37
call fcn.140040190
call fcn.140041bf0
call fcn.14000f010
call fcn.140006580
call fcn.140011cf0
call fcn.140012200
movaps xmm0, xmmword [0x14005c4d0]
movups xmmword [rbp + 0x1c8], xmm0
mov rcx, qword [0x1400e9460]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x1400e9458]
mov edx, r12d
call qword [rax + pe_nt_image_headers64]
mov rcx, qword [0x1400e9460]
mov rax, qword [rcx]
lea r8, [rbp + 0x1c8]
mov rdx, qword [0x1400e9458]
call qword [rax + 0x190]
mov rax, qword [0x1400e9428]
mov rcx, qword [rax + 0x4210]
mov rax, qword [rcx]
add rax, 0xa8
mov rcx, r14
cmp byte [rax], 0
cmovne rcx, rax
call fcn.14003f730
test dword [r13 + 8], 0x400
je 0x140053ba8
call fcn.140023280
mov rbx, qword [0x1400e9428]
mov r15d, r12d
mov eax, dword [rbx + 0x38d8]
cmp eax, 1
jle 0x140053b3c
mov r14d, 8
nop dword [rax]
mov rax, qword [rbx + 0x38e0]
mov rdi, qword [r14 + rax]
test dword [rdi + 4], 0x400
jne 0x140053b2a
mov rax, qword [rbx + 0x3878]
test rax, rax
je 0x140053b17
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x38b8]
test rax, rax
je 0x140053b2a
xor edx, edx
mov rcx, rdi
call rax
inc r15d
add r14, 8
mov eax, dword [rbx + 0x38d8]
cmp r15d, eax
jl 0x140053af0
mov r14d, 1
cmp eax, r14d
jle 0x140053ba2
mov r15d, 8
nop dword [rax]
mov rax, qword [rbx + 0x38e0]
mov rdi, qword [r15 + rax]
test dword [rdi + 4], 0x400
jne 0x140053b8a
mov rax, qword [rbx + 0x3880]
test rax, rax
je 0x140053b77
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x38c0]
test rax, rax
je 0x140053b8a
xor edx, edx
mov rcx, rdi
call rax
inc r14d
add r15, 8
cmp r14d, dword [rbx + 0x38d8]
jl 0x140053b50
mov r12d, 1
jmp 0x140053ba5
mov r12d, r14d
xor r14d, r14d
mov rcx, qword [0x1400e9468]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, r12d
call qword [rax + 0x40]
cmp byte [0x1400660c0], 1
je 0x140053990
mov rdi, qword [0x1400e9428]
test rdi, rdi
je 0x140053bdd
mov rbx, qword [rdi + 0xa0]
jmp 0x140053be0
mov rbx, r14
call fcn.140023860
call fcn.1400406c0
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140053bf9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140053c07
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140053c16
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x90], r14
mov qword [rdi + 0xa0], r14
mov rax, qword [0x1400e9428]
test rax, rax
je 0x140053c36
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400e9428]
test rbx, rbx
je 0x140053c54
mov rdi, qword [rbx + 0x98]
jmp 0x140053c57
mov rdi, r14
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.140023860
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x140053c83
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 0x88], r14
mov qword [rbx + 0x98], r14
mov rax, qword [0x1400e9428]
test rax, rax
je 0x140053ca3
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400e9428]
mov qword [0x1400e9428], rbx
call fcn.140010590
mov qword [0x1400e9428], r14
test rbx, rbx
je 0x140053cee
mov rcx, rbx
call fcn.14002dfb0
mov rax, qword [0x1400e9428]
test rax, rax
je 0x140053ce5
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.140052f20
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0x148]
mov rcx, qword [rbp + 0x170]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov rcx, qword [rbp + 0x1d8]
xor rcx, rsp
call fcn.140053dd0
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret