Function at 0x1400263f0
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 [0x140074040]
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, 0x128
call fcn.140030924
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]
mov dword [rcx], r13d
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
movups xmmword [rcx + 0x28], xmm0
movups xmmword [rcx + 0x38], xmm0
mov qword [rcx + 0x48], r13
lea edx, [r13 + 2]
call fcn.1400300e0
nop
lea rsi, [rdi + 0x60]
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
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 [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, [0x140063f60]
call fcn.140002870
nop
xor r8d, r8d
lea rdx, [0x140063f60]
lea rcx, [rsi + 0x20]
call fcn.1400022f0
cmp rsi, rax
je 0x14002650f
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x140026504
mov rax, qword [rax]
mov rdx, rax
mov rcx, rsi
call fcn.1400022f0
mov dword [rsi + 0x40], r13d
mov qword [rsi + 0x90], r13
mov byte [rsi + 0x88], 0
mov qword [rsi + 0x80], r13
lea r14, [rdi + 0xf8]
mov qword [rsp + 0x38], r14
mov qword [r14], 0x1000
lea rcx, [r14 + 8]
mov dword [rcx], r13d
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
movups xmmword [rcx + 0x28], xmm0
movups xmmword [rcx + 0x38], xmm0
mov qword [rcx + 0x48], r13
mov edx, 2
call fcn.1400300e0
nop
lea rbx, [r14 + 0x58]
mov qword [rsp + 0x30], rbx
mov qword [rbx], r13
mov qword [rbx + 8], r13
mov ecx, 0x90
call fcn.140030924
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], r13
mov byte [r14 + 0x68], 0
mov qword [0x1400773f0], r14
mov qword [rdi + 0x1d8], r13
mov dword [rdi + 0x194], 0x4cbebc20
mov dword [rdi + 0x184], 0x4cbebc20
mov dword [rdi + 0x180], 0x4cbebc20
mov dword [rdi + 0x17c], 0x4cbebc20
mov dword [rdi + 0x178], 0x4cbebc20
mov dword [rdi + 0x174], 0x4cbebc20
mov dword [rdi + 0x170], 0x4cbebc20
mov dword [rdi + 0x190], 0x4cbebc20
mov dword [rdi + 0x18c], 0x4cbebc20
mov dword [rdi + 0x188], 0x4cbebc20
mov qword [rdi + 0x1b0], r13
mov qword [rdi + 0x1a8], r13
mov qword [rdi + 0x1a0], r13
mov qword [rdi + 0x198], r13
mov qword [rdi + 0x1d0], r13
mov qword [rdi + 0x1c8], r13
mov qword [rdi + 0x1c0], r13
mov qword [rdi + 0x1b8], r13
mov dword [rdi + 0x1e0], 0x60
mov dword [rdi + 0x1e4], 0x61
mov dword [rdi + 0x1e8], 0x62
mov dword [rdi + 0x1ec], 0x63
mov dword [rdi + 0x1f0], 0x64
mov dword [rdi + 0x1f4], 0x65
mov dword [rdi + 0x1f8], 0x66
mov dword [rdi + 0x1fc], 0x67
mov dword [rdi + 0x200], 0x68
mov dword [rdi + 0x204], 0x69
mov dword [rdi + 0x208], 0x6e
mov dword [rdi + 0x20c], 0x6b
mov dword [rdi + 0x210], 0x6d
lea r12, [rdi + 0x218]
mov qword [rsp + 0x38], r12
mov rcx, r12
call fcn.14002e280
nop
lea rax, vtable.TrSpeedHack.0
mov qword [r12], rax
lea rcx, [r12 + 0x70]
mov r8d, SafeArrayGetElement
lea rdx, str.TrSpeedHack_x64.dll
call fcn.1400022f0
nop
mov dword [rdi + 0x2c0], 0xffffffff
lea r15, [rdi + 0x2c8]
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], 7
mov word [r15], r13w
lea rbp, [rdi + 0x2e8]
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], 7
mov word [rbp], r13w
movups xmmword [rdi + 0x308], xmm0
mov qword [rdi + 0x318], r13
mov qword [rdi + 0x320], 7
mov word [rdi + 0x308], r13w
movups xmmword [rdi + 0x328], xmm0
xor ebx, ebx
mov qword [rdi + 0x338], rbx
mov qword [rdi + 0x340], 7
mov word [rdi + 0x328], bx
lea r8d, [rbx + 8]
lea rdx, str.hoi4.exe
mov rcx, r15
call fcn.1400022f0
mov rdx, r15
lea rcx, [rsp + 0x48]
call fcn.1400113f0
lea rdx, [rsp + 0x48]
mov rcx, rbp
call fcn.140001df0
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x1400267f9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400267f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400268eb
call fcn.1400308f0
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x140077258]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x30]
mov edx, 0x28
call rbx
test eax, eax
je 0x140026886
mov rax, qword [0x140077260]
lea r8, [rsp + 0x38]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call rax
test eax, eax
je 0x14002687b
mov dword [rsp + 0x48], 1
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x4c], rax
mov dword [rsp + 0x54], 2
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
lea r9d, [rax + 0x10]
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [0x140077268]
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 + 0x328]
call fcn.1400022f0
mov r8, rbp
mov rdx, r15
mov rcx, rsi
call fcn.14002d1a0
mov qword [r14 + 0x70], rsi
mov qword [rdi + 0x1d8], r14
mov qword [r12 + 8], r14
mov rax, rdi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400308d0
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.1400377ec
nop
int3