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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1b0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov rbp, r8
mov qword [rsp + 0x80], r8
mov r13d, edx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x68], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
or rdi, 0xffffffffffffffff
mov r12, rax
mov qword [rsp + 0x78], rax
mov rbx, rdi
inc rbx
cmp byte [rsi + rbx], 0
jne 0x140076ef4
movzx eax, bpl
lea r8, [0x140001b00]
xor edx, edx
imul r13b
lea ecx, [rax + 3]
movzx eax, bpl
imul cl
xor ecx, ecx
add bl, al
xor eax, eax
mov qword [rsp + 0x28], rax
movsx r14d, bl
mov dword [rsp + 0x20], eax
mov r9d, r14d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, 0x30
xor ecx, ecx
mov qword [rsp + 0x50], rax
add eax, 5
lea r8d, [rdx - 0x29]
mov dword [rsp + 0x30], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rsp + 0x90]
mov edx, 0x104
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
xor ecx, ecx
mov edx, 0xc7
lea r8d, [rcx + 0xf]
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ecx, ecx
lea r8d, [rcx + 5]
mov edx, 0x178
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x70], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbp, rdi
mov r15, rax
nop
inc rbp
cmp byte [rsi + rbp], 0
jne 0x140076fb0
movsx rax, bl
mov edx, 0x7e
lea r8d, [rdx - 0x61]
imul eax, r12d
lea ecx, [rax + rax*4]
mov eax, dword [rsp + 0x50]
shl eax, 4
add ecx, eax
mov rax, qword [rsp + 0x48]
sub ecx, r13d
add eax, 0xfffffffd
sub ecx, dword [rsp + 0x30]
add ecx, dword [rsp + 0x40]
add eax, ecx
xor ecx, ecx
add ebp, eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor r8d, r8d
mov edx, 0x312
xor ecx, ecx
mov r12, rax
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
lea r8d, [rcx + 5]
mov edx, 0x331
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ecx, r12d
imul ecx, dword [rsp + 0x38]
shl ecx, 3
mov r12d, 4
mov rbx, rax
sub r12d, ecx
sub r12d, r15d
sub r12d, ebp
call qword [sym.imp.USER32.dll_GetForegroundWindow]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rdx, rax
nop dword [rax + rax]
inc rdi
cmp byte [rsi + rdi], 0
jne 0x140077060
imul ebx, dword [rsp + 0x58]
mov eax, 1
imul r14d, r14d
sub eax, r13d
add ebx, ebx
imul eax, dword [rsp + 0x80]
sub r15d, ebx
lea ecx, [rax + r15*4]
mov rax, qword [rsp + 0x70]
add ecx, r14d
imul eax, dword [rsp + 0x48]
add eax, ecx
sub eax, edx
sub eax, dword [rsp + 0x38]
sub eax, dword [rsp + 0x60]
sub eax, dword [rsp + 0x68]
sub eax, dword [rsp + 0x40]
sub eax, ebp
add eax, r12d
add edi, eax
mov eax, dword [rsp + 0x30]
add edi, dword [rsp + 0x50]
add eax, 0x31
add edi, dword [rsp + 0x78]
add eax, edi
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x208]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret