Function at 0x180097e20
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x80], 0
lea rax, [rsp + 0x88]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_41
rep stosb byte [rdi], al
mov dword [rsp + 0x40], 0
mov r8d, Ordinal_50
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp rax, 0x30
je 0x180097ece
mov rax, qword gs:[0x30]
mov ecx, 8
imul rcx, rcx, 0xd
mov qword [rax + rcx], 0x423
xor edx, edx
mov rcx, qword [rsp + 0xd0]
call fcn.180098da0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xd0]
jmp 0x180098226
mov eax, dword [rsp + 0xa4]
and eax, 0xf0
test eax, eax
jne 0x180097f1f
mov rax, qword gs:[0x30]
mov ecx, 8
imul rcx, rcx, 0xd
mov qword [rax + rcx], 0x425
xor edx, edx
mov rcx, qword [rsp + 0xd0]
call fcn.180098da0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xd0]
jmp 0x180098226
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xd8]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x98]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 8
jge 0x180097f8f
mov rax, qword gs:[0x30]
mov ecx, 8
imul rcx, rcx, 0xd
mov qword [rax + rcx], 0x427
xor edx, edx
mov rcx, qword [rsp + 0xd0]
call fcn.180098da0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xd0]
jmp 0x180098226
mov ecx, 0x68
call fcn.1800b70fc
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
add rax, 0x60
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x38]
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x38]
add rax, 0x40
mov rcx, rax
call fcn.18007a8f0
mov eax, dword [rsp + 0x20]
or eax, 2
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x38]
add rax, 0x50
mov rcx, rax
call fcn.18007a8f0
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
jmp 0x180098013
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.18009a5c0
nop
lea rcx, [rsp + 0x28]
call fcn.180098d20
movzx eax, al
test eax, eax
je 0x1800981fa
lea rcx, [rsp + 0x28]
call fcn.180080b30
mov dword [rax + 0x60], 1
lea rcx, [rsp + 0x28]
call fcn.180080b30
mov rcx, qword [rsp + 0xd8]
mov qword [rax], rcx
lea rcx, [rsp + 0x28]
call fcn.180080b30
mov rcx, qword [rsp + 0xd8]
mov qword [rax + 0x10], rcx
lea rcx, [rsp + 0x28]
call fcn.180080b30
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.180080b30
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx]
mov qword [rax + 0x20], rcx
lea rcx, [rsp + 0x28]
call fcn.180080b30
cmp qword [rax + 0x20], 0xcc
jne 0x1800980fc
mov rax, qword gs:[0x30]
mov ecx, 8
imul rcx, rcx, 0xd
mov qword [rax + rcx], 0x432
xor edx, edx
mov rcx, qword [rsp + 0xd0]
call fcn.180098da0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x28]
call fcn.1800767b0
mov rax, qword [rsp + 0xd0]
jmp 0x180098226
lea rcx, [rsp + 0x28]
call fcn.180080b30
lea r9, [rsp + 0x50]
mov r8d, 0x40
mov edx, 5
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18009816f
mov rax, qword gs:[0x30]
mov ecx, 8
imul rcx, rcx, 0xd
mov qword [rax + rcx], 0x460
xor edx, edx
mov rcx, qword [rsp + 0xd0]
call fcn.180098da0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x28]
call fcn.1800767b0
mov rax, qword [rsp + 0xd0]
jmp 0x180098226
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
call fcn.180080d60
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.180097880
test eax, eax
je 0x1800981fa
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x70]
lea rcx, [0x18051c160]
call fcn.180098ce0
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.180080d20
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0xd0]
call fcn.180098d60
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x28]
call fcn.1800767b0
mov rax, qword [rsp + 0xd0]
jmp 0x180098226
lea rcx, [rsp + 0x28]
call fcn.1800767b0
xor edx, edx
mov rcx, qword [rsp + 0xd0]
call fcn.180098da0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xd0]
add rsp, 0xc0
pop rdi
ret