Function at 0x1400bed00
Capabilities:
Create thread
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x210
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov rsi, rdx
movzx r13d, cl
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov qword [rsp + 0x88], rax
lea ebx, [rsi + r13]
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
movzx eax, ax
mov dword [rsp + 0x70], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r15d, dword [rsp + 0x88]
mov qword [rsp + 0x68], rax
mov edx, r13d
mov edi, r13d
sub edx, esi
add r15d, 6
lea r8, [0x140001b00]
imul edi, esi
lea eax, [rdi + 8]
add r15d, edx
xor ecx, ecx
mov dword [rsp + 0x60], eax
movzx eax, r13b
mov r9d, r15d
xor edx, edx
mov dword [rsp + 0x64], r15d
imul sil
lea r12d, [rax + 0xa]
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x68]
mov rbp, rax
lea r14d, [rcx + rcx]
mov ecx, r14d
imul ecx, r15d
mov r15d, edi
sub r15d, ecx
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
mov ecx, dword [rsp + 0x64]
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x90], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, esi
imul edi, esi
imul ecx, ebx
mov esi, dword [rsp + 0x60]
mov qword [rsp + 0x98], rax
movsx rax, r12b
sub ecx, eax
movsx eax, r13b
lea edx, [r13 - 8]
sub ecx, ebp
add edi, eax
add esi, 2
sub edi, dword [rsp + 0x68]
add edx, ecx
xor r8d, r8d
add esi, edi
xor ecx, ecx
mov ebx, esi
imul ebx, edx
mov edx, 0x25c
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movsxd r9, dword [rsp + 0x60]
xor edi, edi
lea r8, [0x140001b00]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [rsp + 0xc0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
lea r8d, [rdi + 0x11]
mov edx, 0x302
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea r8, [0x140001b00]
movsx r9, r13b
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [rsp + 0xc0]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0xc0]
lea rcx, str.anywhere
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov eax, dword [rsp + 0x90]
movsx r9d, r12b
mov edi, r9d
imul eax, esi
sub eax, r14d
mov r14d, r13d
imul edi, ebp
mov ebp, dword [rsp + 0x64]
add eax, edi
add eax, r13d
lea r12d, [rbp + 4]
add r12d, eax
mov eax, esi
lea ecx, [r12 + r12]
imul eax, r15d
mov r15d, dword [rsp + 0x70]
sub ecx, eax
sub ecx, ebp
add r15d, 9
add ecx, r13d
add ecx, ebx
mov ebx, dword [rsp + 0x60]
add r15d, ecx
test ebx, ebx
jns 0x1400befb9
xor eax, eax
lea r8, str.score
lea rdx, [0x1400ed4d4]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], eax
mov ecx, esi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_CreateWindowExA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov edx, 0x7f
lea r8d, [rdx - 0x68]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rsp + 0xc0]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0xc0]
lea rcx, [0x1400ed4d4]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, dword [rsp + 0x98]
imul edi, ebp
movsx rax, r13b
lea eax, [rax*2 - 0xc]
lea ecx, [rdx + rsi]
sub eax, edi
imul ecx, esi
add eax, ecx
mov rcx, qword [rsp + 0x68]
sub eax, dword [rsp + 0x80]
sub eax, ebx
add eax, r14d
add eax, edx
add eax, r15d
add eax, dword [rsp + 0x78]
add eax, r12d
add eax, ecx
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x260]
add rsp, 0x210
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret