Function at 0x100b8380
Capabilities:
Acquire debug privileges
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022e768
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x102db080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xd0], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0xd4], edi
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
push 0x98
lea eax, [ebp - 0xcc]
mov dword [ebp - 4], 0
push 0
push eax
mov byte [ebp - 4], 1
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xcc], 0x102b2a5c
lea ecx, [ebp - 0x7c]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0xd0], 2
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 4], 3
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xcc], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xd0], eax
lea ecx, [ebp - 0xc8]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0xc8], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 4
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 5
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100b859a
push 1
push str.SeDebugPrivilege
push dword [ebp - 0x1c]
call fcn.100b80d0
add esp, 0xc
push esi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0xd8], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x100b860d
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x100b8680
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x15], 1
call esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100b8527
push eax
call esi
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0xcc]
call fcn.10082f70
jmp 0x100b855c
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.100836c0
mov cl, byte [ebp - 0x15]
mov byte [edi + 0x18], cl
lea ecx, [ebp - 0x34]
call fcn.100895a0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b9f43
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0xcc]
push str.OpenProcessToken_failed__0x
push eax
call fcn.10082bb0
add esp, 8
mov ecx, eax
push 0x100829b0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
push esi
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
push 0x102b1b94
push eax
call fcn.10082bb0
add esp, 8
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0xcc]
push eax
call fcn.100b9000
push eax
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 6
call fcn.100831f0
push 0x102ca4c4
lea eax, [ebp - 0xe8]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0xcc]
push str.OpenProcess_failed__0x
push eax
call fcn.10082bb0
add esp, 8
mov ecx, eax
push 0x100829b0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
push esi
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
push 0x102b1b94
push eax
call fcn.10082bb0
add esp, 8
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0xcc]
push eax
call fcn.100b9000
push eax
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 8
call fcn.100831f0
push 0x102ca4c4
lea eax, [ebp - 0xf4]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0xcc]
push str.TerminateProcess_failed__0x
push eax
call fcn.10082bb0
add esp, 8
mov ecx, eax
push 0x100829b0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
push esi
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
push 0x102b1b94
push eax
call fcn.10082bb0
add esp, 8
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0xcc]
push eax
call fcn.100b9000
push eax
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 9
call fcn.100831f0
push 0x102ca4c4
lea eax, [ebp - 0x100]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3