Function at 0x140016320
Capabilities:
Allocate or change rwx memory
Check for time delay via gettickcount
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
mov rax, qword [0x140069798]
xor rax, rsp
mov qword [rbp + 0x290], rax
mov rdi, rcx
mov qword [rbp - 0x80], rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x68], eax
mov r10, qword [0x14006b5d8]
mov rdx, qword [0x14006b420]
mov qword [rsp + 0x58], rdx
mov rdx, qword [0x14006b418]
mov qword [rsp + 0x50], rdx
mov rdx, qword [0x14006b410]
mov qword [rsp + 0x48], rdx
mov rdx, qword [0x14006b408]
mov qword [rsp + 0x40], rdx
mov rcx, qword [0x14006b400]
mov qword [rsp + 0x38], rcx
mov ecx, dword [0x14006b3fc]
mov dword [rsp + 0x30], ecx
mov ecx, dword [0x14006b3f8]
mov dword [rsp + 0x28], ecx
mov rax, qword [0x14006b3f0]
mov qword [rsp + 0x20], rax
mov r9, qword [0x14006b3e8]
mov r8, qword [0x14006b3e0]
mov rdx, qword [0x14006b3d8]
mov rcx, qword [0x14006b3d0]
call r10
mov ebx, eax
mov dword [0x14006b428], eax
mov byte [0x14006b431], 1
mov rcx, qword [0x14006b418]
mov esi, dword [rcx + 0x10]
mov dword [rsp + 0x64], esi
lea rcx, [0x14006b4d0]
call fcn.140024150
test eax, eax
jne 0x1400168e8
mov byte [0x14006b430], 1
lea rcx, [0x14006b520]
call fcn.140024240
lea rcx, [0x14006b4d0]
call fcn.140024174
test ebx, ebx
jne 0x14001644a
mov byte [0x14006b431], bl
jmp 0x140016664
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x80]
call fcn.1400267c0
mov rcx, qword [0x1400693e8]
inc rcx
call fcn.1400252a4
mov r15, rax
xor ebx, ebx
mov qword [rsp + 0x78], rbx
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x58], 7
mov word [rbp + 0x40], bx
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x70], rbx
mov r8d, esi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r13, rax
test rax, rax
jne 0x1400164c0
mov byte [0x14006b431], al
jmp 0x140016624
mov edx, 0xffffffff
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
mov eax, dword [rbp - 0x70]
sub eax, 2
je 0x140016898
sub eax, 1
je 0x14001688d
sub eax, 2
je 0x1400165e5
sub eax, 1
je 0x140016694
cmp eax, 2
jne 0x1400168cb
cmp word [rbp - 0x58], 0
jne 0x1400168cb
mov r8, qword [0x1400693e8]
inc r8
movzx eax, word [rbp - 0x56]
cmp rax, r8
jne 0x1400168cb
xor edx, edx
mov rcx, r15
call fcn.1400267c0
movzx r8d, word [rbp - 0x56]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
mov rdx, qword [rbp - 0x60]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1400165e5
movzx r9d, word [rbp - 0x56]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r8, r15
mov rdx, qword [rbp - 0x60]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400165e5
movzx r8d, word [rbp - 0x56]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x60]
mov rdx, qword [rbp - 0x60]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1400165e5
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r15 + rax], 0
jne 0x1400165a4
lea rcx, [0x1400693d8]
cmp qword [0x1400693f0], 0x10
cmovae rcx, qword [0x1400693d8]
mov r8, qword [0x1400693e8]
cmp r8, rax
jne 0x1400168cb
mov rdx, r15
call fcn.140027ce0
test eax, eax
jne 0x1400168cb
mov r8d, 0x80010001
mov edx, dword [rbp - 0x68]
mov ecx, dword [rbp - 0x6c]
call qword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
mov rcx, r15
call fcn.140024c54
mov ecx, dword [rbp - 0x6c]
call qword [sym.imp.KERNEL32.dll_DebugActiveProcessStop]
mov byte [0x14006b431], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x68]
mov edx, eax
mov rcx, qword [rdi]
call fcn.140016ff0
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x140016664
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001665f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400168f0
call fcn.140024eac
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.140024fc0
lea r11, [rsp + 0x3a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov r12, qword [rbp - 0x58]
mov r9d, 0x104
lea r8, [rbp + 0x80]
mov rdx, r12
mov rcx, r13
call sub.KERNEL32.dll_K32GetMappedFileNameW
test eax, eax
je 0x1400165e5
lea rax, [rbp + 0x80]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400166d0
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x40]
call fcn.1400022a0
lea rdx, [rbp + 0x40]
mov r9, qword [rbp + 0x40]
mov r10, qword [rbp + 0x58]
cmp r10, 8
cmovae rdx, r9
mov r8, qword [rbp + 0x50]
test r8, r8
je 0x14001673b
lea rcx, [r8 - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea rax, [rdx + rax*2]
cmp word [rax], 0x5c
je 0x140016733
cmp rax, rdx
je 0x14001673b
sub rax, 2
cmp word [rax], 0x5c
jne 0x140016724
sub rax, rdx
sar rax, 1
jmp 0x140016742
mov rax, 0xffffffffffffffff
lea rcx, [rax + 1]
mov qword [rbp + 0x60], rbx
mov qword [rbp + 0x78], 7
cmp r8, rcx
jb 0x1400168e2
sub r8, rcx
mov rsi, 0xffffffffffffffff
cmp r8, rsi
cmovb rsi, r8
lea rax, [rbp + 0x40]
cmp r10, 8
cmovae rax, r9
lea r14, [rax + rcx*2]
cmp rsi, 7
ja 0x1400167a2
mov qword [rbp + 0x70], rsi
lea rbx, [rsi + rsi]
mov r8, rbx
mov rdx, r14
lea rcx, [rbp + 0x60]
call fcn.140026110
xor eax, eax
mov word [rbp + rbx + 0x60], ax
jmp 0x14001680b
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
ja 0x1400168fc
mov rbx, rsi
or rbx, 7
cmp rbx, rax
jbe 0x1400167c6
mov rbx, rax
jmp 0x1400167d3
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp + 0x60]
call fcn.1400020b0
mov rdi, rax
mov qword [rbp + 0x70], rsi
mov qword [rbp + 0x78], rbx
lea rbx, [rsi + rsi]
mov r8, rbx
mov rdx, r14
mov rcx, rax
call fcn.140026110
xor eax, eax
mov word [rdi + rbx], ax
mov qword [rbp + 0x60], rdi
mov rdi, qword [rbp - 0x80]
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x14001684b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016846
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400168f6
call fcn.140024eac
movups xmm0, xmmword [rbp + 0x60]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rbp + 0x70]
movups xmmword [rbp + 0x50], xmm1
mov esi, dword [rsp + 0x64]
mov dword [rsp + 0x20], esi
mov r9, qword [rsp + 0x70]
mov r8, r13
lea rdx, [rbp + 0x40]
mov rcx, qword [rdi]
call fcn.14001d690
mov r9, r12
mov r8, r13
lea rdx, [rbp + 0x40]
mov rcx, qword [rdi]
call fcn.14001d060
xor ebx, ebx
jmp 0x1400168cb
mov rax, qword [rbp - 0x48]
mov qword [rsp + 0x70], rax
jmp 0x1400168cb
mov rcx, qword [rdi]
add rcx, 0x158
xor r9d, r9d
mov r8, qword [str.antiRemoteThreadSwitch]
mov rdx, qword [str.dingtalk]
call fcn.140018690
test al, al
je 0x1400168cb
lea r8, [rbp - 0x70]
mov rdx, r13
mov rcx, qword [rdi]
call fcn.14001d3e0
mov r8d, 0x80010001
mov edx, dword [rbp - 0x68]
mov ecx, dword [rbp - 0x6c]
call qword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
jmp 0x1400164c0
call fcn.14000a9e0
nop
mov ecx, eax
call fcn.140023d84
int3
call fcn.14002b74c
nop
call fcn.14002b74c
int3
call fcn.140002090
int3