Function at 0x1400d3fe0
Capabilities:
Extract resource via kernel32 functions
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 r12, qword [rsp + 0x280]
movzx edi, dl
mov r13d, ecx
mov rsi, rcx
mov ecx, 0xffff
mov r14d, edi
imul r13d, edi
add r13d, 8
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
mov dword [rsp + 0x60], eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rcx, str.c4a0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, r12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8d, dword [rsp + 0x60]
lea r15d, [rsi + 8]
mov eax, edi
xor edi, edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r8d
movzx ecx, r15b
shl cl, 2
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r8d
lea edx, [rcx + r15]
movzx ecx, r8b
lea r8, str.c2a1
sub cl, dl
lea rdx, str.c4a0
mov r9d, r15d
sub cl, 4
add cl, cl
add cl, bl
movsx ebp, cl
mov ecx, r14d
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov ecx, r15d
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], r14d
lea r8, str.c4a0
lea rdx, [0x1400ed3b4]
mov r9d, r14d
mov ecx, r14d
mov dword [rsp + 0x28], r13d
mov rbx, rax
mov dword [rsp + 0x20], r13d
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea rcx, str.c1a4
mov qword [rsp + 0x20], rcx
lea r8, [0x1400ed7c8]
lea rcx, [rsp + 0x98]
mov r9, rax
mov rdx, rbx
mov qword [rsp + 0x68], rax
call fcn.1400dc200
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [rax + 0x20]
movups xmmword [rsp + 0x80], xmm1
movsd qword [rsp + 0x90], xmm0
cmp r13d, r15d
jge 0x1400d420d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
lea r8d, [rdi + 0x19]
mov edx, 0x13f
xor ecx, ecx
mov rbx, rax
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, str.c4a0
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
movsxd rax, ebx
lea r8, str.fiction
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], r14d
lea rdx, str.c9a1
mov r9d, ebp
mov ecx, ebp
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea r8d, [rdi + 1]
mov edx, 0xda
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
lea rcx, [rsp + 0xc0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
mov edx, 0x3e6
imul r12d, r15d
lea ecx, [r12*2 + 0x26]
mov edi, eax
sub esi, ecx
mov ecx, dword [rsp + 0x90]
imul ecx, ebp
imul ecx, dword [rsp + 0x68]
sub esi, ecx
xor ecx, ecx
lea r8d, [rcx + 0xf]
sub esi, r14d
add esi, ebx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rsp + 0xc0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
lea rcx, [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp dword [rsp + 0x60], edi
je 0x1400d42f7
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
mov edx, 0x30d
lea r8d, [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
movsxd rax, r13d
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], ebp
lea r8, [0x1400ed7c8]
lea rdx, str.c2a1
mov r9d, esi
mov ecx, r14d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea rcx, [rsp + 0xc0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
xor ecx, ecx
mov edx, 0x364
lea r8d, [rcx + 2]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
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