Function at 0x140080280
Capabilities:
Check for time delay via gettickcount
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x258
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov esi, dword [rsp + 0x2d0]
mov rbp, qword [rsp + 0x2c0]
mov rdi, qword [rsp + 0x2c8]
mov r12d, ecx
mov eax, r8d
mov rbx, r8
mov r13, rcx
mov ecx, esi
mov qword [rsp + 0x80], r9
imul eax, edx
imul eax, dword [r9 + 8]
sub r12d, eax
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0x90], rdx
mov qword [rsp + 0x88], rbp
mov dword [rsp + 0x6c], esi
sub r12d, esi
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov r14, rax
mov qword [rsp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
mov dword [rsp + 0x64], eax
mov eax, r14d
imul eax, r12d
imul r15d, eax, 0xfffffff9
sub r15d, dword [rbp + 0x14]
sub r15d, ebx
sub r15d, esi
add r15d, r13d
or rbp, 0xffffffffffffffff
mov rax, rbp
inc rax
cmp byte [rdi + rax], 0
jne 0x140080336
imul eax, r14d
mov r14d, 1
sub r14d, eax
imul eax, ecx, 7
imul r14d, ebx
add r14d, eax
mov rax, qword [rsp + 0x80]
sub r14d, dword [rax + 8]
add r14d, r13d
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0xa0], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x70], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, esi
mov qword [rsp + 0x98], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov eax, 7
mov rcx, r13
sub eax, dword [rsp + 0x70]
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_LockResource]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rdx, rbp
nop dword [rax + rax]
inc rdx
cmp byte [rdi + rdx], 0
jne 0x1400803c0
mov rcx, qword [rsp + 0x88]
mov eax, dword [rsp + 0x90]
imul eax, dword [rcx + 8]
imul ecx, dword [rsp + 0x98], 0xfffffffa
sub ecx, eax
lea eax, [r15 - 0x10]
sub ecx, ebx
sub ecx, dword [rsp + 0x68]
sub ecx, dword [rsp + 0x78]
sub ecx, r12d
add ecx, r13d
add ecx, r14d
add eax, ecx
add edx, eax
mov dword [rsp + 0xe8], edx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r11, rax
cmp sil, 4
jne 0x1400805aa
mov r8, qword [rsp + 0xa0]
mov r9, qword [rsp + 0x88]
mov r10, qword [rsp + 0x90]
movzx eax, r8b
movzx esi, bl
mov rdx, rbp
add al, al
lea ecx, [rax + r8]
mov rax, qword [rsp + 0x80]
shl cl, 2
sub sil, cl
add sil, 0xa
add sil, sil
sub sil, byte [r9 + 0x10]
sub sil, r12b
sub sil, bl
sub sil, r10b
sub sil, byte [rax]
add sil, r14b
add sil, r13b
add sil, r15b
add sil, r8b
inc rdx
cmp byte [rdi + rdx], 0
jne 0x140080474
movzx eax, bl
movzx ecx, r8b
shl r11b, 6
shl cl, 2
mov r8d, 0x140
inc cl
imul cl
lea rcx, [rsp + 0x100]
movzx ebx, al
movzx eax, r15b
imul byte [rsp + 0x64]
sub bl, al
mov al, 0x2c
imul byte [rsp + 0x78]
add bl, al
add bl, r11b
sub bl, byte [rsp + 0x68]
sub bl, r14b
add bl, r10b
add bl, r13b
add bl, byte [r9 + 8]
sub bl, dl
xor edx, edx
sub bl, 0xc
call fcn.1400e27d0
lea rdx, [rsp + 0x100]
lea rcx, str.pimple
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor ecx, ecx
mov edx, 0x331
lea r8d, [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rsp + 0x100]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
xor edx, edx
movsx rax, bl
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x68]
movzx ecx, sil
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x64]
lea r8, str.pyramid
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
lea rdx, str.saviour
mov ecx, 4
movsx r9d, bl
mov dword [rsp + 0x20], 4
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea rcx, str.pyramid
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, r13
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor ecx, ecx
mov edx, 0x194
lea r8d, [rcx + 0x17]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
mov rbx, qword [rsp + 0xb0]
mov esi, dword [rsp + 0x6c]
movzx eax, byte [rsp + 0xa0]
imul r14b
movzx ecx, al
mov al, 0xe
imul cl
movzx ecx, al
movzx eax, byte [rsp + 0x78]
add cl, byte [rsp + 0x64]
imul cl
mov ecx, dword [rsp + 0x68]
movzx edx, al
movzx eax, cl
add al, al
add cl, al
movzx eax, bl
shl cl, 4
inc cl
add cl, r12b
imul cl
lea rcx, [rsp + 0x100]
sub dl, al
mov rax, qword [rsp + 0x80]
add dl, byte [rax + 0x10]
mov rax, qword [rsp + 0x88]
sub dl, byte [rsp + 0x90]
sub dl, sil
sub dl, byte [rax + 8]
add dl, byte [rsp + 0xe8]
add dl, r13b
mov byte [rsp + 0x60], dl
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rsp + 0xa8], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor ecx, ecx
lea r8d, [rcx + 0x1a]
mov edx, 0x139
mov r12, rax
mov qword [rsp + 0xb8], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movsx ecx, byte [rsp + 0x60]
mov qword [rsp + 0xc0], rax
imul ecx, ebx
imul eax, r12d
mov r12, qword [rsp + 0x78]
add ecx, eax
mov rax, qword [rsp + 0xa8]
sub ecx, r12d
add eax, 4
add eax, ecx
mov dword [rsp + 0x6c], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
mov dword [rsp + 0x78], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rsp + 0x98], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp r15b, 4
ja 0x14008086b
imul eax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
imul r15d, dword [rsp + 0x64]
mov rbx, qword [rsp + 0xb0]
imul ecx, dword [rsp + 0x70]
lea edx, [rbx + 1]
imul edx, r12d
sub edx, ecx
imul ecx, r15d, 0xe
mov r15, qword [rsp + 0x88]
sub edx, ecx
lea ecx, [rax + rax*4]
movsx rax, byte [rsp + 0x60]
add edx, ecx
xor ecx, ecx
sub edx, eax
lea r8d, [rcx + 1]
add edx, 8
add edx, r13d
add edx, dword [r15]
add edx, dword [rsp + 0x78]
add edx, dword [rsp + 0x6c]
add edx, dword [rsp + 0x68]
add r14d, edx
mov edx, 0x3cf
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov edx, 0x36
xor ecx, ecx
lea r8d, [rdx - 0x35]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r11d, esi
inc rbp
cmp byte [rdi + rbp], 0
jne 0x140080736
mov rcx, qword [rsp + 0xa8]
mov r10d, dword [rsp + 0x78]
mov r8d, dword [rsp + 0x6c]
sub cl, bpl
movzx eax, r12b
sub cl, 4
imul cl
movzx edx, al
movzx eax, byte [rsp + 0x90]
imul bl
sub dl, al
movzx eax, r10b
imul r8b
movzx ecx, al
movzx eax, byte [rsp + 0x98]
imul cl
mov ecx, dword [rsp + 0x70]
add dl, al
mov rax, qword [rsp + 0x80]
sub dl, byte [rax + 4]
mov al, 0x23
imul r14b
add dl, al
sub dl, byte [rsp + 0xc0]
sub dl, byte [rsp + 0xb8]
sub dl, byte [rsp + 0x60]
sub dl, 4
add dl, r13b
add dl, byte [r15 + 8]
add dl, cl
movzx eax, dl
xor edx, edx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], r11
mov dword [rsp + 0x38], ecx
mov ecx, dword [rsp + 0x64]
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], eax
lea r9d, [rdx + 4]
mov dword [rsp + 0x20], r8d
lea rdx, str.minister
lea r8, str.pyramid
mov ecx, r10d
call qword [sym.imp.USER32.dll_CreateWindowExA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor ecx, ecx
lea r8d, [rcx + 0xf]
mov edx, 0x26d
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, str.wine
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, r13
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea rcx, [rsp + 0x100]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0x100]
lea rcx, str.attachment
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400dd340
add rsp, 0x258
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret