Function at 0x140002f30
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
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, 0x118
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xc0], xmm7
movaps xmmword [rsp + 0xd0], xmm8
movaps xmmword [rsp + 0xe0], xmm9
movaps xmmword [rsp + 0xf0], xmm10
movaps xmmword [rsp + 0x100], xmm11
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r15, qword [rax + 0x30]
mov qword [rsp + 0x38], rax
test r15, r15
je 0x1400036ae
mov qword [rsp + 0x28], r15
movq xmm11, qword [0x140251298]
movdqa xmm7, xmmword [0x1402512d0]
movdqa xmm6, xmmword [0x1402512e0]
movdqa xmm10, xmmword [0x1402512a0]
movdqa xmm9, xmmword [0x1402512b0]
movdqa xmm8, xmmword [0x1402512c0]
jmp 0x14000308f
lea rcx, [0x14024f0e0]
call fcn.14000fff0
lea rcx, [0x14024f0c0]
mov rbx, rax
call fcn.14000fff0
cmp byte [rbx], 0
mov r12, rax
jne 0x14000302d
mov rax, qword [0x140251290]
mov r10d, 0x5943
xor r8d, r8d
mov rdx, r12
mov word [r12 + 8], r10w
lea rcx, [0x140022bb0]
mov qword [r12], rax
mov byte [r12 + 0xa], 1
mov byte [rbx], 1
call fcn.14000ed00
cmp byte [r12 + 0xa], 0
je 0x140003054
movq xmm0, qword [r12]
xor word [r12 + 8], 0x590f
mov byte [r12 + 0xa], 0
pxor xmm0, xmm11
movq qword [r12], xmm0
mov rdx, r14
mov rcx, r12
call fcn.1400214f0
test eax, eax
je 0x140003151
nop word [rax + rax]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1400036ae
mov rsi, qword [rsp + 0x28]
movsxd rax, dword [rsi + 0x3c]
mov r13d, dword [rsi + rax + 0x88]
test r13d, r13d
je 0x140003070
add r13, rsi
je 0x140003070
lea rcx, [0x14024f0a0]
mov r14d, dword [r13 + 0xc]
call fcn.14000fff0
lea rcx, [0x14024f080]
mov rbx, rax
add r14, rsi
call fcn.14000fff0
cmp byte [rbx], 0
mov r12, rax
jne 0x140003109
mov rax, qword [0x140251280]
mov r11d, 0x10f
xor r8d, r8d
mov rdx, r12
mov dword [r12 + 8], 0x53a3db53
lea rcx, [0x140022bd0]
mov qword [r12], rax
mov word [r12 + 0xc], r11w
mov byte [rbx], 1
call fcn.14000ed00
cmp byte [r12 + 0xd], 0
je 0x14000313e
movq xmm0, qword [r12]
xor byte [r12 + 0xc], 0xf
movq xmm1, qword [0x140251288]
mov byte [r12 + 0xd], 0
xor dword [r12 + 8], 0x1fef9f7d
pxor xmm0, xmm1
movq qword [r12], xmm0
mov rdx, r14
mov rcx, r12
call fcn.1400214f0
test eax, eax
jne 0x140002fd8
mov rdi, qword [rsp + 0x28]
mov eax, dword [r13 + 0x1c]
lea rcx, [0x14024f120]
add rax, rdi
mov qword [rsp + 0x48], rax
mov eax, dword [r13 + 0x24]
add rax, rdi
mov r15, rax
mov qword [rsp + 0x40], rax
call fcn.14000fff0
lea rcx, [0x14024f100]
mov qword [rsp + 0x68], rax
call fcn.14000fff0
lea rcx, [0x14024f160]
mov rbx, rax
call fcn.14000fff0
lea rcx, [0x14024f140]
mov qword [rsp + 0x70], rax
call fcn.14000fff0
lea rcx, [0x14024f1a0]
mov rbp, rax
call fcn.14000fff0
lea rcx, [0x14024f180]
mov qword [rsp + 0x60], rax
call fcn.14000fff0
lea rcx, [0x14024f1e0]
mov rdi, rax
call fcn.14000fff0
lea rcx, [0x14024f1c0]
mov qword [rsp + 0x78], rax
call fcn.14000fff0
lea rcx, [0x14024f220]
mov rsi, rax
call fcn.14000fff0
lea rcx, [0x14024f200]
mov qword [rsp + 0x58], rax
call fcn.14000fff0
lea rcx, [0x14024f260]
mov r12, rax
call fcn.14000fff0
lea rcx, [0x14024f240]
mov qword [rsp + 0x50], rax
call fcn.14000fff0
mov r14, rax
mov eax, dword [r13 + 0x18]
lea edx, [rax - 1]
mov eax, dword [r13 + 0x20]
add rax, qword [rsp + 0x28]
lea rax, [rax + rdx*4]
mov qword [rsp + 0x30], rax
lea rax, [r15 + rdx*2]
mov qword [rsp + 0x20], rax
lea rax, [0x140022c20]
mov qword [rsp + 0x80], rax
lea rax, [0x140022c10]
mov qword [rsp + 0x88], rax
nop dword [rax]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
mov r9d, 0x167d
mov dword [rsp + 0xa0], 0x6c055724
mov rdx, qword [rsp + 0x28]
mov word [rsp + 0xa4], r9w
mov r13d, dword [rax]
mov rax, qword [rsp + 0x20]
mov byte [rsp + 0xa6], 0x79
movaps xmmword [rsp + 0x90], xmm10
movzx eax, word [rax]
add r13, rdx
mov r15d, dword [rcx + rax*4]
add r15, rdx
mov rdx, qword [rsp + 0x68]
cmp byte [rdx], 0
jne 0x140003310
mov eax, 0x6c055724
mov byte [rbx + 0x17], 1
xor r8d, r8d
movdqa xmm2, xmmword [rsp + 0x90]
mov dword [rbx + 0x10], eax
mov eax, 0x167d
mov rcx, qword [rsp + 0x80]
mov word [rbx + 0x14], ax
mov eax, 0x79
mov byte [rbx + 0x16], al
movups xmmword [rbx], xmm2
mov byte [rdx], 1
mov rdx, rbx
call fcn.14000ed00
cmp byte [rbx + 0x17], 0
je 0x140003348
xor eax, eax
nop dword [rax + rax]
movabs rdx, 0xad7941110d6b2541
mov rcx, rax
and ecx, 7
shl rcx, 3
shr rdx, cl
xor byte [rbx + rax], dl
add rax, 1
cmp rax, 0x17
jne 0x140003320
mov byte [rbx + 0x17], 0
mov rdx, rbx
mov rcx, r13
call fcn.140021428
test eax, eax
jne 0x14000335e
mov qword [0x14025f078], r15
mov rdx, qword [rsp + 0x70]
mov r8d, 0xfffffbde
mov dword [rsp + 0xa0], 0x531ee9d2
mov word [rsp + 0xa4], r8w
movaps xmmword [rsp + 0x90], xmm9
cmp byte [rdx], 0
jne 0x1400033c3
mov eax, 0x531ee9d2
mov byte [rbp + 0x16], 1
xor r8d, r8d
movdqa xmm3, xmmword [rsp + 0x90]
mov dword [rbp + 0x10], eax
mov eax, 0xfffffbde
mov rcx, qword [rsp + 0x88]
mov word [rbp + 0x14], ax
movups xmmword [rbp], xmm3
mov byte [rdx], 1
mov rdx, rbp
call fcn.14000ed00
cmp byte [rbp + 0x16], 0
je 0x1400033fa
movabs r8, 0xcf8ffb89377b9db1
xor eax, eax
nop dword [rax]
mov rcx, rax
mov rdx, r8
and ecx, 7
shl rcx, 3
shr rdx, cl
xor byte [rbp + rax], dl
add rax, 1
cmp rax, 0x16
jne 0x1400033d8
mov byte [rbp + 0x16], 0
mov rdx, rbp
mov rcx, r13
call fcn.140021428
test eax, eax
jne 0x140003410
mov qword [0x14025f070], r15
mov rdx, qword [rsp + 0x60]
mov ecx, 0xffffa2e8
mov byte [rsp + 0xa2], 0xf
mov word [rsp + 0xa0], cx
movaps xmmword [rsp + 0x90], xmm8
cmp byte [rdx], 0
jne 0x14000346e
mov eax, 0xffffa2e8
mov byte [rdi + 0x13], 1
xor r8d, r8d
movdqa xmm4, xmmword [rsp + 0x90]
mov word [rdi + 0x10], ax
mov eax, 0xf
lea rcx, [0x140022be0]
mov byte [rdi + 0x12], al
movups xmmword [rdi], xmm4
mov byte [rdx], 1
mov rdx, rdi
call fcn.14000ed00
cmp byte [rdi + 0x13], 0
je 0x1400034a1
movabs r8, 0xc7d3dbfd570fc78f
xor eax, eax
mov rcx, rax
mov rdx, r8
and ecx, 7
shl rcx, 3
shr rdx, cl
xor byte [rdi + rax], dl
add rax, 1
cmp rax, 0x13
jne 0x140003480
mov byte [rdi + 0x13], 0
mov rdx, rdi
mov rcx, r13
call fcn.140021428
test eax, eax
jne 0x1400034b7
mov qword [0x14025f068], r15
mov edx, 0xffffc63c
mov byte [rsp + 0xa2], 0x7d
mov word [rsp + 0xa0], dx
mov rdx, qword [rsp + 0x78]
movaps xmmword [rsp + 0x90], xmm7
cmp byte [rdx], 0
jne 0x140003514
mov eax, 0xffffc63c
mov byte [rsi + 0x13], 1
xor r8d, r8d
movdqa xmm5, xmmword [rsp + 0x90]
mov word [rsi + 0x10], ax
mov eax, 0x7d
lea rcx, [0x140022bf0]
mov byte [rsi + 0x12], al
movups xmmword [rsi], xmm5
mov byte [rdx], 1
mov rdx, rsi
call fcn.14000ed00
cmp byte [rsi + 0x13], 0
je 0x140003551
movabs r8, 0xd15b1b17297d914f
xor eax, eax
nop word cs:[rax + rax]
mov rcx, rax
mov rdx, r8
and ecx, 7
shl rcx, 3
shr rdx, cl
xor byte [rsi + rax], dl
add rax, 1
cmp rax, 0x13
jne 0x140003530
mov byte [rsi + 0x13], 0
mov rdx, rsi
mov rcx, r13
call fcn.140021428
test eax, eax
jne 0x140003567
mov qword [0x14025f060], r15
mov rdx, qword [rsp + 0x58]
movaps xmmword [rsp + 0x90], xmm6
mov dword [rsp + 0xa0], 0x70d06b2
cmp byte [rdx], 0
jne 0x1400035b7
mov eax, 0x70d06b2
mov byte [r12 + 0x14], 1
xor r8d, r8d
movdqa xmm2, xmmword [rsp + 0x90]
mov dword [r12 + 0x10], eax
lea rcx, [0x140022c00]
movups xmmword [r12], xmm2
mov byte [rdx], 1
mov rdx, r12
call fcn.14000ed00
cmp byte [r12 + 0x14], 0
je 0x1400035f4
movabs r8, 0xa31121ed077965d7
xor eax, eax
nop dword [rax + rax]
mov rcx, rax
mov rdx, r8
and ecx, 7
shl rcx, 3
shr rdx, cl
xor byte [r12 + rax], dl
add rax, 1
cmp rax, 0x14
jne 0x1400035d0
mov byte [r12 + 0x14], 0
mov rdx, r12
mov rcx, r13
call fcn.140021428
test eax, eax
jne 0x14000360a
mov qword [0x14025f058], r15
mov rdx, qword [rsp + 0x50]
cmp byte [rdx], 0
jne 0x140003645
mov rax, qword [0x1402512f0]
mov dword [r14 + 8], 0x20e1464b
xor r8d, r8d
lea rcx, [0x140022bc0]
mov qword [r14], rax
mov eax, 0x1a5
mov word [r14 + 0xc], ax
mov byte [rdx], 1
mov rdx, r14
call fcn.14000ed00
cmp byte [r14 + 0xd], 0
je 0x140003674
movq xmm0, qword [r14]
xor dword [r14 + 8], 0x7799233f
movq xmm1, qword [0x1402512f8]
xor byte [r14 + 0xc], 0xa5
mov byte [r14 + 0xd], 0
pxor xmm0, xmm1
movq qword [r14], xmm0
mov rdx, r14
mov rcx, r13
call fcn.140021428
test eax, eax
jne 0x14000368a
mov qword [0x14025f050], r15
mov rdx, qword [rsp + 0x20]
sub qword [rsp + 0x30], 4
lea rax, [rdx - 2]
cmp qword [rsp + 0x40], rdx
je 0x140003070
mov qword [rsp + 0x20], rax
jmp 0x140003278
movaps xmm6, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xc0]
movaps xmm8, xmmword [rsp + 0xd0]
movaps xmm9, xmmword [rsp + 0xe0]
movaps xmm10, xmmword [rsp + 0xf0]
movaps xmm11, xmmword [rsp + 0x100]
add rsp, 0x118
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret