Function at 0x18013d750
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x18054e100]
xor rax, rsp
mov qword [rbp - 0x18], rax
cmp qword [0x180576078], 0xf
lea rcx, [0x180576060]
cmova rcx, qword [0x180576060]
call fcn.1803703cc
mov r14, rax
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], 0
jne 0x18013d797
xor r15d, r15d
mov esi, r15d
mov ebx, r15d
test rdi, rdi
je 0x18013d7d3
mov eax, r15d
movsx ecx, byte [r14 + rax]
call fcn.180370a88
add eax, ebx
inc esi
imul ebx, eax, 0x401
mov eax, ebx
shr eax, 6
xor ebx, eax
mov eax, esi
cmp rax, rdi
jb 0x18013d7b1
lea eax, [rbx + rbx*8]
mov qword [rbp - 0x40], r15
mov ecx, eax
mov dword [0x1805870f8], r15d
shr ecx, 0xb
xor ecx, eax
mov dword [0x1805870e8], 1
imul esi, ecx, 0x8001
movabs rax, 0xc0296a2edf545e92
mov qword [0x1805dd278], rax
mov dword [rbp - 0x40], esi
mov rax, qword [rbp - 0x40]
mov qword [0x180587120], rax
mov dword [rbp - 0x38], esi
call fcn.1801e4620
cmp dword [rax], r15d
je 0x18013e075
mov ecx, esi
call qword [0x1805b1b28]
movabs rax, 0x98a4eb5d89a0c952
mov qword [rbp - 0x40], r15
mov qword [0x1805dd278], rax
mov dword [rbp - 0x40], esi
mov rax, qword [rbp - 0x40]
mov qword [0x180587120], rax
mov dword [0x1805870f8], r15d
mov dword [0x1805870e8], 1
call fcn.1801e4620
cmp dword [rax], r15d
je 0x18013e0d3
mov eax, dword [0x1805ab804]
movabs rbx, 0x50fac3a3e030a6e1
mov qword [rbp - 0x40], r15
mov dword [rbp - 0x40], eax
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0xa0], r12
mov qword [rsp + 0xa8], r13
mov qword [0x180587120], rax
movaps xmmword [rsp + 0x60], xmm6
mov dword [0x1805870f8], r15d
mov qword [0x1805dd278], rbx
mov dword [0x1805870e8], 1
call fcn.1801e4620
mov qword [rbp - 0x40], r15
mov ecx, dword [rax]
movabs rax, 0x3fef770d40960d5a
mov dword [rbp - 0x40], ecx
mov qword [0x1805dd278], rax
mov rax, qword [rbp - 0x40]
mov qword [0x180587120], rax
mov dword [0x1805870f8], r15d
mov qword [0x180587128], r15
mov dword [0x1805870e8], 2
call fcn.1801e4620
mov qword [rbp - 0x40], r15
mov qword [0x1805dd278], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movsd xmm1, qword [rax + 0x10]
mov eax, dword [0x1805ab804]
mov dword [rbp - 0x40], eax
mov rax, qword [rbp - 0x40]
mov qword [0x180587120], rax
movsd qword [rbp - 0x20], xmm1
mov dword [0x1805870f8], r15d
mov dword [0x1805870e8], 1
call fcn.1801e4620
mov qword [rbp - 0x40], r15
mov ecx, dword [rax]
movabs rax, 0xe83d4f9ba2a38914
mov dword [rbp - 0x40], ecx
mov qword [0x1805dd278], rax
mov rax, qword [rbp - 0x40]
mov qword [0x180587120], rax
mov dword [0x1805870f8], r15d
mov dword [0x1805870e8], 1
call fcn.1801e4620
movss xmm6, dword [rax]
movaps xmm1, xmm6
mulss xmm1, dword [0x180504030]
movaps xmm0, xmm1
call fcn.1803899e0
movss xmm1, dword [rbp - 0x30]
movaps xmm3, xmm0
mov rax, qword [0x18058c9e8]
movaps xmm2, xmm0
movss xmm0, dword [rbp - 0x28]
mulss xmm2, dword [0x180506cd8]
shufps xmm3, xmm3, 1
mulss xmm3, dword [0x1805044a4]
addss xmm1, xmm2
addss xmm0, xmm3
movss dword [rbp - 0x30], xmm1
movss dword [rbp - 0x28], xmm0
mov rcx, qword [rax + 0x1d8]
test rcx, rcx
je 0x18013d9ee
mov word [rcx], 0x9090
mov rax, qword [0x1805b1b30]
lea rdx, [rbp - 0x30]
mov r9d, 1
mov dword [rsp + 0x20], 1
movaps xmm2, xmm6
mov ecx, esi
call rax
mov rcx, qword [0x18058c9e8]
mov edi, eax
movaps xmm6, xmmword [rsp + 0x60]
mov rax, qword [rcx + 0x1d8]
test rax, rax
je 0x18013da2d
mov word [rax], 0x574
mov edx, 1
mov ecx, edi
mov r9d, edx
mov r8d, edx
call fcn.18015d070
movabs rax, 0x49733e92263139d1
mov qword [rbp - 0x40], r15
mov qword [0x1805dd278], rax
mov dword [rbp - 0x40], edi
mov rax, qword [rbp - 0x40]
mov qword [0x180587120], rax
mov dword [0x1805870f8], r15d
mov dword [0x1805870e8], 1
call fcn.1801e4620
mov ecx, edi
call fcn.18015d000
mov qword [rbp - 0x40], r15
movabs rax, 0x3910051ccecdb00c
mov qword [0x1805dd278], rax
mov dword [rbp - 0x40], edi
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x40], r15
mov qword [0x180587120], rax
mov dword [rbp - 0x40], 1
mov rax, qword [rbp - 0x40]
mov qword [0x180587128], rax
mov dword [0x1805870f8], r15d
mov dword [0x1805870e8], 2
call fcn.1801e4620
mov ecx, edi
call fcn.180167a70
movabs rax, 0x1f2aa07f00b3217a
mov qword [rbp - 0x40], r15
mov qword [0x1805dd278], rax
mov dword [rbp - 0x40], edi
mov rax, qword [rbp - 0x40]
mov qword [0x180587120], rax
mov dword [0x1805870f8], r15d
mov qword [0x180587128], r15
mov dword [0x1805870e8], 2
call fcn.1801e4620
mov ebx, r15d
lea rsi, str.Thunder
movabs r12, 0xe38e9162a2500646
movabs r14, 0x6af0636ddedcb6dd
movabs r13, 0x95a88f0b409cda47
nop dword [rax]
mov qword [rbp - 0x40], r15
mov dword [rbp - 0x40], edi
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x40], r15
mov qword [0x180587120], rax
mov dword [rbp - 0x40], ebx
mov rax, qword [rbp - 0x40]
mov qword [0x180587128], rax
mov dword [0x1805870f8], r15d
mov qword [0x1805dd278], r12
mov dword [0x1805870e8], 2
call fcn.1801e4620
mov r8d, ebx
mov dword [rsp + 0x20], r15d
mov edx, edi
mov rcx, r14
mov r9d, dword [rax]
sub r9d, dword [0x1805688b8]
call fcn.18015d200
mov qword [rbp - 0x40], r15
mov dword [rbp - 0x40], edi
mov rax, qword [rbp - 0x40]
mov qword [0x180587120], rax
mov dword [0x1805870f8], r15d
mov qword [0x1805dd278], r13
mov qword [0x180587128], rsi
mov dword [0x1805870e8], 2
call fcn.1801e4620
inc ebx
cmp ebx, 0x32
jl 0x18013db40
cmp byte [0x1805b11bf], 1
mov r13, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xa0]
mov esi, dword [rbp - 0x38]
jne 0x18013e075
mov qword [rbp - 0x40], r15
movabs rax, 0x8c4b92553e4766a5
mov qword [0x1805dd278], rax
mov dword [rbp - 0x40], edi
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x40], r15
mov qword [0x180587120], rax
mov dword [rbp - 0x40], 1
mov rax, qword [rbp - 0x40]
mov qword [0x180587128], rax
mov dword [0x1805870f8], r15d
mov dword [0x1805870e8], 2
call fcn.1801e4620
mov qword [rbp - 0x40], r15
movabs rbx, 0x2aa720e4287bf269
mov dword [rbp - 0x40], edi
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x40], r15
mov qword [0x180587120], rax
mov dword [rbp - 0x40], 1
mov rax, qword [rbp - 0x40]
mov qword [0x180587130], rax
mov dword [0x1805870f8], r15d
mov qword [0x1805dd278], rbx
mov qword [0x180587128], r15
mov dword [0x1805870e8], 3
call fcn.1801e4620
mov qword [rbp - 0x40], r15
mov dword [rbp - 0x40], edi
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x40], r15
mov qword [0x180587120], rax
mov dword [rbp - 0x40], 1
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x40], r15
mov qword [0x180587128], rax
mov dword [rbp - 0x40], 1
mov rax, qword [rbp - 0x40]
mov qword [0x180587130], rax
mov dword [0x1805870f8], r15d
mov qword [0x1805dd278], rbx
mov dword [0x1805870e8], 3
call fcn.1801e4620
mov qword [rbp - 0x40], r15
mov dword [rbp - 0x40], edi
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x40], r15
mov qword [0x180587120], rax
mov dword [rbp - 0x40], 2
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x40], r15
mov qword [0x180587128], rax
mov dword [rbp - 0x40], 1
mov rax, qword [rbp - 0x40]
mov qword [0x180587130], rax
mov dword [0x1805870f8], r15d
mov qword [0x1805dd278], rbx
mov dword [0x1805870e8], 3
call fcn.1801e4620
mov qword [rbp - 0x40], r15
mov dword [rbp - 0x40], edi
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x40], r15
mov qword [0x180587120], rax
mov dword [rbp - 0x40], 3
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x40], r15
mov qword [0x180587128], rax
mov dword [rbp - 0x40], 1
mov rax, qword [rbp - 0x40]
mov qword [0x180587130], rax
mov dword [0x1805870f8], r15d
mov qword [0x1805dd278], rbx
mov dword [0x1805870e8], 3
call fcn.1801e4620
mov qword [rbp - 0x40], r15
mov dword [rbp - 0x40], edi
mov rax, qword [rbp - 0x40]
mov qword [0x180587120], rax
mov dword [0x1805870f8], r15d
mov qword [0x1805dd278], rbx
mov qword [rbp - 0x40], r15
mov dword [rbp - 0x40], 4
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x40], r15
mov qword [0x180587128], rax
mov dword [rbp - 0x40], 1
mov rax, qword [rbp - 0x40]
mov qword [0x180587130], rax
mov dword [0x1805870e8], 3
call fcn.1801e4620
mov qword [rbp - 0x40], r15
mov dword [rbp - 0x40], edi
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x40], r15
mov qword [0x180587120], rax
mov dword [rbp - 0x40], 5
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x40], r15
mov qword [0x180587128], rax
mov dword [rbp - 0x40], 1
mov rax, qword [rbp - 0x40]
mov qword [0x180587130], rax
mov dword [0x1805870f8], r15d
mov qword [0x1805dd278], rbx
mov dword [0x1805870e8], 3
call fcn.1801e4620
mov qword [rbp - 0x40], r15
mov dword [rbp - 0x40], edi
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x40], r15
mov qword [0x180587120], rax
mov dword [rbp - 0x40], 6
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x40], r15
mov qword [0x180587128], rax
mov dword [rbp - 0x40], 1
mov rax, qword [rbp - 0x40]
mov qword [0x180587130], rax
mov dword [0x1805870f8], r15d
mov qword [0x1805dd278], rbx
mov dword [0x1805870e8], 3
call fcn.1801e4620
mov qword [rbp - 0x40], r15
mov dword [rbp - 0x40], edi
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x40], r15
mov qword [0x180587120], rax
mov dword [rbp - 0x40], 7
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x40], r15
mov qword [0x180587128], rax
mov dword [rbp - 0x40], 1
mov rax, qword [rbp - 0x40]
mov qword [0x180587130], rax
mov dword [0x1805870f8], r15d
mov qword [0x1805dd278], rbx
mov dword [0x1805870e8], 3
call fcn.1801e4620
movabs rax, 0x1f2aa07f00b3217a
mov qword [rbp - 0x40], r15
mov qword [0x1805dd278], rax
mov dword [rbp - 0x40], edi
mov rax, qword [rbp - 0x40]
mov qword [0x180587120], rax
mov dword [0x1805870f8], r15d
mov qword [0x180587128], r15
mov dword [0x1805870e8], 2
call fcn.1801e4620
mov qword [rbp - 0x40], r15
movabs rax, 0x487eb21cc7295ba1
mov qword [0x1805dd278], rax
mov dword [rbp - 0x40], edi
mov rax, qword [rbp - 0x40]
mov qword [0x180587120], rax
mov eax, dword [0x180568990]
mov qword [rbp - 0x40], r15
mov dword [rbp - 0x40], eax
mov rax, qword [rbp - 0x40]
mov qword [0x180587128], rax
mov dword [0x1805870f8], r15d
mov dword [0x1805870e8], 2
call fcn.1801e4620
mov r9d, dword [0x1805b1154]
mov r8d, 0x17
mov edx, edi
mov dword [rsp + 0x20], r15d
mov rcx, r14
call fcn.18015d200
mov eax, dword [0x18056898c]
mov edx, edi
mov r9d, dword [0x1805b114c]
movabs rcx, 0x7141766f91d15bea
mov r8d, dword [0x1805b1150]
mov dword [rsp + 0x20], eax
call fcn.18015d200
mov edx, dword [0x180568988]
movabs rax, 0x4f1d4be3a7f24601
mov qword [0x1805dd278], rax
mov qword [rbp - 0x40], r15
mov dword [rbp - 0x40], edi
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x40], r15
mov dword [rbp - 0x40], edx
mov qword [0x180587120], rax
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x40], r15
mov dword [rbp - 0x40], edx
mov qword [0x180587128], rax
mov rax, qword [rbp - 0x40]
mov qword [0x180587130], rax
mov dword [0x1805870f8], r15d
mov dword [0x1805870e8], 3
call fcn.1801e4620
mov r9d, dword [0x180568984]
mov r8d, 0xe
mov edx, edi
mov dword [rsp + 0x20], r15d
mov rcx, r14
call fcn.18015d200
call qword [sym.imp.WINMM.dll_timeGetTime]
mov rcx, qword [0x1805b1c88]
add eax, 0x96
mov dword [0x1805b1c90], eax
call qword [sym.imp.KERNEL32.dll_SwitchToFiber]
movabs rax, 0xe532f5d78798daab
mov qword [rbp - 0x40], r15
mov qword [0x1805dd278], rax
mov dword [rbp - 0x40], esi
mov rax, qword [rbp - 0x40]
mov qword [0x180587120], rax
mov dword [0x1805870f8], r15d
mov dword [0x1805870e8], 1
call fcn.1801e4620
mov byte [0x1805b109e], r15b
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.180357630
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret