Function at 0x180091920
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r12
lea rbp, [rsp - 0x6a0]
sub rsp, 0x7a0
mov rax, qword [0x18011a300]
xor rax, rsp
mov qword [rbp + 0x690], rax
mov rsi, rcx
mov r12, rdx
lea rcx, [rbp + 0x50]
xor edx, edx
mov r8d, 0xf8
call fcn.180043ef0
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x108
call fcn.180043ef0
lea rcx, [rbp + 0x190]
xor edx, edx
mov r8d, 0x500
call fcn.180043ef0
xor ebx, ebx
lea r8, [rbp + 0x150]
lea r9d, [rbx + 0x40]
mov rdx, r12
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x180091c5c
mov qword [rsp + 0x7d0], rdi
movsxd rdi, dword [rbp + 0x18c]
lea r8, [rbp + 0x50]
add rdi, r12
mov r9d, 0xf8
mov rcx, rsi
mov rdx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x180091c26
lea r8, [rsp + 0x40]
mov r9d, 0x108
mov rdx, rdi
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x180091c26
movzx ecx, word [rbp + 0x56]
cmp cx, 0x20
ja 0x180091c26
movzx eax, word [rbp + 0x64]
lea r8, [rbp + 0x190]
mov qword [rsp + 0x20], rbx
lea rdx, [rax + rdi + 0x18]
movzx eax, cx
mov rcx, rsi
lea r9d, [rax + rax*4]
shl r9d, 3
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x180091c26
mov eax, dword [rbp + 0x50]
lea rdx, [rbp + 0xc8]
lea rcx, [rbp - 0x38]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp + 0x54]
mov r8d, 0x80
mov dword [rsp + 0x44], eax
mov eax, dword [rbp + 0x58]
mov dword [rsp + 0x48], eax
mov eax, dword [rbp + 0x5c]
mov dword [rsp + 0x4c], eax
mov eax, dword [rbp + 0x60]
mov dword [rsp + 0x50], eax
mov eax, dword [rbp + 0x64]
mov dword [rsp + 0x54], eax
mov eax, 0x8664
mov word [rsp + 0x44], ax
mov eax, 0xf0
mov word [rsp + 0x54], ax
mov eax, 0x20b
mov word [rsp + 0x58], ax
movzx eax, byte [rbp + 0x6a]
mov byte [rsp + 0x5a], al
movzx eax, byte [rbp + 0x6b]
mov byte [rsp + 0x5b], al
mov eax, dword [rbp + 0x6c]
mov dword [rsp + 0x5c], eax
mov eax, dword [rbp + 0x70]
mov dword [rsp + 0x60], eax
mov eax, dword [rbp + 0x74]
mov dword [rsp + 0x64], eax
mov eax, dword [rbp + 0x78]
mov dword [rsp + 0x68], eax
mov eax, dword [rbp + 0x7c]
mov dword [rsp + 0x6c], eax
mov eax, dword [rbp + 0x84]
mov qword [rsp + 0x70], rax
mov eax, dword [rbp + 0x88]
mov dword [rsp + 0x78], eax
mov eax, dword [rbp + 0x8c]
mov dword [rsp + 0x7c], eax
movzx eax, word [rbp + 0x90]
mov word [rbp - 0x80], ax
movzx eax, word [rbp + 0x92]
mov word [rbp - 0x7e], ax
movzx eax, word [rbp + 0x94]
mov word [rbp - 0x7c], ax
movzx eax, word [rbp + 0x96]
mov word [rbp - 0x7a], ax
movzx eax, word [rbp + 0x98]
mov word [rbp - 0x78], ax
movzx eax, word [rbp + 0x9a]
mov word [rbp - 0x76], ax
mov eax, dword [rbp + 0x9c]
mov dword [rbp - 0x74], eax
mov eax, dword [rbp + 0xa0]
mov dword [rbp - 0x70], eax
mov eax, dword [rbp + 0xa4]
mov dword [rbp - 0x6c], eax
mov eax, dword [rbp + 0xa8]
mov dword [rbp - 0x68], eax
movzx eax, word [rbp + 0xac]
mov word [rbp - 0x64], ax
movzx eax, word [rbp + 0xae]
mov word [rbp - 0x62], ax
mov eax, dword [rbp + 0xb0]
mov qword [rbp - 0x60], rax
mov eax, dword [rbp + 0xb4]
mov qword [rbp - 0x58], rax
mov eax, dword [rbp + 0xb8]
mov qword [rbp - 0x50], rax
mov eax, dword [rbp + 0xbc]
mov qword [rbp - 0x48], rax
mov eax, dword [rbp + 0xc0]
mov dword [rbp - 0x40], eax
mov eax, dword [rbp + 0xc4]
mov dword [rbp - 0x3c], eax
call fcn.180045540
mov r8d, dword [rbp - 0x6c]
mov qword [rbp - 0x30], rbx
mov dword [rsp + 0x30], ebx
lea rax, [rsp + 0x30]
mov r9d, 0x40
mov rdx, r12
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x180091c26
lea r8, [rsp + 0x40]
mov r9d, 0x108
mov rdx, rdi
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x180091c26
movzx eax, word [rsp + 0x54]
lea r8, [rbp + 0x190]
mov rcx, rsi
lea rdx, [rax + rdi + 0x18]
movzx eax, word [rsp + 0x46]
mov qword [rsp + 0x20], rbx
lea r9d, [rax + rax*4]
shl r9d, 3
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x180091c2a
xor eax, eax
jmp 0x180091c54
mov r8d, dword [rbp - 0x6c]
mov r9d, dword [rsp + 0x30]
lea rax, [rsp + 0x34]
mov rdx, r12
mov rcx, rsi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x34], ebx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
setne bl
mov eax, ebx
mov rdi, qword [rsp + 0x7d0]
mov rcx, qword [rbp + 0x690]
xor rcx, rsp
call fcn.180043ec0
mov rbx, qword [rsp + 0x7d8]
add rsp, 0x7a0
pop r12
pop rsi
pop rbp
ret