Function at 0x402b34
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 0x402b80
lea rdx, [0x00401640]
or r8d, 0xffffffff
lea rcx, [0x00407090]
call fcn.004028ac
jmp 0x402dd0
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 0x402bca
or r8d, 0xffffffff
lea rdx, [0x00401650]
lea rcx, [0x00407090]
call fcn.004028ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8d, [rdi + 0xa]
call fcn.004027dc
jmp 0x402dd0
mov r8d, dword [rsi + 0x54]
mov rdx, rbp
mov rcx, rdi
call qword [0x00407038]
movzx eax, word [rsi + 0x14]
lea rcx, [rsi + 0x18]
add rcx, rax
cmp bx, word [rsi + 6]
jae 0x402c17
movzx esi, word [rsi + 6]
lea r14, [rcx + 0x28]
cmp dword [rcx + 0x14], ebx
je 0x402c0e
mov edx, dword [rcx + 0x14]
mov r8d, dword [rcx + 0x10]
add rdx, rbp
mov ecx, dword [rcx + 0xc]
add rcx, rdi
call qword [0x00407038]
mov rcx, r14
sub rsi, 1
jne 0x402bef
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 [0x00407080]
cmp eax, 0x7fff
ja 0x402dd5
mov r8d, dword [rbp + 0xb4]
test r8d, r8d
je 0x402c9c
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 0x402c97
movzx r9d, word [rcx]
mov eax, r9d
shr eax, 0xc
test eax, eax
je 0x402c8e
cmp eax, 0xa
jne 0x402d09
and r9d, 0xfff
add r9d, esi
add qword [r9 + rdi], r10
add rcx, 2
add edx, 0xfffffffe
jne 0x402c69
sub r8d, dword [r11]
jne 0x402c57
cmp dword [rbp + 0x94], ebx
je 0x402d9d
mov esi, dword [rbp + 0x90]
add rsi, rdi
je 0x402d9d
mov eax, dword [rsi + 0xc]
test eax, eax
je 0x402d9d
mov r14d, eax
add r14, rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x00407080]
cmp eax, 0x7fff
ja 0x402dd5
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r13, rax
test rax, rax
je 0x402d91
mov r14d, dword [rsi]
mov r15d, dword [rsi + 0x10]
add r14, rdi
add r15, rdi
jmp 0x402d74
lea rdx, [0x00401668]
jmp 0x402b6b
mov rdx, rbx
movzx r12d, bx
test rcx, rcx
js 0x402d44
add rcx, 2
add rcx, rdi
mov qword [rsp + 0x28], rcx
call qword [0x00407028]
mov word [rsp + 0x20], ax
lea rdx, [rsp + 0x20]
mov word [rsp + 0x22], ax
jmp 0x402d48
movzx r12d, word [r14]
movzx r8d, r12w
lea r9, [rsp + 0x60]
mov rcx, r13
mov qword [rsp + 0x60], rbx
call qword [0x00407070]
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x402d85
add r14, 8
mov qword [r15], rax
add r15, 8
mov rcx, qword [r14]
test rcx, rcx
jne 0x402d15
add rsi, 0x14
jmp 0x402cb7
lea rdx, [0x00401688]
jmp 0x402b6b
lea rdx, [0x00401678]
jmp 0x402b6b
mov r8d, dword [rbp + 0xa0]
test r8d, r8d
je 0x402dcd
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 0x402dd7
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