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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1f0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov ebx, ecx
mov r15, r9
mov r14, rdx
sub ebx, edx
mov edi, ecx
mov dword [rsp + 0x64], ecx
mov dword [rsp + 0x68], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [rsp + 0xa0]
xor edx, edx
mov r8d, 0x140
mov r13d, eax
call fcn.1400e27d0
lea rdx, [rsp + 0xa0]
lea rcx, str.observatory
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
movzx esi, dil
sub sil, r13b
sub sil, r14b
sub sil, 0xb
add sil, r15b
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
mov rbp, rax
mov qword [rsp + 0x88], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, edi
mov qword [rsp + 0x78], rax
imul ecx, ebx
add ecx, 0xb
add ecx, ebp
mov dword [rsp + 0x60], ecx
mov ecx, edi
imul ecx, r13d
imul edi, ecx, 0xb
sub edi, eax
mov dword [rsp + 0x6c], edi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor r8d, r8d
lea edx, [r8 + 0x27]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movsx ebp, sil
lea r8, str.c1ret
mov rbx, rax
xor eax, eax
lea rdx, str.c1ret
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x28], eax
lea ecx, [rax + 1]
mov r9d, edi
mov dword [rsp + 0x20], r13d
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea rcx, [rsp + 0xa0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov ecx, dword [rsp + 0x78]
mov rdi, qword [rsp + 0x250]
imul ecx, dword [rsp + 0x60]
lea edx, [rcx + rcx*4]
mov r12, rax
lea eax, [rbx - 5]
sub edx, dword [rdi + 0x18]
xor ecx, ecx
sub edx, r13d
lea r8d, [rcx + 0xe]
add edx, dword [rsp + 0x64]
add eax, edx
mov edx, 0x155
mov dword [rsp + 0x70], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
lea r8d, [rcx + 0x1c]
mov edx, 0x338
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
mov r8, qword [rsp + 0x88]
mov r9, qword [rsp + 0x78]
mov ebx, eax
mov ecx, ebp
mov eax, 0x11
sub eax, ebx
lea edx, [rbx + 1]
imul ecx, r9d
sub eax, r8d
imul ecx, r13d
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x6c]
imul edx, r8d
lea eax, [rax + rax*4]
sub edx, ecx
mov ecx, dword [rdi + 0x10]
imul ecx, dword [rsp + 0x68]
sub edx, ecx
movsx rcx, sil
mov esi, dword [rsp + 0x60]
add edx, eax
mov eax, dword [rsp + 0x64]
mov qword [rsp + 0x90], rcx
add eax, 0xffffffe5
sub edx, r15d
add esi, 0xffffffcc
add edx, r14d
add eax, edx
mov edx, 0x2bb
mov dword [rsp + 0x80], eax
mov eax, r9d
imul eax, r8d
sub eax, ecx
xor ecx, ecx
sub eax, r13d
lea r8d, [rcx + 0xc]
add eax, r14d
mov r14d, dword [rsp + 0x64]
add eax, r14d
add eax, ebx
add esi, eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
sub ebp, r15d
mov r15, qword [rsp + 0x78]
sub ebp, ebx
mov rbx, qword [rsp + 0x88]
xor edx, edx
sub ebp, dword [rsp + 0x60]
xor ecx, ecx
sub ebp, r13d
add ebp, 9
add ebp, r14d
add ebp, r15d
add ebp, ebx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, qword [rdi + 8]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1400bc294
mov edi, dword [rsp + 0x68]
imul r12d, ebx
mov ebx, dword [rsp + 0x60]
lea ecx, [r12 + r12*8]
add ebx, 5
imul r13d, edi
add ecx, ecx
sub esi, ecx
mov ecx, dword [rsp + 0x84]
shl esi, 2
sub esi, r13d
imul ecx, dword [rsp + 0x70]
add ecx, esi
sub ecx, ebp
sub ecx, r15d
sub ecx, dword [rsp + 0x6c]
add ecx, r14d
add eax, ecx
add eax, dword [rsp + 0x80]
add ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
lea r8d, [rcx + 0x14]
mov edx, 0x1ae
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor ecx, ecx
lea r8d, [rcx + 3]
mov edx, 0x159
call qword [sym.imp.KERNEL32.dll_FindResourceA]
cmp ebp, ebx
jne 0x1400bc328
lea rcx, [rsp + 0xa0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
lea rdx, str.c1ret
lea rcx, str.agreement
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_CopyFileA]
lea rcx, [rsp + 0xa0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r9, qword [rsp + 0x90]
xor eax, eax
lea r8, [0x140001b00]
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x240]
add rsp, 0x1f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret