Function at 0x140015b10
Capabilities:
Acquire debug privileges
Get system information on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp + 7], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400ba080]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rcx
mov qword [rbp + 0xf], rcx
xor r13d, r13d
mov qword [rcx], r13
mov qword [rcx + 8], r13
call fcn.140016fa0
mov qword [rdi], rax
lea rsi, [rdi + 0x10]
mov qword [rbp - 0x31], rsi
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 7
mov word [rsi], r13w
mov qword [rsi + 0x30], r13
mov qword [rsi + 0x38], 7
mov word [rsi + 0x20], r13w
lea rax, [rsi + 0x48]
mov qword [rbp - 0x39], rax
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
lea rcx, [rax + 0x18]
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], 7
mov word [rcx], r13w
xor r8d, r8d
lea rdx, [0x1400a0d88]
call fcn.140002490
nop
xor r8d, r8d
lea rdx, [0x1400a0d88]
lea rcx, [rsi + 0x20]
call fcn.140002490
cmp rsi, rax
je 0x140015bf3
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140015be7
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
mov rcx, rsi
call fcn.140002490
mov dword [rsi + 0x40], r13d
mov byte [rsi + 0x88], 0
mov qword [rsi + 0x80], r13
lea r14, [rdi + 0xa0]
mov qword [rbp - 0x31], r14
mov qword [r14], r13
lea rcx, [r14 + 8]
mov edx, 0x102
call fcn.1400286c4
nop
lea rbx, [r14 + 0x58]
mov qword [rbp - 0x39], rbx
mov qword [rbx], r13
mov qword [rbx + 8], r13
call fcn.14001d580
mov qword [rbx], rax
mov qword [r14 + 0x70], r13
mov qword [rdi + 0x180], r13
mov dword [rdi + 0x13c], 0x4cbebc20
mov dword [rdi + 0x12c], 0x4cbebc20
mov dword [rdi + 0x128], 0x4cbebc20
mov dword [rdi + 0x124], 0x4cbebc20
mov dword [rdi + 0x120], 0x4cbebc20
mov dword [rdi + 0x11c], 0x4cbebc20
mov dword [rdi + 0x118], 0x4cbebc20
mov dword [rdi + 0x138], 0x4cbebc20
mov dword [rdi + 0x134], 0x4cbebc20
mov dword [rdi + 0x130], 0x4cbebc20
mov qword [rdi + 0x158], r13
mov qword [rdi + 0x150], r13
mov qword [rdi + 0x148], r13
mov qword [rdi + 0x140], r13
mov qword [rdi + 0x178], r13
mov qword [rdi + 0x170], r13
mov qword [rdi + 0x168], r13
mov qword [rdi + 0x160], r13
mov dword [rdi + 0x188], 0x60
mov dword [rdi + 0x18c], 0x61
mov dword [rdi + 0x190], 0x62
mov dword [rdi + 0x194], 0x63
mov dword [rdi + 0x198], 0x64
mov dword [rdi + 0x19c], 0x65
mov dword [rdi + 0x1a0], 0x66
mov dword [rdi + 0x1a4], 0x67
mov dword [rdi + 0x1a8], 0x68
mov dword [rdi + 0x1ac], 0x69
mov dword [rdi + 0x1b0], 0x6e
mov dword [rdi + 0x1b4], 0x6b
mov dword [rdi + 0x1b8], 0x6d
lea rcx, [rdi + 0x1c0]
call fcn.14001fbf0
nop
mov dword [rdi + 0x268], 0xffffffff
lea rbx, [rdi + 0x270]
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
lea r15, [rdi + 0x290]
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], 7
mov word [r15], r13w
mov qword [rdi + 0x2c0], r13
mov qword [rdi + 0x2c8], 7
mov word [rdi + 0x2b0], r13w
mov qword [rdi + 0x2e0], r13
mov qword [rdi + 0x2e8], 7
mov word [rdi + 0x2d0], r13w
mov r8d, 0x17
lea rdx, str.AOT2_AS_AOT2_JP_AOT2_EU
mov rcx, rbx
call fcn.140002490
cmp r15, rbx
je 0x140015e0e
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140015e02
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, r15
call fcn.140002490
mov qword [rbp - 0x39], r13
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp - 0x39]
mov edx, 0x28
call qword [0x1400bf758]
test eax, eax
je 0x140015e8b
lea r8, [rbp - 0x31]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [0x1400bf760]
test eax, eax
je 0x140015e81
mov dword [rbp + 0x17], 1
mov rax, qword [rbp - 0x31]
mov qword [rbp + 0x1b], rax
mov dword [rbp + 0x23], 2
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
mov r9d, 0x10
lea r8, [rbp + 0x17]
xor edx, edx
mov rcx, qword [rbp - 0x39]
call qword [0x1400bf768]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, 7
lea rdx, str.NOT_SET
lea rcx, [rdi + 0x2d0]
call fcn.140002490
mov r8, r15
mov rdx, rbx
mov rcx, rsi
call fcn.14001ea50
mov qword [r14 + 0x70], rsi
xor eax, eax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rax
mov qword [rbp - 1], rax
mov dword [rbp - 0x39], r13d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
lea rcx, [rbp - 0x29]
cmp dword [rbp - 0x39], 0
je 0x140015ef9
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
jmp 0x140015eff
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov qword [r14], 0x1000
mov qword [rdi + 0x180], r14
mov qword [rdi + 0x1c8], r14
mov rax, rdi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140043d60
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret