Function at 0x14000f250
Capabilities:
Create thread
Extract resource via kernel32 functions
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x260], rax
movsx edi, r8b
mov r13, rcx
mov qword [rbp - 0x10], rcx
mov byte [rsp + 0x60], dil
call fcn.14005a030
movsxd r14, eax
mov dword [rsp + 0x6c], r14d
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
lea rcx, str.loafer
movzx esi, ax
mov edx, esi
mov dword [rsp + 0x64], esi
call fcn.1400205a0
lea rcx, str.cocktail
mov r12, rax
call fcn.1400253f0
xor ecx, ecx
lea r8d, [rcx + 0x19]
mov edx, 0x366
mov rbx, rax
mov qword [rbp - 0x50], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rbp + 0xe0]
mov r8, rax
xor edx, edx
mov r15, rax
mov qword [rbp - 0x40], rax
call fcn.140027b40
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp + 0xa0], xmm0
movaps xmmword [rbp + 0xb0], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmm1, xmmword [rax + 0x30]
mov eax, edi
or rdi, 0xffffffffffffffff
movaps xmmword [rbp + 0xc0], xmm0
movaps xmmword [rbp + 0xd0], xmm1
test eax, eax
js 0x14000faa0
lea rax, str.shed
lea rcx, [0x1400ed3f4]
xor ebx, ebx
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x10], 4
mov qword [rbp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, r15
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
movsx r9, byte [rsp + 0x60]
lea r8, [0x140001b00]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov qword [rbp + 0x28], rax
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8, [0x140001b00]
mov r9, r14
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov qword [rbp + 0x30], rax
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x40], r15
movups xmm0, xmmword [rbp + 0x10]
movups xmm1, xmmword [rbp + 0x20]
mov qword [rbp + 0x38], rax
lea rdx, str.ticket
lea rcx, [rbp + 0x60]
movaps xmmword [rbp + 0x60], xmm0
movaps xmmword [rbp + 0x70], xmm1
movups xmm0, xmmword [rbp + 0x30]
movsd xmm1, qword [rbp + 0x40]
movaps xmmword [rbp + 0x80], xmm0
movsd qword [rbp + 0x90], xmm1
call fcn.14001d950
lea rcx, str.c0a0
mov r14, rax
call fcn.1400587a0
mov dword [rbp - 0x80], 4
mov rbx, rax
mov qword [rbp + 0x50], rax
mov rcx, rdi
nop word [rax + rax]
cmp byte [r14 + rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14000f410
mov eax, dword [r13 + 0x18]
lea ecx, [rcx + rcx*2]
lea edx, [rax + rax*4]
movsx rax, byte [rsp + 0x60]
add ecx, ecx
add edx, edx
sub edx, ecx
sub edx, eax
mov rax, rdi
sub edx, esi
add edx, dword [rbp + 0xd0]
add edx, r15d
add edx, dword [rsp + 0x6c]
inc rax
cmp byte [r12 + rax], 0
jne 0x14000f446
sub edx, eax
mov r15, rdi
add edx, 5
mov dword [rbp - 0x7c], edx
nop dword [rax + rax]
inc r15
cmp byte [r14 + r15], 0
jne 0x14000f460
add r15d, dword [r13 + 0x10]
add r15d, dword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
xor ecx, ecx
lea r8d, [rcx + 0x1b]
mov edx, 0x31e
mov dword [rsp + 0x70], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rdi
mov r8, rax
mov qword [rbp - 0x58], rax
nop word [rax + rax]
cmp byte [r14 + rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14000f4a0
mov edx, dword [r13 + 0x28]
lea eax, [rcx + rcx*2]
mov rcx, rdi
add eax, eax
sub edx, eax
sub edx, esi
nop dword [rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x14000f4c0
movsx rax, byte [rsp + 0x60]
movsd xmm0, qword [rbp - 0x80]
mov ebx, dword [rsp + 0x70]
add eax, edx
lea rdx, str.c5a0
movzx r9d, bl
movsd qword [rbp - 0x80], xmm0
add ecx, eax
mov eax, dword [rsp + 0x6c]
mov dword [rbp - 0x78], r15d
add eax, 5
add eax, ecx
mov ecx, 0x10
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r8
lea r8, [rbp - 0x80]
mov dword [rbp - 0x70], eax
call fcn.140030d90
xor ecx, ecx
lea r8d, [rcx + 4]
mov edx, 0x219
mov dword [rbp - 0x60], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rbp + 0x120]
xor edx, edx
mov r8d, 0x140
mov qword [rbp - 0x68], rax
call fcn.1400e27d0
lea rdx, [rbp + 0x120]
lea rcx, str.loafer
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
lea r8d, [rcx + 8]
mov edx, 0x1d3
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r9d, dword [rsp + 0x68]
mov rcx, qword [rbp - 0x68]
mov qword [rsp + 0x28], rax
mov qword [rbp - 8], rax
mov rax, qword [rbp - 0x50]
lea rdx, str.c0a1
mov r8, rsi
mov qword [rsp + 0x20], rax
call fcn.1400559c0
xor ecx, ecx
lea r8, str.c0a1
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], 0x10
mov dword [rsp + 0x38], ecx
movsx ecx, byte [rsp + 0x60]
mov dword [rsp + 0x30], ecx
mov ecx, dword [rsp + 0x64]
mov byte [rsp + 0x61], al
movzx eax, bl
lea rdx, [0x1400ed3f4]
xor r9d, r9d
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rdx, qword [rbp - 0x58]
mov r8, rax
mov ecx, 8
mov rbx, rax
call fcn.14002cfe0
mov qword [rbp - 0x38], rax
call fcn.14005ca40
mov rdx, qword [rbp - 0x58]
mov ecx, eax
mov r8d, edx
mov qword [rbp - 0x48], rax
imul ecx, ebx
imul r8d, r15d
mov dword [rbp - 0x20], r8d
imul ecx, edx
imul ecx, dword [rsp + 0x68]
mov eax, dword [rsp + 0x6c]
mov edx, 2
sub edx, ecx
mov ecx, dword [rbp - 0x68]
lea eax, [rax + rax*2]
imul ecx, dword [rbp - 0x60]
lea edx, [rcx + rdx*8]
lea eax, [rdx + rax*2]
sub eax, r8d
add eax, dword [r13]
mov dword [rsp + 0x74], eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movsx rcx, byte [rsp + 0x60]
xor edx, edx
mov qword [rbp - 0x18], rax
mov eax, dword [rsp + 0x6c]
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rcx
mov ecx, dword [rsp + 0x64]
mov dword [rsp + 0x38], edx
lea r9d, [rdx + 0x10]
mov dword [rsp + 0x30], 0x10
lea rdx, str.alley
mov r8, r12
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rdx, qword [rbp - 0x68]
xor ecx, ecx
mov r13, rax
mov qword [rbp - 0x28], rax
lea rax, str.c7a1
mov qword [rbp - 0x80], rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdx, qword [rbp - 0x18]
mov ecx, dword [rsp + 0x74]
mov qword [rbp - 0x78], rax
mov qword [rbp], rax
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
lea rax, [rbp - 0x80]
lea r8, str.role
mov r9, r13
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call fcn.140052650
lea edx, [rsi*4]
mov rcx, rdi
mov r8d, eax
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x30], edx
inc rcx
cmp byte [r14 + rcx], 0
jne 0x14000f714
imul ecx, dword [rbp - 0x50]
mov esi, dword [rsp + 0x70]
mov rax, rdi
movzx r13d, sil
imul ecx, dword [rbp - 0x40]
imul r13d, dword [rbp - 0x68]
imul r13d, r15d
sub r13d, ecx
mov rcx, qword [rbp - 0x10]
mov rcx, qword [rcx + 8]
inc rax
cmp byte [rcx + rax], 0
jne 0x14000f745
movsx r9, byte [rsp + 0x60]
imul eax, r9d
add r13d, eax
mov rax, qword [rbp - 8]
lea eax, [rax*8]
sub r13d, eax
sub r13d, r8d
sub r13d, dword [rsp + 0x74]
sub r13d, dword [rsp + 0x68]
add r13d, dword [rbp - 0x48]
add r13d, edx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ecx, ecx
lea r8d, [rcx + 0x13]
mov edx, 0x27d
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x1aa
lea r8d, [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [0x1400ed3f4]
mov qword [rbp - 0x80], rax
movzx esi, sil
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.c5a0
mov r9d, esi
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
xor ecx, ecx
mov edx, 0x137
lea r8d, [rcx + 3]
mov esi, eax
mov dword [rbp - 0x48], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call fcn.1400d92b0
xor ecx, ecx
lea r8d, [rcx + 0x12]
mov edx, 0x3cb
call qword [sym.imp.KERNEL32.dll_FindResourceA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp sil, 4
je 0x14000f82b
call fcn.14008f260
mov r8, qword [rbp - 0x28]
mov r15, qword [rbp + 0xa0]
mov rcx, rdi
imul r8d, dword [rbp - 0x18]
mov qword [rbp - 0x28], r8
inc rcx
cmp byte [r15 + rcx], 0
jne 0x14000f842
mov rax, rdi
nop
inc rax
cmp byte [r12 + rax], 0
jne 0x14000f850
mov edx, dword [rsp + 0x70]
mov r10, qword [rbp - 0x58]
mov r9, qword [rbp - 0x50]
imul ecx, eax
imul ecx, r9d
imul ecx, dword [rsp + 0x64]
movzx eax, dl
movsx rdx, byte [rsp + 0x60]
imul eax, r10d
lea eax, [rax + r13*4]
mov r13, qword [rbp - 0x38]
shl eax, 2
sub ecx, eax
lea eax, [rdx + rdx*4]
lea edx, [rcx + rax*2]
movsx rax, byte [rsp + 0x61]
sub edx, eax
mov rax, rdi
sub edx, esi
sub edx, dword [rbp - 0x68]
add edx, r8d
add edx, dword [rbp]
add edx, r10d
add edx, dword [rbp - 0x70]
add edx, r9d
add edx, dword [rbp - 0x30]
inc rax
cmp byte [r13 + rax], 0
jne 0x14000f8b4
sub edx, eax
mov rax, qword [rbp - 0x10]
mov rcx, qword [rax + 8]
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x14000f8d0
lea esi, [rdx + 4]
lea rcx, str.c0a2
lea rdx, str.compulsion
add esi, eax
xor r9d, r9d
mov r8b, 8
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], esi
call fcn.140034970
xor ecx, ecx
mov edx, 0x112
lea r8d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movsx edx, byte [rsp + 0x61]
mov r9d, dword [rsp + 0x64]
xor r8d, r8d
mov qword [rbp - 0x38], rax
movsxd rcx, esi
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x40], rcx
lea rax, str.c2a0
mov esi, edx
mov qword [rbp + 0x60], rax
mov rax, qword [rbp - 0x18]
xor ecx, ecx
mov qword [rbp + 0x68], rax
mov eax, dword [rbp - 0x48]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], r8d
lea r8, str.cocktail
mov rdx, r14
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rdx, qword [rbp - 8]
xor ecx, ecx
mov qword [rbp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
movups xmm0, xmmword [rbp + 0x60]
mov qword [rbp + 0x78], rax
mov rax, rdi
movaps xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rbp + 0x70]
movaps xmmword [rbp + 0x20], xmm1
nop
inc rax
cmp byte [r12 + rax], 0
jne 0x14000f9a0
mov edx, dword [rbp - 0x60]
add eax, eax
imul edx, dword [rbp - 0x70]
sub edx, eax
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp byte [r14 + rax], 0
jne 0x14000f9c0
imul ebx, dword [rbp - 0x58]
mov ecx, dword [rsp + 0x64]
imul esi, dword [rbp - 8]
mov r10, qword [rbp - 0x80]
sub ecx, eax
mov eax, ecx
add eax, dword [rbp - 0x48]
lea eax, [rax + rcx*2]
lea ecx, [rax + rdx*2]
mov rax, qword [rbp]
movsx rdx, byte [rsp + 0x60]
imul eax, dword [rbp - 0x2c]
add ecx, ecx
sub ecx, eax
mov rax, qword [rbp - 0x28]
sub ecx, ebx
mov rbx, qword [rbp - 0x50]
imul eax, dword [rsp + 0x74]
sub ecx, eax
mov eax, dword [rsp + 0x68]
imul eax, ebx
add ecx, eax
mov rax, rdi
add ecx, esi
sub ecx, edx
add ecx, dword [rbp - 0x20]
add ecx, r10d
add ecx, dword [rbp - 0x40]
inc rax
cmp byte [r15 + rax], 0
jne 0x14000fa23
sub ecx, eax
mov rax, rdi
inc rax
cmp byte [r13 + rax], 0
jne 0x14000fa32
mov r13, qword [rbp - 0x10]
sub ecx, eax
mov rax, rdi
mov rdx, qword [r13 + 8]
nop word [rax + rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x14000fa50
mov rdx, qword [rbp + 0x50]
add ecx, eax
mov rax, rdi
inc rax
cmp byte [rdx + rax], 0
jne 0x14000fa62
add ecx, 0x11
lea r9, [0x1400ed3f4]
lea r8, [rbp + 0x10]
add eax, ecx
mov rcx, qword [rbp - 0x38]
mov rdx, r10
mov dword [rsp + 0x20], eax
call fcn.140046040
mov esi, dword [rsp + 0x64]
mov r15, qword [rbp - 0x40]
mov r14d, dword [rsp + 0x6c]
nop dword [rax + rax]
inc rdi
cmp byte [r12 + rdi], 0
jne 0x14000faa0
movzx ecx, byte [r13 + 0x20]
add dil, 0xc
add cl, cl
sub cl, byte [rsp + 0x60]
movzx eax, cl
shl al, 2
add al, cl
sub al, r15b
add al, dil
add al, r14b
add al, sil
add al, byte [rbp + 0xb0]
add al, bl
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x3b8]
add rsp, 0x370
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret