Function at 0x14013d5d0
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 - 0xe8]
sub rsp, 0x1c0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1401ec840]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rax, qword [0x1402f58d0]
test rax, rax
je 0x14013d627
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x14013d627
mov byte [rcx + 0x2e], 1
mov ebx, 4
xor edx, edx
mov ecx, 0xa
call fcn.14003b140
test eax, eax
je 0x14013d6af
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x1402f5e80], eax
jle 0x14013d688
lea rcx, [0x1402f5e80]
call fcn.1401a3034
cmp dword [0x1402f5e80], 0xffffffff
jne 0x14013d688
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1402f5e90], rax
lea rcx, [0x1402f5e80]
call fcn.1401a2fc8
lea rdx, str.SetThreadDpiAwarenessContext
mov rcx, qword [0x1402f5e90]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14013d6af
mov rcx, 0xfffffffffffffffc
call rax
jmp 0x14013d736
mov edx, 3
mov ecx, 6
call fcn.14003b140
test eax, eax
je 0x14013d730
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x1402f5e88], eax
jle 0x14013d70e
lea rcx, [0x1402f5e88]
call fcn.1401a3034
cmp dword [0x1402f5e88], 0xffffffff
jne 0x14013d70e
lea rcx, str.shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1402f5e70], rax
lea rcx, [0x1402f5e88]
call fcn.1401a2fc8
lea rdx, str.SetProcessDpiAwareness
mov rcx, qword [0x1402f5e70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14013d730
mov ecx, 2
call rax
jmp 0x14013d736
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
mov dword [rbp + 0x10], 0x50
mov dword [rbp + 0x14], 0x40
lea rax, [0x14013d4a0]
mov qword [rbp + 0x18], rax
xor edi, edi
mov qword [rbp + 0x20], rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0x28], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x40], xmm1
lea rbx, str.logGuardClass
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x58], rdi
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov qword [rsp + 0x58], rdi
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], reloc.WLDAP32.dll_Ordinal_50
mov dword [rsp + 0x30], reloc.WLDAP32.dll_Ordinal_50
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_CreateWindowExA]
mov r15, rax
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x6c], rdi
mov qword [rbp - 0x58], 2
mov qword [rbp - 0x40], 2
mov qword [rbp - 0x80], rdi
mov dword [rbp - 0x70], Ordinal_32
mov dword [rbp - 0x78], reloc.WLDAP32.dll_Ordinal_60
mov r12d, 1
mov dword [rbp - 0x74], r12d
mov dword [rbp - 0x5c], reloc.WLDAP32.dll_Ordinal_32
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x64], r12
mov qword [rbp - 0x48], r12
mov dword [rbp + 0x88], 0xb000
mov dword [rbp + 0x8c], 0xa000
lea rax, [0x1402f5958]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x50], rax
lea rax, [0x1402f5948]
mov qword [rsp + 0x48], rax
lea rax, [0x1402f5960]
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, r12d
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
jne 0x14013e0dc
call fcn.14013d3b0
xor edx, edx
mov rcx, r15
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r15
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x1402f58d0]
test rbx, rbx
je 0x14013d8cd
inc dword [rbx + 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 0x14013d8ff
xor edx, edx
mov rcx, rax
call fcn.140002e20
jmp 0x14013d902
mov rax, rdi
mov qword [0x1402f58d0], rax
call fcn.14000a820
test rbx, rbx
je 0x14013d91c
mov qword [0x1402f58d0], rbx
jmp 0x14013d923
mov rbx, qword [0x1402f58d0]
lea r13, [rbx + 8]
or dword [r13], 0x401
mov rcx, r13
call fcn.14013cae0
mov qword [rbp - 0x80], 0xffffffffffffffff
mov qword [rbp - 0x78], 0xffffffffffffffff
mov qword [rbp - 0x70], 0xffffffffffffffff
mov qword [rbp - 0x68], 0xffffffffffffffff
mov dword [rbp - 0x60], 0xffffffff
mov qword [rbp - 0x5c], 0xfffffffffffffffd
mov dword [rbp - 0x54], 0xffffffff
mov qword [rbp - 0x50], rdi
mov qword [rsp + 0x30], rdi
lea rax, [0x1402f58f0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x80]
mov r8d, 0x5b3c
lea rdx, [0x140243d50]
mov rcx, qword [0x1402f5948]
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
xor ecx, ecx
call fcn.14002f0d0
mov rax, qword [0x1402f58d0]
test dword [r13], 0x400
je 0x14013d9c7
mov dword [rax + 0x3918], 0x40800000
mov word [rax + 0x39c5], 0x101
mov byte [rax + 0x39c4], 1
movdqa xmm0, xmmword [0x1401ce990]
movups xmmword [rax + 0x39d0], xmm0
movdqa xmm1, xmmword [0x1401ce8f0]
movups xmmword [rax + 0x39e0], xmm1
movdqa xmm0, xmmword [0x1401ce7c0]
movups xmmword [rax + 0x39f0], xmm0
movdqa xmm1, xmmword [0x1401ce800]
movups xmmword [rax + 0x3a70], xmm1
movdqa xmm2, xmmword [0x1401ce880]
movups xmmword [rax + 0x3a80], xmm2
movups xmmword [rax + 0x3b20], xmm2
movdqa xmm3, xmmword [0x1401ce900]
movups xmmword [rax + 0x3b40], xmm3
movups xmmword [rax + 0x3b30], xmm3
movdqa xmm0, xmmword [0x1401ce760]
movups xmmword [rax + 0x3a40], xmm0
xorps xmm0, xmm0
movups xmmword [rax + 0x3a50], xmm0
xorps xmm1, xmm1
movups xmmword [rax + 0x3a60], xmm1
movdqa xmm0, xmmword [0x1401ce7f0]
movups xmmword [rax + 0x3a00], xmm0
movdqa xmm1, xmmword [0x1401ce890]
movups xmmword [rax + 0x3aa0], xmm1
movdqa xmm0, xmmword [0x1401ce7d0]
movups xmmword [rax + 0x3a10], xmm0
movdqa xmm1, xmmword [0x1401ce630]
movups xmmword [rax + 0x3b50], xmm1
movdqa xmm0, xmmword [0x1401ce710]
movups xmmword [rax + 0x3b60], xmm0
movups xmmword [rax + 0x3be0], xmm2
movdqa xmm0, xmmword [0x1401ce6f0]
movups xmmword [rax + 0x3bf0], xmm0
movups xmmword [rax + 0x3c00], xmm3
movups xmmword [rax + 0x3af0], xmm3
mov edx, 2
mov rcx, r15
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], Ordinal_46
lea rdx, [rbp + 0x60]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetMonitorInfoA]
mov eax, dword [rbp + 0x70]
sub eax, dword [rbp + 0x68]
cmp eax, 0x438
jle 0x14013db7e
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], r12d
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 [0x1402f58d0]
mov rcx, qword [rcx + 0x50]
call fcn.140033300
mov rax, qword [0x1402f58d0]
mov qword [rax + 0x20], rdi
mov rcx, r15
call fcn.140039050
mov r14, qword [0x1402f5958]
mov rsi, qword [0x1402f5948]
mov rdi, qword [0x1402f58d0]
test rdi, rdi
je 0x14013dbb1
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 0x14013dbf2
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 0x14013dbf4
xor ebx, ebx
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], 0
mov qword [rbp + 0x88], 0
mov qword [rsp + 0x70], 0
mov rax, qword [rsi]
lea r8, [rsp + 0x78]
lea rdx, [0x1401c4d28]
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x14013dc8f
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea r8, [rbp + 0x88]
lea rdx, [0x1401c4d38]
call qword [rax + Ordinal_50]
test eax, eax
jne 0x14013dc8f
mov rcx, qword [rbp + 0x88]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
lea rdx, [0x1401c4d58]
call qword [rax + Ordinal_50]
test eax, eax
jne 0x14013dc8f
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 0x14013dc9f
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x14013dcb1
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
test dword [rdi + 8], 0x400
je 0x14013dd1a
mov rax, qword [0x1402f58d0]
lea rcx, [0x140038ca0]
mov qword [rax + 0x38a0], rcx
lea rcx, [0x140038df0]
mov qword [rax + 0x38a8], rcx
lea rcx, [0x140038e80]
mov qword [rax + 0x38b0], rcx
lea rcx, [0x140038f80]
mov qword [rax + 0x38b8], rcx
lea rcx, [0x140039030]
mov qword [rax + 0x38c0], rcx
xor sil, sil
movdqa xmm6, xmmword [0x1401ce950]
nop word [rax + rax]
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14013dd8b
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_DispatchMessageA]
movzx esi, sil
cmp dword [rbp - 0x78], 0x12
cmove esi, r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x14013dd50
mov ecx, reloc.WLDAP32.dll_Ordinal_35
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x14013df92
test sil, sil
jne 0x14013df92
mov rax, qword [0x1402f58d0]
test rax, rax
je 0x14013ddbc
mov rcx, qword [rax + 0xa0]
jmp 0x14013ddbe
xor ecx, ecx
cmp qword [rcx + 0x48], 0
jne 0x14013ddca
call fcn.140038780
call fcn.14003a020
call fcn.1400095f0
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x14013dde2
call fcn.140139960
cmp byte [0x1402f58c9], 0
je 0x14013ddf0
call fcn.1401391f0
cmp byte [0x1402f58ca], 0
je 0x14013ddfe
call fcn.140139690
cmp byte [0x1402f58cc], 0
je 0x14013de0c
call fcn.14013a110
call fcn.14000c0d0
call fcn.14000c5e0
movups xmmword [rbp + 0x90], xmm6
mov rcx, qword [0x1402f5958]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x1402f5950]
mov edx, r12d
call qword [rax + 0x108]
mov rcx, qword [0x1402f5958]
mov rax, qword [rcx]
lea r8, [rbp + 0x90]
mov rdx, qword [0x1402f5950]
call qword [rax + 0x190]
mov rax, qword [0x1402f58d0]
mov rcx, qword [rax + 0x4210]
mov rax, qword [rcx]
add rax, 0xa8
xor ecx, ecx
cmp byte [rax], cl
cmovne rcx, rax
call fcn.140037b00
test dword [r13], 0x400
je 0x14013df65
call fcn.14001d3a0
mov rbx, qword [0x1402f58d0]
mov r15d, r12d
mov eax, dword [rbx + 0x38d8]
cmp eax, 1
jle 0x14013defc
mov r14d, 8
nop word [rax + rax]
mov rax, qword [rbx + 0x38e0]
mov rdi, qword [r14 + rax]
test dword [rdi + 4], 0x400
jne 0x14013deea
mov rax, qword [rbx + 0x3878]
test rax, rax
je 0x14013ded7
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x38b8]
test rax, rax
je 0x14013deea
xor edx, edx
mov rcx, rdi
call rax
inc r15d
add r14, 8
mov eax, dword [rbx + 0x38d8]
cmp r15d, eax
jl 0x14013deb0
mov r14d, 1
cmp eax, r14d
jle 0x14013df62
mov r15d, 8
nop dword [rax]
mov rax, qword [rbx + 0x38e0]
mov rdi, qword [r15 + rax]
test dword [rdi + 4], 0x400
jne 0x14013df4a
mov rax, qword [rbx + 0x3880]
test rax, rax
je 0x14013df37
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x38c0]
test rax, rax
je 0x14013df4a
xor edx, edx
mov rcx, rdi
call rax
inc r14d
add r15, 8
cmp r14d, dword [rbx + 0x38d8]
jl 0x14013df10
mov r12d, 1
jmp 0x14013df65
mov r12d, r14d
mov rcx, qword [0x1402f5960]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, r12d
call qword [rax + 0x40]
cmp byte [reloc.WS2_32.dll_accept], 1
je 0x14013dd30
cmp byte [0x1402f58c9], 1
je 0x14013dd30
mov rdi, qword [0x1402f58d0]
test rdi, rdi
je 0x14013dfa7
mov rbx, qword [rdi + 0xa0]
jmp 0x14013dfa9
xor ebx, ebx
call fcn.14001d980
call fcn.140038b80
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14013dfc2
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14013dfd0
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14013dfdf
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rdi + 0x90], 0
mov qword [rdi + 0xa0], 0
mov rax, qword [0x1402f58d0]
test rax, rax
je 0x14013e007
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1402f58d0]
test rbx, rbx
je 0x14013e025
mov rdi, qword [rbx + 0x98]
jmp 0x14013e027
xor edi, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rax
lea rcx, str.ImGui_Platform
call qword [sym.imp.USER32.dll_UnregisterClassA]
call fcn.14001d980
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x14013e053
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 0x88], 0
mov qword [rbx + 0x98], 0
mov rax, qword [0x1402f58d0]
test rax, rax
je 0x14013e07b
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1402f58d0]
mov qword [0x1402f58d0], rbx
call fcn.14000ab80
mov qword [0x1402f58d0], 0
test rbx, rbx
je 0x14013e0ca
mov rcx, rbx
call fcn.1400281b0
mov rax, qword [0x1402f58d0]
test rax, rax
je 0x14013e0c1
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.14013d420
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x14013e0e1
call fcn.14013d420
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1401a2f30
lea r11, [rsp + 0x1c0]
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