Function at 0x1400228d0
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x14009c048]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r12d, r12d
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov ecx, 0x110
call fcn.14002e9a8
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rdi], rax
lea rcx, [rdi + 0x10]
lea edx, [r12 + 2]
call fcn.14002d8e8
nop
lea rsi, [rdi + 0x60]
mov qword [rsp + 0x38], rsi
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 7
mov word [rsi], r12w
mov qword [rsi + 0x30], r12
mov qword [rsi + 0x38], 7
mov word [rsi + 0x20], r12w
lea rax, [rsi + 0x48]
mov qword [rsp + 0x30], rax
mov qword [rax], r12
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
lea rcx, [rax + 0x18]
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], 7
mov word [rcx], r12w
xor r8d, r8d
lea rdx, [0x1400867c8]
call fcn.140001fa0
nop
xor r8d, r8d
lea rdx, [0x1400867c8]
lea rcx, [rsi + 0x20]
call fcn.140001fa0
cmp rsi, rax
je 0x1400229c7
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x1400229bb
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
mov rcx, rsi
call fcn.140001fa0
mov dword [rsi + 0x40], r12d
mov byte [rsi + 0x88], 0
mov qword [rsi + 0x80], r12
lea r14, [rdi + 0xf0]
mov qword [rsp + 0x38], r14
mov qword [r14], 0x1000
lea rcx, [r14 + 8]
mov edx, 2
call fcn.14002d8e8
nop
lea rbx, [r14 + 0x58]
mov qword [rsp + 0x30], rbx
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov ecx, 0x90
call fcn.14002e9a8
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
mov qword [r14 + 0x70], r12
mov qword [rdi + 0x1d0], r12
mov dword [rdi + 0x18c], 0x4cbebc20
mov dword [rdi + 0x17c], 0x4cbebc20
mov dword [rdi + 0x178], 0x4cbebc20
mov dword [rdi + 0x174], 0x4cbebc20
mov dword [rdi + 0x170], 0x4cbebc20
mov dword [rdi + 0x16c], 0x4cbebc20
mov dword [rdi + 0x168], 0x4cbebc20
mov dword [rdi + 0x188], 0x4cbebc20
mov dword [rdi + 0x184], 0x4cbebc20
mov dword [rdi + 0x180], 0x4cbebc20
mov qword [rdi + 0x1a8], r12
mov qword [rdi + 0x1a0], r12
mov qword [rdi + 0x198], r12
mov qword [rdi + 0x190], r12
mov qword [rdi + 0x1c8], r12
mov qword [rdi + 0x1c0], r12
mov qword [rdi + 0x1b8], r12
mov qword [rdi + 0x1b0], r12
mov dword [rdi + 0x1d8], 0x60
mov dword [rdi + 0x1dc], 0x61
mov dword [rdi + 0x1e0], 0x62
mov dword [rdi + 0x1e4], 0x63
mov dword [rdi + 0x1e8], 0x64
mov dword [rdi + 0x1ec], 0x65
mov dword [rdi + 0x1f0], 0x66
mov dword [rdi + 0x1f4], 0x67
mov dword [rdi + 0x1f8], 0x68
mov dword [rdi + 0x1fc], 0x69
mov dword [rdi + 0x200], 0x6e
mov dword [rdi + 0x204], 0x6b
mov dword [rdi + 0x208], 0x6d
lea rbx, [rdi + 0x210]
mov qword [rsp + 0x38], rbx
mov rcx, rbx
call fcn.14002b6b0
nop
lea rax, vtable.TrSpeedHack.0
mov qword [rbx], rax
lea rcx, [rbx + 0x70]
mov r8d, SafeArrayUnaccessData
lea rdx, [0x14008dd88]
call fcn.140001fa0
nop
mov dword [rdi + 0x2b8], 0xffffffff
lea rbx, [rdi + 0x2c0]
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
lea r15, [rdi + 0x2e0]
mov qword [r15 + 0x10], r12
mov qword [r15 + 0x18], 7
mov word [r15], r12w
mov qword [rdi + 0x310], r12
mov qword [rdi + 0x318], 7
mov word [rdi + 0x300], r12w
mov qword [rdi + 0x330], r12
mov qword [rdi + 0x338], 7
mov word [rdi + 0x320], r12w
mov qword [rdi + 0x350], r12
mov qword [rdi + 0x358], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rdi + 0x340], 0
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rdx, str.Borderlands3.exe
mov rcx, rbx
call fcn.140001fa0
cmp r15, rbx
je 0x140022c40
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140022c34
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, r15
call fcn.140001fa0
mov dword [0x1400a0b20], 0x4d8
mov dword [0x1400a0b14], 0x2da
mov qword [rsp + 0x30], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x30]
mov edx, 0x28
call qword [0x1400a0aa8]
test eax, eax
je 0x140022cdb
lea r8, [rsp + 0x38]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [0x1400a0ab0]
test eax, eax
je 0x140022cd0
mov dword [rsp + 0x48], 1
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x4c], rax
mov dword [rsp + 0x54], 2
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [0x1400a0ab8]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, 7
lea rdx, str.NOT_SET
lea rcx, [rdi + 0x320]
call fcn.140001fa0
mov r8, r15
mov rdx, rbx
mov rcx, rsi
call fcn.14002a9d0
mov qword [rdi + 0x160], rsi
mov qword [rdi + 0x1d0], r14
mov qword [rdi + 0x218], r14
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14002e950
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret