Function at 0x140002d40
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 0x1400034be
mov qword [rsp + 0x28], r15
movq xmm11, qword [0x1402b3208]
movdqa xmm7, xmmword [0x1402b3240]
movdqa xmm6, xmmword [0x1402b3250]
movdqa xmm10, xmmword [0x1402b3210]
movdqa xmm9, xmmword [0x1402b3220]
movdqa xmm8, xmmword [0x1402b3230]
jmp 0x140002e9f
lea rcx, [0x1402b1060]
call fcn.14000fe00
lea rcx, [0x1402b1040]
mov rbx, rax
call fcn.14000fe00
cmp byte [rbx], 0
mov r12, rax
jne 0x140002e3d
mov rax, qword [0x1402b3200]
mov r10d, 0x5943
xor r8d, r8d
mov rdx, r12
mov word [r12 + 8], r10w
lea rcx, [0x1400229c0]
mov qword [r12], rax
mov byte [r12 + 0xa], 1
mov byte [rbx], 1
call fcn.14000eb10
cmp byte [r12 + 0xa], 0
je 0x140002e64
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 sub.msvcrt.dll__stricmp
test eax, eax
je 0x140002f61
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 0x1400034be
mov rsi, qword [rsp + 0x28]
movsxd rax, dword [rsi + 0x3c]
mov r13d, dword [rsi + rax + 0x88]
test r13d, r13d
je 0x140002e80
add r13, rsi
je 0x140002e80
lea rcx, [0x1402b1020]
mov r14d, dword [r13 + 0xc]
call fcn.14000fe00
lea rcx, [0x1402b1000]
mov rbx, rax
add r14, rsi
call fcn.14000fe00
cmp byte [rbx], 0
mov r12, rax
jne 0x140002f19
mov rax, qword [str.6QJ]
mov r11d, 0x10f
xor r8d, r8d
mov rdx, r12
mov dword [r12 + 8], 0x53a3db53
lea rcx, [0x1400229e0]
mov qword [r12], rax
mov word [r12 + 0xc], r11w
mov byte [rbx], 1
call fcn.14000eb10
cmp byte [r12 + 0xd], 0
je 0x140002f4e
movq xmm0, qword [r12]
xor byte [r12 + 0xc], 0xf
movq xmm1, qword [0x1402b31f8]
mov byte [r12 + 0xd], 0
xor dword [r12 + 8], 0x1fef9f7d
pxor xmm0, xmm1
movq qword [r12], xmm0
mov rdx, r14
mov rcx, r12
call sub.msvcrt.dll__stricmp
test eax, eax
jne 0x140002de8
mov rdi, qword [rsp + 0x28]
mov eax, dword [r13 + 0x1c]
lea rcx, [0x1402b10a0]
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.14000fe00
lea rcx, [0x1402b1080]
mov qword [rsp + 0x68], rax
call fcn.14000fe00
lea rcx, [0x1402b10e0]
mov rbx, rax
call fcn.14000fe00
lea rcx, [0x1402b10c0]
mov qword [rsp + 0x70], rax
call fcn.14000fe00
lea rcx, [0x1402b1120]
mov rbp, rax
call fcn.14000fe00
lea rcx, [0x1402b1100]
mov qword [rsp + 0x60], rax
call fcn.14000fe00
lea rcx, [0x1402b1160]
mov rdi, rax
call fcn.14000fe00
lea rcx, [0x1402b1140]
mov qword [rsp + 0x78], rax
call fcn.14000fe00
lea rcx, [0x1402b11a0]
mov rsi, rax
call fcn.14000fe00
lea rcx, [0x1402b1180]
mov qword [rsp + 0x58], rax
call fcn.14000fe00
lea rcx, [0x1402b11e0]
mov r12, rax
call fcn.14000fe00
lea rcx, [0x1402b11c0]
mov qword [rsp + 0x50], rax
call fcn.14000fe00
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, [0x140022a30]
mov qword [rsp + 0x80], rax
lea rax, [0x140022a20]
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 0x140003120
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.14000eb10
cmp byte [rbx + 0x17], 0
je 0x140003158
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 0x140003130
mov byte [rbx + 0x17], 0
mov rdx, rbx
mov rcx, r13
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x14000316e
mov qword [0x1402c0078], 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 0x1400031d3
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.14000eb10
cmp byte [rbp + 0x16], 0
je 0x14000320a
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 0x1400031e8
mov byte [rbp + 0x16], 0
mov rdx, rbp
mov rcx, r13
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140003220
mov qword [0x1402c0070], 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 0x14000327e
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, [0x1400229f0]
mov byte [rdi + 0x12], al
movups xmmword [rdi], xmm4
mov byte [rdx], 1
mov rdx, rdi
call fcn.14000eb10
cmp byte [rdi + 0x13], 0
je 0x1400032b1
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 0x140003290
mov byte [rdi + 0x13], 0
mov rdx, rdi
mov rcx, r13
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400032c7
mov qword [0x1402c0068], 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 0x140003324
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, [0x140022a00]
mov byte [rsi + 0x12], al
movups xmmword [rsi], xmm5
mov byte [rdx], 1
mov rdx, rsi
call fcn.14000eb10
cmp byte [rsi + 0x13], 0
je 0x140003361
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 0x140003340
mov byte [rsi + 0x13], 0
mov rdx, rsi
mov rcx, r13
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140003377
mov qword [0x1402c0060], r15
mov rdx, qword [rsp + 0x58]
movaps xmmword [rsp + 0x90], xmm6
mov dword [rsp + 0xa0], 0x70d06b2
cmp byte [rdx], 0
jne 0x1400033c7
mov eax, 0x70d06b2
mov byte [r12 + 0x14], 1
xor r8d, r8d
movdqa xmm2, xmmword [rsp + 0x90]
mov dword [r12 + 0x10], eax
lea rcx, [0x140022a10]
movups xmmword [r12], xmm2
mov byte [rdx], 1
mov rdx, r12
call fcn.14000eb10
cmp byte [r12 + 0x14], 0
je 0x140003404
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 0x1400033e0
mov byte [r12 + 0x14], 0
mov rdx, r12
mov rcx, r13
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x14000341a
mov qword [0x1402c0058], r15
mov rdx, qword [rsp + 0x50]
cmp byte [rdx], 0
jne 0x140003455
mov rax, qword [0x1402b3260]
mov dword [r14 + 8], 0x20e1464b
xor r8d, r8d
lea rcx, [0x1400229d0]
mov qword [r14], rax
mov eax, 0x1a5
mov word [r14 + 0xc], ax
mov byte [rdx], 1
mov rdx, r14
call fcn.14000eb10
cmp byte [r14 + 0xd], 0
je 0x140003484
movq xmm0, qword [r14]
xor dword [r14 + 8], 0x7799233f
movq xmm1, qword [0x1402b3268]
xor byte [r14 + 0xc], 0xa5
mov byte [r14 + 0xd], 0
pxor xmm0, xmm1
movq qword [r14], xmm0
mov rdx, r14
mov rcx, r13
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x14000349a
mov qword [0x1402c0050], r15
mov rdx, qword [rsp + 0x20]
sub qword [rsp + 0x30], 4
lea rax, [rdx - 2]
cmp qword [rsp + 0x40], rdx
je 0x140002e80
mov qword [rsp + 0x20], rax
jmp 0x140003088
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