Function at 0x1400cfef0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x500
mov rax, qword [0x1401ed028]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
call fcn.1400d14b0
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x350]
lea rcx, [rsp + 0x60]
call fcn.1400d08d0
mov rcx, rax
call fcn.14002fe50
mov rdx, rax
lea rcx, [rsp + 0x248]
call fcn.1400259b0
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0xa0]
call fcn.140027020
mov qword [rsp + 0xa8], rax
mov r8, qword [rsp + 0xa8]
mov edx, 1
xor ecx, ecx
call qword [rsp + 0xb0]
mov qword [rsp + 0x228], rax
lea rcx, [rsp + 0x248]
call fcn.140025900
call fcn.1400d14c0
call rax
cmp eax, 0xb7
jne 0x1400cffc7
mov dword [rsp + 0x68], 1
jmp 0x1400cffcf
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
je 0x1400cffe5
xor eax, eax
jmp 0x1400d08af
mov ecx, 0x98
call fcn.1400d63c0
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x1400d0020
lea rdx, str.crossfire.exe
mov rcx, qword [rsp + 0x80]
call fcn.1400cd6b0
mov qword [rsp + 0x88], rax
jmp 0x1400d002c
mov qword [rsp + 0x88], 0
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [0x140222f48], rax
call fcn.1400cfc40
mov edx, 0x14
lea rcx, [rsp + 0x4a0]
call fcn.1400ce1b0
nop
mov edx, 0x14
lea rcx, [rsp + 0x480]
call fcn.1400ce1b0
nop
lea rcx, [rsp + 0x480]
call fcn.140027020
mov qword [rsp + 0xc0], rax
mov rax, qword [0x14022db10]
add rax, 0x28
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [rsp + 0x430], 0x50
mov dword [rsp + 0x434], 0x40
lea rax, [0x1400ce450]
mov qword [rsp + 0x438], rax
mov dword [rsp + 0x440], 0
mov dword [rsp + 0x444], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x448], rax
mov qword [rsp + 0x450], 0
mov qword [rsp + 0x458], 0
mov qword [rsp + 0x460], 0
mov qword [rsp + 0x468], 0
lea rax, str.Tooltip
mov qword [rsp + 0x470], rax
mov qword [rsp + 0x478], 0
lea rcx, [rsp + 0x430]
call qword [sym.imp.USER32.dll_RegisterClassExA]
lea rax, [rsp + 0x61]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x338]
lea rcx, [rsp + 0x61]
call fcn.1400d0900
mov rcx, rax
call fcn.14002fef0
mov rdx, rax
lea rcx, [rsp + 0x268]
call fcn.1400259b0
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call fcn.140027020
mov qword [rsp + 0x58], 0
mov rcx, qword [rsp + 0x448]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0x1e
mov dword [rsp + 0x30], 0x1e
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
mov r9d, 0x90000000
mov r8, rax
mov rdx, qword [rsp + 0x470]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x14022db90], rax
lea rcx, [rsp + 0x268]
call fcn.140025900
mov rcx, qword [0x14022db90]
call fcn.1400cd8e0
test eax, eax
jne 0x1400d0274
call fcn.1400ce110
mov rdx, qword [rsp + 0x448]
mov rcx, qword [rsp + 0x470]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov dword [rsp + 0x70], 1
lea rcx, [rsp + 0x480]
call fcn.140025900
nop
lea rcx, [rsp + 0x4a0]
call fcn.140025900
mov eax, dword [rsp + 0x70]
jmp 0x1400d08af
call fcn.1400d14d0
mov qword [rsp + 0xe0], rax
mov rax, qword [0x14022db90]
mov qword [rsp + 0xd8], rax
xor edx, edx
mov rcx, qword [rsp + 0xd8]
call qword [rsp + 0xe0]
call fcn.1400d14e0
mov qword [rsp + 0xf0], rax
mov rax, qword [0x14022db90]
mov qword [rsp + 0xe8], rax
mov rcx, qword [rsp + 0xe8]
call qword [rsp + 0xf0]
mov rcx, qword [0x14022db90]
call fcn.1400cd9d0
lea rax, [rsp + 0x370]
mov qword [rsp + 0xf8], rax
lea rdx, [0x1401d3748]
mov rcx, qword [rsp + 0xf8]
call fcn.1400259b0
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x390]
mov qword [rsp + 0x120], rax
lea rax, [rsp + 0x62]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x238]
lea rcx, [rsp + 0x62]
call fcn.1400d0960
mov rcx, rax
call fcn.1400d0b00
mov rdx, rax
lea rcx, [rsp + 0x2a8]
call fcn.1400259b0
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x118], rax
mov rcx, qword [rsp + 0x118]
call fcn.140027020
mov rdx, rax
mov rcx, qword [rsp + 0x120]
call fcn.1400259b0
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x3b0]
mov qword [rsp + 0x148], rax
lea rax, [rsp + 0x63]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x308]
lea rcx, [rsp + 0x63]
call fcn.1400d0930
mov rcx, rax
call fcn.14002fed0
mov rdx, rax
lea rcx, [rsp + 0x288]
call fcn.1400259b0
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x140], rax
mov rcx, qword [rsp + 0x140]
call fcn.140027020
mov rdx, rax
mov rcx, qword [rsp + 0x148]
call fcn.1400259b0
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x168], rax
mov r9, qword [rsp + 0x158]
mov r8, qword [rsp + 0x160]
mov rdx, qword [rsp + 0x168]
mov rcx, qword [0x14022db10]
call fcn.140095bd0
nop
lea rcx, [rsp + 0x288]
call fcn.140025900
nop
lea rcx, [rsp + 0x2a8]
call fcn.140025900
movzx eax, byte [0x1401ed278]
test eax, eax
je 0x1400d05d1
call fcn.1400d14f0
mov qword [rsp + 0x170], rax
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x4c0]
call qword [rsp + 0x170]
test eax, eax
je 0x1400d052c
call fcn.1400d1500
mov qword [rsp + 0x178], rax
lea rcx, [rsp + 0x4c0]
call qword [rsp + 0x178]
call fcn.1400d1510
mov qword [rsp + 0x180], rax
lea rcx, [rsp + 0x4c0]
call qword [rsp + 0x180]
cmp dword [rsp + 0x4c8], 0x12
jne 0x1400d052c
mov byte [0x1401ed278], 0
call fcn.1400ce580
mov rcx, qword [0x14022db10]
call fcn.140092950
mov rcx, qword [0x14022db10]
call fcn.1400a0260
call fcn.1400ce5a0
mov rax, qword [0x140223048]
mov rax, qword [rax]
mov rax, qword [rax + 0x88]
mov qword [rsp + 0x188], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x140223048]
call qword [rsp + 0x188]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0x88760868
jne 0x1400d05b4
mov rax, qword [0x140223048]
mov rax, qword [rax]
mov rcx, qword [0x140223048]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x1400d05b4
call fcn.1400ce170
mov ecx, 0x69
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 1
test eax, eax
je 0x1400d05cc
call fcn.1400ce170
jmp 0x1400d04a4
lea rax, [rsp + 0x3d0]
mov qword [rsp + 0x190], rax
lea rdx, [0x1401d374c]
mov rcx, qword [rsp + 0x190]
call fcn.1400259b0
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x1f0], rax
lea rax, [rsp + 0x3f0]
mov qword [rsp + 0x1b8], rax
lea rax, [rsp + 0x64]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x64]
call fcn.1400d0960
mov rcx, rax
call fcn.1400d0b00
mov rdx, rax
lea rcx, [rsp + 0x2e8]
call fcn.1400259b0
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x1b0], rax
mov rcx, qword [rsp + 0x1b0]
call fcn.140027020
mov rdx, rax
mov rcx, qword [rsp + 0x1b8]
call fcn.1400259b0
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x1f8], rax
lea rax, [rsp + 0x410]
mov qword [rsp + 0x1e0], rax
lea rax, [rsp + 0x65]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x320]
lea rcx, [rsp + 0x65]
call fcn.1400d09f0
mov rcx, rax
call fcn.14002fed0
mov rdx, rax
lea rcx, [rsp + 0x2c8]
call fcn.1400259b0
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x1d8], rax
mov rcx, qword [rsp + 0x1d8]
call fcn.140027020
mov rdx, rax
mov rcx, qword [rsp + 0x1e0]
call fcn.1400259b0
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x200], rax
mov r9, qword [rsp + 0x1f0]
mov r8, qword [rsp + 0x1f8]
mov rdx, qword [rsp + 0x200]
mov rcx, qword [0x14022db10]
call fcn.140095bd0
nop
lea rcx, [rsp + 0x2c8]
call fcn.140025900
nop
lea rcx, [rsp + 0x2e8]
call fcn.140025900
mov rcx, qword [0x14022db10]
call fcn.140091e50
mov rcx, qword [0x14022db10]
call fcn.140025570
call fcn.140177490
call fcn.140178b60
xor ecx, ecx
call fcn.140104180
call fcn.1400ce110
call fcn.1400d1520
mov qword [rsp + 0x210], rax
mov rax, qword [0x14022db90]
mov qword [rsp + 0x208], rax
mov rcx, qword [rsp + 0x208]
call qword [rsp + 0x210]
call fcn.1400d1530
mov qword [rsp + 0x218], rax
mov rdx, qword [rsp + 0x448]
mov rcx, qword [rsp + 0x470]
call qword [rsp + 0x218]
call fcn.14008be20
mov rax, qword [0x14022db10]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
je 0x1400d0855
mov edx, 1
mov rcx, qword [rsp + 0x90]
call fcn.1400d0a20
mov qword [rsp + 0x220], rax
jmp 0x1400d0861
mov qword [rsp + 0x220], 0
mov qword [0x14022db10], 0
call fcn.1400d1540
mov qword [rsp + 0x230], rax
mov rcx, qword [rsp + 0x228]
call qword [rsp + 0x230]
mov dword [rsp + 0x78], 0
lea rcx, [rsp + 0x480]
call fcn.140025900
nop
lea rcx, [rsp + 0x4a0]
call fcn.140025900
mov eax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.1400d63a0
add rsp, 0x500
pop rdi
ret