Function at 0x140034660
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 [0x140081040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r15d, r15d
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov ecx, 0x1b0
call fcn.14003cb04
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], r15d
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
movups xmmword [rcx + 0x28], xmm0
movups xmmword [rcx + 0x38], xmm0
mov qword [rcx + 0x48], r15
lea edx, [r15 + 2]
call fcn.14003c2c0
nop
lea rbx, [rdi + 0x60]
mov qword [rsp + 0x38], rbx
mov qword [rbx], r15
mov qword [rbx + 8], r15
lea ecx, [r15 + 0x48]
call fcn.14003cb04
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], r15
mov qword [rsi + 0x18], 7
mov word [rsi], r15w
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi + 0x30], r15
mov qword [rsi + 0x38], 7
mov word [rsi + 0x20], r15w
lea rax, [rsi + 0x48]
mov qword [rsp + 0x30], rax
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
lea rcx, [rax + 0x18]
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], r15
xor r8d, r8d
lea rdx, [0x14006f06c]
call fcn.140008090
nop
xor r8d, r8d
lea rdx, [0x14006f06c]
lea rcx, [rsi + 0x20]
call fcn.140007910
cmp rsi, rax
je 0x1400347ac
mov rdx, rax
cmp qword [rax + 0x18], 7
jbe 0x1400347a0
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
mov rcx, rsi
call fcn.140007910
mov dword [rsi + 0x40], r15d
mov qword [rsi + 0x90], r15
mov byte [rsi + 0x88], 0
mov qword [rsi + 0x80], r15
lea r14, [rdi + 0x108]
mov qword [rsp + 0x38], r14
mov qword [r14], 0x1000
lea rcx, [r14 + 8]
mov dword [rcx], r15d
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
movups xmmword [rcx + 0x28], xmm0
movups xmmword [rcx + 0x38], xmm0
mov qword [rcx + 0x48], r15
mov edx, 2
call fcn.14003c2c0
nop
lea rbx, [r14 + 0x58]
mov qword [rsp + 0x30], rbx
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov ecx, 0x90
call fcn.14003cb04
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
lea rbx, [r14 + 0x68]
mov qword [rsp + 0x30], rbx
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov ecx, 0x30
call fcn.14003cb04
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 + 0x80], r15
mov byte [r14 + 0x78], 0
mov qword [0x140084450], r14
mov qword [rdi + 0x1f8], r15
mov dword [rdi + 0x1b4], 0x4cbebc20
mov dword [rdi + 0x1a4], 0x4cbebc20
mov dword [rdi + 0x1a0], 0x4cbebc20
mov dword [rdi + 0x19c], 0x4cbebc20
mov dword [rdi + 0x198], 0x4cbebc20
mov dword [rdi + 0x194], 0x4cbebc20
mov dword [rdi + 0x190], 0x4cbebc20
mov dword [rdi + 0x1b0], 0x4cbebc20
mov dword [rdi + 0x1ac], 0x4cbebc20
mov dword [rdi + 0x1a8], 0x4cbebc20
mov qword [rdi + 0x1d0], r15
mov qword [rdi + 0x1c8], r15
mov qword [rdi + 0x1c0], r15
mov qword [rdi + 0x1b8], r15
mov qword [rdi + 0x1f0], r15
mov qword [rdi + 0x1e8], r15
mov qword [rdi + 0x1e0], r15
mov qword [rdi + 0x1d8], r15
mov dword [rdi + 0x200], 0x60
mov dword [rdi + 0x204], 0x61
mov dword [rdi + 0x208], 0x62
mov dword [rdi + 0x20c], 0x63
mov dword [rdi + 0x210], 0x64
mov dword [rdi + 0x214], 0x65
mov dword [rdi + 0x218], 0x66
mov dword [rdi + 0x21c], 0x67
mov dword [rdi + 0x220], 0x68
mov dword [rdi + 0x224], 0x69
mov dword [rdi + 0x228], 0x6e
mov dword [rdi + 0x22c], 0x6b
mov dword [rdi + 0x230], 0x6d
lea rbx, [rdi + 0x238]
mov qword [rsp + 0x38], rbx
mov rcx, rbx
call fcn.14003a4b0
nop
lea rax, vtable.TrSpeedHack.0
mov qword [rbx], rax
lea rcx, [rbx + 0x70]
mov r8d, SafeArrayUnaccessData
lea rdx, str.TrSpeedHack_x64.dll
call fcn.140007910
nop
mov word [rdi + 0x2e0], 1
mov dword [rdi + 0x2e4], 0xffffffff
lea rbp, [rdi + 0x2e8]
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], 7
mov word [rbp], r15w
lea r12, [rdi + 0x308]
movups xmmword [r12], xmm0
mov qword [r12 + 0x10], r15
mov qword [r12 + 0x18], 7
mov word [r12], r15w
movups xmmword [rdi + 0x328], xmm0
mov qword [rdi + 0x338], r15
mov qword [rdi + 0x340], 7
mov word [rdi + 0x328], r15w
movups xmmword [rdi + 0x348], xmm0
mov qword [rdi + 0x358], r15
mov qword [rdi + 0x360], 7
mov word [rdi + 0x348], r15w
lea r15, [rdi + 0x368]
mov qword [rsp + 0x38], r15
lea rax, vtable.TrSharedMemPipe.0
mov qword [r15], rax
lea rbx, [r15 + 8]
mov qword [rsp + 0x30], rbx
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
lea ecx, [rax + 0x38]
call fcn.14003cb04
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
xor ecx, ecx
mov qword [r15 + 0x18], rcx
mov byte [r15 + 0x20], cl
lea rax, vtable.TrMonoClient.0
mov qword [r15], rax
lea rbx, [r15 + 0x30]
mov qword [rsp + 0x30], rbx
mov qword [rbx], rcx
mov qword [rbx + 8], rcx
mov ecx, 0x60
call fcn.14003cb04
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
xor ebx, ebx
mov qword [r15 + 0x40], rbx
mov qword [r15 + 0x48], rbx
mov qword [r15 + 0x50], rbx
mov qword [r15 + 0x58], rbx
mov qword [r15 + 0x60], rbx
mov qword [r15 + 0x68], rbx
mov byte [r15 + 0x78], bl
lea rcx, [r15 + 0x80]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], 7
mov word [rcx], bx
movups xmmword [r15 + 0xa0], xmm0
mov qword [r15 + 0xb0], rbx
mov qword [r15 + 0xb8], 7
mov word [r15 + 0xa0], bx
lea r8d, [rbx + 0x10]
lea rdx, [0x14006ef00]
call fcn.140007910
mov qword [0x140084230], r15
lea r8d, [rbx + 0x13]
lea rdx, str.SongsOfConquest.exe
mov rcx, rbp
call fcn.140007910
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
lea r8d, [rbx + 0x10]
lea rdx, [0x1400756a8]
lea rcx, [rsp + 0x48]
call fcn.140008090
lea rdx, [rsp + 0x48]
mov rcx, r12
call fcn.140007510
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140034be3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034bde
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034ce2
call fcn.14003cad0
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x30]
mov edx, 0x28
call qword [0x1400842c8]
test eax, eax
je 0x140034c6a
lea r8, [rsp + 0x38]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [0x1400842d0]
test eax, eax
je 0x140034c5f
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 [0x1400842d8]
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 + 0x348]
call fcn.140007910
mov r8, r12
mov rdx, rbp
mov rcx, rsi
call fcn.140039580
mov qword [rdi + 0x188], rsi
mov qword [rdi + 0x1f8], r14
mov qword [rdi + 0x240], r14
mov qword [rdi + 0x3d8], r14
mov qword [0x140084240], r15
mov rax, rdi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14003cab0
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.1400439cc
nop
int3