Function at 0x140074920
Capabilities:
Copy file
Create thread
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x340
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x330], rax
xor ebx, ebx
mov r15d, r8d
mov rsi, rcx
cmp r8d, 8
ja 0x14007499f
call qword [sym.imp.USER32.dll_GetActiveWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea r9d, [rbx + 8]
lea r8, [0x140001b00]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r9d, [rbx + 8]
lea r8, [0x140001b00]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, esi
lea rcx, [rsp + 0xb0]
sub ebp, r15d
xor edx, edx
mov r8d, 0x140
sub ebp, 4
mov r14, rax
call fcn.1400e27d0
lea rdx, [rsp + 0xb0]
lea rcx, str.c2a0
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [r14*8]
mov edx, r15d
imul r13d, esi, 7
mov qword [rsp + 0x78], rax
lea eax, [rsi*4]
sub edx, ecx
add r13d, 0xffffffd8
add edx, esi
mov dword [rsp + 0x64], eax
add eax, r15d
add r13d, r14d
mov edi, r14d
sub edi, esi
lea ebx, [rax + 2]
mov r12d, r13d
add ebx, edx
sub edi, ebp
mov dword [rsp + 0x68], eax
add edi, 2
mov dword [rsp + 0x6c], ebx
imul r12d, ebx
cmp edi, r12d
je 0x140074a56
lea rcx, [0x1400ed3f4]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.helium
mov r9d, 8
mov rcx, rax
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, str.cattle
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x80], rax
mov eax, esi
imul eax, dword [rsp + 0x68]
mov ecx, eax
mov dword [rsp + 0x88], eax
lea eax, [r14 + 9]
sub ecx, r15d
sub ecx, ebx
sub ecx, ebp
add ecx, esi
add ecx, dword [rsp + 0x78]
add eax, ecx
mov dword [rsp + 0x70], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rdx, str.waitress
mov qword [rsp + 0x98], rax
movzx eax, r13b
mov r8d, r13d
imul bl
movzx ecx, al
movzx eax, byte [rsp + 0x80]
imul cl
movzx ecx, al
movzx eax, r15b
imul bpl
shl al, 2
sub cl, al
dec cl
add cl, sil
add cl, byte [rsp + 0x78]
mov byte [rsp + 0x60], cl
lea rcx, str.c2a0
call qword [sym.imp.KERNEL32.dll_CopyFileA]
xor ecx, ecx
mov edx, 0x1e8
lea r8d, [rcx + 2]
mov ebx, eax
mov dword [rsp + 0x8c], eax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rsp + 0x1f0]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0x1f0]
lea rcx, str.c2a6
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ecx, dword [rsp + 0x68]
mov r8d, dword [rsp + 0x64]
imul r8d, ecx
mov r10, qword [rsp + 0x98]
movzx eax, bl
lea r11d, [r14 + r14*4]
imul r14b
movzx r9d, al
shl al, 2
add r9b, al
lea eax, [r15*4]
lea ecx, [rcx*2 + 1]
sub eax, r8d
mov r8, qword [rsp + 0x80]
shl r9b, 2
sub eax, r11d
sub r9b, 0x40
mov dword [rsp + 0xa0], r11d
sub eax, r8d
movsx rdx, r9b
mov byte [rsp + 0x61], r9b
sub eax, ebp
add eax, 0xffffffe3
add eax, esi
add eax, edx
add eax, r10d
add eax, r12d
mov dword [rsp + 0x90], eax
movzx eax, byte [rsp + 0x60]
imul ecx, esi
lea eax, [rax + rax*8]
add ecx, eax
lea eax, [rbp - 0x1a]
sub ecx, edx
mov edx, r15d
add ecx, r15d
add ecx, r14d
add eax, ecx
mov dword [rsp + 0x64], eax
movzx eax, bl
imul edx, r14d
imul edx, ebp
lea ecx, [rax + rax*8]
lea eax, [r13 + 0xc]
shl ecx, 3
sub edx, ecx
sub edx, r11d
sub edx, r10d
sub edx, dword [rsp + 0x6c]
add edx, esi
add edx, dword [rsp + 0x70]
add edx, dword [rsp + 0x78]
add edx, r12d
add eax, edx
mov dword [rsp + 0xa4], eax
cmp r9b, bl
jge 0x140074ce9
lea rcx, str.cattle
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
xor ecx, ecx
mov edx, 0xfc
lea r8d, [rcx + 0x1c]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movsx ecx, byte [rsp + 0x61]
mov eax, dword [rsp + 0x98]
imul ecx, dword [rsp + 0x64]
imul eax, dword [rsp + 0x80]
mov ebx, dword [rsp + 0x88]
sub eax, ecx
lea ecx, [rax + rdi*4]
add ebx, 9
sub ecx, r13d
add ecx, dword [rsp + 0xa0]
add ebx, ecx
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
movzx ecx, byte [rsp + 0x60]
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x64]
mov edx, edi
lea r8, str.c3a1
mov qword [rsp + 0x40], rdx
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], eax
lea rdx, str.deodorant
mov r9d, ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov ebx, dword [rsp + 0x8c]
mov r8, qword [rsp + 0x80]
movzx r9d, byte [rsp + 0x61]
mov r10, qword [rsp + 0x98]
movzx eax, byte [rsp + 0x64]
imul byte [rsp + 0x90]
movzx ecx, al
movzx eax, r9b
imul cl
movzx edx, al
movzx eax, sil
add sil, 0x32
imul byte [rsp + 0x68]
sub dl, al
movzx eax, r8b
imul r14b
shl r14b, 3
movzx ecx, al
shl cl, 2
add al, cl
shl al, 2
add dl, al
movzx eax, bl
sub dl, r14b
shl al, 3
add bl, al
sub dl, bl
sub dl, byte [rsp + 0x70]
sub dl, byte [rsp + 0xa4]
sub dl, bpl
sub dl, r15b
sub dl, byte [rsp + 0x78]
sub dl, byte [rsp + 0x60]
lea eax, [rdi + rdx]
add al, r12b
add al, byte [rsp + 0x6c]
add al, r13b
add al, sil
add al, r10b
add al, r8b
mov rcx, qword [rsp + 0x330]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x388]
add rsp, 0x340
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret