Function at 0x140008340
Capabilities:
Access peb ldr_data
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140030040]
xor rax, rsp
mov qword [rbp - 8], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rax, [rbp + 0x28]
movabs rcx, 0x7a5db90d33787107
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x10], rax
mov r13, qword [rax]
xor r13, rcx
mov qword [rbp - 0x20], r13
mov qword [rax], 0
movsd xmm0, qword [0x14002bb88]
movsd qword [rbp - 0x30], xmm0
movzx eax, word [0x14002bb90]
mov word [rbp - 0x28], ax
movzx ecx, byte [0x14002bb92]
mov byte [rbp - 0x26], cl
mov rax, qword [0x14005a0c8]
test rax, rax
jne 0x140008561
xor r11d, r11d
mov r10d, 0x97cd07b6
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r12, qword [rax]
mov rsi, r12
nop dword [rax]
movups xmm0, xmmword [rsi + 0x58]
movd eax, xmm0
sub ax, 8
test r11d, r11d
je 0x14000843d
psrldq xmm0, 8
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
mov edx, 0x87802607
cmp rcx, r8
je 0x140008434
nop
movsx eax, byte [rcx]
xor eax, edx
imul edx, eax, 0xfff5db
add rcx, 2
cmp rcx, r8
jne 0x140008420
cmp edx, r11d
jne 0x14000853e
mov r9, qword [rsi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov rcx, qword [rax + r9 + 0x88]
mov r15, rcx
shr r15, 0x20
mov ebx, ecx
add rbx, r9
cmp rbx, r9
je 0x14000853e
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x14000853e
mov r14d, dword [rbx + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
lea rax, [r14 + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
mov edx, 0x87802607
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x1400084b6
nop dword [rax]
movsx eax, al
xor eax, edx
imul edx, eax, 0xfff5db
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
test al, al
jne 0x1400084a0
cmp edx, r10d
je 0x1400084c2
test r8d, r8d
jne 0x140008480
jmp 0x14000853e
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov eax, dword [rbx + 0x24]
add rax, r9
movzx eax, word [rax + r8*2]
mov eax, dword [rcx + rax*4]
add rax, r9
cmp rax, rbx
jbe 0x140008556
lea rcx, [rbx + r15]
cmp rax, rcx
jae 0x140008556
mov r11d, 0x87802607
mov r10d, r11d
movzx ecx, byte [rax]
cmp cl, 0x2e
je 0x140008518
nop dword [rax + rax]
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0xfff5db
inc rax
movzx ecx, byte [rax]
cmp cl, 0x2e
jne 0x140008500
inc rax
movzx ecx, byte [rax]
test cl, cl
je 0x14000853a
movsx ecx, cl
xor ecx, r10d
imul r10d, ecx, 0xfff5db
lea rax, [rax + 1]
movzx ecx, byte [rax]
test cl, cl
jne 0x140008522
mov rsi, qword [r12]
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r12
je 0x140008554
cmp qword [rax + 0x30], 0
jne 0x1400083f0
xor eax, eax
mov qword [0x14005a0c8], rax
movzx ecx, byte [rbp - 0x26]
mov byte [rbp - 0x30], 0x70
xor byte [rbp - 0x2f], 0x8c
xor byte [rbp - 0x2e], 0x8d
xor byte [rbp - 0x2d], 0x8e
xor byte [rbp - 0x2c], 0x8f
xor byte [rbp - 0x2b], 0x90
xor byte [rbp - 0x2a], 0x91
xor byte [rbp - 0x29], 0x92
xor byte [rbp - 0x28], 0x93
xor byte [rbp - 0x27], 0x94
xor cl, 0x8b
mov byte [rbp - 0x26], cl
lea rcx, [rbp - 0x30]
call rax
nop
movabs rax, 0x7a5db90d33787107
xor r13, rax
lea rax, [rbp + 0x28]
mov qword [rax], r13
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140025fd0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret