Function at 0x180030fe0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rdx
mov r14, rcx
call fcn.180031320
xor eax, eax
mov dword [rbp - 0x50], 0x61614bf3
mov byte [rbp - 0x48], al
xor r15d, r15d
mov dword [rbp - 0x4c], 0x4e7d716d
mov qword [rbp + 0x30], r15
mov rax, qword [rbp + 0x30]
nop word [rax + rax]
mov rcx, qword [rbp + 0x30]
mov rax, qword [rbp + 0x30]
add cl, 0xc
xor cl, byte [rbp + rax - 0x4f]
mov rax, qword [rbp + 0x30]
mov byte [rbp + rax - 0x4f], cl
mov rax, qword [rbp + 0x30]
inc rax
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
cmp rax, 7
jb 0x180031030
movdqa xmm0, xmmword [0x18038f440]
lea rax, [rbp - 0x4f]
mov rbx, 0xffffffffffffffff
mov byte [rbp - 0x48], r15b
movdqu xmmword [rbp - 0x10], xmm0
mov r8, rbx
mov byte [rbp - 0x20], r15b
nop
inc r8
cmp byte [rax + r8], r15b
jne 0x180031080
lea rdx, [rbp - 0x4f]
lea rcx, [rbp - 0x20]
call fcn.180353890
inc rbx
cmp byte [rdi + rbx], r15b
jne 0x180031096
mov r8, rbx
lea rcx, [rbp - 0x20]
mov rdx, rdi
call fcn.1803539e0
movdqa xmm0, xmmword [0x18038f9b0]
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x28], 0xa8
mov qword [rbp + 0x30], r15
mov rax, qword [rbp + 0x30]
nop dword [rax]
mov rcx, qword [rbp + 0x30]
mov rax, qword [rbp + 0x30]
sub cl, 0x26
xor cl, byte [rbp + rax - 0x37]
mov rax, qword [rbp + 0x30]
mov byte [rbp + rax - 0x37], cl
mov rax, qword [rbp + 0x30]
inc rax
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
cmp rax, 0x10
jb 0x1800310d0
mov byte [rbp - 0x27], r15b
call fcn.1800015d0
mov rcx, qword gs:[0x58]
mov rdi, rax
mov edx, dword [0x18039b468]
mov eax, 4
mov rbx, qword [rcx + rdx*8]
add rbx, rax
mov ecx, dword [rbx]
cmp dword [0x18039d510], ecx
jle 0x18003115c
lea rcx, [0x18039d510]
call fcn.180360f8c
cmp dword [0x18039d510], 0xffffffff
jne 0x18003115c
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, [0x18039d510]
mov qword [0x1803a15b8], rax
call fcn.180360f2c
mov eax, dword [rbx]
cmp dword [0x1803a1558], eax
jle 0x180031195
lea rcx, [0x1803a1558]
call fcn.180360f8c
cmp dword [0x1803a1558], 0xffffffff
jne 0x180031195
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1803a1558]
mov qword [0x1803a1560], rax
call fcn.180360f2c
mov rcx, rdi
call qword [0x1803a15b8]
mov rcx, rax
lea rdx, [rbp - 0x37]
call qword [0x1803a1560]
mov rsi, rax
test rax, rax
je 0x1800312ec
xor eax, eax
mov dword [rbp - 0x47], 0x8393bc2a
mov byte [rbp - 0x39], al
mov dword [rbp - 0x43], 0x80939ca2
mov dword [rbp - 0x3f], 0x92bc9fb7
mov word [rbp - 0x3b], 0x9890
mov qword [rbp + 0x30], r15
mov rax, qword [rbp + 0x30]
nop
mov rcx, qword [rbp + 0x30]
mov rax, qword [rbp + 0x30]
sub cl, 0xf
xor cl, byte [rbp + rax - 0x46]
mov rax, qword [rbp + 0x30]
mov byte [rbp + rax - 0x46], cl
mov rax, qword [rbp + 0x30]
inc rax
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
cmp rax, 0xd
jb 0x1800311e0
mov byte [rbp - 0x39], r15b
call fcn.1800015d0
mov edx, dword [rbx]
mov rdi, rax
cmp dword [0x18039d510], edx
jle 0x180031251
lea rcx, [0x18039d510]
call fcn.180360f8c
cmp dword [0x18039d510], 0xffffffff
jne 0x180031251
mov rdx, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, [0x18039d510]
mov qword [0x1803a15b8], rdx
call fcn.180360f2c
mov eax, dword [rbx]
cmp dword [0x1803a1558], eax
jle 0x18003128a
lea rcx, [0x1803a1558]
call fcn.180360f8c
cmp dword [0x1803a1558], 0xffffffff
jne 0x18003128a
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1803a1558]
mov qword [0x1803a1560], rax
call fcn.180360f2c
mov rcx, rdi
call qword [0x1803a15b8]
mov rcx, rax
lea rdx, [rbp - 0x46]
call qword [0x1803a1560]
mov rbx, rax
test rax, rax
je 0x1800312ec
cmp qword [rbp - 8], 0x10
lea r8, [rbp - 0x20]
cmovae r8, qword [rbp - 0x20]
xor edx, edx
lea ecx, [rdx + 6]
call rsi
mov qword [r14], rax
test rax, rax
je 0x1800312ec
xor r9d, r9d
mov qword [rsp + 0x20], r15
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 6]
call rbx
mov qword [r14 + 8], rax
test rax, rax
je 0x1800312ec
mov eax, dword [rax]
mov bl, 1
mov dword [r14 + 0x10], eax
jmp 0x1800312ee
xor bl, bl
lea rcx, [rbp - 0x20]
call fcn.180353810
lea r11, [rsp + 0x80]
movzx eax, bl
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret