Function at 0x100e2b50
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x60]
mov eax, dword fs:[0]
sub esp, 0x60
push 0xffffffffffffffff
push 0x10250856
push eax
mov dword fs:[0], esp
sub esp, 0x250
push esi
mov esi, dword [ebp + 0x68]
push edi
cmp dword [esi + 0x10], 0
je 0x100e2e3e
mov edi, dword [ebp + 0x6c]
cmp dword [edi + 0x10], 0
je 0x100e2e3e
xor eax, eax
mov dword [ebp - 0x14], 0
push ebx
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
mov dword [ebp - 4], eax
mov dword [ebp + 0x68], eax
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp - 0x24]
push eax
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMSystemInfo::GetWindowsVersion_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____unsigned_int__
add esp, 8
xor eax, eax
cmp dword [ebp + 0x68], 5
jbe 0x100e2cc2
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x2c], 7
mov word [ebp + 0x18], ax
mov byte [ebp - 4], 1
cmp dword [edi + 0x14], 8
jb 0x100e2be0
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x100e2be8
mov esi, dword [esi]
push edi
push esi
lea eax, [ebp + 0x18]
push str._c_netsh_firewall_add_allowedprogram_program__s__name__s__modeENABLE_scopeALL
push eax
call sym.WMCommon.dll_public:_static_void___cdecl_WM::GMStringUtils::Format_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____wchar_t_const__
push 0x208
lea eax, [ebp - 0x25c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x1c
lea eax, [ebp - 0x25c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 0x5c
cmp cx, word [ebp + eax*2 - 0x25e]
je 0x100e2c4e
push 0x102665ac
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
xor eax, eax
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 7
mov word [ebp + 0x30], ax
push str.cmd.exe
lea eax, [ebp - 0x25c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp + 0x30]
push 0x10266f90
push eax
call sym.WMCommon.dll_public:_static_void___cdecl_WM::GMStringUtils::Format_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____wchar_t_const__
add esp, 0x10
lea ecx, [ebp + 0x18]
cmp dword [ebp + 0x2c], 8
lea eax, [ebp + 0x30]
cmovae ecx, dword [ebp + 0x18]
cmp dword [ebp + 0x44], 8
push 0
cmovae eax, dword [ebp + 0x30]
push 0
push ecx
push eax
push 0x10266aac
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
lea ecx, [ebp + 0x30]
setg bl
call fcn.1001a5a0
lea ecx, [ebp + 0x18]
jmp 0x100e2e1d
mov dword [ebp + 0x58], 0
mov dword [ebp + 0x5c], 7
mov word [ebp + 0x48], ax
push str.DomainProfileAuthorizedApplicationsList
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.1001a2f0
push str.StandardProfileAuthorizedApplicationsList
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.1001a2f0
push str.SYSTEMControlSet001ServicesSharedAccessParametersFirewallPolicy
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 5
call fcn.1001a2f0
push str.SYSTEMCurrentControlSetServicesSharedAccessParametersFirewallPolicy
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 6
call fcn.1001a2f0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 7
push eax
lea edx, [ebp + 0x30]
lea ecx, [ebp]
call fcn.10020d00
add esp, 4
lea ecx, [ebp + 0x48]
push eax
call fcn.1001a270
lea ecx, [ebp]
call fcn.1001a5a0
lea eax, [ebp + 0x48]
push eax
push edi
push esi
call sym.WMCommon.dll_private:_static_bool___cdecl_WM::GMSystemUtils::WriteAppToFilewallByReg_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 0xc
test al, al
je 0x100e2df8
lea eax, [ebp - 0x3c]
push eax
lea edx, [ebp + 0x30]
lea ecx, [ebp]
call fcn.10020d00
add esp, 4
lea ecx, [ebp + 0x48]
push eax
call fcn.1001a270
lea ecx, [ebp]
call fcn.1001a5a0
lea eax, [ebp + 0x48]
push eax
push edi
push esi
call sym.WMCommon.dll_private:_static_bool___cdecl_WM::GMSystemUtils::WriteAppToFilewallByReg_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 0xc
test al, al
je 0x100e2df8
lea eax, [ebp - 0x54]
push eax
lea edx, [ebp + 0x18]
lea ecx, [ebp]
call fcn.10020d00
add esp, 4
lea ecx, [ebp + 0x48]
push eax
call fcn.1001a270
lea ecx, [ebp]
call fcn.1001a5a0
lea eax, [ebp + 0x48]
push eax
push edi
push esi
call sym.WMCommon.dll_private:_static_bool___cdecl_WM::GMSystemUtils::WriteAppToFilewallByReg_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 0xc
test al, al
je 0x100e2df8
lea eax, [ebp - 0x3c]
push eax
lea edx, [ebp + 0x18]
lea ecx, [ebp]
call fcn.10020d00
add esp, 4
lea ecx, [ebp + 0x48]
push eax
call fcn.1001a270
lea ecx, [ebp]
call fcn.1001a5a0
lea eax, [ebp + 0x48]
push eax
push edi
push esi
call sym.WMCommon.dll_private:_static_bool___cdecl_WM::GMSystemUtils::WriteAppToFilewallByReg_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 0xc
test al, al
je 0x100e2df8
mov bl, 1
jmp 0x100e2dfa
xor bl, bl
lea ecx, [ebp + 0x18]
call fcn.1001a5a0
lea ecx, [ebp + 0x30]
call fcn.1001a5a0
lea ecx, [ebp - 0x3c]
call fcn.1001a5a0
lea ecx, [ebp - 0x54]
call fcn.1001a5a0
lea ecx, [ebp + 0x48]
call fcn.1001a5a0
lea ecx, [ebp - 0x24]
call fcn.1001a5a0
mov al, bl
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
lea esp, [ebp + 0x60]
pop ebp
ret
mov ecx, dword [ebp - 0xc]
xor al, al
pop edi
pop esi
mov dword fs:[0], ecx
lea esp, [ebp + 0x60]
pop ebp
ret