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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov rax, qword [0x1401652a8]
xor rax, rsp
mov qword [rbp + 0x27], rax
movzx eax, byte [0x14016250c]
mov r12d, r8d
xor r8d, r8d
mov qword [rbp - 1], rax
movzx eax, word [0x1401624c8]
mov ebx, r8d
mov qword [rbp - 0x21], r8
mov edi, r8d
mov qword [rbp - 0x19], r8
mov qword [rbp - 0x11], r8
mov dword [rbp - 9], r12d
mov qword [rbp + 7], r8
test eax, eax
je 0x140020c34
lea r15, [0x140000000]
test ebx, ebx
js 0x140020c34
mov rcx, qword [rbp - 0x21]
mov r14d, edi
mov esi, dword [r15 + r14*8 + 0x162514]
mov r13d, dword [r15 + r14*8 + 0x162510]
and esi, 0xfffffff
add rsi, r15
and r13d, 0xfffffff
lea r15, [rsi + r13]
cmp rsi, rcx
jb 0x140020a87
add rcx, qword [rbp - 0x19]
cmp r15, rcx
jb 0x140020b27
lea rcx, [rbp - 0x21]
call fcn.1400170f4
mov rdx, 0xfffffffffffff000
lea rax, [r15 + 0xfff]
and rax, rdx
mov rcx, rsi
and rcx, rdx
mov edx, 1
sub rax, rcx
mov qword [rbp - 0x21], rcx
lea rcx, [rbp + 0xf]
mov qword [rbp - 0x19], rax
call fcn.1400160a4
mov rdx, qword [rbp - 0x19]
lea r9, [rbp + 0xb]
mov rcx, qword [rbp - 0x21]
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop dword [rax + rax]
xor r8d, r8d
mov dword [rbp + 7], eax
mov r15d, eax
cmp byte [rbp + 0x1f], r8b
je 0x140020b1e
mov dword [rbp - 0x25], r8d
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
nop dword [rax + rax]
mov r9d, 4
lea r8, [rbp - 0x25]
mov rcx, rax
mov rax, qword [0x140165a58]
lea edx, [r9 - 2]
call qword [0x14008a7b8]
xor r8d, r8d
test r15d, r15d
je 0x140020c17
mov r10, qword [rbp - 0x11]
add r10, rsi
je 0x140020c17
mov r9, qword [0x1401624c0]
lea r15, [0x140000000]
movzx edx, word [r15 + r14*2 + 0x1653bc]
mov ecx, 0x2000
movzx eax, dx
and ax, cx
test r12d, r12d
je 0x140020bbe
test ax, ax
jne 0x140020c23
mov eax, dword [r15 + r14*8 + 0x162514]
lea rcx, [rbp - 0x29]
mov qword [rsp + 0x28], rcx
and eax, 0xfffffff
mov rcx, rsi
mov dword [rsp + 0x20], eax
mov r8, r13
mov rdx, r10
call fcn.140021218
movzx r9d, byte [rbp - 0x29]
mov eax, 0x1000
or r9w, ax
mov ecx, 0xfe01
movzx eax, word [r15 + r14*2 + 0x1653bc]
add r9w, r9w
and ax, cx
or r9w, ax
mov word [r15 + r14*2 + 0x1653bc], r9w
jmp 0x140020c12
test ax, ax
je 0x140020c23
mov eax, dword [r15 + r14*8 + 0x162514]
mov ecx, edx
not ecx
shr dx, 1
and ecx, 1
and eax, 0xfffffff
mov dword [rsp + 0x30], ecx
mov r8, r13
mov byte [rsp + 0x28], dl
mov rcx, rsi
mov rdx, r10
mov dword [rsp + 0x20], eax
call fcn.140020c74
movzx eax, word [r15 + r14*2 + 0x1653bc]
mov ecx, 0xdfff
and ax, cx
or ax, 1
mov word [r15 + r14*2 + 0x1653bc], ax
xor r8d, r8d
jmp 0x140020c23
mov ebx, 0x8007000e
lea r15, [0x140000000]
movzx ecx, word [0x1401624c8]
inc edi
cmp edi, ecx
jb 0x140020a42
lea rcx, [rbp - 0x21]
call fcn.1400170f4
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14003b560
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret