Function at 0x14007ddd0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
xor r12d, r12d
mov edx, 0xfffffff0
mov rcx, qword [0x140100d70]
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, eax
mov dword [rbp - 0x40], Ordinal_41
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
mov dword [rbp - 0x1c], eax
lea rdx, [rbp + 0x60]
mov rcx, qword [0x140100d70]
call qword [sym.imp.USER32.dll_GetWindowPlacement]
mov r15d, 1
test eax, eax
je 0x14007dea6
mov edx, r15d
mov rcx, qword [0x140100d70]
call qword [sym.imp.USER32.dll_MonitorFromWindow]
mov rcx, rax
lea rdx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_GetMonitorInfoA]
test eax, eax
je 0x14007dea6
and ebx, 0xff30ffff
mov r8d, ebx
mov edx, 0xfffffff0
mov rcx, qword [0x140100d70]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [rbp - 0x30]
mov r9d, dword [rbp - 0x38]
sub ecx, r9d
mov eax, dword [rbp - 0x34]
mov r8d, dword [rbp - 0x3c]
sub eax, r8d
mov dword [rsp + 0x30], 0x220
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
xor edx, edx
mov rcx, qword [0x140100d70]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov dword [rbp - 0x10], 0x50
mov dword [rbp - 0xc], 0x40
lea rax, [0x14007db00]
mov qword [rbp - 8], rax
mov qword [rbp], r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 8], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x20], xmm1
lea rax, [0x1400e0370]
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], r12
lea rcx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_RegisterClassExW]
movzx edi, ax
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.CreateWindowInBand
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov dword [rsp + 0x60], 2
mov qword [rsp + 0x58], r12
mov rcx, qword [rbp + 8]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov ecx, dword [0x140100d7c]
mov dword [rsp + 0x38], ecx
mov ecx, dword [0x140100d78]
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
mov r9d, 0x90000000
lea r8, str.awdijawid
movzx edx, di
mov ecx, 0xa8
call rbx
mov qword [0x140100d68], rax
mov dword [rsp + 0x60], 2
mov qword [rsp + 0x58], r12
mov rax, qword [rbp + 8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], 0x320
mov dword [rsp + 0x30], 0x500
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], 0x64
mov r9d, 0xcf0000
lea r8, str.Dear_ImGui_DirectX11_Example
movzx edx, di
mov ecx, 0x8000008
call rbx
movdqa xmm0, xmmword [0x1400e45c0]
movdqu xmmword [rbp + 0x40], xmm0
lea rdx, [rbp + 0x40]
mov rcx, qword [0x140100d68]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r9d, 2
movzx r8d, r15b
xor edx, edx
mov rcx, qword [0x140100d68]
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov qword [rbp - 0x7c], r12
mov qword [rbp - 0x68], 2
mov qword [rbp - 0x50], 2
mov qword [rsp + 0x70], r12
mov dword [rbp - 0x80], Ordinal_33
mov dword [rsp + 0x78], reloc.WLDAP32.dll_Ordinal_60
mov dword [rsp + 0x7c], r15d
mov dword [rbp - 0x6c], reloc.WLDAP32.dll_Ordinal_32
mov rax, qword [0x140100d68]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x74], r15
mov qword [rbp - 0x58], r15
mov dword [rbp + 0xd8], 0xb000
mov dword [rbp + 0xdc], 0xa000
lea rax, [0x140100d50]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x50], rax
lea rax, [0x140100d48]
mov qword [rsp + 0x48], rax
lea rax, [0x140100d58]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0xd8]
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 0x14007e866
mov rcx, qword [0x140100d58]
mov rax, qword [rcx]
lea r9, [rbp + 0xe0]
lea r8, [0x1400e0410]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x140100d48]
mov rax, qword [rcx]
lea r9, [0x140100d60]
xor r8d, r8d
mov rdx, qword [rbp + 0xe0]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0xe0]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov edx, 0xa
mov rcx, qword [0x140100d68]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140100d68]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [0x140100a98]
test rax, rax
je 0x14007e148
inc dword [rax + 0x3b4]
mov ecx, 0x3ee0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0xd8], rax
lea rcx, [rbp + 0xd0]
mov qword [rbp + 0xe0], rcx
mov qword [rbp + 0xe8], rax
test rax, rax
je 0x14007e180
xor edx, edx
mov rcx, rax
call fcn.140016440
jmp 0x14007e183
mov rax, r12
cmp qword [0x140100a98], 0
jne 0x14007e194
mov qword [0x140100a98], rax
mov rcx, rax
call fcn.140096dc0
xor ecx, ecx
call fcn.1400aebd0
mov ecx, Ordinal_50
call fcn.140076c98
mov qword [rbp + 0xd0], rax
mov rdx, qword [0x140100d50]
mov rcx, qword [0x140100d48]
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rdx
mov rcx, qword [0x140100fd0]
mov qword [0x140100fd0], rax
test rcx, rcx
je 0x14007e1e7
mov edx, Ordinal_50
call fcn.140076f14
mov ecx, Ordinal_50
call fcn.140076c98
mov qword [rbp + 0xd0], rax
mov r8, qword [0x140100d50]
mov rcx, qword [0x140100d48]
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], r8
mov rcx, qword [0x140100fc8]
mov qword [0x140100fc8], rax
test rcx, rcx
je 0x14007e22b
mov edx, Ordinal_50
call fcn.140076f14
mov rbx, qword [0x140100d68]
lea rcx, [0x140100fc0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14007e3bc
lea rcx, [0x140100fb8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14007e3bc
mov qword [0x140100fb0], rbx
mov rax, qword [0x140100a98]
or dword [rax + 0xc], 6
lea rcx, [0x1400e4150]
mov qword [rax + 0xd8], rcx
mov qword [rax + 0x120], rbx
mov dword [rax + 0x3c], 9
mov dword [rax + 0x40], Ordinal_41
mov dword [rax + 0x44], Ordinal_41
mov dword [rax + 0x48], Ordinal_41
mov dword [rax + 0x4c], Ordinal_41
mov dword [rax + 0x50], reloc.WLDAP32.dll_Ordinal_33
mov dword [rax + 0x54], Ordinal_35
mov dword [rax + 0x58], Ordinal_41
mov dword [rax + 0x5c], reloc.WLDAP32.dll_Ordinal_35
mov dword [rax + 0x60], reloc.WLDAP32.dll_Ordinal_45
mov dword [rax + 0x64], reloc.WLDAP32.dll_Ordinal_46
mov dword [rax + 0x68], 8
mov dword [rax + 0x6c], reloc.WLDAP32.dll_Ordinal_32
mov dword [rax + 0x70], reloc.WS2_32.dll_listen
mov dword [rax + 0x74], reloc.WLDAP32.dll_Ordinal_27
mov dword [rax + 0x78], reloc.WS2_32.dll_listen
mov dword [rax + 0x7c], 0x41
mov dword [rax + 0x80], 0x43
mov dword [rax + 0x84], 0x56
mov dword [rax + 0x88], 0x58
mov dword [rax + 0x8c], 0x59
mov dword [rax + 0x90], 0x5a
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x70], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x78], rax
lea rax, str.xinput9_1_0.dll
mov qword [rbp - 0x80], rax
lea rax, str.xinput1_2.dll
mov qword [rbp - 0x78], rax
lea rax, str.xinput1_1.dll
mov qword [rbp - 0x70], rax
mov rbx, r12
nop dword [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x70]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
jne 0x14007e38e
inc rbx
cmp rbx, 5
jl 0x14007e370
jmp 0x14007e3bc
lea rdx, str.XInputGetCapabilities
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140100fa0], rax
lea rdx, str.XInputGetState
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140100fa8], rax
mov r14, qword [0x140100d50]
mov rsi, qword [0x140100d48]
mov rdi, qword [0x140100a98]
test rdi, rdi
je 0x14007e3dc
inc dword [rdi + 0x3b4]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14007e41d
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 0x14007e420
mov rbx, r12
mov qword [rdi + 0x98], rbx
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x88], rax
or dword [rdi + 0xc], 8
mov qword [rbp + 0xd0], r12
mov qword [rbp + 0xd8], r12
mov qword [rbp + 0xe0], r12
mov rax, qword [rsi]
lea r8, [rbp + 0xd0]
lea rdx, [0x1400e4120]
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x14007e4b8
mov rcx, qword [rbp + 0xd0]
mov rax, qword [rcx]
lea r8, [rbp + 0xd8]
lea rdx, [0x1400e4130]
call qword [rax + Ordinal_50]
test eax, eax
jne 0x14007e4b8
mov rcx, qword [rbp + 0xd8]
mov rax, qword [rcx]
lea r8, [rbp + 0xe0]
lea rdx, [0x1400e4140]
call qword [rax + Ordinal_50]
test eax, eax
jne 0x14007e4b8
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov rax, qword [rbp + 0xe0]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp + 0xd0]
test rcx, rcx
je 0x14007e4ca
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0xd8]
test rcx, rcx
je 0x14007e4dc
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]
mov edx, 0xffffffec
mov rcx, qword [0x140100d68]
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
bts eax, 0x13
movsxd r8, eax
mov edx, 0xffffffec
mov rcx, qword [0x140100d68]
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
xor bl, bl
nop dword [rax]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14007e586
nop dword [rax]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_DispatchMessageA]
movzx ebx, bl
cmp dword [rsp + 0x78], 0x12
cmove ebx, r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x14007e540
test bl, bl
jne 0x14007e8d8
movzx eax, byte [0x140100cc0]
neg al
sbb edx, edx
and edx, 0x11
mov rcx, qword [0x140100d68]
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
mov ecx, dword [0x140100f14]
test ecx, ecx
je 0x14007e5b9
cmp ecx, 1
jne 0x14007e5c7
mov rax, qword [0x1400fc3f0]
jmp 0x14007e5c0
mov rax, qword [0x1400fc3e0]
mov qword [0x1400fc3f8], rax
mov rax, qword [0x140100a98]
test rax, rax
je 0x14007e5dc
mov rcx, qword [rax + 0x98]
jmp 0x14007e5df
mov rcx, r12
cmp qword [rcx + 0x48], 0
jne 0x14007e5eb
call fcn.1400af230
call fcn.1400b1140
call fcn.14009beb0
mov rax, qword [0x140100a98]
mov rcx, qword [rax + 0x1dc0]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rcx]
call fcn.1400982c0
mov rcx, qword [0x140100fd0]
mov qword [rcx], rax
cmp byte [0x140100b10], 0
je 0x14007e669
mov rax, qword [0x140100a98]
or dword [rax + 0x1cb0], 2
mov dword [rax + 0x1cd0], 0x441b0000
mov dword [rax + 0x1cd4], 0x43f28000
mov dword [rax + 0x1cb8], r15d
xor edx, edx
mov r8d, 0xab
lea rcx, str.GUI
call fcn.1400913b0
call fcn.1400911b0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
cmp rax, qword [0x140100d70]
je 0x14007e687
mov rcx, qword [0x140100d68]
cmp rax, rcx
jne 0x14007e6a3
mov ecx, dword [0x140100f24]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x14007e71f
mov rcx, qword [0x140100d68]
cmp byte [0x140101041], 0
mov byte [0x140101041], 0
je 0x14007e726
mov byte [0x140101040], 1
cmp byte [0x140100b10], 0
sete byte [0x140100b10]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
movsxd r8, eax
mov edx, 0xffffffec
mov rcx, qword [0x140100d68]
cmp byte [0x140100b10], 0
je 0x14007e705
btr r8, 0x13
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov rcx, qword [0x140100d68]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x14007e72d
bts r8, 0x13
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov rcx, qword [0x140100d70]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x14007e72d
mov byte [0x140101041], 1
mov byte [0x140101040], 0
mov rcx, qword [0x140100d70]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14007e85d
mov rax, qword [0x140100d70]
cmp rdi, rax
je 0x14007e75a
mov rcx, qword [0x140100d68]
cmp rdi, rcx
jne 0x14007e76e
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x14007e7a1
mov rcx, qword [0x140100d68]
cmp byte [0x140100d80], 0
je 0x14007e7dd
mov dword [rsp + 0x30], reloc.WS2_32.dll_send
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
call qword [sym.imp.USER32.dll_SetWindowPos]
mov byte [0x140100d80], 0
jmp 0x14007e7dd
cmp byte [0x140100d80], 0
jne 0x14007e7dd
mov dword [rsp + 0x30], reloc.WS2_32.dll_send
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rdx, 0xffffffffffffffff
mov rcx, qword [0x140100d68]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov byte [0x140100d80], 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov rcx, qword [0x140100d50]
mov rax, qword [rcx]
lea r8, [rbp + 0x50]
mov rdx, qword [0x140100d60]
call qword [rax + 0x190]
call fcn.14009d170
mov rcx, qword [0x140100d50]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x140100d60]
mov edx, r15d
call qword [rax + 0x108]
mov rax, qword [0x140100a98]
mov rcx, qword [rax + 0x1dc0]
mov rax, qword [rcx]
add rax, 0x40
mov rcx, r12
cmp byte [rax], r12b
cmovne rcx, rax
call fcn.1400afa90
mov rcx, qword [0x140100d58]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, r15d
call qword [rax + 0x40]
jmp 0x14007e520
mov byte [0x140100b12], 1
jmp 0x14007e8d8
mov rcx, qword [0x140100d60]
test rcx, rcx
je 0x14007e87f
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140100d60], r12
mov rcx, qword [0x140100d58]
test rcx, rcx
je 0x14007e898
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140100d58], r12
mov rcx, qword [0x140100d50]
test rcx, rcx
je 0x14007e8b1
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140100d50], r12
mov rcx, qword [0x140100d48]
test rcx, rcx
je 0x14007e8ca
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140100d48], r12
mov rdx, qword [rbp + 8]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.USER32.dll_UnregisterClassW]
add rsp, 0x190
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret