Function at 0x2137657f0
Capabilities:
Access peb ldr_data
Encode data using xor
Encrypt data using rc4 prga
Get ntdll base address
Populate syswhispers2 syscall list
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x18
mov r9d, dword [0x2137a5020]
test r9d, r9d
jne 0x213765a7e
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx + 0x30]
test rax, rax
je 0x213765ad4
xor r10d, r10d
nop dword [rax]
mov rdx, rax
movsxd rax, dword [rax + 0x3c]
mov eax, dword [rdx + rax + 0x88]
test eax, eax
je 0x213765877
lea r10, [rdx + rax]
mov eax, dword [r10 + 0xc]
add rax, rdx
mov r8d, dword [rax]
or r8d, 0x20202020
cmp r8d, 0x6c64746e
jne 0x213765877
mov eax, dword [rax + 4]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x21376588c
mov rcx, qword [rcx]
mov rax, qword [rcx + 0x30]
test rax, rax
jne 0x213765838
test r10, r10
je 0x213765ad4
mov eax, dword [r10 + 0x18]
lea rbp, [rdx + 0x12]
mov esi, dword [r10 + 0x24]
mov edi, dword [r10 + 0x1c]
lea ecx, [rax - 1]
mov eax, dword [r10 + 0x20]
xor r10d, r10d
add rsi, rdx
lea r8, [rsi + rcx*2]
add rdi, rdx
add rax, rdx
lea r11, [rax + rcx*4]
jmp 0x2137658d4
lea rax, [r8 - 2]
sub r11, 4
cmp rsi, r8
je 0x2137659e8
mov r8, rax
mov eax, dword [r11]
add rax, rdx
cmp word [rax], 0x775a
jne 0x2137658c0
lea rcx, [0x2137a5028]
mov ebx, r10d
shl rbx, 4
add rbx, rcx
cmp byte [rax], 0
je 0x213765ad8
cmp byte [rax + 1], 0
mov r13d, 0x30fc192b
mov ecx, 1
mov r14d, 1
je 0x213765936
nop word [rax + rax]
movzx ecx, word [rax + rcx]
mov r15d, r13d
add r14d, 1
ror r15d, 8
add ecx, r15d
xor r13d, ecx
mov ecx, r14d
cmp byte [rax + rcx], 0
jne 0x213765918
movzx eax, word [r8]
mov dword [rbx], r13d
lea r13, [rsp + 0xd]
mov byte [rsp + 0xf], 0xc3
mov r14d, dword [rdi + rax*4]
mov eax, 0x50f
mov word [rsp + 0xd], ax
mov dword [rbx + 4], r14d
add r14, rbp
cmp word [r14], 0x50f
mov rcx, r14
je 0x213765ac0
lea rax, [r14 + 0x20]
lea r15, [r14 + 0x4000]
add r14, r14
jmp 0x2137659a2
mov rcx, r14
sub rcx, rax
movzx r12d, word [rcx]
cmp word [r13], r12w
je 0x213765a98
add rax, 0x20
cmp r15, rax
je 0x213765ab4
movzx r12d, word [rax]
mov rcx, rax
cmp word [r13], r12w
jne 0x213765980
movzx r12d, byte [rax + 2]
cmp byte [r13 + 2], r12b
jne 0x213765980
add r10d, 1
mov qword [rbx + 8], rcx
cmp r10d, 0x258
jne 0x2137658c0
mov dword [0x2137a5020], 0x258
mov r11d, 0x257
jmp 0x2137659fd
lea r11d, [r10 - 1]
cmp r10d, 1
mov dword [0x2137a5020], r10d
je 0x213765a7e
lea esi, [r10 - 2]
lea rbx, [0x2137a5038]
nop dword [rax + rax]
mov eax, r10d
sub eax, r9d
cmp eax, 1
je 0x213765a75
lea rax, [0x2137a5028]
mov r8d, esi
sub r8d, r9d
shl r8, 4
add r8, rbx
nop
mov edx, dword [rax + 4]
mov ecx, dword [rax + 0x14]
cmp ecx, edx
jae 0x213765a6c
movd xmm2, edx
movd xmm3, ecx
mov rdx, qword [rax + 8]
mov rcx, qword [rax + 0x18]
movd xmm0, dword [rax]
movd xmm1, dword [rax + 0x10]
punpckldq xmm0, xmm2
mov qword [rax + 0x18], rdx
punpckldq xmm1, xmm3
mov qword [rax + 8], rcx
movq qword [rax], xmm1
movq qword [rax + 0x10], xmm0
add rax, 0x10
cmp r8, rax
jne 0x213765a30
add r9d, 1
cmp r9d, r11d
jb 0x213765a10
mov eax, 1
add rsp, 0x18
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
movzx r12d, byte [rcx + 2]
cmp byte [r13 + 2], r12b
je 0x2137659bb
add rax, 0x20
cmp r15, rax
jne 0x2137659a2
xor ecx, ecx
jmp 0x2137659bb
movzx eax, byte [r14 + 2]
cmp byte [rsp + 0xf], al
jne 0x21376596b
jmp 0x2137659bb
xor eax, eax
jmp 0x213765a83
mov r13d, 0x6a97175a
jmp 0x213765936