Function at 0x140002fe0
Capabilities:
Access peb ldr_data
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor esi, esi
cmp dword [0x14002bb50], esi
je 0x140003006
lea eax, [rsi + 1]
jmp 0x1400032fd
mov rax, qword gs:[0x30]
mov r13, rsi
mov r15, rsi
mov dword [rsp + 0x60], esi
mov edi, esi
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x68], esi
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x18]
mov r14, qword [rax + 0x10]
mov rbx, qword [r14 + 0x30]
test rbx, rbx
je 0x1400032fb
mov ecx, 0x20202020
movsxd rbp, dword [rbx + 0x3c]
mov eax, dword [rbp + rbx + 0x88]
test eax, eax
je 0x1400030f5
lea r12, [rbx + rax]
mov edi, dword [r12 + 0xc]
add rdi, rbx
mov eax, dword [rdi]
or eax, ecx
cmp eax, 0x6e72656b
jne 0x140003099
mov eax, dword [rdi + 4]
or eax, ecx
cmp eax, 0x61626c65
jne 0x140003099
mov rdx, rbx
lea rcx, str.___KernelBase:_0x_p_n
call fcn.140001ae0
mov eax, dword [rbp + rbx + 0x50]
mov ecx, 0x20202020
mov dword [rsp + 0x68], eax
mov qword [rsp + 0x70], rbx
mov eax, dword ds:[rdi]
or eax, ecx
cmp eax, 0x6c64746e
jne 0x1400030f1
mov eax, dword [rdi + 4]
or eax, ecx
cmp eax, 0x6c642e6c
jne 0x1400030da
mov rdx, rbx
lea rcx, str.___NtdllBase:_0x_p_n
call fcn.140001ae0
mov edi, dword [rbp + rbx + 0x50]
mov ecx, 0x20202020
mov dword [rsp + 0x60], edi
mov r15, rbx
mov r13, r12
jmp 0x1400030de
mov edi, dword [rsp + 0x60]
nop
test r15, r15
je 0x1400030f5
mov rbx, qword [rsp + 0x70]
test rbx, rbx
jne 0x14000310e
jmp 0x1400030f5
mov edi, dword [rsp + 0x60]
mov r14, qword ds:[r14]
mov rbx, qword [r14 + 0x30]
test rbx, rbx
jne 0x140003042
mov rbx, qword [rsp + 0x70]
test r13, r13
je 0x1400032fb
nop word [rax + rax]
test r15, r15
je 0x1400032fb
mov rax, qword gs:[0x30]
lea rdx, str.RtlAllocateHeap
mov rcx, qword [rax + 0x60]
movzx eax, word [rcx + 0x120]
mov rcx, r15
mov word [0x14002bb28], ax
mov r11, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lfence
call r11
mov r9d, dword [rsp + 0x68]
mov r8, rbx
mov edx, edi
mov qword [0x14002bb38], rax
mov rcx, r15
call fcn.140002be0
mov eax, dword [r13 + 0x1c]
mov r14d, esi
mov ecx, dword [r13 + 0x20]
add rax, r15
mov r12d, dword [r13 + 0x18]
add rcx, r15
mov qword [rsp + 0x68], rax
mov ebp, 1
mov eax, dword [r13 + 0x24]
add rax, r15
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x60], rax
lea eax, [r12 - 1]
mov ecx, dword [rcx + rax*4]
mov r12d, eax
add rcx, r15
mov r13d, eax
mov eax, 0x775a
cmp word [rcx], ax
jne 0x140003222
nop
call fcn.140002f80
mov rbx, rax
mov ecx, r14d
lea rax, [0x14002bb40]
lea rdi, [rcx + rcx*2]
mov qword [rax + rdi*8 + 8], rbx
mov rax, qword [rsp + 0x60]
movzx ecx, word [rax + r13*2]
lea r13, [0x14002bb40]
mov rax, qword [rsp + 0x68]
mov edx, dword [rax + rcx*4]
mov dword [r13 + rdi*8 + 0x10], edx
lea rcx, [r15 + rdx]
call fcn.140002ec0
mov cl, bl
add r14d, ebp
and cl, 7
shl rax, cl
mov qword [r13 + rdi*8 + 0x18], rax
cmp r14d, 0x208
je 0x140003237
nop
jmp 0x140003229
lea r13, [0x14002bb40]
mov rcx, qword [rsp + 0x70]
test r12d, r12d
jne 0x1400031a4
lea eax, [r14 - 1]
mov dword [0x14002bb40], r14d
mov r8d, esi
test eax, eax
je 0x1400032c6
mov eax, r14d
mov ecx, esi
sub eax, r8d
cmp eax, ebp
je 0x1400032ba
mov eax, ecx
lea r11d, [rcx + 1]
lea r9, [r11 + r11*2]
mov ebx, dword [r13 + r9*8 + 0x10]
lea r10, [rax + rax*2]
mov edi, dword [r13 + r10*8 + 0x10]
cmp edi, ebx
jbe 0x1400032aa
mov rax, qword [r13 + r9*8 + 8]
mov rdx, qword [r13 + r10*8 + 8]
mov rcx, qword [r13 + r10*8 + 0x18]
mov qword [r13 + r10*8 + 8], rax
mov rax, qword [r13 + r9*8 + 0x18]
mov qword [r13 + r10*8 + 0x18], rax
mov dword [r13 + r10*8 + 0x10], ebx
mov qword [r13 + r9*8 + 8], rdx
mov dword [r13 + r9*8 + 0x10], edi
mov qword [r13 + r9*8 + 0x18], rcx
mov r14d, dword [0x14002bb40]
mov eax, r14d
mov ecx, r11d
sub eax, r8d
sub eax, ebp
cmp r11d, eax
jb 0x140003255
add r8d, ebp
lea eax, [r14 - 1]
cmp r8d, eax
jb 0x140003249
lea eax, [r14 - 1]
test eax, eax
je 0x1400032f7
mov eax, esi
mov ecx, esi
add esi, ebp
lea rdx, [rax + rax*2]
mov eax, dword [r13 + rdx*8 + 0x18]
imul rax, qword [r13 + rdx*8 + 8]
shl rax, cl
mov dword [r13 + rdx*8 + 0x10], eax
mov eax, dword [0x14002bb40]
dec eax
cmp esi, eax
jb 0x1400032ce
mov eax, ebp
jmp 0x1400032fd
xor eax, eax
mov rbx, qword [rsp + 0x78]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop r11
lfence
jmp r11