Function at 0x1400b5780
Capabilities:
Create process on windows
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rdi, rdx
mov rbx, rcx
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffff94
je 0x1400b5b3c
cmp eax, 0xfffffffb
je 0x1400b5904
cmp eax, 0xfffffffd
je 0x1400b5815
cmp eax, 0xfffffffe
jne 0x1400b5bdd
mov edx, 0x505
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
cmp qword [rdi], rax
jne 0x1400b5bdd
lea r8, [rdi + 0x88]
mov dword [rsp + 0x28], 5
xor edi, edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea rdx, [0x1401081f0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1400b5bdd
mov edx, 0x4ca
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
cmp qword [rdi], rax
jne 0x1400b5bdd
mov edx, 0x4ca
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rsi, rax
mov r9d, 2
or r8, 0xffffffffffffffff
mov edx, 0x100c
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x1400b5bdd
mov dword [rbp - 0x80], 4
mov dword [rbp - 0x7c], eax
xor edi, edi
mov dword [rbp - 0x78], edi
lea r9, [rbp - 0x80]
xor r8d, r8d
mov edx, 0x104b
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1400b5bdd
mov eax, dword [rbp - 0x58]
mov dword [rsp + 0x48], eax
lea rcx, [rbx + 0x2d8]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x50]
call fcn.140019f10
mov qword [rsp + 0x40], rdi
mov rcx, qword [rsp + 0x50]
add rcx, 0x18
cmp qword [rcx + 0x18], 8
jb 0x1400b58c1
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400b5bdd
lea rdx, [rsp + 0x40]
call fcn.140094590
test eax, eax
jne 0x1400b5bdd
mov rcx, qword [rbx + 0x340]
mov rax, qword [rcx]
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
call qword [rax + 0x40]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1400b5bdd
mov edx, 0x4ca
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
cmp qword [rdi], rax
jne 0x1400b5bdd
mov edx, 0x4ca
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rsi, rax
mov r9d, 2
or r8, 0xffffffffffffffff
mov edx, 0x100c
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x1400b5bdd
mov dword [rbp - 0x80], 4
mov dword [rbp - 0x7c], eax
xor edi, edi
mov dword [rbp - 0x78], edi
lea r9, [rbp - 0x80]
xor r8d, r8d
mov edx, 0x104b
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1400b5bdd
mov eax, dword [rbp - 0x58]
mov dword [rsp + 0x48], eax
lea rcx, [rbx + 0x2d8]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x50]
call fcn.140019f10
mov qword [rsp + 0x40], rdi
mov rcx, qword [rsp + 0x50]
add rcx, 0x18
cmp qword [rcx + 0x18], 8
jb 0x1400b59b0
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400b5bdd
lea rdx, [rsp + 0x40]
call fcn.140094590
test eax, eax
jne 0x1400b5bdd
mov qword [rsp + 0x68], rdi
lea ecx, [rax + 0x18]
call fcn.14004b164
mov rsi, rax
test rax, rax
je 0x1400b5b0d
mov qword [rsp + 0x60], rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_ILFindLastID]
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x50]
mov rdx, qword [rsi + 8]
mov rcx, rsi
call fcn.14000bda0
mov qword [rsp + 0x68], 1
mov qword [rsi + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_ILClone]
mov r12, rax
mov rcx, rax
call qword [sym.imp.SHELL32.dll_ILRemoveLastID]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x50]
call fcn.14000b2c0
mov r9, rax
mov r8, r12
mov rdx, qword [rbx + 8]
lea rcx, [rbp - 0x10]
call fcn.1400e6550
nop
call qword [sym.imp.USER32.dll_GetMessagePos]
movsx ecx, ax
mov dword [rsp + 0x48], ecx
shr eax, 0x10
cwde
mov dword [rsp + 0x4c], eax
mov ecx, reloc.SHELL32.dll_ILFindLastID
call qword [sym.imp.USER32.dll_GetKeyState]
movzx r13d, ax
and r13d, 0x80
mov rcx, qword [rbx + 0x340]
mov r8, qword [rcx]
call qword [r8 + 0x48]
cmp qword [rbp + 8], 0
je 0x1400b5ac1
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov r9, rax
lea r8, [rsp + 0x48]
lea rdx, [rbx + 0x50]
lea rcx, [rbp - 0x10]
call fcn.1400e6ad0
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
lea rcx, [rbp - 0x10]
call fcn.1400e6480
nop
mov rcx, qword [rsi]
mov qword [rsi], rsi
mov qword [rsi + 8], rsi
cmp rcx, rsi
je 0x1400b5b00
nop
mov rbx, qword [rcx]
call fcn.14004b088
mov rcx, rbx
cmp rbx, rsi
jne 0x1400b5af0
mov rcx, rsi
call fcn.14004b088
jmp 0x1400b5bdd
mov qword [rsp + 0x58], rdi
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x28]
call fcn.14004b2d4
lea r11, vtable.std::bad_alloc.0
mov qword [rbp - 0x28], r11
lea rdx, [0x140132320]
lea rcx, [rbp - 0x28]
call fcn.14004d894
int3
mov r8, qword [rcx + 0x348]
movsxd rax, dword [rdx + 0x1c]
lea rdx, [rax + rax*2]
mov rcx, qword [r8 + 0x468]
mov eax, dword [r8 + 0x488]
cmp dword [rcx + rdx*4], eax
jne 0x1400b5b74
xor edi, edi
cmp dword [r8 + 0x48c], edi
sete dil
mov dword [r8 + 0x48c], edi
jmp 0x1400b5bae
movsxd rax, dword [rdi + 0x1c]
lea rcx, [rax + rax*2]
mov rax, qword [r8 + 0x468]
mov ecx, dword [rax + rcx*4]
mov dword [r8 + 0x488], ecx
mov rdx, qword [rbx + 0x348]
movsxd rax, dword [rdi + 0x1c]
lea rcx, [rax + rax*2]
mov rax, qword [rdx + 0x468]
movzx ecx, byte [rax + rcx*4 + 8]
mov dword [rdx + 0x48c], ecx
mov edx, 0x4ca
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
lea r9, [0x1400b2a10]
mov r8, rbx
mov edx, 0x1030
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbx
call fcn.1400b2560
xor eax, eax
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret