Function at 0x140029cc0
Capabilities:
Acquire debug privileges

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov qword [r11 - 0x68], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x1400ab088]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, rcx
mov qword [r11 - 0x60], rcx
xor r12d, r12d
mov qword [rcx], r12
mov qword [rcx + 8], r12
call fcn.14002a7c0
mov qword [rdi], rax
lea rcx, [rdi + 0x10]
lea edx, [r12 + 2]
call fcn.14003435c
nop
lea rbx, [rdi + 0x60]
mov qword [rsp + 0x30], rbx
mov qword [rbx], r12
mov qword [rbx + 8], r12
call fcn.1400060c0
mov qword [rbx], rax
lea rsi, [rdi + 0x70]
mov qword [rsp + 0x30], 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 + 0x38], 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, [0x14008d7e0]
call fcn.140002170
nop
xor r8d, r8d
lea rdx, [0x14008d7e0]
lea rcx, [rsi + 0x20]
call fcn.140002170
cmp rsi, rax
je 0x140029dc4
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140029db8
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
mov rcx, rsi
call fcn.140002170
mov dword [rsi + 0x40], r12d
mov qword [rsi + 0x90], r12
mov byte [rsi + 0x88], 0
mov qword [rsi + 0x80], r12
lea r14, [rdi + 0x108]
mov qword [rsp + 0x30], r14
mov qword [r14], 0x1000
mov qword [r14 + 8], r12
mov qword [r14 + 0x10], r12
mov dword [r14 + 0x18], r12d
mov byte [r14 + 0x1c], 0
lea rcx, [r14 + 0x20]
mov edx, 2
call fcn.14003435c
nop
lea rbx, [r14 + 0x70]
mov qword [rsp + 0x38], rbx
mov qword [rbx], r12
mov qword [rbx + 8], r12
call fcn.14002f230
mov qword [rbx], rax
mov qword [r14 + 0x88], r12
mov byte [r14 + 0x80], 0
mov qword [0x1400b05f8], r14
mov qword [rdi + 0x200], r12
mov dword [rdi + 0x1bc], 0x4cbebc20
mov dword [rdi + 0x1ac], 0x4cbebc20
mov dword [rdi + 0x1a8], 0x4cbebc20
mov dword [rdi + 0x1a4], 0x4cbebc20
mov dword [rdi + 0x1a0], 0x4cbebc20
mov dword [rdi + 0x19c], 0x4cbebc20
mov dword [rdi + 0x198], 0x4cbebc20
mov dword [rdi + 0x1b8], 0x4cbebc20
mov dword [rdi + 0x1b4], 0x4cbebc20
mov dword [rdi + 0x1b0], 0x4cbebc20
mov qword [rdi + 0x1d8], r12
mov qword [rdi + 0x1d0], r12
mov qword [rdi + 0x1c8], r12
mov qword [rdi + 0x1c0], r12
mov qword [rdi + 0x1f8], r12
mov qword [rdi + 0x1f0], r12
mov qword [rdi + 0x1e8], r12
mov qword [rdi + 0x1e0], r12
mov dword [rdi + 0x208], 0x60
mov dword [rdi + 0x20c], 0x61
mov dword [rdi + 0x210], 0x62
mov dword [rdi + 0x214], 0x63
mov dword [rdi + 0x218], 0x64
mov dword [rdi + 0x21c], 0x65
mov dword [rdi + 0x220], 0x66
mov dword [rdi + 0x224], 0x67
mov dword [rdi + 0x228], 0x68
mov dword [rdi + 0x22c], 0x69
mov dword [rdi + 0x230], 0x6e
mov dword [rdi + 0x234], 0x6b
mov dword [rdi + 0x238], 0x6d
lea rbx, [rdi + 0x240]
mov qword [rsp + 0x30], rbx
mov rcx, rbx
call fcn.140031b20
nop
lea rax, vtable.TrSpeedHack.0
mov qword [rbx], rax
lea rcx, [rbx + 0x70]
mov r8d, 0x13
lea rdx, [0x140096fc0]
call fcn.140002170
nop
mov word [rdi + 0x2e8], 1
mov dword [rdi + 0x2ec], 0xffffffff
lea r15, [rdi + 0x2f0]
mov qword [r15 + 0x10], r12
mov qword [r15 + 0x18], 7
mov word [r15], r12w
lea rbx, [rdi + 0x310]
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
mov qword [rdi + 0x340], r12
mov qword [rdi + 0x348], 7
mov word [rdi + 0x330], r12w
mov qword [rdi + 0x360], r12
mov qword [rdi + 0x368], 7
mov word [rdi + 0x350], r12w
mov r8d, 0x12
lea rdx, str.HogwartsLegacy.exe
mov rcx, r15
call fcn.140002170
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.140012e20
lea rax, [rsp + 0x50]
cmp rbx, rax
je 0x14002a055
mov rcx, rbx
call fcn.140001f20
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rbx + 0x10], xmm1
jmp 0x14002a097
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14002a097
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a092
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a186
call fcn.1400357d4
mov qword [rsp + 0x38], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x38]
mov edx, 0x28
call qword [0x1400b0568]
test eax, eax
je 0x14002a11e
lea r8, [rsp + 0x30]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [0x1400b0570]
test eax, eax
je 0x14002a113
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x54], rax
mov dword [rsp + 0x5c], 2
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
mov r9d, 0x10
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [0x1400b0578]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, 7
lea rdx, str.NOT_SET
lea rcx, [rdi + 0x350]
call fcn.140002170
mov r8, rbx
mov rdx, r15
mov rcx, rsi
call fcn.140030c30
mov qword [rdi + 0x190], rsi
mov qword [rdi + 0x200], r14
mov qword [rdi + 0x248], r14
mov rax, rdi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400357b0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.140056d64
nop
int3