Function at 0x180102b70
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1802a5100]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
xor r12d, r12d
lea rax, str.Starting_to_hook_queue_dependency
mov qword [rbp + 0x1a0], rax
mov qword [rbp + 0x1a8], 0x21
lea r14, str.C:UsersNGxD_TVDesktopGTA_ModdingNGxD_TV___Mod_Menu_srchookinghooking.cpp
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x48], 0x106
lea r15, str.hooking::HookQueueDependency
mov qword [rsp + 0x50], r15
movaps xmm0, xmmword [rbp + 0x1a0]
movdqa xmmword [rbp + 0x1a0], xmm0
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x60], xmm1
movsd xmm0, qword [rsp + 0x50]
movsd qword [rsp + 0x70], xmm0
lea r9, [rbp + 0x1a0]
mov r8d, 1
lea rdx, [rsp + 0x60]
mov rcx, qword [0x1802c8140]
call fcn.1800b6e20
xorps xmm0, xmm0
movups xmmword [rbp + 0xf0], xmm0
movdqa xmm1, xmmword [0x180260530]
movdqa xmmword [rbp + 0x100], xmm1
mov byte [rbp + 0xf0], r12b
movups xmmword [rbp + 0x110], xmm0
movdqa xmmword [rbp + 0x120], xmm1
mov byte [rbp + 0x110], r12b
movdqa xmmword [rbp + 0x140], xmm0
mov qword [rbp + 0x150], r12
mov r8d, 0x3c
lea rdx, str.48_89_5C_24_08_48_89_74_24_10_57_48_83_EC_20_8B_F2_49_8B_F8
lea rcx, [rbp + 0xf0]
call fcn.180105b10
nop
cmp byte [rbp + 0x158], r12b
jne 0x180102ca2
mov edx, 1
lea rcx, [rbp + 0xf0]
call fcn.180105f50
lea rcx, [rbp + 0xf0]
call fcn.1800c7f10
mov rdi, qword [rax]
mov rcx, qword [rbp + 0x140]
test rcx, rcx
je 0x180102d0f
mov rax, qword [rbp + 0x150]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180102cf8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801034df
call fcn.18010ca74
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x140], xmm0
mov qword [rbp + 0x150], r12
lea rcx, [rbp + 0x110]
call fcn.1800771b0
lea rcx, [rbp + 0xf0]
call fcn.1800771b0
test rdi, rdi
jne 0x180102d9f
lea rax, str.Pattern_search_failed._Could_not_find_queue_dependency_function.
mov qword [rbp + 0x1a0], rax
mov qword [rbp + 0x1a8], 0x40
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x48], 0x10e
mov qword [rsp + 0x50], r15
movaps xmm0, xmmword [rbp + 0x1a0]
movdqa xmmword [rbp + 0x1a0], xmm0
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x60], xmm1
movsd xmm0, qword [rsp + 0x50]
movsd qword [rsp + 0x70], xmm0
lea r9, [rbp + 0x1a0]
mov r8d, 4
lea rdx, [rsp + 0x60]
mov rcx, qword [0x1802c8140]
call fcn.1800b6e20
jmp 0x1801034a9
lea rcx, [rbp - 0x70]
call fcn.18008d4f0
nop
lea rdx, [0x1801d6504]
lea rcx, [rbp - 0x60]
call fcn.180088cd0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rax + 0x18], ecx
mov rdx, rdi
mov rcx, rax
call fcn.18008dda0
lea rdx, [rbp + 0xd0]
lea rcx, [rbp - 0x58]
call fcn.18008f040
nop
lea rcx, [rbp - 0x70]
call fcn.18008c500
nop
mov rbx, qword [0x1802c8140]
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp + 0xe0]
sub rax, rcx
cmp rax, 0x1a
jb 0x1801034e5
lea rax, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0xf
cmova rax, qword [rbp + 0xd0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x1a
lea r9, str.Pattern_found_at_address:
lea rcx, [rbp + 0x90]
call fcn.180077ed0
nop
lea rax, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0xf
cmova rax, qword [rbp + 0x90]
mov qword [rbp + 0x1a0], rax
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0x1a8], rax
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x48], 0x118
mov qword [rsp + 0x50], r15
movaps xmm0, xmmword [rbp + 0x1a0]
movdqa xmmword [rbp + 0x1a0], xmm0
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x60], xmm1
movsd xmm0, qword [rsp + 0x50]
movsd qword [rsp + 0x70], xmm0
lea r9, [rbp + 0x1a0]
mov r8d, 2
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1800b6e20
nop
lea rcx, [rbp + 0x90]
call fcn.1800771b0
lea r9, [rbp - 0x80]
mov edx, 8
mov r8d, 0x40
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180102f26
lea rax, str.Failed_to_change_memory_protection_
mov qword [rbp + 0x1a8], 0x23
mov dword [rsp + 0x48], 0x11c
mov r8d, 4
jmp 0x18010344e
lea r8, [0x1802c4b28]
lea rdx, [0x1800b7280]
mov rcx, rdi
call fcn.180108840
mov ebx, eax
lea r9, [rbp - 0x80]
mov r8d, dword [rbp - 0x80]
mov edx, 8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test ebx, ebx
je 0x180103199
mov rsi, qword [0x1802c8140]
lea r9, [rbp + 0x1b5]
mov r8d, ebx
jns 0x180102fb0
neg r8d
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x180102f72
dec r9
mov byte [r9], 0x2d
jmp 0x180102fda
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x180102fb0
lea r8, [rbp + 0x1b5]
mov rdx, r9
lea rcx, [rbp + 0x160]
call fcn.180089070
nop
mov r9d, 0x22
lea r8, str.MH_CreateHook_failed_with_status:
lea rcx, [rbp + 0x160]
call fcn.1800908e0
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xc0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xb0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xc0], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rax, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0xf
cmova rax, qword [rbp + 0xb0]
mov qword [rbp + 0x1a0], rax
mov rax, qword [rbp + 0xc0]
mov qword [rbp + 0x1a8], rax
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x48], 0x125
mov qword [rsp + 0x50], r15
movaps xmm0, xmmword [rbp + 0x1a0]
movdqa xmmword [rbp + 0x1a0], xmm0
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x60], xmm1
movsd xmm0, qword [rsp + 0x50]
movsd qword [rsp + 0x70], xmm0
lea r9, [rbp + 0x1a0]
mov r8d, 4
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.1800b6e20
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0xf
jbe 0x180103102
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801030fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801034eb
call fcn.18010ca74
movdqa xmm0, xmmword [0x180260530]
movdqu xmmword [rbp + 0xc0], xmm0
mov byte [rbp + 0xb0], 0
lea rcx, [rbp + 0x160]
call fcn.1800771b0
cmp ebx, 3
jne 0x18010349d
lea rax, str.Hook_already_created__attempting_to_enable_it.
mov qword [rbp + 0x1a0], rax
mov qword [rbp + 0x1a8], 0x2e
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x48], 0x127
mov qword [rsp + 0x50], r15
movaps xmm0, xmmword [rbp + 0x1a0]
movdqa xmmword [rbp + 0x1a0], xmm0
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x60], xmm1
movsd xmm0, qword [rsp + 0x50]
movsd qword [rsp + 0x70], xmm0
lea r9, [rbp + 0x1a0]
mov r8d, ebx
lea rdx, [rsp + 0x60]
mov rcx, qword [0x1802c8140]
call fcn.1800b6e20
mov edx, 1
mov rcx, rdi
call fcn.180108e00
mov ecx, eax
test eax, eax
je 0x180103389
mov rbx, qword [0x1802c8140]
lea r9, [rbp + 0x1b5]
test eax, eax
jns 0x180103210
neg ecx
nop dword [rax]
nop dword [rax + rax]
dec r9
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dl
shl al, 2
lea r8d, [rax + rdx]
add r8b, r8b
sub cl, r8b
add cl, 0x30
mov byte [r9], cl
mov ecx, edx
test edx, edx
jne 0x1801031d0
dec r9
mov byte [r9], 0x2d
jmp 0x180103239
dec r9
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dl
shl al, 2
lea r8d, [rax + rdx]
add r8b, r8b
sub cl, r8b
add cl, 0x30
mov byte [r9], cl
mov ecx, edx
test edx, edx
jne 0x180103210
lea r8, [rbp + 0x1b5]
mov rdx, r9
lea rcx, [rbp + 0x180]
call fcn.180089070
nop
mov r9d, 0x22
lea r8, str.MH_EnableHook_failed_with_status:
lea rcx, [rbp + 0x180]
call fcn.1800908e0
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xa0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x90], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa0], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rax, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0xf
cmova rax, qword [rbp + 0x90]
mov qword [rbp + 0x1a0], rax
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0x1a8], rax
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x48], 0x130
mov qword [rsp + 0x50], r15
movaps xmm0, xmmword [rbp + 0x1a0]
movdqa xmmword [rbp + 0x1a0], xmm0
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x60], xmm1
movsd xmm0, qword [rsp + 0x50]
movsd qword [rsp + 0x70], xmm0
lea r9, [rbp + 0x1a0]
mov r8d, 2
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1800b6e20
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x180103361
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18010335c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801034d9
call fcn.18010ca74
movdqa xmm0, xmmword [0x180260530]
movdqu xmmword [rbp + 0xa0], xmm0
mov byte [rbp + 0x90], 0
lea rcx, [rbp + 0x180]
call fcn.1800771b0
jmp 0x18010349d
lea rax, str.Hook_successfully_enabled_for_queue_dependency
mov qword [rbp + 0x1a0], rax
mov qword [rbp + 0x1a8], 0x2e
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x48], 0x134
mov qword [rsp + 0x50], r15
movaps xmm0, xmmword [rbp + 0x1a0]
movdqa xmmword [rbp + 0x1a0], xmm0
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x60], xmm1
movsd xmm0, qword [rsp + 0x50]
movsd qword [rsp + 0x70], xmm0
lea r9, [rbp + 0x1a0]
mov r8d, 1
lea rdx, [rsp + 0x60]
mov rcx, qword [0x1802c8140]
call fcn.1800b6e20
mov rax, qword [0x1802c4b28]
mov qword [rbp + 0x1a0], rax
mov rdx, qword [0x1802c81a0]
cmp rdx, qword [0x1802c81a8]
je 0x180103422
mov qword [rdx], rax
add qword [0x1802c81a0], 8
jmp 0x18010342e
lea r8, [rbp + 0x1a0]
call fcn.1801054d0
lea rax, str.queue_dependency_function_added_to_MH_Hooked_list
mov qword [rbp + 0x1a8], 0x31
mov dword [rsp + 0x48], 0x137
mov r8d, 1
mov qword [rbp + 0x1a0], rax
movaps xmm0, xmmword [rbp + 0x1a0]
mov qword [rsp + 0x40], r14
movdqa xmmword [rbp + 0x1a0], xmm0
mov qword [rsp + 0x50], r15
movups xmm1, xmmword [rsp + 0x40]
movsd xmm0, qword [rsp + 0x50]
movaps xmmword [rsp + 0x60], xmm1
movsd qword [rsp + 0x70], xmm0
lea r9, [rbp + 0x1a0]
lea rdx, [rsp + 0x60]
mov rcx, qword [0x1802c8140]
call fcn.1800b6e20
nop
lea rcx, [rbp + 0xd0]
call fcn.1800771b0
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.18010c6a0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.180112b44
nop
call fcn.180112b44
nop
call fcn.180076dc0
nop
call fcn.180112b44
int3