Function at 0x48dab4
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e8031
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x54b0c4]
xor eax, esp
mov dword [esp + 0x2a0], eax
push ebx
push esi
push edi
mov eax, dword [0x54b0c4]
xor eax, esp
push eax
lea eax, [esp + 0x2b8]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x90]
mov ebx, edx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
xor ecx, ecx
mov dword [esp + 0x2c0], ecx
xor eax, eax
mov dword [esp + 0x34], ecx
lea edi, [esp + 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x40
stosd dword es:[edi], eax
push ecx
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ecx
call sub.MSVCR80.dll_memset
xor eax, eax
inc eax
mov dword [esp + 0x7c], eax
mov word [esp + 0x80], ax
xor eax, eax
add esp, 0xc
cmp word [esi], 0x22
mov dword [esp + 0x44], 0x44
setne al
mov edi, eax
test edi, edi
je 0x48db7b
push 0x50f4b0
lea ecx, [esp + 0x94]
call dword [0x4fe438]
push esi
lea ecx, [esp + 0x94]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
test edi, edi
je 0x48db9f
push 0x50f4b0
lea ecx, [esp + 0x94]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
test ebx, ebx
je 0x48dbc3
push 0x516538
lea ecx, [esp + 0x94]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push ebx
lea ecx, [esp + 0x94]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
lea eax, [esp + 0x20]
push eax
mov edi, 0xf01ff
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jne 0x48dbf2
mov dword [esp + 0x10], 0xfffffff9
jmp 0x48ded0
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x24]
lea ebx, [esp + 0x2c]
call fcn.0048a49a
test eax, eax
pop ecx
pop ecx
jne 0x48dc17
mov dword [esp + 0x10], 0xfffffff8
jmp 0x48ded0
mov eax, dword [esp + 0x24]
push dword [eax]
call fcn.0048a409
test eax, eax
pop ecx
je 0x48dcce
lea eax, [esp + 0x14]
push eax
call fcn.0048a519
test eax, eax
pop ecx
jne 0x48dc47
mov dword [esp + 0x10], 0xfffffffe
jmp 0x48ded0
push dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
call fcn.0048a5bc
test eax, eax
pop ecx
pop ecx
jne 0x48dc68
mov dword [esp + 0x10], 0xfffffffd
jmp 0x48ded0
push dword [esp + 0x18]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x48ded0
lea eax, [esp + 0x1c]
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push ebx
call esi
cmp dword [esp + 0xa8], 8
mov eax, dword [esp + 0x94]
jae 0x48dcab
lea eax, [esp + 0x94]
xor edi, edi
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x48]
push ecx
push edi
push edi
push edi
push edi
push edi
push edi
push eax
push edi
push dword [esp + 0x44]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
jmp 0x48deb2
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
lea ebx, [esp + 0x18]
lea edi, [esp + 0x1c]
call fcn.0048a375
test eax, eax
pop ecx
je 0x48dec8
cmp dword [esp + 0x18], 2
jne 0x48de80
cmp dword [esp + 0x14], 6
jb 0x48de80
push dword [esp + 0x20]
call fcn.0048a42a
pop ecx
call dword [sym.imp.USER32.dll_GetShellWindow]
xor edi, edi
cmp eax, edi
jne 0x48dd30
mov dword [esp + 0x10], 0xfffffff6
jmp 0x48ded0
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x20], edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
jne 0x48dd51
mov dword [esp + 0x10], 0xfffffff5
jmp 0x48ded0
push dword [esp + 0x18]
push edi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, edi
mov dword [esp + 0x2c], eax
jne 0x48dd76
mov dword [esp + 0x10], 0xfffffff3
jmp 0x48ded0
lea ecx, [esp + 0x14]
push ecx
push 2
push eax
mov dword [esp + 0x20], edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x48de78
lea eax, [esp + 0x1c]
push eax
push 1
push 2
push edi
push 0x18b
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x48de72
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, edi
mov dword [esp + 0x28], eax
je 0x48de72
push str.CreateProcessWithTokenW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
cmp ebx, edi
je 0x48de68
cmp dword [esp + 0xa8], 8
mov eax, dword [esp + 0x94]
jae 0x48ddf6
lea eax, [esp + 0x94]
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x48]
push ecx
push edi
push edi
push edi
push eax
push edi
push edi
push dword [esp + 0x3c]
call ebx
cmp eax, edi
jne 0x48de58
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x422
jne 0x48de68
call fcn.0048e66b
test eax, eax
je 0x48de68
cmp dword [esp + 0xa8], 8
mov eax, dword [esp + 0x94]
jae 0x48de3e
lea eax, [esp + 0x94]
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x48]
push ecx
push edi
push edi
push edi
push eax
push edi
push edi
push dword [esp + 0x3c]
call ebx
cmp eax, edi
je 0x48de68
push dword [esp + 0x38]
call esi
push dword [esp + 0x34]
call esi
mov dword [esp + 0x10], edi
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [esp + 0x14]
call esi
push dword [esp + 0x2c]
call esi
jmp 0x48ded0
cmp dword [esp + 0xa8], 8
mov eax, dword [esp + 0x94]
jae 0x48de98
lea eax, [esp + 0x94]
xor edi, edi
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x48]
push ecx
push edi
push edi
push edi
push edi
push edi
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, edi
je 0x48ded0
push dword [esp + 0x38]
call esi
push dword [esp + 0x34]
call esi
and dword [esp + 0x10], edi
jmp 0x48ded0
mov dword [esp + 0x10], 0xfffffff4
xor edi, edi
cmp dword [esp + 0x20], edi
je 0x48dede
push dword [esp + 0x20]
call esi
cmp dword [esp + 0x1c], edi
je 0x48deea
push dword [esp + 0x1c]
call esi
cmp dword [esp + 0x24], edi
je 0x48defb
push dword [esp + 0x24]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
push 0x1fe
lea eax, [esp + 0xb2]
push edi
push eax
mov word [esp + 0xb8], di
call sub.MSVCR80.dll_memset
add esp, 0xc
push dword [esp + 0x10]
lea eax, [esp + 0xb0]
push str.from1ver0.3errcode_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea esi, [esp + 0x2c]
call fcn.00448c17
mov byte [esp + 0x2c0], 1
mov ecx, dword [esp + 0x30]
cmp ecx, edi
je 0x48df56
mov eax, dword [ecx]
push str.duba_createprocess_by_svc
call dword [eax + 0xc]
lea eax, [esp + 0xac]
push eax
lea esi, [esp + 0x30]
call fcn.0048e6ec
cmp dword [esp + 0xac], 8
mov eax, dword [esp + 0x98]
pop ecx
jae 0x48df80
lea eax, [esp + 0x94]
mov esi, dword [esp + 0x30]
cmp esi, edi
je 0x48df9d
mov edx, dword [esi]
push eax
push str.cmdline
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x20]
cmp esi, edi
mov byte [esp + 0x2c0], 0
je 0x48dfb0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
or dword [esp + 0x2c0], 0xffffffff
lea ecx, [esp + 0x90]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2a0]
xor ecx, esp
call fcn.004d0736
mov esp, ebp
pop ebp
ret