Function at 0x1400bb6e0
Capabilities:
Create thread
Query environment variable

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, 0x2e0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov r14, rcx
lea rcx, [rsp + 0x1c0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov rbp, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
lea rcx, [rsp + 0x80]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
xor r8d, r8d
mov edx, 0x33a
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r15d, dword [r14 + 0x18]
mov r13d, dword [r14 + 0x1c]
add r15d, r15d
sub r15d, ebp
add r13d, edi
sub r15d, 7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x80]
xor edx, edx
mov r8d, 0x140
mov ebx, eax
call fcn.1400e27d0
lea rdx, [rsp + 0x80]
lea rcx, [0x1400ed3f4]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edx, dword [r14 + 0x10]
movsx ecx, bl
mov r12d, ecx
mov dword [rsp + 0x64], ecx
lea ecx, [rdi + rdi*4]
sub edx, edi
imul r12d, r13d
sub r12d, ecx
sub edx, 2
sub r12d, eax
sub r12d, edx
add r12d, r15d
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rsp + 0x68], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov edx, 0x44
lea r8d, [rdx - 0x3b]
xor ecx, ecx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x2f6
lea r8d, [rcx + 8]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
lea edi, [rax + 4]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
mov dword [rsp + 0x60], eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
lea r8d, [rcx + 0xf]
mov edx, 0x394
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, qword [r14]
shl r12b, 2
mov qword [rsp + 0x70], rax
mov al, 7
imul bpl
mov rbp, qword [rsp + 0x68]
sub r12b, al
sub r12b, bl
add r12b, 3
add r12b, dil
add r12b, byte [r14 + 0x1c]
add r12b, sil
add r12b, bpl
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1400bb870
lea ecx, [rbp*8]
add ecx, 2
add eax, ecx
lea edi, [r15 + rax*2]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ecx, ecx
lea r8d, [rcx + 0xd]
mov edx, 0x330
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movzx eax, byte [rsp + 0x60]
imul byte [rsp + 0x70]
movzx esi, al
sub sil, bl
sub sil, bpl
sub sil, r12b
add sil, dil
xor edi, edi
cmp dword [rsp + 0x64], edi
je 0x1400bb8f2
lea r8, [0x140001b00]
mov r9d, r13d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movsxd rbx, r15d
lea r8, [0x140001b00]
xor edx, edx
xor ecx, ecx
mov r9, rbx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rbx
movsx ecx, sil
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], 0x10
mov dword [rsp + 0x28], ecx
lea r8, str.attendant
lea rdx, [0x1400ed4fc]
mov r9d, r13d
mov dword [rsp + 0x20], ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea rax, str.c8a4
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x2e0]
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