Function at 0x140023570
Capabilities:
Access peb ldr_data
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x14007e090]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
je 0x140023559
mov ecx, dword [rax + 0x3c]
add ecx, ebx
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
movsxd rdi, ecx
mov rcx, qword gs:[0x60]
mov qword [rsp + 0x50], r14
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov esi, dword [rax + r10 + 0x88]
add rsi, r10
cmp rsi, r10
je 0x1400233c7
mov r9d, dword [rsi + 0x18]
test r9d, r9d
je 0x1400233c7
mov r14d, dword [rsi + 0x20]
nop word [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rax, [r14 + r9*4]
mov edx, dword [rax + r10]
add rdx, r10
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x1400233c2
nop
movsx eax, al
lea rdx, [rdx + 1]
xor eax, r8d
imul r8d, eax, 0x1000193
movzx eax, byte [rdx - 1]
test al, al
jne 0x1400233a0
cmp r8d, 0x820621f3
je 0x1400233cc
test r9d, r9d
jne 0x140023380
mov rcx, qword [rcx]
jmp 0x140023350
mov ecx, dword [rsi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
lea r9, [rsp + 0x20]
mov ecx, dword [rsi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov edx, 0x40
add rax, r10
mov rcx, rbx
lea r8d, [rdx - 0x3c]
call rax
mov r14, qword [rsp + 0x50]
test eax, eax
je 0x14002343e
mov qword [rbx], 0
mov qword [rbx + 8], 0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov qword [rbx + 0x20], 0
mov qword [rbx + 0x28], 0
mov qword [rbx + 0x30], 0
mov qword [rbx + 0x38], 0
test rdi, rdi
je 0x14002354f
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1400234d7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1400234d7
mov esi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rsi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1400234d2
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x1400234b0
cmp r8d, 0x820621f3
je 0x1400234dc
test r9d, r9d
jne 0x140023490
mov rax, qword [rax]
jmp 0x140023460
mov ecx, dword [rbx + 0x24]
mov r8d, 4
add rcx, r10
movzx edx, word [rcx + r9*2]
lea r9, [rsp + 0x20]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov edx, 0x108
add rax, r10
mov rcx, rdi
call rax
test eax, eax
je 0x14002354f
xor ecx, ecx
xorps xmm0, xmm0
lea eax, [rcx + 2]
nop dword [rax]
nop dword [rax + rax]
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
movups xmmword [rdi + 0x50], xmm0
movups xmmword [rdi + 0x60], xmm0
lea rdi, [rdi + 0x80]
movups xmmword [rdi - 0x10], xmm0
sub rax, 1
jne 0x140023520
mov qword [rdi], rcx
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140038af0
add rsp, 0x30
pop rbx
ret
sub rsp, 0x28
call fcn.140022ed0
add rsp, 0x28
jmp 0x1400232f0