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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x230
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov r14, rcx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
movsx rbx, byte [r14]
lea rcx, [rsp + 0xe0]
mov edx, 0x104
mov r12, rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
movsx rdi, byte [r14 + 0x38]
mov qword [rsp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0xa0], rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
lea rdx, str.bench
mov r8, rbx
mov r9, rdi
xor ecx, ecx
mov r13, rdi
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
mov ecx, 0xffff
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
mov eax, dword [r14 + 0x38]
mov r15d, edi
add eax, r12d
mov esi, ebx
mov dword [rsp + 0x64], eax
mov eax, edi
imul eax, ebx
lea ebp, [rax + rax*4]
add ebp, dword [r14]
mov dword [rsp + 0xc8], ebp
call qword [sym.imp.USER32.dll_GetActiveWindow]
movzx ebx, byte [rsp + 0x64]
movzx ecx, bpl
mov qword [rsp + 0xd0], rax
neg bl
movzx eax, cl
shl al, 2
add cl, al
add cl, cl
sub bl, cl
cmp dil, bl
jle 0x14009a571
lea rcx, str.bench
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea eax, [rdi*4]
movsx rcx, bl
add eax, edi
mov edi, dword [r14 + 0x30]
mov qword [rsp + 0x88], rcx
add edi, eax
sub edi, ecx
lea rcx, str.bench
sub edi, dword [rsp + 0x70]
sub edi, dword [rsp + 0x80]
add edi, ebp
add edi, r12d
add edi, dword [rsp + 0x64]
mov dword [rsp + 0x60], edi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, dword [r14 + 0x38]
mov ecx, esi
imul ecx, dword [r14 + 0x28]
sub ecx, dword [rsp + 0x88]
mov ebx, eax
lea eax, [r15 - 1]
sub ecx, dword [rsp + 0x80]
add eax, ecx
mov ecx, esi
mov dword [rsp + 0x68], eax
imul ecx, r12d
imul ecx, dword [rsp + 0x70]
sub ebp, ecx
sub ebp, 0xa
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor edx, edx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
movsxd rcx, edi
mov qword [rsp + 0x90], rax
lea eax, [r12 + r12*4]
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
lea r8, str.bafflement
lea rdx, str.c0a4
mov r9d, eax
mov ecx, ebp
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea rcx, [0x1400ed4d4]
mov qword [rsp + 0xa8], rax
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, 0x360
lea r8d, [rcx + 5]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov edx, 0x32d
lea r8d, [rcx + 0x10]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rsp + 0xe0]
mov edx, 0x104
mov qword [rsp + 0x98], rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov qword [rsp + 0xb8], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
xor ecx, ecx
mov edx, 0x3c3
lea r8d, [rcx + 0x19]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, dword [rsp + 0x90]
imul ecx, ebx
mov ebx, dword [rsp + 0x60]
imul ecx, r12d
shl ecx, 3
mov eax, ebx
sub eax, ecx
lea ecx, [rax + rax*4]
mov eax, dword [r14 + 0x48]
lea edx, [rax + rcx*2]
mov eax, dword [rsp + 0xd0]
add eax, 9
add eax, edx
mov dword [rsp + 0x60], eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0xb0], rax
cmp dword [rsp + 0x60], esi
jg 0x14009a7e6
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
mov edx, 0x28a
lea r8d, [rcx + 2]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rcx, [rsp + 0xe0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
lea rcx, str.c1a3
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, qword [rsp + 0x98]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
lea rcx, [rsp + 0xe0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
lea rcx, [rsp + 0xe0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
xor eax, eax
lea r8, [0x140001b00]
mov qword [rsp + 0x28], rax
mov r9, r13
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [rsp + 0xe0]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0xe0]
lea rcx, str.c0a4
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rax, qword [rsp + 0xb0]
imul esi, dword [r14 + 0x28]
mov rcx, qword [rsp + 0xa0]
imul ebp, dword [rsp + 0x68]
lea eax, [rax + rax*4]
dec esi
imul r15d, dword [rsp + 0x80]
imul edi, ecx
imul esi, r12d
add edi, eax
mov rax, qword [rsp + 0x90]
lea eax, [rax + rax*2]
sub edi, eax
mov rax, qword [rsp + 0x70]
imul ebp, ebx
lea eax, [rax + rdi*2]
add eax, 0xffffffcf
add edi, eax
lea eax, [rsi + rdi*2]
add eax, ebp
add eax, r15d
sub eax, dword [rsp + 0xb8]
sub eax, dword [rsp + 0x64]
sub eax, ecx
add eax, dword [rsp + 0x88]
add eax, dword [rsp + 0x98]
add eax, dword [rsp + 0xd0]
add eax, dword [rsp + 0x60]
add eax, dword [rsp + 0xa8]
add eax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1400dd340
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret