Function at 0x14007e790
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
push rdi
mov eax, 0x16e0
call fcn.14008fee0
sub rsp, rax
mov rax, qword [0x1400da010]
xor rax, rsp
mov qword [rsp + 0x16d0], rax
xor ecx, ecx
call fcn.14001e620
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x31]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x32]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x33]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x35]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x30]
call fcn.14007f370
mov rcx, rax
call fcn.140082a40
mov rdx, rax
lea rcx, [rsp + 0x2a8]
call fcn.1400844c0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x108], rax
lea rcx, [rsp + 0x31]
call fcn.14007f1a0
mov rcx, rax
call fcn.1400827c0
mov rdx, rax
lea rcx, [rsp + 0x288]
call fcn.1400844c0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x268]
call fcn.14001e760
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xf0], rax
lea rcx, [rsp + 0x32]
call fcn.14007f0f0
mov rcx, rax
call fcn.140082a40
mov rdx, rax
lea rcx, [rsp + 0x248]
call fcn.1400844c0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0x33]
call fcn.14007efc0
mov rcx, rax
call fcn.140082900
mov rdx, rax
lea rcx, [rsp + 0x228]
call fcn.1400844c0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x208]
call fcn.14001e760
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0x34]
call fcn.14007ef10
mov rcx, rax
call fcn.140082a40
mov rdx, rax
lea rcx, [rsp + 0x1e8]
call fcn.1400844c0
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x35]
call fcn.14007ee10
mov rcx, rax
call fcn.140082b80
mov rdx, rax
lea rcx, [rsp + 0x1c8]
call fcn.1400844c0
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x1a8]
call fcn.14001e760
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xb0], rax
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x188]
call fcn.140085910
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc8], rax
mov r8, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x168]
call fcn.140085910
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xe0], rax
mov r8, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x148]
call fcn.140085910
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf8], rax
mov r8, qword [rsp + 0xf0]
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0x128]
call fcn.140085910
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x110], rax
mov r8, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0x318]
call fcn.140085910
nop
lea rcx, [rsp + 0x128]
call fcn.140084440
nop
lea rcx, [rsp + 0x148]
call fcn.140084440
nop
lea rcx, [rsp + 0x168]
call fcn.140084440
nop
lea rcx, [rsp + 0x188]
call fcn.140084440
nop
lea rcx, [rsp + 0x1a8]
call fcn.140084440
nop
lea rcx, [rsp + 0x1c8]
call fcn.140084440
nop
lea rcx, [rsp + 0x1e8]
call fcn.140084440
nop
lea rcx, [rsp + 0x208]
call fcn.140084440
nop
lea rcx, [rsp + 0x228]
call fcn.140084440
nop
lea rcx, [rsp + 0x248]
call fcn.140084440
nop
lea rcx, [rsp + 0x268]
call fcn.140084440
nop
lea rcx, [rsp + 0x288]
call fcn.140084440
nop
lea rcx, [rsp + 0x2a8]
call fcn.140084440
lea rcx, [rsp + 0x318]
call fcn.1400842b0
mov rcx, rax
call fcn.14001df50
xor eax, eax
cmp eax, 1
je 0x14007ede4
mov ecx, 0x31
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 1
test eax, eax
je 0x14007edb2
lea rax, [rsp + 0x36]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x36]
call fcn.14007f420
mov rcx, rax
call fcn.140082680
mov rcx, rax
call fcn.14001df50
lea rdx, [0x1400c057d]
lea rcx, [rsp + 0x2f8]
call fcn.1400844c0
nop
lea rcx, [rsp + 0x2e8]
call fcn.14007cbf0
lea rcx, [rsp + 0x2e8]
call fcn.14007cc00
mov edx, eax
lea rcx, [rsp + 0x340]
call fcn.140082640
lea rcx, [0x1400da718]
call fcn.1400841d0
dec rax
mov r8d, eax
xor edx, edx
lea rcx, [rsp + 0x2f0]
call fcn.140082610
mov dword [rsp + 0x38], 0
jmp 0x14007ec5b
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0xc
jge 0x14007ecfe
lea rdx, [rsp + 0x340]
lea rcx, [rsp + 0x2f0]
call fcn.140085960
mov dword [rsp + 0x3c], eax
movsxd rax, dword [rsp + 0x3c]
mov rdx, rax
lea rcx, [0x1400da718]
call fcn.1400841a0
mov rdx, rax
lea rcx, [rsp + 0x2c8]
call fcn.14001e760
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x120], rax
mov rdx, qword [rsp + 0x120]
lea rcx, [rsp + 0x2f8]
call fcn.1400843e0
nop
lea rcx, [rsp + 0x2c8]
call fcn.140084440
cmp dword [rsp + 0x38], 0xb
jge 0x14007ecf9
lea rdx, [0x1400c0580]
lea rcx, [rsp + 0x2f8]
call fcn.1400843b0
jmp 0x14007ec51
lea rax, [rsp + 0x37]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x2f8]
call fcn.1400842b0
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x37]
call fcn.14007f4d0
mov rcx, rax
call fcn.1400824d0
mov rcx, qword [rsp + 0x60]
mov rdx, rcx
mov rcx, rax
call fcn.14001df50
movzx eax, byte [0x1400da6fc]
test eax, eax
jne 0x14007ed83
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14007cc20]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x1400da6fc], 1
lea rcx, [rsp + 0x2f8]
call fcn.140084440
nop
lea rcx, [rsp + 0x318]
call fcn.140084440
jmp 0x14007e7c0
mov ecx, 0x32
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 1
test eax, eax
je 0x14007edd4
lea rcx, [rsp + 0x318]
call fcn.140084440
jmp 0x14007edf1
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14007eb9b
lea rcx, [rsp + 0x318]
call fcn.140084440
mov rcx, qword [rsp + 0x16d0]
xor rcx, rsp
call fcn.14008ed40
add rsp, 0x16e0
pop rdi
ret