Function at 0x140066bc0
Capabilities:
Create thread
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x320
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov rsi, rcx
mov qword [rsp + 0xb8], rcx
mov rcx, rdx
mov qword [rsp + 0x98], r8
mov r13, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov qword [rsp + 0xa8], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
or rbx, 0xffffffffffffffff
mov r15, rax
mov qword [rsp + 0x68], rax
mov r12, rbx
nop
inc r12
cmp byte [r13 + r12], 0
jne 0x140066c40
xor eax, eax
add r12d, esi
lea r8, [0x140001b00]
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov r9d, r12d
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
mov qword [rsp + 0x78], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rcx, [rsp + 0x200]
mov edx, 0x104
mov rbp, rax
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov qword [rsp + 0xa0], rax
imul edi, eax
add eax, eax
sub edi, ebp
sub eax, r15d
add eax, esi
mov dword [rsp + 0x60], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov edx, 0x7a
lea r8d, [rdx - 0x6e]
xor ecx, ecx
mov r15, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movsxd r8, dword [rsp + 0x60]
mov ecx, eax
mov rbp, rax
mov rax, qword [rsp + 0x78]
imul ecx, r15d
shl ecx, 5
sub ecx, r8d
add ecx, 0x39
mov dword [rsp + 0x88], ecx
mov ecx, eax
imul ecx, eax
mov eax, esi
imul ecx, r12d
lea ecx, [rcx + r8*8]
shl ecx, 3
sub eax, ecx
mov ecx, dword [rsp + 0xa8]
sub eax, ebp
sub eax, dword [rsp + 0xa0]
imul ecx, dword [rsp + 0x68]
add eax, 0xffffffe4
add eax, r15d
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x98]
imul ecx, r12d
shl ecx, 2
imul eax, esi
sub eax, ecx
lea esi, [rdi - 0x1a]
add eax, ebp
lea rcx, [0x1400ed3f4]
mov rdi, r8
add eax, dword [rsp + 0x70]
add esi, eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.meaning
mov r9, rdi
mov r8d, r12d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
mov r14d, eax
mov dword [rsp + 0x8c], r14d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [rsp + 0xc0]
xor edx, edx
mov r8d, 0x140
mov dword [rsp + 0x64], eax
call fcn.1400e27d0
lea rdx, [rsp + 0xc0]
lea rcx, str.lentil
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, qword [rsp + 0xb8]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x78]
mov ecx, eax
lea r8, [0x1400ed3f4]
lea rdx, [0x1400ed3f4]
imul ecx, eax
mov eax, 0xd
sub eax, ecx
lea ecx, [rbp*4]
sub eax, dword [rsp + 0x68]
add ecx, ebp
mov rbp, qword [rsp + 0x98]
add eax, eax
sub eax, ecx
xor ecx, ecx
mov qword [rsp + 0x58], rcx
sub eax, r14d
mov qword [rsp + 0x50], rcx
sub eax, esi
mov rsi, qword [rsp + 0xa0]
mov qword [rsp + 0x48], rcx
sub eax, r15d
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], r14d
sub eax, esi
lea r9d, [rcx + 0x20]
mov dword [rsp + 0x30], 0x40
sub eax, dword [rsp + 0x60]
mov ecx, r12d
mov dword [rsp + 0x28], r12d
add eax, ebp
mov dword [rsp + 0x20], 0x20
add eax, edi
add eax, dword [rsp + 0x80]
mov dword [rsp + 0x68], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, 0xffff
mov qword [rsp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
movzx r14d, byte [rsp + 0x64]
movsxd r15, eax
nop word [rax + rax]
inc rbx
cmp byte [r13 + rbx], 0
jne 0x140066e70
mov rax, qword [rsp + 0x78]
mov edx, 1
shl esi, 5
sub edx, esi
lea rcx, str.lentil
imul edx, eax
mov eax, dword [rsp + 0x88]
lea eax, [rax + rax*2]
lea eax, [rdx + rax*2]
sub eax, ebp
sub eax, dword [rsp + 0xa8]
add eax, 4
add eax, r14d
add ebx, eax
add ebx, edi
add ebx, dword [rsp + 0x80]
add ebx, dword [rsp + 0xb0]
add ebx, r12d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, dword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, dword [rsp + 0x90]
xor edi, edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
movsxd rax, ebx
lea r8, str.altitude
lea rdx, str.c0a4
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x60]
mov r9d, r14d
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea r8, [0x140001b00]
mov r9, r15
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8d, [rdi + 0x15]
mov edx, 0x2c6
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov eax, dword [rsp + 0x64]
cmp al, byte [rsp + 0x8c]
jb 0x140066f78
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x378]
add rsp, 0x320
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret