Function at 0x1400c2da0
Capabilities:
Copy file
Extract resource via kernel32 functions

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, 0x1e0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov rbp, rcx
mov qword [rsp + 0x68], rcx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
mov edx, 0x140
mov r15, rax
lea r8d, [rcx + 0xf]
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
lea r14d, [rbp - 1]
lea r8d, [rcx + 1]
mov edx, 0x82
lea r14d, [r14 + r14*4]
mov rbx, rax
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x48], r14d
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rax
mov qword [rsp + 0x70], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea r12d, [rax + rax*2]
mov rsi, rax
mov qword [rsp + 0x78], rax
add r12d, r12d
mov dword [rsp + 0x30], r12d
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, ebp
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 0xffff
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
shl bl, 4
mov r13d, eax
mov dword [rsp + 0x2c], eax
movzx ecx, bpl
add cl, cl
lea eax, [rcx + rbp]
movzx ecx, dil
add cl, cl
add al, al
lea edx, [rcx + rdi]
mov byte [rsp + 0x20], al
add dl, dl
sub bl, dl
sub bl, r14b
add bl, bpl
add bl, al
mov eax, r14d
sub eax, dword [rsp + 0x50]
add bl, sil
lea ecx, [rax + rax*4]
mov eax, dword [rsp + 0x40]
add bl, r15b
movzx edx, bl
mov byte [rsp + 0x22], bl
imul eax, edi
sub ecx, eax
mov eax, edx
mov dword [rsp + 0x24], edx
add ecx, edx
add ecx, r13d
imul eax, r13d
mov dword [rsp + 0x80], ecx
lea ecx, [rdi + rdi*2]
add ecx, ecx
sub ecx, eax
lea eax, [r15 + 0x13]
sub ecx, dword [rsp + 0x38]
add ecx, ebp
add ecx, esi
add eax, ecx
lea edx, [rax + rax*8]
mov dword [rsp + 0x28], edx
cmp r14d, 5
jb 0x1400c2f5b
lea rcx, [rsp + 0x90]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0x90]
lea rcx, str.c0a1
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor ecx, ecx
mov edx, 0x1e0
lea r8d, [rcx + 0xb]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rsp + 0x90]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rdi, qword [rsp + 0x58]
movzx eax, bpl
add sil, 0x1d
lea rdx, str.atelier
mov r8d, r13d
imul dil
movzx ecx, al
shl cl, 2
add al, cl
movzx ecx, bl
sub cl, al
movzx eax, r15b
imul cl
lea rcx, str.gazebo
lea ebx, [r12 + rax]
add bl, bpl
add bl, sil
mov byte [rsp + 0x21], bl
call qword [sym.imp.KERNEL32.dll_CopyFileA]
xor ecx, ecx
lea r8d, [rcx + 5]
mov edx, 0x91
mov r13d, eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, r13d
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
shl edi, 4
mov r15, rax
mov rax, qword [rsp + 0x60]
movsx rsi, bl
lea ecx, [rax + rax]
sub ecx, edi
sub ecx, r13d
sub ecx, esi
sub ecx, r14d
mov r14d, dword [rsp + 0x24]
add ecx, ebp
dec r14d
add ecx, r12d
add r14d, ecx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea ebx, [r14 - 4]
xor edx, edx
xor ecx, ecx
mov rbp, rax
add bl, al
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r9, qword [rsp + 0x68]
mov r11, qword [rsp + 0x60]
mov r10, qword [rsp + 0x78]
mov r8d, eax
mov eax, dword [rsp + 0x28]
movzx edx, bl
lea ecx, [rax + rax*8]
lea eax, [r11 + 0xf]
sub esi, edx
add ecx, ecx
sub ecx, dword [rsp + 0x24]
add ecx, ecx
sub ecx, dword [rsp + 0x40]
sub ecx, dword [rsp + 0x2c]
add ecx, edi
add ecx, r9d
add ecx, edx
add ecx, r10d
add ecx, dword [rsp + 0x38]
add ecx, dword [rsp + 0x50]
add eax, ecx
mov dword [rsp + 0x68], eax
mov eax, 1
sub eax, dword [rsp + 0x24]
imul eax, r11d
add eax, 8
lea ecx, [rax + rsi*4]
mov eax, r15d
imul eax, r14d
sub ecx, eax
imul eax, r9d, 7
add ecx, eax
lea eax, [r9 + r9*2]
mov rdx, qword [rsp + 0x38]
movsx esi, byte [rsp + 0x21]
lea edi, [rcx + rax*2]
sub edi, dword [rsp + 0x70]
mov eax, edx
lea ecx, [rsi*4 - 1]
sub edi, dword [rsp + 0x2c]
imul eax, dword [rsp + 0x58]
shl eax, 4
imul ecx, r12d
add ecx, eax
add edi, r12d
lea ebx, [r8 + 0x14]
sub ecx, dword [rsp + 0x28]
add edi, r10d
sub ecx, r10d
add edi, edx
mov edx, 0x104
add edi, dword [rsp + 0x40]
sub ecx, r11d
add ecx, dword [rsp + 0x30]
add ecx, r9d
add ebx, ecx
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov r8d, dword [rsp + 0x28]
add r13b, 3
mov rdx, rax
mov rax, qword [rsp + 0x38]
movzx ecx, al
shl cl, 2
add al, cl
mov ecx, dword [rsp + 0x30]
add cl, byte [rsp + 0x50]
sub r8b, al
movzx eax, byte [rsp + 0x78]
shl r8b, 2
imul cl
movzx ecx, byte [rsp + 0x22]
add r8b, al
mov rax, qword [rsp + 0x60]
add cl, cl
sub cl, 7
imul cl
add r8b, al
movzx eax, bl
imul dil
sub r8b, al
movzx eax, r12b
imul r15b
sub r8b, al
movzx eax, byte [rsp + 0x70]
imul byte [rsp + 0x48]
add r8b, al
movzx eax, bpl
imul r14b
add al, r8b
sub al, byte [rsp + 0x2c]
sub al, byte [rsp + 0x80]
sub al, byte [rsp + 0x58]
sub al, sil
add al, r13b
add al, byte [rsp + 0x20]
add al, dl
add al, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret