Function at 0x140001220
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r12
push r14
push r15
sub rsp, 0x160
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor ebx, ebx
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x30], ebx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r9, rax
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x20]
mov rbp, rax
call fcn.140001730
test eax, eax
je 0x140001289
mov r8, qword [rsp + 0x20]
test r8, r8
je 0x1400012f7
jmp 0x1400012ec
mov esi, 0x100
lea rcx, [rsp + 0x48]
mov r8d, esi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r15, qword [rsp + 0x20]
test r15, r15
je 0x1400012f7
mov r12, qword [rsp + 0x28]
test r12, r12
je 0x1400012e4
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r12
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rax, rax
jne 0x14000132a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____HeapAlloc_Failed_With_Error:__ld__n
call fcn.1400014b0
test r15, r15
je 0x1400012f7
mov r8, r15
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 1
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140001980
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
mov qword [rsp + 0x180], rdi
xor eax, eax
lea rdi, [rsp + 0x40]
mov ecx, 0x108
rep stosb byte [rdi], al
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x40], rbx
nop word [rax + rax]
mov byte [rcx], al
lea rcx, [rcx + 1]
inc eax
cmp eax, esi
jb 0x140001350
mov r8, rbx
lea r10, str.oyyCTOEkwU2nH7fhgiFFjeJ8VjTPSYGDjdlgm9wioHblZvAiWLgfpwgN7kOkHnCYYvPa9c4PbAlo
movabs r9, 0xd79435e50d79435f
movzx edi, byte [rsp + r8 + 0x48]
mov rcx, r8
mov rax, r9
mul r8
shr rdx, 6
imul rax, rdx, 0x4c
sub rcx, rax
movsx ecx, byte [rcx + r10]
add ecx, ebx
add ecx, edi
movzx ebx, cl
lea rcx, [rsp + 0x48]
movzx eax, byte [rcx + rbx]
mov byte [rsp + r8 + 0x48], al
inc r8
mov byte [rcx + rbx], dil
sub rsi, 1
jne 0x140001370
mov ebx, dword [rsp + 0x40]
mov rdi, r12
mov esi, dword [rsp + 0x44]
mov rdx, r14
test r12, r12
je 0x140001424
mov r11, r15
sub r11, r14
nop word [rax + rax]
lea eax, [rbx + 1]
movzx ebx, al
lea r8, [rsp + 0x48]
lea rcx, [rsp + 0x48]
lea r10, [r11 + rdx]
movzx r9d, byte [r8 + rbx]
lea eax, [rsi + r9]
movzx esi, al
movzx eax, byte [rcx + rsi]
mov byte [r8 + rbx], al
mov byte [rcx + rsi], r9b
test r10, r10
je 0x14000141e
test rdx, rdx
je 0x14000141e
movzx ecx, byte [r8 + rbx]
add rcx, r9
movzx eax, cl
movzx ecx, byte [rsp + rax + 0x48]
xor cl, byte [r10]
mov byte [rdx], cl
inc rdx
sub rdi, 1
jne 0x1400013d0
lea r9, [rsp + 0x30]
mov r8d, 0x40
mov rdx, r12
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rdi, qword [rsp + 0x180]
test eax, eax
jne 0x14000145d
mov r8, r15
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, r14
jmp 0x1400012ec
mov rdx, r12
mov rcx, r14
call section..text
xor edx, edx
mov r8, r15
mov rcx, rbp
test eax, eax
je 0x14000144f
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, r14
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
jmp 0x1400012fc