Function at 0x14001e000
Capabilities:
Acquire debug privileges

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x1400c8080]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rcx
mov qword [r11 - 0x50], rcx
xor r12d, r12d
mov qword [rcx], r12
mov qword [rcx + 8], r12
call fcn.14001ef30
mov qword [rdi], rax
lea rsi, [rdi + 0x10]
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, [0x1400ac068]
call fcn.1400051b0
nop
xor r8d, r8d
lea rdx, [0x1400ac068]
lea rcx, [rsi + 0x20]
call fcn.1400051b0
cmp rsi, rax
je 0x14001e0da
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14001e0ce
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
mov rcx, rsi
call fcn.1400051b0
mov dword [rsi + 0x40], r12d
mov byte [rsi + 0x88], 0
mov qword [rsi + 0x80], r12
lea r14, [rdi + 0xa0]
mov qword [rsp + 0x38], r14
mov qword [r14], 0x1000
lea rcx, [r14 + 8]
mov edx, 2
call fcn.140032d14
nop
lea rbx, [r14 + 0x58]
mov qword [rsp + 0x30], rbx
mov qword [rbx], r12
mov qword [rbx + 8], r12
call fcn.140024c20
mov qword [rbx], rax
mov qword [r14 + 0x70], r12
mov qword [rdi + 0x180], r12
mov dword [rdi + 0x13c], 0x4cbebc20
mov dword [rdi + 0x12c], 0x4cbebc20
mov dword [rdi + 0x128], 0x4cbebc20
mov dword [rdi + 0x124], 0x4cbebc20
mov dword [rdi + 0x120], 0x4cbebc20
mov dword [rdi + 0x11c], 0x4cbebc20
mov dword [rdi + 0x118], 0x4cbebc20
mov dword [rdi + 0x138], 0x4cbebc20
mov dword [rdi + 0x134], 0x4cbebc20
mov dword [rdi + 0x130], 0x4cbebc20
mov qword [rdi + 0x158], r12
mov qword [rdi + 0x150], r12
mov qword [rdi + 0x148], r12
mov qword [rdi + 0x140], r12
mov qword [rdi + 0x178], r12
mov qword [rdi + 0x170], r12
mov qword [rdi + 0x168], r12
mov qword [rdi + 0x160], r12
mov dword [rdi + 0x188], 0x60
mov dword [rdi + 0x18c], 0x61
mov dword [rdi + 0x190], 0x62
mov dword [rdi + 0x194], 0x63
mov dword [rdi + 0x198], 0x64
mov dword [rdi + 0x19c], 0x65
mov dword [rdi + 0x1a0], 0x66
mov dword [rdi + 0x1a4], 0x67
mov dword [rdi + 0x1a8], 0x68
mov dword [rdi + 0x1ac], 0x69
mov dword [rdi + 0x1b0], 0x6e
mov dword [rdi + 0x1b4], 0x6b
mov dword [rdi + 0x1b8], 0x6d
lea rbx, [rdi + 0x1c0]
mov qword [rsp + 0x38], rbx
lea rax, vtable.TrRemote.0
mov qword [rbx], rax
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], r12
lea rax, [rbx + 0x18]
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, [0x1400ac068]
call fcn.1400051b0
mov qword [rbx + 0x60], r12
mov qword [rbx + 0x68], 7
mov word [rbx + 0x50], r12w
lea rcx, [rbx + 0x70]
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], 7
mov word [rcx], r12w
lea rax, vtable.TrSpeedHack.0
mov qword [rbx], rax
mov r8d, 0x13
lea rdx, [0x1400affb8]
call fcn.1400051b0
nop
mov dword [rdi + 0x268], 0xffffffff
mov qword [rdi + 0x280], r12
mov qword [rdi + 0x288], 7
mov word [rdi + 0x270], r12w
mov qword [rdi + 0x2a0], r12
mov qword [rdi + 0x2a8], 7
mov word [rdi + 0x290], r12w
mov qword [rdi + 0x2c0], r12
mov qword [rdi + 0x2c8], 7
mov word [rdi + 0x2b0], r12w
mov qword [rdi + 0x2e0], r12
mov qword [rdi + 0x2e8], 7
mov word [rdi + 0x2d0], r12w
mov r8d, 0xf
lea rdx, str.KingdomCome.exe
lea rcx, [rdi + 0x270]
call fcn.1400051b0
mov r8d, 0xa
lea rdx, str.WHGame.dll
lea rcx, [rdi + 0x290]
call fcn.1400051b0
mov r8d, 7
lea rdx, str.5703204
lea rcx, [0x1400cdf10]
call fcn.140005c20
mov r8d, 0x19
lea rdx, str.Kingdom_Come:_Deliverance
lea rcx, [0x1400cdf30]
call fcn.140005c20
mov qword [rsp + 0x30], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x30]
mov edx, 0x28
call qword [0x1400cda38]
test eax, eax
je 0x14001e443
lea r8, [rsp + 0x38]
lea rdx, [0x1400af850]
xor ecx, ecx
call qword [0x1400cda40]
test eax, eax
je 0x14001e438
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x38]
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 + 0x30]
call qword [0x1400cda48]
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 + 0x2d0]
call fcn.1400051b0
lea r8, [rdi + 0x290]
lea rdx, [rdi + 0x270]
mov rcx, rsi
call fcn.1400261f0
mov qword [rdi + 0x110], rsi
mov qword [rdi + 0x180], r14
mov qword [rdi + 0x1c8], r14
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14004d980
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret