Function at 0x140050240
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x1400d6090]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, rcx
mov qword [rbp + 7], rcx
xor r13d, r13d
mov qword [rcx], r13
mov qword [rcx + 8], r13
mov ecx, 0x1e8
call fcn.1400752a4
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, [r13 + 2]
call fcn.140074354
nop
lea rbx, [rdi + 0x60]
mov qword [rbp - 0x29], rbx
mov qword [rbx], r13
mov qword [rbx + 8], r13
lea ecx, [r13 + 0x48]
call fcn.1400752a4
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
lea rsi, [rdi + 0x70]
mov qword [rbp - 0x29], rsi
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 7
mov word [rsi], r13w
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi + 0x30], r13
mov qword [rsi + 0x38], 7
mov word [rsi + 0x20], r13w
lea rax, [rsi + 0x48]
mov qword [rbp - 0x21], rax
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
lea rcx, [rax + 0x18]
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], r13
xor r8d, r8d
lea rdx, [0x1400bf394]
call fcn.140020ed0
nop
mov qword [0x1400d9e40], rsi
xor r8d, r8d
lea rdx, [0x1400bf394]
lea rcx, [rsi + 0x20]
call fcn.14001f130
cmp rsi, rax
je 0x140050378
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14005036d
mov rax, qword [rax]
mov rdx, rax
mov rcx, rsi
call fcn.14001f130
mov dword [rsi + 0x40], r13d
mov qword [rsi + 0x90], r13
mov byte [rsi + 0x88], 0
mov qword [rsi + 0x80], r13
lea r14, [rdi + 0x108]
mov qword [rbp - 0x29], r14
mov qword [r14], 0x1000
mov qword [r14 + 8], r13
mov qword [r14 + 0x10], r13
mov dword [r14 + 0x18], r13d
mov byte [r14 + 0x1c], 0
lea rcx, [r14 + 0x20]
mov edx, 2
call fcn.140074354
nop
lea rbx, [r14 + 0x70]
mov qword [rbp - 0x21], rbx
mov qword [rbx], r13
mov qword [rbx + 8], r13
mov ecx, 0x90
call fcn.1400752a4
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 + 0x88], r13
mov byte [r14 + 0x80], 0
mov qword [0x1400d9e38], r14
mov qword [rdi + 0x200], r13
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], r13
mov qword [rdi + 0x1d0], r13
mov qword [rdi + 0x1c8], r13
mov qword [rdi + 0x1c0], r13
mov qword [rdi + 0x1f8], r13
mov qword [rdi + 0x1f0], r13
mov qword [rdi + 0x1e8], r13
mov qword [rdi + 0x1e0], r13
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 r15, [rdi + 0x240]
mov qword [rbp - 0x29], r15
mov rcx, r15
call fcn.140055380
nop
lea rax, vtable.TrSpeedHack.0
mov qword [r15], rax
lea rcx, [r15 + 0x70]
mov r8d, SafeArrayUnaccessData
lea rdx, [0x1400c4e70]
call fcn.14001f130
nop
mov word [rdi + 0x2e8], 1
mov qword [rdi + 0x2f0], r13
mov dword [rdi + 0x2f8], 0xffffffff
xorps xmm0, xmm0
movups xmmword [rdi + 0x300], xmm0
mov qword [rdi + 0x310], r13
mov qword [rdi + 0x318], 7
mov word [rdi + 0x300], r13w
movups xmmword [rdi + 0x320], xmm0
xor ebx, ebx
mov qword [rdi + 0x330], rbx
mov qword [rdi + 0x338], 7
mov word [rdi + 0x320], bx
movups xmmword [rdi + 0x340], xmm0
mov qword [rdi + 0x350], rbx
mov qword [rdi + 0x358], 7
mov word [rdi + 0x340], bx
movups xmmword [rdi + 0x360], xmm0
mov qword [rdi + 0x370], rbx
mov qword [rdi + 0x378], 7
mov word [rdi + 0x360], bx
movups xmmword [rdi + 0x380], xmm0
mov qword [rdi + 0x390], rbx
mov qword [rdi + 0x398], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rdi + 0x380], bl
mov qword [0x1400d9e30], rdi
lea rax, [rbp - 0x19]
mov qword [rbp - 0x29], rax
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rbx
mov qword [rbp - 1], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp - 0x19], bl
movups xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], SafeArrayDestroy
mov qword [rbp + 0x27], reloc.OLEAUT32.dll_SafeArrayDestroy
movsd xmm0, qword [str.SkyrimSE.exe]
movsd qword [rbp + 0xf], xmm0
mov eax, dword [0x1400c6b28]
mov dword [rbp + 0x17], eax
mov byte [rbp + 0x1b], bl
lea r8, [rbp - 0x19]
lea rdx, [rbp + 0xf]
mov rcx, rdi
call fcn.140051180
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 0x10
jb 0x1400506ba
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400506b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400507bb
call fcn.140075270
mov qword [rbp - 0x21], rbx
mov rbx, qword [0x1400d9ca8]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp - 0x21]
mov edx, 0x28
call rbx
test eax, eax
je 0x14005073d
mov rax, qword [0x1400d9cb0]
lea r8, [rbp - 0x29]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call rax
test eax, eax
je 0x140050733
mov dword [rbp + 0xf], 1
mov rax, qword [rbp - 0x29]
mov qword [rbp + 0x13], rax
mov dword [rbp + 0x1b], 2
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
lea r9d, [rax + 0x10]
lea r8, [rbp + 0xf]
xor edx, edx
mov rcx, qword [rbp - 0x21]
call qword [0x1400d9cb8]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [rdi + 0x2f0], rax
mov r8d, 7
lea rdx, str.NOT_SET
lea rcx, [rdi + 0x360]
call fcn.14001f130
lea r8, [rdi + 0x320]
lea rdx, [rdi + 0x300]
mov rcx, rsi
call fcn.140053c30
mov qword [r14 + 0x88], rsi
mov qword [rdi + 0x200], r14
mov qword [r15 + 8], r14
mov rax, rdi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140075250
lea r11, [rsp + 0x90]
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
call fcn.14007bea4
nop
int3