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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x180
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x170], rax
or rbx, 0xffffffffffffffff
mov rsi, r8
movzx r12d, dl
mov r9, rbx
mov rbp, rcx
inc r9
cmp byte [r8 + r9], 0
jne 0x140081732
movzx eax, cl
imul r9b
movzx r15d, al
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
lea r8d, [rcx + 0xf]
mov edx, 0x26f
mov r13, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, str.bank
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rbx
nop dword [rax + rax]
inc rdi
cmp byte [rsi + rdi], 0
jne 0x140081780
lea r14d, [rbp*4]
imul edi, r15d
add r14d, ebp
imul edi, ebp
sub r14d, r13d
add r14d, 6
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0x30]
lea rcx, str.mocha
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor ecx, ecx
mov edx, 0x1c6
lea r8d, [rcx + 7]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
mov edx, 0x199
lea r8d, [rcx + 0x1c]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov edx, 0x44
xor ecx, ecx
lea r8d, [rdx - 0x28]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor eax, eax
movsx r13, r12b
mov qword [rsp + 0x28], rax
lea r8, [0x140001b00]
xor edx, edx
mov r9, r13
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
movsx r12d, r12b
lea rdx, str.bank
lea rcx, str.pimple
mov r8d, r12d
call qword [sym.imp.KERNEL32.dll_CopyFileA]
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0x30]
lea rcx, str.c0ret
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor ecx, ecx
mov edx, 0x1e9
lea r8d, [rcx + 0xd]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
inc rbx
cmp byte [rsi + rbx], 0
jne 0x140081892
mov esi, r14d
imul esi, edi
sub esi, r12d
add esi, ebp
sub esi, ebx
sub esi, 6
cmp r14d, r15d
jne 0x1400818fe
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
mov edx, 0xdc
lea r8d, [rcx + 0x12]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
lea rcx, [rsp + 0x30]
mov edx, 0x104
sub bl, al
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movzx r8d, bl
lea rdx, str.pimple
mov r9d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
xor eax, eax
lea r8, [0x140001b00]
mov r9, r13
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
lea r8d, [rcx + 5]
mov edx, 0x253
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ecx, 0xffff
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, 0x22
sub ecx, ebx
cmp esi, ecx
jle 0x14008195f
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rax, str.inlay
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret