Function at 0x140154b10
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rdi, rcx
cmp byte [rcx + 0x50], 0
je 0x140154f74
lea r15, [0x1402be7c0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [0x14025c030], 0
jne 0x140154bf3
mov eax, dword [0x14025c034]
cmp dword [rdi + 0x54], eax
jne 0x140154bf3
mov rax, qword [rdi + 0x58]
cmp rax, qword [0x14025c038]
jne 0x140154bf3
mov rax, qword [rdi + 0x60]
cmp rax, qword [0x14025c040]
jne 0x140154bf3
mov r8, qword [rdi + 0x70]
cmp r8, qword [0x14025c050]
jne 0x140154bf3
test r8, r8
je 0x140154bac
mov rdx, qword [0x14025c048]
mov rcx, qword [rdi + 0x68]
call fcn.1402019e0
test eax, eax
jne 0x140154bf3
movups xmm0, xmmword [0x14025c058]
movups xmmword [rdi + 0x78], xmm0
movups xmm1, xmmword [0x14025c068]
movups xmmword [rdi + 0x88], xmm1
mov rax, qword [0x14025c078]
mov qword [rdi + 0x98], rax
movups xmm0, xmmword [0x14025c080]
movups xmmword [rdi + 0xa0], xmm0
movups xmm1, xmmword [0x14025c090]
movups xmmword [rdi + 0xb0], xmm1
mov byte [rdi + 0x50], 0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [rdi + 0x50], 0
je 0x140154f74
mov r8, qword [rdi + 0x70]
mov rdx, qword [rdi + 0x68]
lea rcx, [rbp + 0x80]
call fcn.14019ff00
lea rax, [rbp - 0x80]
lea rcx, [rbp + 0x80]
mov edx, 2
nop word [rax + rax]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rax - 0x10], xmm1
lea rcx, [rcx + 0x80]
sub rdx, 1
jne 0x140154c30
lea rdx, [rdi + 0x58]
mov r8d, 0x10
lea rcx, [rbp - 0x80]
call fcn.140145760
mov dword [rsp + 0x40], 0x1000000
mov r8d, 4
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140145760
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.1401a0030
movaps xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x60], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x70], xmm1
mov ecx, dword [rdi + 0x54]
mov ebx, 1
shl ebx, cl
dec ebx
xor esi, esi
test ebx, ebx
je 0x140154db3
nop dword [rax]
lea rcx, [rbp - 0x80]
lea rax, [rbp + 0x80]
mov edx, 2
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x140154d00
lea r8d, [rdx + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140145760
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.1401a0030
xor eax, eax
lea ecx, [rax + 2]
nop word [rax + rax]
movdqu xmm1, xmmword [rsp + rax + 0x40]
movdqu xmm0, xmmword [rsp + rax + 0x60]
pxor xmm1, xmm0
movdqu xmmword [rsp + rax + 0x60], xmm1
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x140154d80
add ebx, 0xffffffff
jne 0x140154cf0
movaps xmm1, xmmword [rsp + 0x70]
movaps xmm0, xmmword [rsp + 0x60]
test esi, esi
jne 0x140154dbd
lea rax, [rdi + 0x78]
jmp 0x140154dce
cmp esi, 1
lea rax, [rdi + 0xa0]
je 0x140154dce
lea rax, [rsp + 0x20]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
mov ebx, 0x10
inc esi
cmp esi, 3
jb 0x140154ce1
movzx eax, byte [rsp + 0x20]
mov byte [rdi + 0x98], al
movzx eax, byte [rsp + 0x21]
mov byte [rdi + 0x99], al
movzx eax, byte [rsp + 0x22]
mov byte [rdi + 0x9a], al
movzx eax, byte [rsp + 0x23]
mov byte [rdi + 0x9b], al
movzx eax, byte [rsp + 0x24]
mov byte [rdi + 0x9c], al
movzx eax, byte [rsp + 0x25]
mov byte [rdi + 0x9d], al
movzx eax, byte [rsp + 0x26]
mov byte [rdi + 0x9e], al
movzx eax, byte [rsp + 0x27]
mov byte [rdi + 0x9f], al
movzx eax, byte [rsp + 0x28]
xor byte [rdi + 0x98], al
movzx eax, byte [rsp + 0x29]
xor byte [rdi + 0x99], al
movzx eax, byte [rsp + 0x2a]
xor byte [rdi + 0x9a], al
movzx eax, byte [rsp + 0x2b]
xor byte [rdi + 0x9b], al
movzx eax, byte [rsp + 0x2c]
xor byte [rdi + 0x9c], al
movzx eax, byte [rsp + 0x2d]
xor byte [rdi + 0x9d], al
movzx eax, byte [rsp + 0x2e]
xor byte [rdi + 0x9e], al
movzx eax, byte [rsp + 0x2f]
xor byte [rdi + 0x9f], al
movzx eax, byte [rsp + 0x30]
xor byte [rdi + 0x98], al
movzx eax, byte [rsp + 0x31]
xor byte [rdi + 0x99], al
movzx eax, byte [rsp + 0x32]
xor byte [rdi + 0x9a], al
movzx eax, byte [rsp + 0x33]
xor byte [rdi + 0x9b], al
movzx eax, byte [rsp + 0x34]
xor byte [rdi + 0x9c], al
movzx eax, byte [rsp + 0x35]
xor byte [rdi + 0x9d], al
movzx eax, byte [rsp + 0x36]
xor byte [rdi + 0x9e], al
movzx eax, byte [rsp + 0x37]
xor byte [rdi + 0x9f], al
movzx eax, byte [rsp + 0x38]
xor byte [rdi + 0x98], al
movzx eax, byte [rsp + 0x39]
xor byte [rdi + 0x99], al
movzx eax, byte [rsp + 0x3a]
xor byte [rdi + 0x9a], al
movzx eax, byte [rsp + 0x3b]
xor byte [rdi + 0x9b], al
movzx eax, byte [rsp + 0x3c]
xor byte [rdi + 0x9c], al
movzx eax, byte [rsp + 0x3d]
xor byte [rdi + 0x9d], al
movzx eax, byte [rsp + 0x3e]
xor byte [rdi + 0x9e], al
movzx eax, byte [rsp + 0x3f]
xor byte [rdi + 0x9f], al
mov byte [rdi + 0x50], 0
mov qword [rbp + 0x1a0], r15
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea rdx, [rdi + 0x50]
lea rcx, [0x14025c030]
call fcn.140154510
nop
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test byte [rdi + 0xd0], 1
je 0x140154f99
cmp byte [rdi + 0xc8], 0
je 0x140154f99
mov rax, qword [rdi + 0x98]
cmp rax, qword [rdi + 0xc0]
sete al
jmp 0x140154f9b
mov al, 1
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret