Function at 0x140012a90
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x268
mov rax, qword [0x1400e3110]
xor rax, rsp
mov qword [rsp + 0x258], rax
mov dword [rsp + 0x34], 0
mov rax, qword [rsp + 0x280]
movzx eax, byte [rax + 0x69]
test eax, eax
je 0x140012ae5
lea rax, str.RECORDING
mov qword [rsp + 0x78], rax
jmp 0x140012b19
mov rax, qword [rsp + 0x280]
movzx eax, byte [rax + 0x68]
test eax, eax
je 0x140012b03
lea rax, str.RUNNING_MACRO
mov qword [rsp + 0x70], rax
jmp 0x140012b0f
lea rax, str.IDLE
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
lea rdx, str.Status:
lea rcx, [rsp + 0x190]
call fcn.1400170c0
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x210]
call fcn.140019320
nop
lea rcx, [rsp + 0x190]
call fcn.140016f40
mov rcx, qword [rsp + 0x288]
call fcn.14004bf20
mov qword [rsp + 0xf0], rax
lea rcx, [rsp + 0x180]
call fcn.140002620
lea rcx, [rsp + 0x140]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x150]
lea rcx, [rsp + 0x140]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x170]
mov qword [rsp + 0xd8], rax
movss xmm2, dword [0x1400d859c]
movss xmm1, dword [0x1400d859c]
mov rcx, qword [rsp + 0xd8]
call fcn.1400025c0
mov rax, qword [rax]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x108], rax
lea rax, [rsp + 0x178]
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x40], 0x2a3
mov dword [rsp + 0x3c], 0x4b
lea r8, [rsp + 0x3c]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0xc0]
call fcn.140019080
mov rax, qword [rax]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x110], rax
lea rcx, [rsp + 0x210]
call fcn.140016cc0
mov qword [rsp + 0x118], rax
lea rax, [rsp + 0x160]
lea rcx, [rsp + 0x150]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov byte [rsp + 0x28], 1
lea rax, [rsp + 0x160]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x108]
mov r8, qword [rsp + 0x110]
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0xf0]
call fcn.1400421b0
mov rax, qword [rsp + 0x280]
mov rcx, qword [rax + 0x50]
call fcn.140004d30
mov ecx, eax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x140012d13
mov rax, qword [rsp + 0x280]
mov byte [rax + 0x6c], 1
jmp 0x140012ec1
mov rax, qword [rsp + 0x280]
movzx eax, byte [rax + 0x6c]
test eax, eax
je 0x140012ec1
mov rax, qword [rsp + 0x280]
movzx eax, byte [rax + 0x68]
test eax, eax
jne 0x140012d71
mov rax, qword [rsp + 0x280]
mov rcx, qword [rax + 0x50]
call fcn.140004d30
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x280]
mov rcx, qword [rcx + 0x58]
call fcn.140004d30
mov ecx, dword [rsp + 0x44]
cmp ecx, eax
jne 0x140012d71
mov rax, qword [rsp + 0x280]
mov byte [rax + 0x6d], 0
mov rax, qword [rsp + 0x280]
movzx eax, byte [rax + 0x68]
test eax, eax
jne 0x140012ea3
mov rax, qword [rsp + 0x280]
mov rcx, qword [rax + 0x50]
call fcn.140005ea0
movzx eax, al
test eax, eax
jne 0x140012ea3
mov rax, qword [rsp + 0x280]
mov rcx, qword [rax + 0x58]
call fcn.140005ea0
movzx eax, al
test eax, eax
jne 0x140012ea3
mov rax, qword [rsp + 0x280]
mov rcx, qword [rax + 0x58]
call fcn.140004d30
cmp eax, 0xffffffff
je 0x140012ea3
mov rax, qword [rsp + 0x280]
mov byte [rax + 0x68], 1
mov rax, qword [rsp + 0x280]
mov rcx, qword [rax + 0x38]
call fcn.14000b3c0
mov rcx, rax
call fcn.14000aa60
mov qword [rsp + 0x80], rax
mov edx, 8
lea rcx, [rsp + 0x1d0]
call fcn.140002890
lea rdx, [rsp + 0x1d0]
mov rcx, qword [rsp + 0x80]
call fcn.140016210
mov edx, 8
lea rcx, [rsp + 0x1f0]
call fcn.140002890
lea rdx, [rsp + 0x1f0]
mov rcx, qword [rsp + 0x80]
call fcn.1400161e0
jmp 0x140012e61
lea rcx, [rsp + 0x1d0]
call fcn.140016090
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x1d0]
call fcn.1400160d0
movzx eax, al
test eax, eax
je 0x140012ea3
lea rcx, [rsp + 0x1d0]
call fcn.1400160b0
mov rax, qword [rax]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov byte [rax + 9], 0
jmp 0x140012e54
mov rax, qword [rsp + 0x280]
mov byte [rax + 0x6c], 0
lea rcx, [rsp + 0x210]
call fcn.140016f40
jmp 0x1400134d6
mov rax, qword [rsp + 0x280]
mov rcx, qword [rax + 0x58]
call fcn.140004d30
mov ecx, eax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x140012ef0
mov rax, qword [rsp + 0x280]
mov byte [rax + 0x6d], 1
jmp 0x1400130cb
mov rax, qword [rsp + 0x280]
movzx eax, byte [rax + 0x6d]
test eax, eax
je 0x1400130cb
mov rax, qword [rsp + 0x280]
mov byte [rax + 0x68], 0
mov rax, qword [rsp + 0x280]
mov rcx, qword [rax + 0x38]
call fcn.14000b3c0
mov rcx, rax
call fcn.14000aa60
mov qword [rsp + 0x58], rax
mov edx, 8
lea rcx, [rsp + 0x1d8]
call fcn.140002890
lea rdx, [rsp + 0x1d8]
mov rcx, qword [rsp + 0x58]
call fcn.140016210
mov edx, 8
lea rcx, [rsp + 0x1f8]
call fcn.140002890
lea rdx, [rsp + 0x1f8]
mov rcx, qword [rsp + 0x58]
call fcn.1400161e0
jmp 0x140012f85
lea rcx, [rsp + 0x1d8]
call fcn.140016090
lea rdx, [rsp + 0x1f8]
lea rcx, [rsp + 0x1d8]
call fcn.1400160d0
movzx eax, al
test eax, eax
je 0x140012fc7
lea rcx, [rsp + 0x1d8]
call fcn.1400160b0
mov rax, qword [rax]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov byte [rax + 9], 1
jmp 0x140012f78
mov rax, qword [rsp + 0x280]
cmp qword [rax + 0x60], 0
je 0x140013068
mov rax, qword [rsp + 0x280]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x280]
mov rax, qword [rax + 0x60]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x138], rax
lea rdx, [rsp + 0x1b0]
mov rcx, qword [rsp + 0x130]
call qword [rsp + 0x138]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x34], eax
lea rdx, str.Wait_Cmd
mov rcx, qword [rsp + 0x90]
call fcn.140019100
movzx eax, al
test eax, eax
je 0x140013068
mov dword [rsp + 0x38], 1
jmp 0x140013070
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x30], al
mov eax, dword [rsp + 0x34]
and eax, 1
test eax, eax
je 0x140013096
and dword [rsp + 0x34], 0xfffffffe
lea rcx, [rsp + 0x1b0]
call fcn.140016f40
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400130bf
mov rax, qword [rsp + 0x280]
mov rax, qword [rax + 0x60]
mov byte [rax + 8], 1
mov rax, qword [rsp + 0x280]
mov qword [rax + 0x60], 0
mov rax, qword [rsp + 0x280]
mov byte [rax + 0x6d], 0
mov rax, qword [rsp + 0x280]
movzx eax, byte [rax + 0x68]
test eax, eax
je 0x1400130f9
mov rax, qword [rsp + 0x280]
mov byte [rax + 0x69], 0
lea rcx, [rsp + 0x210]
call fcn.140016f40
jmp 0x1400134d6
mov rax, qword [rsp + 0x280]
mov rcx, qword [rax + 0x40]
call fcn.140004d30
mov ecx, eax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x140013128
mov rax, qword [rsp + 0x280]
mov byte [rax + 0x6a], 1
jmp 0x1400132de
mov rax, qword [rsp + 0x280]
movzx eax, byte [rax + 0x6a]
test eax, eax
je 0x1400132de
mov rax, qword [rsp + 0x280]
movzx eax, byte [rax + 0x69]
test eax, eax
jne 0x140013186
mov rax, qword [rsp + 0x280]
mov rcx, qword [rax + 0x40]
call fcn.140004d30
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0x280]
mov rcx, qword [rcx + 0x48]
call fcn.140004d30
mov ecx, dword [rsp + 0x48]
cmp ecx, eax
jne 0x140013186
mov rax, qword [rsp + 0x280]
mov byte [rax + 0x6b], 0
mov rax, qword [rsp + 0x280]
movzx eax, byte [rax + 0x69]
test eax, eax
jne 0x1400132c0
mov rax, qword [rsp + 0x280]
mov rcx, qword [rax + 0x40]
call fcn.140005ea0
movzx eax, al
test eax, eax
jne 0x1400132c0
mov rax, qword [rsp + 0x280]
mov rcx, qword [rax + 0x48]
call fcn.140005ea0
movzx eax, al
test eax, eax
jne 0x1400132c0
mov rax, qword [rsp + 0x280]
mov rcx, qword [rax + 0x48]
call fcn.140004d30
cmp eax, 0xffffffff
je 0x1400132c0
mov rax, qword [rsp + 0x280]
mov byte [rax + 0x69], 1
mov rax, qword [rsp + 0x280]
mov rcx, qword [rax + 0x70]
call fcn.1400119e0
mov rax, qword [rsp + 0x280]
mov rcx, qword [rax + 0x38]
call fcn.14000b3c0
mov rcx, rax
call fcn.14000aa60
mov qword [rsp + 0x68], rax
mov edx, 8
lea rcx, [rsp + 0x1e0]
call fcn.140002890
lea rdx, [rsp + 0x1e0]
mov rcx, qword [rsp + 0x68]
call fcn.140016210
mov edx, 8
lea rcx, [rsp + 0x200]
call fcn.140002890
lea rdx, [rsp + 0x200]
mov rcx, qword [rsp + 0x68]
call fcn.1400161e0
jmp 0x14001327e
lea rcx, [rsp + 0x1e0]
call fcn.140016090
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x1e0]
call fcn.1400160d0
movzx eax, al
test eax, eax
je 0x1400132c0
lea rcx, [rsp + 0x1e0]
call fcn.1400160b0
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov byte [rax + 9], 0
jmp 0x140013271
mov rax, qword [rsp + 0x280]
mov byte [rax + 0x6a], 0
lea rcx, [rsp + 0x210]
call fcn.140016f40
jmp 0x1400134d6
mov rax, qword [rsp + 0x280]
mov rcx, qword [rax + 0x48]
call fcn.140004d30
mov ecx, eax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x14001330d
mov rax, qword [rsp + 0x280]
mov byte [rax + 0x6b], 1
jmp 0x1400134c9
mov rax, qword [rsp + 0x280]
movzx eax, byte [rax + 0x6b]
test eax, eax
je 0x1400134c9
mov rax, qword [rsp + 0x280]
mov byte [rax + 0x69], 0
mov rax, qword [rsp + 0x280]
mov rcx, qword [rax + 0x38]
call fcn.14000b240
mov edx, 0x28
lea rcx, [rsp + 0x230]
call fcn.140002890
mov rax, qword [rsp + 0x280]
mov rax, qword [rax + 0x70]
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0x230]
mov rcx, qword [rsp + 0xa0]
call fcn.140011e10
nop
lea rcx, [rsp + 0x230]
call fcn.140015da0
movzx eax, al
test eax, eax
jne 0x1400133f8
mov rax, qword [rsp + 0x280]
mov rcx, qword [rax + 0x38]
call fcn.14000b3c0
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x230]
call fcn.140015d70
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [rax + 8]
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
call fcn.14000a720
lea rcx, [rsp + 0x230]
call fcn.140015c70
jmp 0x14001337a
mov rax, qword [rsp + 0x280]
mov rcx, qword [rax + 0x38]
call fcn.14000b3c0
mov rcx, rax
call fcn.14000aa60
mov qword [rsp + 0x50], rax
mov edx, 8
lea rcx, [rsp + 0x1e8]
call fcn.140002890
lea rdx, [rsp + 0x1e8]
mov rcx, qword [rsp + 0x50]
call fcn.140016210
mov edx, 8
lea rcx, [rsp + 0x208]
call fcn.140002890
lea rdx, [rsp + 0x208]
mov rcx, qword [rsp + 0x50]
call fcn.1400161e0
jmp 0x14001346d
lea rcx, [rsp + 0x1e8]
call fcn.140016090
lea rdx, [rsp + 0x208]
lea rcx, [rsp + 0x1e8]
call fcn.1400160d0
movzx eax, al
test eax, eax
je 0x1400134af
lea rcx, [rsp + 0x1e8]
call fcn.1400160b0
mov rax, qword [rax]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov byte [rax + 9], 1
jmp 0x140013460
mov rax, qword [rsp + 0x280]
mov byte [rax + 0x6b], 0
lea rcx, [rsp + 0x230]
call fcn.140015de0
nop
lea rcx, [rsp + 0x210]
call fcn.140016f40
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.140055f20
add rsp, 0x268
pop rdi
pop rsi
ret