Function at 0x1400267c0
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x14006e048]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r13d, r13d
mov qword [rcx], r13
mov qword [rcx + 8], r13
mov ecx, 0x1b0
call fcn.14002e664
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.14002de8c
nop
lea rbx, [rdi + 0x60]
mov qword [rsp + 0x38], rbx
mov qword [rbx], r13
mov qword [rbx + 8], r13
lea ecx, [r13 + 0x48]
call fcn.14002e664
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 [rsp + 0x38], rsi
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 7
mov word [rsi], r13w
lea r14, [rsi + 0x20]
movups xmmword [r14], xmm0
lea rbx, [r14 + 0x10]
mov qword [rbx], r13
mov qword [r14 + 0x18], 7
mov word [r14], r13w
lea rax, [rsi + 0x48]
mov qword [rsp + 0x30], 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, [0x14005ef90]
call fcn.1400022e0
nop
mov rax, r14
cmp qword [r14 + 0x18], 8
jb 0x1400268d0
mov rax, qword [r14]
mov qword [rbx], r13
mov word [rax], r13w
cmp rsi, r14
je 0x140026926
cmp qword [r14 + 0x18], 8
jb 0x1400268e6
mov r14, qword [r14]
mov rdx, qword [rbx]
mov rax, qword [rsi + 0x18]
cmp rdx, rax
ja 0x14002691b
mov rbp, rsi
cmp rax, 8
jb 0x1400268fe
mov rbp, qword [rsi]
mov qword [rsi + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r14
mov rcx, rbp
call fcn.140030a90
mov word [rbx + rbp], r13w
jmp 0x140026926
mov r9, r14
mov rcx, rsi
call fcn.140002930
mov dword [rsi + 0x40], r13d
mov qword [rsi + 0x90], r13
mov byte [rsi + 0x88], 0
mov qword [rsi + 0x80], r13
lea r15, [rdi + 0x108]
mov qword [rsp + 0x38], r15
mov qword [r15], 0x1000
lea rcx, [r15 + 8]
mov edx, 2
call fcn.14002de8c
nop
lea rbx, [r15 + 0x58]
mov qword [rsp + 0x30], rbx
mov qword [rbx], r13
mov qword [rbx + 8], r13
mov ecx, 0x90
call fcn.14002e664
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 [r15 + 0x70], r13
mov byte [r15 + 0x68], 0
mov qword [0x140071430], r15
mov qword [rdi + 0x1e8], r13
mov dword [rdi + 0x1a4], 0x4cbebc20
mov dword [rdi + 0x194], 0x4cbebc20
mov dword [rdi + 0x190], 0x4cbebc20
mov dword [rdi + 0x18c], 0x4cbebc20
mov dword [rdi + 0x188], 0x4cbebc20
mov dword [rdi + 0x184], 0x4cbebc20
mov dword [rdi + 0x180], 0x4cbebc20
mov dword [rdi + 0x1a0], 0x4cbebc20
mov dword [rdi + 0x19c], 0x4cbebc20
mov dword [rdi + 0x198], 0x4cbebc20
mov qword [rdi + 0x1c0], r13
mov qword [rdi + 0x1b8], r13
mov qword [rdi + 0x1b0], r13
mov qword [rdi + 0x1a8], r13
mov qword [rdi + 0x1e0], r13
mov qword [rdi + 0x1d8], r13
mov qword [rdi + 0x1d0], r13
mov qword [rdi + 0x1c8], r13
mov dword [rdi + 0x1f0], 0x60
mov dword [rdi + 0x1f4], 0x61
mov dword [rdi + 0x1f8], 0x62
mov dword [rdi + 0x1fc], 0x63
mov dword [rdi + 0x200], 0x64
mov dword [rdi + 0x204], 0x65
mov dword [rdi + 0x208], 0x66
mov dword [rdi + 0x20c], 0x67
mov dword [rdi + 0x210], 0x68
mov dword [rdi + 0x214], 0x69
mov dword [rdi + 0x218], 0x6e
mov dword [rdi + 0x21c], 0x6b
mov dword [rdi + 0x220], 0x6d
lea rbx, [rdi + 0x228]
mov qword [rsp + 0x38], rbx
mov rcx, rbx
call fcn.14002bbd0
nop
lea rax, vtable.TrSpeedHack.0
mov qword [rbx], rax
lea rcx, [rbx + 0x70]
cmp qword [rcx + 0x18], 0x13
jb 0x140026b15
mov rbx, qword [rcx]
mov qword [rcx + 0x10], SafeArrayUnaccessData
mov r8d, 0x26
lea rdx, [0x140064000]
mov rcx, rbx
call fcn.140030a90
mov word [rbx + 0x26], r13w
jmp 0x140026b27
lea r9, [0x140064000]
mov edx, SafeArrayUnaccessData
call fcn.140002930
nop
mov word [rdi + 0x2d0], 1
mov dword [rdi + 0x2d4], 0xffffffff
lea rbp, [rdi + 0x2d8]
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], 7
mov word [rbp], r13w
lea r12, [rdi + 0x2f8]
movups xmmword [r12], xmm0
mov qword [r12 + 0x10], r13
mov qword [r12 + 0x18], 7
mov word [r12], r13w
movups xmmword [rdi + 0x318], xmm0
mov qword [rdi + 0x328], r13
mov qword [rdi + 0x330], 7
mov word [rdi + 0x318], r13w
lea r14, [rdi + 0x338]
movups xmmword [r14], xmm0
lea r13, [r14 + 0x10]
xor ebx, ebx
mov qword [r13], rbx
mov qword [r14 + 0x18], 7
mov word [r14], bx
cmp qword [rbp + 0x18], 0xd
jb 0x140026bec
mov rbx, qword [rbp]
mov qword [rbp + 0x10], SafeArrayDestroy
mov r8d, 0x1a
lea rdx, str.victoria3.exe
mov rcx, rbx
call fcn.140030a90
xor eax, eax
mov word [rbx + 0x1a], ax
xor ebx, ebx
jmp 0x140026c00
lea r9, str.victoria3.exe
mov edx, SafeArrayDestroy
mov rcx, rbp
call fcn.140002930
mov rdx, rbp
lea rcx, [rsp + 0x48]
call fcn.140012dd0
lea rdx, [rsp + 0x48]
mov rcx, r12
call fcn.140001d20
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140026c5c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026c57
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140026d7f
call fcn.14002e630
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x30]
mov edx, 0x28
call qword [0x140071298]
test eax, eax
je 0x140026ce3
lea r8, [rsp + 0x38]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [0x1400712a0]
test eax, eax
je 0x140026cd8
mov dword [rsp + 0x48], 1
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x4c], rax
mov dword [rsp + 0x54], 2
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
mov r9d, 0x10
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [0x1400712a8]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [r14 + 0x18]
cmp rax, 7
jb 0x140026d1a
cmp rax, 8
jb 0x140026cf6
mov r14, qword [r14]
mov qword [r13], 7
mov r8d, SafeArrayDestroy
lea rdx, str.NOT_SET
mov rcx, r14
call fcn.140030a90
mov word [r14 + 0xe], bx
jmp 0x140026d2e
lea r9, str.NOT_SET
mov edx, 7
mov rcx, r14
call fcn.140002930
mov r8, r12
mov rdx, rbp
mov rcx, rsi
call fcn.14002add0
mov qword [rdi + 0x178], rsi
mov qword [rdi + 0x1e8], r15
mov qword [rdi + 0x230], r15
mov rax, rdi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14002e610
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140034fb4
nop
int3