Function at 0x140099c10
Capabilities:
Acquire debug privileges
Get memory capacity
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x1401222f0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x30], 0x98
mov rax, qword [0x140126550]
mov qword [0x14012ca48], rax
mov ecx, 0x4e
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x140126508], eax
test eax, eax
jne 0x140099c62
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
mov dword [0x140126508], eax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetLongPathNameW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140130d98], rax
mov ebx, dword [0x14012bcd8]
lea rcx, [rbx + rbx*2]
shl rcx, 4
call fcn.1400a82f0
mov qword [0x140130f78], rax
lea rcx, [rbx + rbx*2]
shl rcx, 3
call fcn.1400a82f0
mov qword [0x140130f80], rax
lea rcx, [rbx*8]
call fcn.1400a82f0
mov qword [0x140130f88], rax
lea rcx, str.SeDebugPrivilege
call fcn.140005190
lea rcx, str.SeBackupPrivilege
call fcn.140005190
lea rcx, str.SeSecurityPrivilege
call fcn.140005190
call fcn.14007aa40
mov ebx, 4
test eax, eax
je 0x140099df8
mov r9d, ebx
mov r8d, 0x1000
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
mov dword [rsp + 0x20], ebx
mov r9, rax
mov r8d, ebx
lea rdx, [rsp + 0x30]
mov ecx, 0x83350008
call fcn.140097a90
test eax, eax
je 0x140099d5b
mov eax, dword [rsp + 0x30]
cmp dword [rdi], eax
jb 0x140099d5b
mov r8d, 0x4000
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x140099df8
call fcn.140098710
call fcn.14007aa40
test eax, eax
jne 0x140099d75
call fcn.140098710
xor eax, eax
jmp 0x14009a1bd
mov dword [rsp + 0x20], ebx
mov r9, rdi
mov r8d, ebx
lea rdx, [rsp + 0x30]
mov ecx, 0x83350008
call fcn.140097a90
test eax, eax
je 0x140099d9a
mov eax, dword [rsp + 0x30]
cmp dword [rdi], eax
jae 0x140099dbb
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea r8, [0x1400d25b0]
lea rdx, str.Driver_version_mismatch._You_must_reboot_before_you_can_run_this_version_of_Process_Explorer.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
call fcn.140098710
xor eax, eax
jmp 0x14009a1bd
call fcn.14007fc20
test al, al
jne 0x140099e1b
mov rcx, qword [0x140120a98]
cmp rcx, 0xffffffffffffffff
je 0x140099e14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14009a1bd
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0x40]
call qword [0x140130cc8]
add eax, 0x3ffffffe
cmp eax, 1
seta byte [0x14012c586]
mov r8d, ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [0x140130fb8], rax
mov qword [0x140130da0], 0
test rax, rax
je 0x140099ea7
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.EnumServicesStatusExW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140130da0], rax
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.QueryServiceConfig2W
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140130db0], rax
call fcn.140062900
test eax, eax
je 0x140099eee
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.ProcessIdToSessionId
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140130db8], rax
movzx ecx, byte [0x14012bc7a]
mov edi, 1
test rax, rax
cmovne ecx, edi
mov byte [0x14012bc7a], cl
jmp 0x140099ef3
mov edi, 1
lea rcx, str.winsta.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.WinStationGetProcessSid
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140130e78], rax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.IsProcessInJob
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140131050], rax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.QueryInformationJobObject
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140130dc0], rax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.SetProcessAffinityMask
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140130e80], rax
lea rcx, [0x14012ca10]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call fcn.14009a9d0
lea rdx, [0x140121390]
lea rcx, str.REGISTRYUSER
nop dword [rax]
nop word [rax + rax]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x140099fb4
mov qword [rdx], rax
add rcx, 0x248
add rdx, 0x248
dec rbx
jne 0x140099fb0
lea rdx, [0x140120f00]
lea rcx, str.REGISTRYUSER_
lea r8d, [rbx + 2]
nop word [rax + rax]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x140099ff4
mov qword [rdx], rax
add rcx, 0x248
add rdx, 0x248
dec r8
jne 0x140099ff0
call fcn.140068ca0
cmp dword [0x140126558], 1
jl 0x14009a03e
lea r9, [0x14012c9c8]
lea r8, [0x14012c9d0]
xor edx, edx
lea rcx, [0x14012c9c0]
call fcn.140063720
mov r8d, edi
mov edx, 2
mov ecx, edi
call fcn.14004ad60
mov qword [0x140130ff0], rax
mov dword [rax + 0x30], 0
mov rax, qword [0x140130ff0]
mov dword [rax + 0x40], 0x3c943c
movabs rcx, 0x4059000000000000
mov rax, qword [0x140130ff0]
mov qword [rax + 0x38], rcx
mov rax, qword [0x140130ff0]
cmp dword [rax + 0x2c], 2
jne 0x14009a09d
mov dword [rax + 0x60], 0xff
mov rax, qword [0x140130ff0]
mov qword [rax + 0x58], rcx
xor r8d, r8d
mov edx, edi
mov ecx, edi
call fcn.14004ad60
mov qword [0x140130fe8], rax
mov dword [rax + 0x30], edi
mov rax, qword [0x140130fe8]
mov dword [rax + 0x40], 0xaaaa
mov rax, qword [0x140130e70]
test rax, rax
je 0x14009a0eb
mov dword [rsp + 0x70], 0x40
lea rcx, [rsp + 0x70]
call rax
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x88]
jmp 0x14009a118
mov dword [rsp + reloc.WS2_32.dll_getservbyport], 0x38
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov rax, qword [rsp + 0x50]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
test rax, rax
jns 0x14009a118
addsd xmm0, qword [0x1400e6400]
mov rax, qword [0x140130fe8]
mulsd xmm0, qword [0x1400e4498]
movsd qword [rax + 0x38], xmm0
mov dword [rsp + reloc.WS2_32.dll_getservbyport], 0x38
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
xor r8d, r8d
mov edx, edi
lea ecx, [r8 + 2]
call fcn.14004ad60
mov qword [0x140131018], rax
mov dword [rax + 0x30], 3
mov rax, qword [0x140131018]
mov dword [rax + 0x40], 0x4080ff
mov rax, qword [rsp + 0x40]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
test rax, rax
jns 0x14009a183
addss xmm0, dword [0x1400e6408]
cvtps2pd xmm0, xmm0
mov rcx, qword [0x140131018]
movsd qword [rcx + 0x38], xmm0
lea rcx, [0x14013d818]
call fcn.14004e410
lea rcx, [0x14013d838]
call fcn.14004e410
lea rcx, [0x14013d858]
call fcn.14004e410
call fcn.14007ebe0
mov eax, edi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400ab140
mov rbx, qword [rsp + 0xd0]
add rsp, 0xc0
pop rdi
ret