Function at 0x140029830
Capabilities:
Acquire debug privileges

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400a7088]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
mov qword [rbp - 0x38], rcx
xor r12d, r12d
mov qword [rcx], r12
mov qword [rcx + 8], r12
call fcn.14002a2b0
mov qword [rdi], rax
lea rcx, [rdi + 0x10]
lea edx, [r12 + 2]
call fcn.1400355ac
nop
lea rsi, [rdi + 0x60]
mov qword [rbp - 0x48], 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 [rbp - 0x50], 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, [0x14008e850]
call fcn.1400071d0
nop
xor r8d, r8d
lea rdx, [0x14008e850]
lea rcx, [rsi + 0x20]
call fcn.1400071d0
cmp rsi, rax
je 0x140029921
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x140029915
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
mov rcx, rsi
call fcn.1400071d0
mov dword [rsi + 0x40], r12d
mov qword [rsi + 0x90], r12
mov byte [rsi + 0x88], 0
mov qword [rsi + 0x80], r12
lea r15, [rdi + 0xf8]
mov qword [rbp - 0x48], r15
mov qword [r15], 0x1000
lea rcx, [r15 + 8]
mov edx, 2
call fcn.1400355ac
nop
lea rbx, [r15 + 0x58]
mov qword [rbp - 0x50], rbx
mov qword [rbx], r12
mov qword [rbx + 8], r12
call fcn.140030730
mov qword [rbx], rax
lea rbx, [r15 + 0x68]
mov qword [rbp - 0x50], rbx
mov qword [rbx], r12
mov qword [rbx + 8], r12
call fcn.140030760
mov qword [rbx], rax
mov qword [r15 + 0x80], r12
mov byte [r15 + 0x78], 0
mov qword [0x1400ac4a0], r15
mov qword [rdi + 0x1e8], r12
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], r12
mov qword [rdi + 0x1b8], r12
mov qword [rdi + 0x1b0], r12
mov qword [rdi + 0x1a8], r12
mov qword [rdi + 0x1e0], r12
mov qword [rdi + 0x1d8], r12
mov qword [rdi + 0x1d0], r12
mov qword [rdi + 0x1c8], r12
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 [rbp - 0x48], rbx
mov rcx, rbx
call fcn.140032ef0
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.1400071d0
nop
mov dword [rdi + 0x2d0], 0xffffffff
mov qword [rdi + 0x2e8], r12
mov qword [rdi + 0x2f0], 7
mov word [rdi + 0x2d8], r12w
lea r14, [rdi + 0x2f8]
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], 7
mov word [r14], r12w
mov qword [rdi + 0x328], r12
mov qword [rdi + 0x330], 7
mov word [rdi + 0x318], r12w
mov qword [rdi + 0x348], r12
mov qword [rdi + 0x350], 7
mov word [rdi + 0x338], r12w
lea r12, [rdi + 0x358]
mov qword [rbp - 0x48], r12
lea rax, vtable.TrSharedMemPipe.0
mov qword [r12], rax
lea rbx, [r12 + 8]
mov qword [rbp - 0x50], rbx
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
call fcn.140007dc0
mov qword [rbx], rax
xor ecx, ecx
mov qword [r12 + 0x18], rcx
mov byte [r12 + 0x20], cl
lea rax, vtable.TrMonoClient.0
mov qword [r12], rax
mov qword [r12 + 0x30], rcx
mov qword [r12 + 0x38], rcx
mov qword [r12 + 0x40], rcx
mov qword [r12 + 0x48], rcx
mov qword [r12 + 0x50], rcx
mov qword [r12 + 0x58], rcx
lea rbx, [r12 + 0x60]
mov qword [rbp - 0x50], rbx
mov qword [rbx], rcx
mov qword [rbx + 8], rcx
call fcn.140007d30
mov qword [rbx], rax
mov byte [r12 + 0x78], 0
lea rcx, [r12 + 0x80]
xor ebx, ebx
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], 7
mov word [rcx], bx
mov qword [r12 + 0xb0], rbx
mov qword [r12 + 0xb8], 7
mov word [r12 + 0xa0], bx
lea r8d, [rbx + 0x10]
lea rdx, str.TrMonoServer.dll
call fcn.1400071d0
mov qword [0x1400ac280], r12
lea r8d, [rbx + 0x11]
lea rdx, str.hollow_knight.exe
lea rcx, [rdi + 0x2d8]
call fcn.1400071d0
movdqa xmm0, xmmword [0x140093bc0]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], bx
lea r8d, [rbx + 0x10]
lea rdx, str.GameAssembly.dll
lea rcx, [rbp - 0x30]
call fcn.1400071d0
lea rax, [rbp - 0x30]
cmp r14, rax
je 0x140029c95
mov rcx, r14
call fcn.140006f00
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [r14 + 0x10], xmm1
jmp 0x140029cd5
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140029cd5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029cd0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029dd0
call fcn.140036a24
mov qword [rbp - 0x50], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp - 0x50]
mov edx, 0x28
call qword [0x1400ac318]
test eax, eax
je 0x140029d52
lea r8, [rbp - 0x48]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [0x1400ac320]
test eax, eax
je 0x140029d48
mov dword [rbp - 0x30], 1
mov rax, qword [rbp - 0x48]
mov qword [rbp - 0x2c], rax
mov dword [rbp - 0x24], 2
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea r8, [rbp - 0x30]
xor edx, edx
mov rcx, qword [rbp - 0x50]
call qword [0x1400ac328]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, 7
lea rdx, str.NOT_SET
lea rcx, [rdi + 0x338]
call fcn.1400071d0
mov r8, r14
lea rdx, [rdi + 0x2d8]
mov rcx, rsi
call fcn.140032010
mov qword [rdi + 0x178], rsi
mov qword [rdi + 0x1e8], r15
mov qword [rdi + 0x230], r15
mov qword [rdi + 0x3c8], r15
mov qword [0x1400ac290], r12
mov rax, rdi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140036a00
lea r11, [rsp + 0x80]
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.140057d94
nop
int3