Function at 0x180047490
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x330]
sub rsp, 0x430
mov rax, qword [0x1800f7280]
xor rax, rsp
mov qword [rbp + 0x320], rax
xor r15d, r15d
mov ebx, r15d
nop word [rax + rax]
mov dword [0x1800f8ac8], ebx
lea rcx, [0x1800bceb8]
call fcn.180047320
test rax, rax
jne 0x1800474f3
inc ebx
cmp ebx, 2
jl 0x1800474d0
jmp 0x180047fb5
xorps xmm0, xmm0
movups xmmword [rbp + 0x2e0], xmm0
movups xmmword [rbp + 0x2f0], xmm0
movups xmmword [rbp + 0x300], xmm0
movups xmmword [rbp + 0x310], xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x30], xmm1
mov r8d, 0x16
lea rdx, [0x1800bcec8]
lea rcx, [rsp + 0x20]
call fcn.180034e00
lea rax, [0x1800f8a10]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
mov r8d, 0x17
lea rdx, [0x1800bcee0]
lea rcx, [rsp + 0x48]
call fcn.180034e00
lea rax, [0x1800f8a18]
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x80], xmm1
mov r8d, 0x20
lea rdx, [0x1800bcef8]
lea rcx, [rsp + 0x70]
call fcn.180034e00
lea rax, [0x1800f8a20]
mov qword [rbp - 0x70], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], r15
mov r8d, 0x18
lea rdx, [0x1800bcf20]
lea rcx, [rbp - 0x68]
call fcn.180034e00
lea rax, [0x1800f8a28]
mov qword [rbp - 0x48], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x30], xmm1
mov r8d, 0x21
lea rdx, [0x1800bcf40]
lea rcx, [rbp - 0x40]
call fcn.180034e00
lea rax, [0x1800f8a30]
mov qword [rbp - 0x20], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], r15
mov qword [rbp], r15
mov r8d, 0x23
lea rdx, [0x1800bcf68]
lea rcx, [rbp - 0x18]
call fcn.180034e00
lea rax, [0x1800f8a38]
mov qword [rbp + 8], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x20], xmm1
mov r8d, 0x15
lea rdx, [0x1800bcf90]
lea rcx, [rbp + 0x10]
call fcn.180034e00
lea rax, [0x1800f8a40]
mov qword [rbp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], r15
mov r8d, 0x11
lea rdx, [0x1800bcfa8]
lea rcx, [rbp + 0x38]
call fcn.180034e00
lea rax, [0x1800f8a48]
mov qword [rbp + 0x58], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x70], xmm1
mov r8d, 0x1c
lea rdx, [0x1800bcfc0]
lea rcx, [rbp + 0x60]
call fcn.180034e00
lea rax, [0x1800f8a50]
mov qword [rbp + 0x80], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
mov qword [rbp + 0x98], r15
mov qword [rbp + 0xa0], r15
mov r8d, 0xb
lea rdx, [0x1800bcfe0]
lea rcx, [rbp + 0x88]
call fcn.180034e00
lea rax, [0x1800f8a58]
mov qword [rbp + 0xa8], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xc0], xmm1
mov r8d, 0x16
lea rdx, [0x1800bcff0]
lea rcx, [rbp + 0xb0]
call fcn.180034e00
lea rax, [0x1800f8a60]
mov qword [rbp + 0xd0], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xd8], xmm0
mov qword [rbp + 0xe8], r15
mov qword [rbp + 0xf0], r15
mov r8d, 0x1c
lea rdx, [0x1800bd008]
lea rcx, [rbp + 0xd8]
call fcn.180034e00
lea rax, [0x1800f8a68]
mov qword [rbp + 0xf8], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x110], xmm1
mov r8d, 0x14
lea rdx, [0x1800bd028]
lea rcx, [rbp + 0x100]
call fcn.180034e00
lea rax, [0x1800f8a70]
mov qword [rbp + 0x120], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x128], xmm0
mov qword [rbp + 0x138], r15
mov qword [rbp + 0x140], r15
mov r8d, 0x11
lea rdx, [0x1800bd040]
lea rcx, [rbp + 0x128]
call fcn.180034e00
lea rax, [0x1800f8a78]
mov qword [rbp + 0x148], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x150], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x160], xmm1
mov r8d, 0x14
lea rdx, [0x1800bd058]
lea rcx, [rbp + 0x150]
call fcn.180034e00
lea rax, [0x1800f8a80]
mov qword [rbp + 0x170], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x178], xmm0
mov qword [rbp + 0x188], r15
mov qword [rbp + 0x190], r15
mov r8d, 0x14
lea rdx, [0x1800bd070]
lea rcx, [rbp + 0x178]
call fcn.180034e00
lea rax, [0x1800f8a88]
mov qword [rbp + 0x198], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x1b0], xmm1
mov r8d, 0x16
lea rdx, [0x1800bd088]
lea rcx, [rbp + 0x1a0]
call fcn.180034e00
lea rax, [0x1800f8a90]
mov qword [rbp + 0x1c0], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1c8], xmm0
mov qword [rbp + 0x1d8], r15
mov qword [rbp + 0x1e0], r15
mov r8d, 0x11
lea rdx, [0x1800bd0a0]
lea rcx, [rbp + 0x1c8]
call fcn.180034e00
lea rax, [0x1800f8a98]
mov qword [rbp + 0x1e8], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x200], xmm1
mov r8d, 0x1c
lea rdx, [0x1800bd0b8]
lea rcx, [rbp + 0x1f0]
call fcn.180034e00
lea rax, [0x1800f8aa0]
mov qword [rbp + 0x210], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x218], xmm0
mov qword [rbp + 0x228], r15
mov qword [rbp + 0x230], r15
mov r8d, 0x17
lea rdx, [0x1800bd0d8]
lea rcx, [rbp + 0x218]
call fcn.180034e00
lea rax, [0x1800f8aa8]
mov qword [rbp + 0x238], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x240], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x250], xmm1
mov r8d, 0x1d
lea rdx, [0x1800bd0f0]
lea rcx, [rbp + 0x240]
call fcn.180034e00
lea rax, [0x1800f8ab0]
mov qword [rbp + 0x260], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x268], xmm0
mov qword [rbp + 0x278], r15
mov qword [rbp + 0x280], r15
mov r8d, 0x1d
lea rdx, [0x1800bd110]
lea rcx, [rbp + 0x268]
call fcn.180034e00
lea rax, [0x1800f8ab8]
mov qword [rbp + 0x288], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x290], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x2a0], xmm1
mov r8d, 0x1d
lea rdx, [0x1800bd130]
lea rcx, [rbp + 0x290]
call fcn.180034e00
lea rax, [0x1800f8ac0]
mov qword [rbp + 0x2b0], rax
mov dword [rbp + 0x2e0], 0
mov qword [rbp + 0x2e8], r15
mov qword [rbp + 0x2f0], r15
mov ecx, 0x38
call fcn.1800a1f50
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp + 0x2e8], rax
mov qword [rbp + 0x2f8], r15
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x300], xmm0
mov qword [rbp + 0x310], 7
mov qword [rbp + 0x318], 8
mov dword [rbp + 0x2e0], 0x3f800000
mov r8, rax
mov edx, 0x10
lea rcx, [rbp + 0x2f8]
call fcn.180054480
nop
lea rbx, [rsp + 0x20]
mov r8, rbx
lea rdx, [rbp + 0x2d0]
lea rcx, [rbp + 0x2e0]
call fcn.1800567c0
add rbx, 0x28
lea rax, [rbp + 0x2b8]
cmp rbx, rax
jne 0x180047aa6
lea r9, [fcn.180042970]
mov edx, 0x28
lea r8d, [rdx - 0x11]
lea rcx, [rsp + 0x20]
call fcn.1800a1f8c
mov rsi, qword [rbp + 0x2e8]
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x180047b20
lea rcx, [rbx + 0x10]
cmp qword [rbx + 0x28], 0xf
jbe 0x180047b04
mov rcx, qword [rbx + 0x10]
mov rdi, qword [rbx + 0x30]
call fcn.180047320
mov qword [rdi], rax
test rax, rax
je 0x180047b4b
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rsi
jne 0x180047af5
lea rax, [0x1800bc988]
mov qword [rbp + 0x2d0], rax
mov rdx, qword [0x1800fe4f8]
cmp rdx, qword [0x1800fe500]
je 0x180047b52
mov qword [rdx], rax
add qword [0x1800fe4f8], 8
jmp 0x180047b5e
xor bl, bl
jmp 0x180047fa6
lea r8, [rbp + 0x2d0]
call fcn.1800558c0
lea rcx, [0x1800bc9a0]
call qword [0x1800f8a70]
lea rcx, [0x1800bc9c0]
call qword [0x1800f8a70]
lea rcx, [0x1800bc9e0]
call qword [0x1800f8a70]
lea rcx, [0x1800bca00]
call qword [0x1800f8a70]
lea rcx, [0x1800bca20]
call qword [0x1800f8a70]
lea rcx, [0x1800bca48]
call qword [0x1800f8a70]
lea rcx, [0x1800bca70]
call qword [0x1800f8a70]
lea rax, [0x1800bcaa0]
mov qword [rbp + 0x2d0], rax
mov rdx, qword [0x1800fe4f8]
cmp rdx, qword [0x1800fe500]
je 0x180047be4
mov qword [rdx], rax
add qword [0x1800fe4f8], 8
jmp 0x180047bf0
lea r8, [rbp + 0x2d0]
call fcn.1800558c0
lea rcx, [0x1800bcab8]
call qword [0x1800f8a70]
lea rcx, [0x1800bcae0]
call qword [0x1800f8a70]
lea rax, [0x1800bc768]
mov qword [rbp + 0x2d0], rax
mov rdx, qword [0x1800fe4f8]
cmp rdx, qword [0x1800fe500]
je 0x180047c35
mov qword [rdx], rax
add qword [0x1800fe4f8], 8
jmp 0x180047c41
lea r8, [rbp + 0x2d0]
call fcn.1800558c0
lea rcx, [0x1800bc780]
call qword [0x1800f8a70]
lea rcx, [0x1800bc7b8]
call qword [0x1800f8a70]
lea rcx, [0x1800bc7e0]
call qword [0x1800f8a70]
lea rcx, [0x1800bc800]
call qword [0x1800f8a70]
lea rcx, [0x1800bc830]
call qword [0x1800f8a70]
lea rcx, [0x1800bc860]
call qword [0x1800f8a70]
lea rcx, [0x1800bc890]
call qword [0x1800f8a70]
lea rcx, [0x1800bc8c0]
call qword [0x1800f8a70]
lea rcx, [0x1800bc8e8]
call qword [0x1800f8a70]
lea rcx, [0x1800bc910]
call qword [0x1800f8a70]
lea rcx, [0x1800bc938]
call qword [0x1800f8a70]
lea rcx, [0x1800bc960]
call qword [0x1800f8a70]
lea rax, [0x1800bcb08]
mov qword [rbp + 0x2d0], rax
mov rdx, qword [0x1800fe4f8]
cmp rdx, qword [0x1800fe500]
je 0x180047d08
mov qword [rdx], rax
add qword [0x1800fe4f8], 8
jmp 0x180047d14
lea r8, [rbp + 0x2d0]
call fcn.1800558c0
lea rcx, [0x1800bcb20]
call qword [0x1800f8a70]
lea rcx, [0x1800bcb48]
call qword [0x1800f8a70]
lea rax, [0x1800bc6c8]
mov qword [rbp + 0x2d0], rax
mov rdx, qword [0x1800fe4f8]
cmp rdx, qword [0x1800fe500]
je 0x180047d59
mov qword [rdx], rax
add qword [0x1800fe4f8], 8
jmp 0x180047d65
lea r8, [rbp + 0x2d0]
call fcn.1800558c0
lea rcx, [0x1800bc6e0]
call qword [0x1800f8a70]
lea rcx, [0x1800bc700]
call qword [0x1800f8a70]
lea rcx, [0x1800bc748]
call qword [0x1800f8a70]
lea rax, [0x1800bcb70]
mov qword [rbp + 0x2d0], rax
mov rdx, qword [0x1800fe4f8]
cmp rdx, qword [0x1800fe500]
je 0x180047db7
mov qword [rdx], rax
add qword [0x1800fe4f8], 8
jmp 0x180047dc3
lea r8, [rbp + 0x2d0]
call fcn.1800558c0
lea rcx, [0x1800bcb88]
call qword [0x1800f8a70]
lea rcx, [0x1800bcbb8]
call qword [0x1800f8a70]
lea rcx, [0x1800bcbe8]
call qword [0x1800f8a70]
lea rcx, [0x1800bcc18]
call qword [0x1800f8a70]
lea rax, [0x1800bcc48]
mov qword [rbp + 0x2d0], rax
mov rdx, qword [0x1800fe4f8]
cmp rdx, qword [0x1800fe500]
je 0x180047e22
mov qword [rdx], rax
add qword [0x1800fe4f8], 8
jmp 0x180047e2e
lea r8, [rbp + 0x2d0]
call fcn.1800558c0
lea rcx, [0x1800bcc60]
call qword [0x1800f8a70]
lea rcx, [0x1800bcc88]
call qword [0x1800f8a70]
lea rcx, [0x1800bcca8]
call qword [0x1800f8a70]
lea rcx, [0x1800bccc8]
call qword [0x1800f8a70]
lea rcx, [0x1800bccf0]
call qword [0x1800f8a70]
lea rcx, [0x1800bcd28]
call qword [0x1800f8a70]
lea rcx, [0x1800bcd58]
call qword [0x1800f8a70]
lea rcx, [0x1800bcd88]
call qword [0x1800f8a70]
lea rcx, [0x1800bcdc0]
call qword [0x1800f8a70]
lea rcx, [0x1800bcdf0]
call qword [0x1800f8a70]
lea rcx, [0x1800bce20]
call qword [0x1800f8a70]
lea rcx, [0x1800bce50]
call qword [0x1800f8a70]
lea rcx, [0x1800bce88]
call qword [0x1800f8a70]
mov r14, qword [0x1800fe4f8]
mov rsi, qword [0x1800fe4f0]
cmp rsi, r14
je 0x180047fa4
nop
mov rdi, qword [rsi]
mov rcx, rdi
call fcn.180047090
mov rcx, rax
test rax, rax
jne 0x180047f08
mov rbx, r15
jmp 0x180047f20
mov rbx, qword [0x1800f8a90]
mov rax, qword [0x1800f8a40]
call rax
mov rcx, rax
call rbx
mov rbx, rax
mov edx, r15d
movzx ecx, byte [rdi]
test cl, cl
je 0x180047f4d
nop word [rax + rax]
movsx ecx, cl
add ecx, edx
imul edx, ecx, 0x401
mov eax, edx
shr eax, 6
xor edx, eax
lea rdi, [rdi + 1]
movzx ecx, byte [rdi]
test cl, cl
jne 0x180047f30
lea ecx, [rdx + rdx*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
mov dword [rbp + 0x2d0], eax
lea r8, [rbp + 0x2d0]
lea rdx, [rbp + 0x2c0]
call fcn.180054d20
mov rcx, qword [rax]
mov qword [rcx + 0x18], rbx
add rsi, 8
cmp rsi, r14
jne 0x180047ef0
mov r14, qword [0x1800fe4f8]
mov rsi, qword [0x1800fe4f0]
cmp rsi, r14
je 0x180047fa4
mov qword [0x1800fe4f8], rsi
mov bl, 1
lea rcx, [rbp + 0x2e0]
call fcn.180048000
movzx eax, bl
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.1800a1f30
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret