Function at 0x14002bef0
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x140
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
xor edx, edx
mov r8d, 0xc8
lea rcx, [rsp + 0x38]
call fcn.140054600
xor edi, edi
mov qword [rsp + 0xc0], rdi
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc8], rdi
mov qword [rsp + 0xe0], 0xffffffffffffffff
mov dword [rsp + 0x30], 0xccaa9a9a
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0xd8], rax
lea rcx, str.kernelbase.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0xd0], rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0xb8], rax
test rax, rax
je 0x14002c4c5
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0xc0], rax
test rax, rax
jne 0x14002bfb9
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x14002c4c5
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0xc8], rax
test rax, rax
jne 0x14002bff6
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x14002c4c5
lea rdx, str.GetNativeSystemInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0xa8]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0xa8], rcx
test rcx, rcx
jne 0x14002c04e
lea rdx, str.GetSystemInfo
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0xa8]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0xa8], rcx
lea rdx, str.QueryFullProcessImageNameW
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0xb0]
test rax, rax
cmovne rcx, rax
lea rax, [fcn.14002a4a0]
test rcx, rcx
cmove rcx, rax
mov qword [rsp + 0xb0], rcx
lea rdx, str.NtQuerySystemInformation
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x38]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x38], rcx
lea rdx, str.NtQueryInformationProcess
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x58]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x58], rcx
lea rdx, str.NtQueryVirtualMemory
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x60]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x60], rcx
lea rdx, str.NtReadVirtualMemory
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x68]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x68], rcx
lea rdx, str.NtOpenProcess
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0xf0]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0xf0], rcx
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], rdi
lea rdx, str.RtlInitUnicodeString
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x88]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x88], rcx
lea rdx, str.ZwOpenDirectoryObject
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x90]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x90], rcx
lea rdx, str.ZwQueryDirectoryObject
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x98]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x98], rcx
lea rdx, str.ZwClose
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0xa0]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0xa0], rcx
lea rdx, str.LookupPrivilegeValueW
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x40]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x40], rcx
lea rdx, str.AdjustTokenPrivileges
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x48]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x48], rcx
lea rdx, str.OpenProcessToken
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x50]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x50], rcx
cmp qword [rsp + 0x38], 0
je 0x14002c4a3
cmp qword [rsp + 0x58], 0
je 0x14002c4a3
cmp qword [rsp + 0x60], 0
je 0x14002c4a3
cmp qword [rsp + 0x68], 0
je 0x14002c4a3
cmp qword [rsp + 0xa8], 0
je 0x14002c4a3
cmp qword [rsp + 0x88], 0
je 0x14002c4a3
cmp qword [rsp + 0x90], 0
je 0x14002c4a3
cmp qword [rsp + 0x98], 0
je 0x14002c4a3
cmp qword [rsp + 0xa0], 0
je 0x14002c4a3
cmp qword [rsp + 0x40], 0
je 0x14002c4a3
cmp qword [rsp + 0x48], 0
je 0x14002c4a3
test rcx, rcx
je 0x14002c4a3
cmp qword [rsp + 0xb0], 0
je 0x14002c4a3
cmp qword [rsp + 0xf0], 0
je 0x14002c4a3
call fcn.14002fb60
mov qword [rsp + 0xe0], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov qword [rsp + 0x20], rdi
mov r9d, 4
lea r8, [rsp + 0xe8]
lea edx, [r9 + 0x16]
call qword [rsp + 0x58]
mov ecx, dword [rsp + 0xe8]
test eax, eax
cmovs ecx, edi
mov dword [rsp + 0xe8], ecx
lea rdx, str.IsWow64Process2
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x14002c3c5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0xf8]
lea rdx, [rsp + 0xfa]
call rbx
mov eax, 0x8664
movzx ecx, word [rsp + 0xf8]
jmp 0x14002c3d7
mov eax, 0x8664
mov ecx, eax
mov dword [rsp + 0xf8], 0x86648664
movzx edx, cx
cmp edx, 0x14c
je 0x14002c3e6
cmp edx, eax
jne 0x14002c3f0
lea rcx, [rsp + 0x30]
call fcn.14002bcd0
lea rcx, [rsp + 0x108]
call qword [rsp + 0xa8]
mov eax, 1
cmp word [rsp + 0x108], 0
cmove eax, edi
mov dword [rsp + 0xec], eax
mov ecx, 0xd0
call fcn.140051c40
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rdx, [rax + 0x80]
movups xmm0, xmmword [rcx + 0x70]
movups xmmword [rdx - 0x10], xmm0
movups xmm1, xmmword [rcx + 0x80]
movups xmmword [rdx], xmm1
movups xmm0, xmmword [rcx + 0x90]
movups xmmword [rdx + 0x10], xmm0
movups xmm1, xmmword [rcx + 0xa0]
movups xmmword [rdx + 0x20], xmm1
movups xmm0, xmmword [rcx + 0xb0]
movups xmmword [rdx + 0x30], xmm0
movups xmm1, xmmword [rcx + 0xc0]
movups xmmword [rdx + 0x40], xmm1
jmp 0x14002c4c5
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x14002c4c5
mov rbx, qword [rsp + 0x150]
add rsp, 0x140
pop rdi
ret