Function at 0x10008120
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
sub esp, 0x20
sub dword [esp + 0x28], 1
push ebx
push ebp
push esi
push edi
jne 0x10008371
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x1008a504], eax
call fcn.10022f40
push str.zh_cn
push 0
call fcn.1005e030
add esp, 8
call fcn.100072b0
mov ecx, dword [0x1008a504]
push 0x1c
mov eax, dword [ecx + 0x3c]
mov ebx, dword [eax + ecx + 0x50]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
neg eax
sbb edi, edi
add ebx, 0xfffffff5
and edi, dword [esp + 0x18]
add ebx, edi
cmp edi, ebx
jae 0x1000838a
mov esi, 0x10079c14
sub esi, edi
nop
xor ecx, ecx
mov eax, edi
mov dl, byte [esi + eax]
cmp dl, 0x2a
je 0x100081a4
cmp dl, byte [eax]
jne 0x10008267
inc ecx
inc eax
cmp ecx, 0xb
jb 0x10008194
test edi, edi
je 0x1000838a
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0x38]
push eax
push 0x40
push 1
add edi, 9
push edi
call ebp
test eax, eax
je 0x10008394
lea eax, [esp + 0x38]
mov byte [edi], 0xc8
push eax
push dword [esp + 0x3c]
push 1
push edi
call ebp
mov ecx, dword [0x1008a504]
push 0x1c
mov eax, dword [ecx + 0x3c]
mov ebx, dword [eax + ecx + 0x50]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
neg eax
sbb edi, edi
add ebx, 0xfffffff5
and edi, dword [esp + 0x18]
add ebx, edi
cmp edi, ebx
jae 0x1000827c
mov esi, str.steam_yes_
sub esi, edi
xor ecx, ecx
mov eax, edi
mov dl, byte [esi + eax]
cmp dl, 0x2a
je 0x10008224
cmp dl, byte [eax]
jne 0x10008276
inc ecx
inc eax
cmp ecx, 0xb
jb 0x10008218
test edi, edi
je 0x1000827c
lea eax, [esp + 0x38]
push eax
push 0x40
push 0xc
push edi
call ebp
test eax, eax
je 0x10008394
movq xmm0, qword [str.sbeam_yes_]
movq qword [edi], xmm0
mov eax, dword [0x10078ba8]
mov dword [edi + 8], eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x3c]
push 0xc
push edi
call ebp
jmp 0x10008289
inc edi
dec esi
cmp edi, ebx
jae 0x1000838a
jmp 0x10008190
inc edi
dec esi
cmp edi, ebx
jb 0x10008214
push str._WARN_Failed_to_find_signature__n
call fcn.10001360
add esp, 4
call fcn.10006d80
mov ecx, dword [0x1008a504]
mov dword [0x1008a510], 0x10007050
push 0x1c
mov eax, dword [ecx + 0x3c]
mov ebx, dword [eax + ecx + 0x50]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
neg eax
sbb edi, edi
add ebx, 0xfffffff1
and edi, dword [esp + 0x18]
add ebx, edi
cmp edi, ebx
jae 0x1000838a
mov esi, 0x10078bc0
sub esi, edi
nop
xor ecx, ecx
mov eax, edi
mov dl, byte [esi + eax]
cmp dl, 0x2a
je 0x100082e4
cmp dl, byte [eax]
jne 0x10008380
inc ecx
inc eax
cmp ecx, 0xf
jb 0x100082d4
test edi, edi
je 0x1000838a
lea eax, [esp + 0x38]
add edi, 0xf
push eax
push 0x40
push 4
push edi
call ebp
test eax, eax
je 0x10008394
lea eax, [esp + 0x38]
mov dword [edi], 0x1008a510
push eax
push dword [esp + 0x3c]
push 4
push edi
call ebp
mov eax, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [0x1008a50c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ecx, eax
call fcn.10022580
call fcn.100220c0
sub esp, 0xc
mov edx, 0x100080f0
mov ecx, 0x1008a50c
call fcn.100225f0
call fcn.10022140
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0
push 0
push 0x100083a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret 0xc
inc edi
dec esi
cmp edi, ebx
jb 0x100082d0
push str.Failed_to_find_signature__n
call fcn.100217b0
push edi
push str.Failed_to_modify_protection_at__08X__
call fcn.100217b0
int3