Function at 0x180002d30
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
push rbx
push rdi
push r14
lea rbp, [rsp - 0x48]
sub rsp, 0x148
mov rax, qword [section._________2]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rdi, rdx
mov qword [rsp + 0x20], rcx
mov r14, rcx
xor ebx, ebx
call qword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp dword [0x18001eb48], eax
je 0x180002d75
mov eax, 0x10dd
jmp 0x18000316d
mov eax, dword [0x18001eb4c]
test eax, eax
jne 0x18000316d
test r14, r14
je 0x180002da1
mov rcx, qword [r14]
test rcx, rcx
jne 0x180002dab
mov dword [0x18001eb4c], 6
mov qword [0x18001eb38], r14
mov eax, 6
jmp 0x18000316d
mov qword [rsp + 0x180], rsi
mov r14, rbx
mov qword [rsp + 0x140], r12
mov r12, rbx
mov qword [rsp + 0x138], r13
mov qword [rsp + 0x130], r15
call fcn.180002510
mov rcx, rdi
mov r13, rax
call fcn.180002510
mov qword [rsp + 0x28], rax
cmp rax, r13
jne 0x180002dfc
cmp dword [0x18001eb20], ebx
jne 0x180003107
jmp 0x1800030c6
mov ecx, 0x30
call fcn.180005be4
mov r12, rax
test rax, rax
jne 0x180002e16
lea ebx, [rax + 8]
jmp 0x1800030c6
mov rcx, r13
call fcn.180002320
mov r14, rax
test rax, rax
jne 0x180002e2e
lea ebx, [rax + 8]
jmp 0x1800030c6
xor eax, eax
mov rsi, r13
mov qword [r14 + 0x40], rax
mov r15, r14
nop word [rax + rax]
xor edx, edx
lea rcx, [rsp + 0x40]
mov rdi, rsi
lea r8d, [rdx + 0x70]
call fcn.180007600
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rbx
test r15, r15
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x70]
mov dword [rsp + 0x48], ebx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x68], rbx
cmovne r8, r15
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x30], ebx
test rsi, rsi
jne 0x180002e98
lea ecx, [rsi + 0xd]
call qword [sym.imp.kernel32.dll_SetLastError]
mov rsi, rbx
jmp 0x180002eba
movzx eax, byte [rsi]
lea rcx, [0x1800192f0]
shl rax, 4
mov r9, rsi
add rax, rcx
lea rcx, [rsp + 0x40]
mov rdx, rax
call qword [rax + 8]
mov rsi, rax
movsxd rax, dword [rsp + 0x30]
mov edx, esi
sub rax, rdi
sub edx, r13d
add rax, rsi
add r15, rax
movzx eax, dl
and al, 7
movzx ecx, r15b
sub cl, r14b
shl cl, 3
or cl, al
mov byte [r14 + 0x40], cl
movzx ecx, byte [rdi]
lea eax, [rcx + 0x3e]
cmp al, 0x29
ja 0x180002eff
movzx eax, al
movabs r8, 0x28040000403
bt r8, rax
jb 0x180002f74
cmp cl, 0xff
jne 0x180002f0a
cmp byte [rdi + 1], 0x25
je 0x180002f74
lea eax, [rcx - 0x26]
cmp al, 0x3f
ja 0x180002f21
movabs r8, 0xc000000000010101
bt r8, rax
jb 0x180002f26
cmp cl, 0xe3
jne 0x180002f32
cmp byte [rdi + 1], 0xff
jne 0x180002f32
cmp byte [rdi + 2], 0x25
je 0x180002f74
cmp edx, 5
jb 0x180002e40
lea rsi, [r14 + 0x1e]
cmp r15, rsi
jbe 0x180002f45
int3
mov byte [r14 + 0x3e], dl
lea rcx, [r14 + 0x20]
mov edi, edx
sub r15b, r14b
mov r8d, edx
mov rdx, r13
mov byte [rsi], r15b
call fcn.180006d70
cmp rdi, 0x19
jbe 0x18000303d
mov ebx, 6
jmp 0x1800030c6
cmp edx, 5
jae 0x180002f3b
nop dword [rax]
cmp byte [rsi], 0x90
jne 0x18000301d
xor edx, edx
lea rcx, [rbp - 0x50]
mov rdi, rsi
lea r8d, [rdx + 0x70]
call fcn.180007600
lea rax, [rbp - 0x28]
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x40], rax
lea rcx, [0x1800192f0]
lea rax, [rsp + 0x34]
mov dword [rbp - 0x48], ebx
mov qword [rbp - 0x38], rax
lea r8, [rbp - 0x20]
mov qword [rbp - 0x28], rbx
test r15, r15
mov dword [rsp + 0x34], ebx
mov r9, rsi
movzx eax, byte [rsi]
cmovne r8, r15
shl rax, 4
add rax, rcx
lea rcx, [rbp - 0x50]
mov rdx, rax
call qword [rax + 8]
mov rsi, rax
movsxd rax, dword [rsp + 0x34]
sub rax, rdi
mov edx, esi
add rax, rsi
sub edx, r13d
add r15, rax
movzx eax, dl
and al, 7
movzx ecx, r15b
sub cl, r14b
shl cl, 3
or cl, al
mov byte [r14 + 0x40], cl
cmp edx, 5
jb 0x180002f80
jmp 0x180002f3b
cmp edx, 5
jae 0x180002f3b
cmp dword [0x18001eb20], 0
mov ebx, 9
jne 0x1800030cc
jmp 0x1800030c6
movzx edx, byte [rsi]
lea rax, [rdi + r13]
mov qword [r14 + 0x48], rax
add rdx, r14
mov rax, qword [rsp + 0x28]
mov r8, rsi
mov qword [r14 + 0x50], rax
mov eax, r14d
lea rcx, [rdx + 6]
mov word [rdx], 0x25ff
add rdx, 2
sub eax, ecx
add eax, 0x48
lea rcx, [rdx + 4]
mov dword [rdx], eax
sub r8, rcx
cmp rcx, rsi
cmova r8, rbx
test r8, r8
je 0x18000309f
mov rax, rcx
sub rax, rdx
sub rax, 4
nop dword [rax + rax]
inc rax
mov byte [rcx], 0xcc
lea rcx, [rcx + 1]
cmp rax, r8
jb 0x180003090
lea r9, [rsp + 0x38]
mov dword [rsp + 0x38], ebx
mov r8d, pe_nt_image_headers64
mov rdx, rdi
mov rcx, r13
call qword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
jne 0x180003117
call qword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
mov dword [0x18001eb4c], ebx
test r14, r14
je 0x1800030f5
xor edx, edx
mov rdi, r14
and rdi, 0xffffffffffff0000
mov rcx, r14
lea r8d, [rdx + 0x60]
call fcn.180007600
mov rax, qword [rdi + 0x10]
mov qword [r14 + 0x48], rax
mov qword [rdi + 0x10], r14
test r12, r12
je 0x180003107
mov edx, 0x30
mov rcx, r12
call fcn.180005c20
mov rax, qword [rsp + 0x20]
mov qword [0x18001eb38], rax
mov eax, ebx
jmp 0x18000314d
mov rax, qword [rsp + 0x20]
mov qword [r12 + 0x10], rax
mov dword [r12 + 8], ebx
mov qword [r12 + 0x20], r14
mov qword [r12 + 0x18], r13
mov eax, dword [rsp + 0x38]
mov dword [r12 + 0x28], eax
mov rax, qword [0x18001eb18]
mov qword [r12], rax
xor eax, eax
mov qword [0x18001eb18], r12
mov r13, qword [rsp + 0x138]
mov r12, qword [rsp + 0x140]
mov rsi, qword [rsp + 0x180]
mov r15, qword [rsp + 0x130]
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.180005bc0
add rsp, 0x148
pop r14
pop rdi
pop rbx
pop rbp
ret