Function at 0x1400447a0
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, [rsp - 0x70]
sub rsp, 0x170
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140054010]
xor rax, rsp
mov qword [rbp + 0x48], rax
mov rax, qword [0x1400642b0]
test rax, rax
je 0x1400447f6
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x1400447f6
mov byte [rcx + 0x2e], 1
mov ebx, 4
xor edx, edx
lea ecx, [rdx + 0xa]
call fcn.14003aa60
test eax, eax
je 0x14004487c
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x140064360], eax
jle 0x140044855
lea rcx, [0x140064360]
call fcn.1400453b8
cmp dword [0x140064360], 0xffffffff
jne 0x140044855
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140064370], rax
lea rcx, [0x140064360]
call fcn.140045358
lea rdx, str.SetThreadDpiAwarenessContext
mov rcx, qword [0x140064370]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14004487c
mov rcx, 0xfffffffffffffffc
call rax
jmp 0x140044901
mov edx, 3
lea ecx, [rdx + 3]
call fcn.14003aa60
test eax, eax
je 0x1400448fb
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x140064368], eax
jle 0x1400448d9
lea rcx, [0x140064368]
call fcn.1400453b8
cmp dword [0x140064368], 0xffffffff
jne 0x1400448d9
lea rcx, str.shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140064350], rax
lea rcx, [0x140064368]
call fcn.140045358
lea rdx, str.SetProcessDpiAwareness
mov rcx, qword [0x140064350]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400448fb
mov ecx, 2
call rax
jmp 0x140044901
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
mov dword [rsp + 0x30], 0x40
xor r15d, r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
mov edx, 0xfbfe
mov r9d, 0x30000
lea r8d, [r15 + 1]
lea rcx, [0x140054060]
call qword [sym.imp.USER32.dll_CreateIconFromResourceEx]
mov rbx, rax
mov qword [rsp + 0x68], rax
mov dword [rbp - 0x30], 0x50
mov dword [rbp - 0x2c], 0x40
lea rax, [0x140044670]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], rbx
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
lea rdi, str.echo
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x18], rbx
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], rbx
mov rax, qword [rbp - 0x18]
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
mov r9d, 0xcf0000
mov r8, rdi
mov rdx, qword [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r12, rax
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x6c], r15
mov qword [rbp - 0x58], 2
mov qword [rbp - 0x40], 2
mov qword [rbp - 0x80], r15
mov dword [rbp - 0x70], 0x1c
mov dword [rbp - 0x78], 0x3c
mov dword [rbp - 0x74], 1
mov dword [rbp - 0x5c], 0x20
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x64], 1
mov qword [rbp - 0x48], 1
mov dword [rbp + 0x30], 0xb000
mov dword [rbp + 0x34], 0xa000
lea rax, [0x1400642d0]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x50], rax
lea rax, [0x1400642c0]
mov qword [rsp + 0x48], rax
lea rax, [0x1400642d8]
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 + 0x30]
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]
test eax, eax
je 0x140044aa7
call fcn.1400445f0
jmp 0x1400451e4
call fcn.140044580
xor edx, edx
mov rcx, r12
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r12
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x1400642b0]
test rbx, rbx
je 0x140044ad2
inc dword [rbx + 0xf4]
mov ecx, 0x6450
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x20], rax
lea rcx, [rsp + 0x60]
mov qword [rbp + 0x30], rcx
mov qword [rsp + 0x78], rax
test rax, rax
je 0x140044b00
xor edx, edx
mov rcx, rax
call fcn.140001580
jmp 0x140044b03
mov rax, r15
mov qword [0x1400642b0], rax
call fcn.1400092e0
mov r13, qword [0x1400642b0]
test rbx, rbx
cmovne r13, rbx
mov qword [0x1400642b0], r13
or dword [r13 + 8], 0x401
call fcn.14002d830
mov rax, qword [0x1400642b0]
mov qword [rax + 0x20], r15
mov rcx, r12
call fcn.140038970
mov r14, qword [0x1400642d0]
mov rsi, qword [0x1400642c0]
mov rdi, qword [0x1400642b0]
test rdi, rdi
je 0x140044b64
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 + 0x20], rax
test rax, rax
je 0x140044baf
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 0x140044bb2
mov rbx, r15
mov qword [rdi + 0xa0], rbx
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x90], rax
or dword [rdi + 0xc], 0x1008
mov qword [rbp + 0x30], r15
mov qword [rsp + 0x78], r15
mov qword [rbp + 0x20], r15
mov rax, qword [rsi]
lea r8, [rbp + 0x30]
lea rdx, [0x14004c668]
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x140044c35
mov rcx, qword [rbp + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x78]
lea rdx, [0x14004c678]
call qword [rax + 0x30]
test eax, eax
jne 0x140044c35
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea r8, [rbp + 0x20]
lea rdx, [0x14004c698]
call qword [rax + 0x30]
test eax, eax
jne 0x140044c35
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov rax, qword [rbp + 0x20]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x140044c44
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140044c54
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 0x140044cbd
mov rax, qword [0x1400642b0]
lea rcx, [0x1400385c0]
mov qword [rax + 0x38a0], rcx
lea rcx, [0x140038720]
mov qword [rax + 0x38a8], rcx
lea rcx, [0x1400387b0]
mov qword [rax + 0x38b0], rcx
lea rcx, [0x1400388a0]
mov qword [rax + 0x38b8], rcx
lea rcx, [0x140038950]
mov qword [rax + 0x38c0], rcx
xor r15b, r15b
lea rdx, [rbp + 0x20]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp + 0x20]
mov dword [rbp + 0x30], eax
mov eax, dword [rbp + 0x24]
mov dword [rbp + 0x34], eax
lea rdx, [rbp + 0x30]
mov rcx, r12
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp + 0x28]
mov dword [rsp + 0x78], eax
mov eax, dword [rbp + 0x2c]
mov dword [rsp + 0x7c], eax
lea rdx, [rsp + 0x78]
mov rcx, r12
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edi, dword [rsp + 0x78]
sub edi, dword [rbp + 0x30]
mov ebx, dword [rsp + 0x7c]
sub ebx, dword [rbp + 0x34]
xor r9d, r9d
lea r8, [rbp + 0x38]
xor edx, edx
lea ecx, [rdx + 0x30]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [rbp + 0x44]
mov ecx, dword [rbp + 0x3c]
sub eax, ecx
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
lea r9d, [rcx - 0x5a]
add r9d, eax
mov eax, dword [rbp + 0x40]
mov ecx, dword [rbp + 0x38]
sub eax, ecx
sub eax, edi
cdq
sub eax, edx
sar eax, 1
lea r8d, [rcx - 0xe6]
add r8d, eax
mov dword [rsp + 0x30], 5
xor esi, esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor edx, edx
mov rcx, r12
call qword [sym.imp.USER32.dll_SetWindowPos]
movss xmm6, dword [0x14004caf8]
movss xmm7, dword [0x14004cae0]
mov edi, 1
nop dword [rax]
nop word [rax + rax]
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140044dea
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]
movzx r15d, r15b
cmp dword [rbp - 0x78], 0x12
cmove r15d, edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140044db0
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x1400450a3
test r15b, r15b
jne 0x1400450a3
mov rax, qword [0x1400642b0]
test rax, rax
je 0x140044e1b
mov rcx, qword [rax + 0xa0]
jmp 0x140044e1e
mov rcx, rsi
cmp qword [rcx + 0x48], 0
jne 0x140044e2a
call fcn.140037f70
call fcn.1400399d0
call fcn.1400080d0
cmp byte [0x140054050], 1
jne 0x140044f29
mov rcx, qword [0x1400642b0]
mov eax, dword [rcx + 0x40f0]
or eax, 2
mov dword [rcx + 0x40f0], eax
movsd xmm0, qword [0x140054058]
movsd qword [rcx + 0x4114], xmm0
mov dword [rcx + 0x40f8], 2
or eax, 0x40
mov dword [rcx + 0x40f0], eax
mov dword [rcx + 0x4150], 0x3f800000
mov r8d, 0x122
lea rdx, [0x140054050]
lea rcx, [0x140047688]
call fcn.14000e960
mov rcx, qword [0x1400642b0]
mov rax, qword [rcx + 0x3fe0]
mov byte [rax + 0xcd], 1
mov rax, qword [rcx + 0x3fe0]
movss xmm0, dword [rax + 0x48]
subss xmm0, dword [rax + 0x98]
addss xmm0, xmm6
movss xmm2, dword [rax + 0x4c]
subss xmm2, dword [rax + 0x9c]
addss xmm2, xmm7
movss dword [rax + 0x118], xmm0
movss dword [rax + 0x11c], xmm2
movss xmm1, dword [rax + 0x130]
maxss xmm1, xmm0
movss xmm0, dword [rax + 0x134]
maxss xmm0, xmm2
movss dword [rax + 0x130], xmm1
movss dword [rax + 0x134], xmm0
lea rcx, str.Please_wait
call fcn.14003d140
call section..text
call fcn.1400117f0
call fcn.14000ada0
call fcn.14000b2a0
movaps xmm0, xmmword [0x14004cfc0]
movups xmmword [rbp + 0x38], xmm0
mov rcx, qword [0x1400642d0]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x1400642c8]
mov edx, edi
call qword [rax + pe_nt_image_headers64]
mov rcx, qword [0x1400642d0]
mov rax, qword [rcx]
lea r8, [rbp + 0x38]
mov rdx, qword [0x1400642c8]
call qword [rax + 0x190]
mov rax, qword [0x1400642b0]
mov rcx, qword [rax + 0x4210]
mov rax, qword [rcx]
add rax, 0xa8
mov rcx, rsi
cmp byte [rax], 0
cmovne rcx, rax
call fcn.140037500
test dword [r13 + 8], 0x400
je 0x14004507f
call fcn.14001b970
mov rbx, qword [0x1400642b0]
mov r14d, edi
mov eax, dword [rbx + 0x38d8]
cmp eax, 1
jle 0x140045021
mov esi, 8
nop dword [rax + rax]
mov rax, qword [rbx + 0x38e0]
mov rdi, qword [rsi + rax]
test dword [rdi + 4], 0x400
jne 0x14004500a
mov rax, qword [rbx + 0x3878]
test rax, rax
je 0x140044ff7
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x38b8]
test rax, rax
je 0x14004500a
xor edx, edx
mov rcx, rdi
call rax
inc r14d
add rsi, 8
mov eax, dword [rbx + 0x38d8]
cmp r14d, eax
jl 0x140044fd0
mov edi, 1
mov r14d, edi
cmp eax, 1
jle 0x14004507f
mov esi, 8
nop
mov rax, qword [rbx + 0x38e0]
mov rdi, qword [rsi + rax]
test dword [rdi + 4], 0x400
jne 0x14004506a
mov rax, qword [rbx + 0x3880]
test rax, rax
je 0x140045057
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x38c0]
test rax, rax
je 0x14004506a
xor edx, edx
mov rcx, rdi
call rax
inc r14d
add rsi, 8
cmp r14d, dword [rbx + 0x38d8]
jl 0x140045030
mov edi, 1
mov rcx, qword [0x1400642d8]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, edi
call qword [rax + 0x40]
cmp byte [0x140054050], 1
mov esi, 0
je 0x140044d90
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_DestroyIcon]
mov rdi, qword [0x1400642b0]
test rdi, rdi
je 0x1400450c3
mov rbx, qword [rdi + 0xa0]
jmp 0x1400450c6
mov rbx, rsi
call fcn.14001bf60
call fcn.1400384a0
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400450df
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400450ed
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400450fc
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x90], rsi
mov qword [rdi + 0xa0], rsi
mov rax, qword [0x1400642b0]
test rax, rax
je 0x14004511c
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400642b0]
test rbx, rbx
je 0x14004513a
mov rdi, qword [rbx + 0x98]
jmp 0x14004513d
mov rdi, rsi
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.14001bf60
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x140045169
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 0x88], rsi
mov qword [rbx + 0x98], rsi
mov rax, qword [0x1400642b0]
test rax, rax
je 0x140045189
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400642b0]
mov qword [0x1400642b0], rbx
call fcn.140009640
mov qword [0x1400642b0], rsi
test rbx, rbx
je 0x1400451d4
mov rcx, rbx
call fcn.140026260
mov rax, qword [0x1400642b0]
test rax, rax
je 0x1400451cb
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.1400445f0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.140045240
lea r11, [rsp + 0x170]
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]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret