Function at 0x180001df0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov dword [rsp + 0x60], 0
cmp qword [rsp + 0xd0], 0
je 0x180001e2d
mov rax, qword [rsp + 0xd0]
mov qword [rax], 0
cmp qword [rsp + 0xd8], 0
je 0x180001e47
mov rax, qword [rsp + 0xd8]
mov qword [rax], 0
cmp qword [rsp + 0xe0], 0
je 0x180001e61
mov rax, qword [rsp + 0xe0]
mov qword [rax], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x18006d388], eax
je 0x180001e79
mov eax, 0x10dd
jmp 0x180002451
cmp dword [0x18006d38c], 0
je 0x180001e8d
mov eax, dword [0x18006d38c]
jmp 0x180002451
cmp qword [rsp + 0xc0], 0
jne 0x180001ea2
mov eax, 6
jmp 0x180002451
mov rax, qword [rsp + 0xc0]
cmp qword [rax], 0
jne 0x180001eda
mov dword [rsp + 0x60], 6
mov eax, dword [rsp + 0x60]
mov dword [0x18006d38c], eax
mov rax, qword [rsp + 0xc0]
mov qword [0x18006d390], rax
mov eax, dword [rsp + 0x60]
jmp 0x180002451
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x78], 0
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.180001000
mov qword [rsp + 0x48], rax
xor edx, edx
mov rcx, qword [rsp + 0xc8]
call fcn.180001000
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0xc8], rax
jne 0x180001f46
cmp dword [0x18006d380], 0
je 0x180001f42
jmp 0x180001fbc
jmp 0x180001fb2
cmp qword [rsp + 0xd8], 0
je 0x180001f61
mov rcx, qword [rsp + 0xd8]
mov rax, qword [rsp + 0x48]
mov qword [rcx], rax
cmp qword [rsp + 0xe0], 0
je 0x180001f7f
mov rcx, qword [rsp + 0xe0]
mov rax, qword [rsp + 0xc8]
mov qword [rcx], rax
mov ecx, 0x30
call fcn.180053fa8
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x180002034
mov dword [rsp + 0x60], 8
mov eax, dword [rsp + 0x60]
mov dword [0x18006d38c], eax
cmp qword [rsp + 0x68], 0
je 0x180001ff1
mov rcx, qword [rsp + 0x68]
call fcn.180001460
mov qword [rsp + 0x68], 0
cmp qword [rsp + 0xd0], 0
je 0x180001ff1
mov rax, qword [rsp + 0xd0]
mov qword [rax], 0
cmp qword [rsp + 0x78], 0
je 0x18000201c
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa8]
call fcn.180054364
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0xc0]
mov qword [0x18006d390], rax
mov eax, dword [rsp + 0x60]
jmp 0x180002451
mov rcx, qword [rsp + 0x48]
call fcn.180002590
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x180002058
mov dword [rsp + 0x60], 8
jmp 0x180001fb2
cmp qword [rsp + 0xd0], 0
je 0x180002073
mov rcx, qword [rsp + 0xd0]
mov rax, qword [rsp + 0x68]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x68]
add rcx, 0x40
mov r8d, 8
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r11, qword [rsp + 0x48]
mov qword [rsp + 0x40], r11
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
add rax, 0x1e
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x64], 5
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x38], eax
jae 0x1800021be
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x80], 0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [rsp + 0x40]
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
call fcn.180002bc0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
movsxd rax, dword [rsp + 0x80]
add rax, qword [rsp + 0x30]
add rax, rcx
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
sub rax, rcx
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x50]
movzx ecx, byte [rsp + 0x38]
and cl, 7
mov rax, qword [rsp + 0x68]
movzx edx, byte [rax + rdx + 0x40]
and dl, 0xf8
or dl, cl
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x68]
mov byte [rax + rcx + 0x40], dl
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x30]
sub rax, rcx
mov edx, dword [rsp + 0x50]
movzx ecx, al
and cl, 0x1f
shl cl, 3
mov rax, qword [rsp + 0x68]
movzx edx, byte [rax + rdx + 0x40]
and dl, 7
or dl, cl
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x68]
mov byte [rax + rcx + 0x40], dl
mov rcx, qword [rsp + 0x88]
call fcn.180002460
test eax, eax
je 0x1800021b9
jmp 0x1800021be
jmp 0x1800020c3
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x38], eax
jae 0x1800022b8
mov rcx, qword [rsp + 0x40]
call fcn.180002570
test eax, eax
je 0x1800022b8
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x90], 0
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [rsp + 0x40]
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
call fcn.180002bc0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
movsxd rax, dword [rsp + 0x90]
add rax, qword [rsp + 0x30]
add rax, rcx
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
sub rax, rcx
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x50]
movzx ecx, byte [rsp + 0x38]
and cl, 7
mov rax, qword [rsp + 0x68]
movzx edx, byte [rax + rdx + 0x40]
and dl, 0xf8
or dl, cl
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x68]
mov byte [rax + rcx + 0x40], dl
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x30]
sub rax, rcx
mov edx, dword [rsp + 0x50]
movzx ecx, al
and cl, 0x1f
shl cl, 3
mov rax, qword [rsp + 0x68]
movzx edx, byte [rax + rdx + 0x40]
and dl, 7
or dl, cl
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x68]
mov byte [rax + rcx + 0x40], dl
jmp 0x1800021be
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x38], eax
jb 0x1800022cc
mov eax, dword [rsp + 0x50]
cmp rax, 8
jbe 0x1800022e9
mov dword [rsp + 0x60], 9
cmp dword [0x18006d380], 0
je 0x1800022e4
jmp 0x180001fbc
jmp 0x180001fb2
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x30], rax
jbe 0x1800022f6
int3
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, qword [rsp + 0x68]
mov byte [rax + 0x1e], cl
mov rcx, qword [rsp + 0x68]
movzx eax, byte [rsp + 0x38]
mov byte [rcx + 0x3e], al
mov r8d, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x68]
add rcx, 0x20
mov rdx, qword [rsp + 0x48]
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x64]
mov eax, 0x1e
sub rax, rcx
cmp rdx, rax
jbe 0x180002352
mov dword [rsp + 0x60], 6
jmp 0x180001fb2
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, qword [rsp + 0x68]
mov qword [rax + 0x48], rcx
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0xc8]
mov qword [rcx + 0x50], rax
mov rax, qword [rsp + 0x68]
movzx ecx, byte [rax + 0x1e]
mov rax, qword [rsp + 0x68]
add rax, rcx
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x68]
add rdx, 0x48
mov rcx, qword [rsp + 0x30]
call fcn.1800019d0
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
call fcn.180001a50
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x70], 0
mov edx, dword [rsp + 0x38]
lea r9, [rsp + 0x70]
mov r8d, 0x40
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800023ef
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
jmp 0x180001fb2
mov rax, qword [rsp + 0x78]
mov dword [rax + 8], 0
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0xc0]
mov qword [rcx + 0x10], rax
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x68]
mov qword [rcx + 0x20], rax
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x48]
mov qword [rcx + 0x18], rax
mov rcx, qword [rsp + 0x78]
mov eax, dword [rsp + 0x70]
mov dword [rcx + 0x28], eax
mov rcx, qword [rsp + 0x78]
mov rax, qword [0x18006d3a0]
mov qword [rcx], rax
mov rax, qword [rsp + 0x78]
mov qword [0x18006d3a0], rax
xor eax, eax
add rsp, 0xb8
ret