Function at 0x1800e7c30
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x1801bc0c0]
xor rax, rsp
mov qword [rbp + 0x47], rax
cmp byte [0x1801bd149], 0
jne 0x1800e7eef
cmp byte [0x1801c1009], 0
jne 0x1800e7fa5
movabs rax, 0x14a941447cd587b0
mov qword [rsp + 0xf0], rdi
mov qword [rbp - 0x69], rax
movabs rdi, 0x39b14c4ffbbffab8
mov rax, qword [rbp - 0x69]
movabs rbx, 0x14a9060a3587d3e3
mov qword [rbp - 0x49], rax
movabs rcx, 0xb87a37eeb7faa67d
mov qword [rbp - 0x69], rdi
mov rax, qword [rbp - 0x69]
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x69], rbx
mov rax, qword [rbp - 0x69]
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x69], rdi
mov rax, qword [rbp - 0x69]
movdqa xmm0, xmmword [rbp - 0x49]
mov qword [rbp - 0x51], rax
xorps xmm0, xmmword [rbp - 0x59]
movdqa xmmword [rbp - 0x49], xmm0
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
lea rcx, [rbp - 0x49]
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
movabs rax, 0x66c6747870f9a19d
mov qword [rbp - 0x69], rax
mov rax, qword [rbp - 0x69]
mov qword [rbp - 0x39], rax
movabs rax, 0x56df1f6f85cc8482
mov qword [rbp - 0x69], rax
mov rax, qword [rbp - 0x69]
mov qword [rbp - 0x31], rax
movabs rax, 0x6f6a4600557af022
mov qword [rbp - 0x69], rax
mov rax, qword [rbp - 0x69]
mov qword [rbp - 0x29], rax
movabs rax, 0xf55daa7da2d822e2
mov qword [rbp - 0x69], rax
mov rax, qword [rbp - 0x69]
mov qword [rbp - 0x21], rax
movabs rax, 0x66e96bd9a8253f05
mov qword [rbp - 0x69], rax
mov rax, qword [rbp - 0x69]
mov qword [rbp - 0x19], rax
movabs rax, 0x1357ff503099288c
mov qword [rbp - 0x69], rax
mov rax, qword [rbp - 0x69]
mov qword [rbp - 0x11], rax
movabs rax, 0x5f7df1f67fa35748
mov qword [rbp - 0x69], rax
mov rax, qword [rbp - 0x69]
mov qword [rbp - 9], rax
movabs rax, 0xaea26841e09a6978
mov qword [rbp - 0x69], rax
mov rax, qword [rbp - 0x69]
mov qword [rbp - 1], rax
mov qword [rbp - 0x69], rbx
mov rax, qword [rbp - 0x69]
mov qword [rbp + 7], rax
mov qword [rbp - 0x69], rdi
mov rax, qword [rbp - 0x69]
mov qword [rbp + 0xf], rax
movabs rax, 0x1b0528202613d055
mov qword [rbp - 0x69], rax
mov rax, qword [rbp - 0x69]
mov qword [rbp + 0x17], rax
movabs rax, 0x9c29cb0dcfb741c2
mov qword [rbp - 0x69], rax
mov rax, qword [rbp - 0x69]
mov qword [rbp + 0x1f], rax
movabs rax, 0xe9d02ae88405367
mov qword [rbp - 0x69], rax
mov rax, qword [rbp - 0x69]
mov qword [rbp + 0x27], rax
movabs rax, 0x4710df2359f15cac
mov qword [rbp - 0x69], rax
mov rax, qword [rbp - 0x69]
mov qword [rbp + 0x2f], rax
movabs rax, 0x301482841af57709
mov qword [rbp - 0x69], rax
mov rax, qword [rbp - 0x69]
mov qword [rbp + 0x37], rax
movabs rcx, 0x6c188be134e074aa
movabs rax, 0xaea26841e09a4716
mov qword [rbp - 0x69], rax
mov rax, qword [rbp - 0x69]
movdqa xmm0, xmmword [rbp - 0x39]
xorps xmm0, xmmword [rbp + 7]
movdqa xmm1, xmmword [rbp - 0x29]
xorps xmm1, xmmword [rbp + 0x17]
movdqa xmmword [rbp - 0x39], xmm0
movdqa xmm0, xmmword [rbp - 0x19]
xorps xmm0, xmmword [rbp + 0x27]
movdqa xmmword [rbp - 0x29], xmm1
movdqa xmm1, xmmword [rbp - 9]
mov qword [rbp + 0x3f], rax
xorps xmm1, xmmword [rbp + 0x37]
movdqa xmmword [rbp - 0x19], xmm0
movdqa xmmword [rbp - 9], xmm1
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
lea rcx, [rbp - 0x39]
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
movabs rcx, 0x9d77056a530643f6
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
xor ebx, ebx
mov qword [rbp - 0x69], rbx
mov dword [rbp - 0x69], 0x7d0
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
mov qword [rbp - 0x69], rbx
mov dword [rbp - 0x69], 1
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
cmp byte [0x1801bd149], bl
mov rdi, qword [rsp + 0xf0]
mov byte [0x1801c1009], 1
je 0x1800e7fa5
mov eax, dword [0x1801bf79c]
cmp eax, 0xaac9c895
je 0x1800e7fc2
cmp eax, 0x23fb812b
je 0x1800e7fc2
cmp eax, 0xefb6eff6
je 0x1800e7fc2
cmp eax, 0x27ea2814
je 0x1800e7fc2
movzx eax, byte [0x1801c1008]
test al, al
je 0x1800e7fdd
mov byte [0x1801c1007], 1
mov byte [0x1801c1008], 0
mov edx, 0xffffffff
lea rcx, [0x1801bd780]
call fcn.1800f2840
mov rax, qword [0x1801bd7c8]
movups xmm0, xmmword [0x1801cc440]
mov rcx, qword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x1801cc450]
movups xmmword [rcx + 0x10], xmm1
mov eax, dword [0x1801cc460]
mov dword [rcx + 0x20], eax
movzx eax, word [0x1801cc464]
mov word [rcx + 0x24], ax
movzx eax, byte [0x1801cc466]
mov byte [rcx + 0x26], al
xor cl, cl
movzx r9d, cl
movzx r8d, cl
movzx edx, cl
call fcn.1800e7790
mov byte [0x1801c1007], 0
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1800fc900
mov rbx, qword [rsp + 0xf8]
add rsp, 0xe0
pop rbp
ret
movzx eax, byte [0x1801c1008]
test al, al
jne 0x1800e7fdd
mov byte [0x1801c1007], 1
mov byte [0x1801c1008], 1
jmp 0x1800e7fee
cmp byte [0x1801c1007], 0
je 0x1800e7fa5
test al, al
je 0x1800e7f3e
mov edx, 0xffffffff
lea rcx, [0x1801bd780]
call fcn.1800f2840
mov rax, qword [0x1801bd7c8]
lea r9, [rbp - 0x69]
mov edx, 0x27
mov r8d, 0x40
mov rbx, qword [rax]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movdqa xmm0, xmmword [0x1801ab550]
lea r9, [rbp - 0x69]
mov r8d, dword [rbp - 0x69]
movq rax, xmm0
movups xmmword [rbx], xmm0
mov edx, 0x27
mov rcx, rbx
movups xmmword [rbx + 0x10], xmm0
mov dword [rbx + 0x20], eax
mov word [rbx + 0x24], ax
mov byte [rbx + 0x26], al
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov cl, 1
jmp 0x1800e7f8e