Function at 0x140082f90
Capabilities:
Copy file
Create thread
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x260
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x250], rax
movsx r13d, cl
mov rdi, r8
mov qword [rsp + 0x40], r8
mov ebp, r13d
mov rsi, rdx
mov qword [rsp + 0x50], rdx
sub ebp, dword [rdx + 0xc]
mov byte [rsp + 0x30], r13b
mov r12d, r13d
mov dword [rsp + 0x48], r13d
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r14d, dword [rdi + 0x20]
imul r14d, dword [rsi + 0x20]
movzx ecx, bpl
mov r15, rax
shl cl, 2
add al, 7
imul r14d, r13d
lea ebx, [rcx + rbp]
lea rdx, str.cassock
lea rcx, str.cassock
shl bl, 3
mov r8d, ebp
mov dword [rsp + 0x38], r14d
add bl, al
call qword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [rsp + 0x70], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor ecx, ecx
lea r8d, [rcx + 0x12]
mov edx, 0x146
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0xf2
lea r8d, [rcx + 1]
mov qword [rsp + 0x98], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, qword [rdi]
mov edx, dword [rsi + 0xc]
or rdi, 0xffffffffffffffff
mov rax, rdi
inc rax
cmp byte [rcx + rax], 0
jne 0x140083064
movsx r8, r13b
mov ecx, r12d
movzx r12d, bl
sub ecx, edx
mov esi, r12d
mov qword [rsp + 0x58], r8
sub ecx, eax
lea eax, [rdx + rdx*4]
shl eax, 3
add ecx, 7
sub esi, eax
mov dword [rsp + 0x34], ecx
lea eax, [r8*8]
sub esi, r15d
sub esi, r14d
sub esi, ebp
add esi, r8d
lea r14d, [rsi + 0x10]
add r14d, ecx
imul ecx, dword [rsp + 0x70]
imul ecx, ebp
sub eax, ecx
add eax, 9
mov dword [rsp + 0xa8], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
lea rcx, [rsp + 0x110]
xor edx, edx
mov r8d, 0x140
mov qword [rsp + 0xc0], rax
call fcn.1400e27d0
lea rdx, [rsp + 0x110]
lea rcx, str.c0a0
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea rcx, str.cassock
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, qword [rsp + 0x40]
mov rbx, rdi
mov rax, qword [rcx]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140083126
movzx ecx, byte [rsp + 0x70]
movzx eax, cl
shl al, 2
add cl, al
mov rax, qword [rsp + 0x50]
sub r14b, cl
sub r14b, byte [rax + 0xc]
add r14b, 0xc
add bl, r14b
add bl, r13b
xor r13d, r13d
movzx eax, bl
movsx ecx, bl
imul r15b
lea r14d, [rax - 7]
add r14b, byte [rsp + 0xa8]
cmp dword [rsp + 0x34], ecx
ja 0x140083204
lea rcx, [rsp + 0x110]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0x110]
lea rcx, str.c0a3
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r8d, [r13 + 7]
mov edx, 0xff
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea r8d, [r13 + 8]
mov edx, 0x321
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea r8, [0x140001b00]
movsx r9, bl
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8d, [r13 + 0xf]
mov edx, 0x9f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rsp + 0x110]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0x110]
lea rcx, str.scissors
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor ecx, ecx
mov edx, 0x92
lea r8d, [rcx + 0xd]
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
cmp byte [rsp + 0x30], 0x10
mov r13d, eax
jb 0x1400832b3
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rsp + 0x110]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0x110]
lea rcx, [0x1400ed4d4]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400832c0
imul edi, ebp
neg esi
xor eax, eax
shl esi, 2
mov qword [rsp + 0x28], rax
lea r8, [0x140001b00]
sub esi, edi
lea r9d, [rax + 4]
xor edx, edx
sub esi, dword [rsp + 0x38]
xor ecx, ecx
mov dword [rsp + 0x20], eax
lea edi, [r12 + rsi]
add edi, 0x16
add edi, dword [rsp + 0x58]
add edi, r13d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
cmp bl, dil
je 0x140083343
lea rdx, str.c0a3
movsx r9, bl
mov r8d, ebp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
xor eax, eax
lea r8, [0x140001b00]
mov qword [rsp + 0x28], rax
lea r9d, [rax + 2]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rax, qword [rsp + 0x40]
imul r12d, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x68]
mov edx, dword [rax + 8]
mov rax, qword [rsp + 0x50]
imul edx, dword [rax + 0x28]
lea eax, [r15 + r15*4]
lea ecx, [rcx + rax*2]
movsx rax, r14b
add ecx, ecx
sub ecx, dword [rsp + 0x34]
lea r8d, [rdx + rcx*4]
lea ecx, [rbp + 3]
add ecx, eax
imul eax, ecx, 7
add eax, r8d
sub eax, r12d
sub eax, esi
sub eax, dword [rsp + 0xc0]
sub eax, dword [rsp + 0x60]
sub eax, r13d
add eax, dword [rsp + 0x48]
add eax, edi
add eax, r15d
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x2b8]
add rsp, 0x260
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret