Function at 0x1800122a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x180087020]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rdx
mov qword [rbp - 0x20], rdx
xor edi, edi
cmp ecx, 1
jne 0x1800123b6
call fcn.180045878
cmp eax, 0x6a
jne 0x1800122e7
add dword [0x180087be8], eax
mov dword [rbp - 0x18], 0xb18522fc
mov dword [rbp - 0x14], 0xd3e4d3f6
mov dword [rbp - 0x10], 0xb39b23b9
mov ecx, dword [0x180089430]
mov rax, qword gs:[0x58]
mov rdi, qword [rax + rcx*8]
mov ecx, 0x9dc
mov eax, dword [rcx + rdi]
test al, 1
jne 0x180012352
or eax, 1
mov dword [rcx + rdi], eax
mov eax, 0xa08
mov esi, eax
mov byte [rax + rdi + 0xd], 1
movsd xmm0, qword [rbp - 0x18]
movsd qword [rax + rdi], xmm0
mov eax, dword [rbp - 0x10]
mov dword [rsi + rdi + 8], eax
mov byte [rsi + rdi + 0xc], 0x93
lea rcx, [0x1800695d0]
call fcn.18003f1a4
nop
jmp 0x180012357
mov esi, 0xa08
lea r8, [rdi + rsi]
cmp byte [r8 + 0xd], 0
je 0x180012391
xor edx, edx
movabs r9, 0xe1d7bf93dff74797
nop
movzx ecx, dl
and cl, 7
shl cl, 3
mov rax, r9
shr rax, cl
xor byte [rdx + r8], al
inc rdx
cmp rdx, 0xd
jb 0x180012370
mov byte [r8 + 0xd], 0
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
call fcn.180045878
cmp eax, 0x6b
jne 0x18001259d
add dword [0x180087be8], eax
jmp 0x18001259d
cmp ecx, 2
jne 0x1800124a7
call fcn.180045878
cmp eax, 0x15
jne 0x1800123cf
add dword [0x180087be8], eax
call fcn.180045878
cmp eax, 6
jne 0x1800123df
add dword [0x180087be8], eax
mov dword [rbp - 0x18], 0x727949c
mov dword [rbp - 0x14], 0xf18709bb
mov dword [rbp - 0x10], 0x6f25918f
mov ecx, dword [0x180089430]
mov rax, qword gs:[0x58]
mov rdi, qword [rax + rcx*8]
mov ecx, 0x9cc
mov eax, dword [rcx + rdi]
test al, 1
jne 0x180012445
or eax, 1
mov dword [rcx + rdi], eax
mov eax, 0x9b8
mov esi, eax
mov byte [rax + rdi + 0xc], 1
movsd xmm0, qword [rbp - 0x18]
movsd qword [rax + rdi], xmm0
mov eax, dword [rbp - 0x10]
mov dword [rsi + rdi + 8], eax
lea rcx, [0x1800695a0]
call fcn.18003f1a4
nop
jmp 0x18001244a
mov esi, 0x9b8
lea r8, [rdi + rsi]
cmp byte [r8 + 0xc], 0
je 0x180012482
xor edx, edx
movabs r9, 0xdff77dcf6f49fdeb
movzx ecx, dl
and cl, 7
shl cl, 3
mov rax, r9
shr rax, cl
xor byte [rdx + r8], al
inc rdx
cmp rdx, 0xc
jb 0x180012461
mov byte [r8 + 0xc], 0
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
call fcn.180045878
cmp eax, 0x7b
jne 0x18001259d
add dword [0x180087be8], eax
jmp 0x18001259d
cmp ecx, 3
jne 0x18001259d
call fcn.180045878
cmp eax, 0x7f
jne 0x1800124c0
add dword [0x180087be8], eax
mov dword [rbp - 0x18], 0xeec9f34a
mov dword [rbp - 0x14], 0x1a002cb
mov dword [rbp - 0x10], 0xe3d3f305
mov ecx, dword [0x180089430]
mov rax, qword gs:[0x58]
mov rdi, qword [rax + rcx*8]
mov ecx, 0x9b0
mov eax, dword [rcx + rdi]
test al, 1
jne 0x18001252b
or eax, 1
mov dword [rcx + rdi], eax
mov eax, 0x9e8
mov esi, eax
mov byte [rax + rdi + 0xd], 1
movsd xmm0, qword [rbp - 0x18]
movsd qword [rax + rdi], xmm0
mov eax, dword [rbp - 0x10]
mov dword [rsi + rdi + 8], eax
mov byte [rsi + rdi + 0xc], 0xbb
lea rcx, [0x180069570]
call fcn.18003f1a4
nop
jmp 0x180012530
mov esi, 0x9e8
lea r8, [rdi + rsi]
cmp byte [r8 + 0xd], 0
je 0x180012571
xor edx, edx
movabs r9, 0x33936bbb8fbf972b
nop word [rax + rax]
movzx ecx, dl
and cl, 7
shl cl, 3
mov rax, r9
shr rax, cl
xor byte [rdx + r8], al
inc rdx
cmp rdx, 0xd
jb 0x180012550
mov byte [r8 + 0xd], 0
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
call fcn.180045878
cmp eax, 0x15
jne 0x18001258d
add dword [0x180087be8], eax
call fcn.180045878
cmp eax, 0x79
jne 0x18001259d
add dword [0x180087be8], eax
call fcn.180045878
cmp eax, 0x39
jne 0x1800125ad
add dword [0x180087be8], eax
test rdi, rdi
jne 0x1800125f0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1800125ec
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1800125e7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180012686
mov rcx, r8
call fcn.18003f0cc
xor eax, eax
jmp 0x180012652
call fcn.180045878
cmp eax, 0x6d
jne 0x180012600
add dword [0x180087be8], eax
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x18001260d
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x18001264f
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x18001264a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180012686
mov rcx, r8
call fcn.18003f0cc
mov rax, rdi
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.18003f070
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop rbp
ret
call fcn.180045aec
int3