Function at 0x18002a740
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rax, qword [0x18003c010]
xor rax, rsp
mov qword [rbp - 8], rax
cmp byte [0x18003c9c6], 0
lea r9, [rbp - 0x10]
mov qword [rsp + 0x40], rbx
mov r8d, 0x40
mov ebx, 0x20f3fdc7
mov ecx, ebx
je 0x18002a7a7
lea edx, [r8 - 0x32]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movsd xmm0, qword [0x180036b28]
mov edx, 0xe
movsd qword [rbx], xmm0
mov eax, dword [0x180036b30]
mov dword [rbx + 8], eax
movzx eax, word [0x180036b34]
mov word [rbx + 0xc], ax
jmp 0x18002a7ce
mov edx, 0xa
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movsd xmm0, qword [0x180036b38]
mov edx, 0xa
movsd qword [rbx], xmm0
movzx eax, word [0x180036b40]
mov word [rbx + 8], ax
mov r8d, dword [rbp - 0x10]
lea r9, [rbp - 0x10]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp byte [0x18003c9c3], 0
lea r9, [rbp - 0x10]
mov edx, 7
mov ebx, 0x1f7b1416
mov ecx, ebx
lea r8d, [rdx + 0x39]
je 0x18002a81f
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [0x180036ba8]
mov dword [rbx], eax
movzx eax, word [0x180036bac]
mov word [rbx + 4], ax
movzx eax, byte [0x180036bae]
jmp 0x18002a840
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [0x180036bb0]
mov dword [rbx], eax
movzx eax, word [0x180036bb4]
mov word [rbx + 4], ax
movzx eax, byte [0x180036bb6]
mov byte [rbx + 6], al
lea r9, [rbp - 0x10]
mov r8d, dword [rbp - 0x10]
mov edx, 7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp byte [0x18003c9c4], 0
lea r9, [rbp - 0x10]
mov ebx, 0x20e0ff42
mov r8d, 0x40
mov ecx, ebx
je 0x18002a8f2
lea edx, [r8 - 0x33]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movsd xmm0, qword [0x180036b68]
lea r9, [rbp - 0x10]
movsd qword [rbx], xmm0
mov edx, 0xd
mov eax, dword [0x180036b70]
mov ecx, ebx
mov dword [rbx + 8], eax
movzx eax, byte [0x180036b74]
mov byte [rbx + 0xc], al
mov r8d, dword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, 0xe
lea r9, [rbp - 0x10]
mov ebx, 0x1f82c3fe
mov ecx, ebx
lea r8d, [rdx + 0x32]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movsd xmm0, qword [0x180036b58]
mov edx, 0xe
movsd qword [rbx], xmm0
mov eax, dword [0x180036b60]
mov dword [rbx + 8], eax
movzx eax, word [0x180036b64]
mov word [rbx + 0xc], ax
jmp 0x18002a95f
mov edx, 9
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movsd xmm0, qword [0x180036b78]
lea r9, [rbp - 0x10]
movsd qword [rbx], xmm0
mov edx, 9
movzx eax, byte [0x180036b80]
mov rcx, rbx
mov byte [rbx + 8], al
mov r8d, dword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, 0xa
lea r9, [rbp - 0x10]
mov ebx, 0x1f82c3fe
mov ecx, ebx
lea r8d, [rdx + 0x36]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movsd xmm0, qword [0x180036b48]
mov edx, 0xa
movsd qword [rbx], xmm0
movzx eax, word [0x180036b50]
mov word [rbx + 8], ax
mov r8d, dword [rbp - 0x10]
lea r9, [rbp - 0x10]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp byte [0x18003c9c7], 0
lea r9, [rbp - 0x10]
mov edx, 8
mov ecx, 0x200d3b54
lea r8d, [rdx + 0x38]
je 0x18002a99a
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [0x180036b88]
jmp 0x18002a9a7
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [0x180036b98]
mov qword [0x200d3b54], rax
lea r9, [rbp - 0x10]
mov r8d, dword [rbp - 0x10]
mov edx, 8
mov ecx, 0x200d3b54
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp byte [0x18003c9c1], 0
lea r9, [rbp - 0x10]
mov edx, 5
mov ebx, 0x1fa5c0fb
mov ecx, ebx
lea r8d, [rdx + 0x3b]
je 0x18002a9fb
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0x180036bb8]
mov dword [rbx], eax
movzx eax, byte [0x180036bbc]
jmp 0x18002aa10
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0x180036bc0]
mov dword [rbx], eax
movzx eax, byte [0x180036bc4]
mov byte [rbx + 4], al
lea r9, [rbp - 0x10]
mov r8d, dword [rbp - 0x10]
mov edx, 5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp byte [0x18003c9c2], 0
lea r9, [rbp - 0x10]
mov rbx, qword [rsp + 0x40]
mov edx, 2
mov ecx, 0x2128eff6
lea r8d, [rdx + 0x3e]
je 0x18002aa5b
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov word [0x2128eff6], 0x7eb
jmp 0x18002aa6b
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov word [0x2128eff6], 0x777
mov r8d, dword [rbp - 0x10]
lea r9, [rbp - 0x10]
mov edx, 2
mov ecx, 0x2128eff6
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.18002bcc0
add rsp, 0x30
pop rbp
ret