Function at 0x1400d079c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xf20]
mov eax, 0x1020
call fcn.14027bf80
sub rsp, rax
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x1058], rbx
mov qword [rsp + 0x1068], rsi
mov rsi, rdx
xor ebx, ebx
cmp byte [0x1402d1ed8], bl
jne 0x1400d07eb
lea eax, [rbx + 1]
jmp 0x1400d0a1c
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x48], xmm1
movups xmmword [rsp + 0x58], xmm1
mov r14d, 0x20
mov r8d, r14d
lea rcx, [rsp + 0x68]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
lea rcx, [rbp + 0x600]
call fcn.1400afb1c
nop
lea rdx, [0x1402d1e78]
lea rcx, [rbp + 0x600]
call fcn.1400afc3c
test al, al
je 0x1400d0a0a
mov rdx, qword [0x1402d1e70]
lea rcx, [rbp + 0x600]
call fcn.1401991b0
test al, al
je 0x1400d0a0a
lea r12d, [r14 + 0x21]
mov r8d, r12d
xor edx, edx
lea rcx, [rbp + 8]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea r15, [0x1402d1eb8]
mov rdx, r15
cmp qword [0x1402d1ed0], 0x10
cmovae rdx, qword [0x1402d1eb8]
lea r8, [rbp]
lea rcx, [rbp + 0x600]
call fcn.1401977c4
test al, al
je 0x1400d0a0a
mov dword [rbp + 0xf50], ebx
mov r9d, dword [rbp + 0x160]
mov byte [rsp + 0x28], bl
lea edi, [r14 - 0x1f]
mov dword [rsp + 0x20], edi
lea r8d, [r14 - 0x1c]
lea rdx, [rbp + 0xf50]
lea rcx, [rbp + 0x600]
call fcn.1401998f0
test al, al
je 0x1400d0a0a
mov edx, dword [rbp + 0xf50]
lea rcx, [rbp + 0x600]
call fcn.140197c4c
mov r9, rax
mov byte [rsp + 0x28], bl
mov dword [rsp + 0x20], edi
mov r8d, r14d
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x600]
call fcn.1401998f0
test al, al
je 0x1400d0a0a
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbx
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dl, dil
call fcn.1400c3914
test al, al
je 0x1400d0a00
lea rcx, [rbp + 0x170]
call fcn.1400afb1c
nop
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x170]
call fcn.1400afcc8
xor edx, edx
test al, al
jne 0x1400d096e
lea r9, [rsp + 0x30]
xor r8d, r8d
call fcn.1400c3914
jmp 0x1400d09f3
mov r8, r12
lea rcx, [rbp - 0x68]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov rdx, r15
cmp qword [0x1402d1ed0], 0x10
cmovae rdx, qword [0x1402d1eb8]
lea r8, [rbp - 0x70]
lea rcx, [rbp + 0x170]
call fcn.14019770c
test al, al
je 0x1400d09e0
mov edx, dword [rbp + 0x158]
mov eax, esi
mov rcx, qword [0x1402d1e70]
sub eax, ecx
cmp edx, eax
je 0x1400d09e0
mov rax, qword [0x1402d1ee0]
test rax, rax
je 0x1400d09cd
mov byte [rax], dil
mov rcx, qword [0x1402d1e70]
lea r8, [rcx + rdx]
mov rdx, r15
lea rcx, [rbp + 0x170]
call fcn.14019dfd4
lea r9, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
call fcn.1400c3914
test al, al
jne 0x1400d0a38
lea rcx, [rbp + 0x170]
call fcn.140196cec
nop
lea rcx, [rsp + 0x30]
call fcn.1400c2bf8
mov dil, bl
lea rcx, [rbp + 0x600]
call fcn.140196cec
mov al, dil
lea r11, [rsp + 0x1020]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rcx, [rbp + 0x170]
call fcn.140196cec
nop
lea rcx, [rsp + 0x30]
call fcn.1400c2bf8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbx
lea r9, [rsp + 0x30]
mov r8, qword [0x1402d1e70]
mov dl, dil
call fcn.1400c3914
test al, al
je 0x1400d0c0a
lea rcx, [rbp + 0xa90]
call fcn.1400afb1c
nop
mov byte [rsp + 0x20], dil
xor r9d, r9d
mov r8, qword [0x1402d1e70]
xor edx, edx
lea rcx, [rbp + 0xa90]
call fcn.14019b558
xor edx, edx
test al, al
je 0x1400d0beb
mov r8, r12
lea rcx, [rbp + 0x178]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov rdx, r15
cmp qword [0x1402d1ed0], 0x10
cmovae rdx, qword [0x1402d1eb8]
lea r8, [rbp + 0x170]
lea rcx, [rbp + 0xa90]
call fcn.1401977c4
test al, al
je 0x1400d0be9
mov r8d, dword [rbp + 0x158]
cmp r8d, dword [rbp + 0x2c8]
je 0x1400d0b21
cmp byte [rbp + 0x1bc], bl
jne 0x1400d0b21
mov rax, qword [0x1402d1ee0]
test rax, rax
je 0x1400d0b12
mov byte [rax], dil
mov rdx, r15
lea rcx, [rbp + 0xa90]
call fcn.14019e134
lea r9, [rsp + 0x30]
mov r8, qword [0x1402d1e70]
xor edx, edx
call fcn.1400c3914
test al, al
je 0x1400d0bfd
lea rcx, [rbp + 0xa90]
call fcn.140196cec
nop
lea rcx, [rsp + 0x30]
call fcn.1400c2bf8
mov r8, r14
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x68]
call qword [sym.imp.VCRUNTIME140.dll_memcmp]
test eax, eax
je 0x1400d0bd2
mov rax, qword [0x1402d1ee0]
test rax, rax
je 0x1400d0b79
mov byte [rax], dil
lea r9, [rbp + 0xf50]
mov r8d, 0x40
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400d0bd2
mov rax, rbx
mov cl, byte [rsp + rax + 0x48]
cmp byte [rsp + rax + 0x68], cl
je 0x1400d0ba6
mov byte [rax + rsi], cl
add rax, rdi
cmp rax, r14
jb 0x1400d0b99
lea r9, [rbp + 0xf60]
mov r8d, dword [rbp + 0xf50]
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne bl
jmp 0x1400d0a0a
mov rax, qword [0x1402d1ee0]
test rax, rax
je 0x1400d0a0d
mov byte [rax], bl
jmp 0x1400d0a0d
xor edx, edx
lea r9, [rsp + 0x30]
mov r8, qword [0x1402d1e70]
call fcn.1400c3914
nop
lea rcx, [rbp + 0xa90]
call fcn.140196cec
nop
jmp 0x1400d0a00