Function at 0x180007d70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rsi
push rbp
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x1800a5f88]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
xor esi, esi
lea r8, [rsp + 0x38]
lea rdx, [fcn.180007d70]
mov qword [rsp + 0x38], rsi
lea ecx, [rsi + 6]
call qword [0x18004f0d0]
test eax, eax
je 0x180008051
mov rcx, qword [rsp + 0x38]
lea rdx, [rbp - 0x20]
mov r8d, 0x208
call qword [0x18004f0c8]
test eax, eax
je 0x180008051
mov qword [rsp + 0x310], rbx
lea r8, [0x1800502c0]
lea rdx, [rbp - 0x20]
mov qword [rsp + 0x318], rdi
lea rcx, [rsp + 0x30]
call qword [0x18004f788]
test eax, eax
jne 0x180007f73
mov rcx, qword [rsp + 0x30]
lea r8d, [rsi + 2]
xor edx, edx
mov dword [0x18006080c], esi
call qword [0x18004f790]
mov rcx, qword [rsp + 0x30]
call qword [0x18004f708]
mov rcx, qword [rsp + 0x30]
xor r8d, r8d
xor edx, edx
mov dword [0x180060810], eax
mov ebx, eax
call qword [0x18004f790]
mov ecx, 0x400
call qword [0x18004f628]
xor edx, edx
mov r8d, 0x400
mov rcx, rax
mov rdi, rax
call fcn.18004c378
test rdi, rdi
je 0x180007f73
test ebx, ebx
je 0x180007f5d
nop
mov rax, qword [rsp + 0x30]
mov r9d, 1
mov qword [rsp + 0x20], rax
mov rcx, rdi
cmp ebx, 0x400
jl 0x180007f47
mov edx, 0x400
mov r8d, edx
call qword [0x18004f770]
movdqa xmm0, xmmword [0x1800502d0]
lea r9, [rdi + 1]
mov eax, dword [0x18006080c]
mov r10d, 2
movdqu xmmword [rbp - 0x30], xmm0
mov r11d, 0x100
movsx edx, byte [r9 - 1]
lea rcx, [r10 - 2]
and ecx, 3
lea r9, [r9 + 4]
mov ecx, dword [rbp + rcx*4 - 0x30]
shl edx, cl
lea rcx, [r10 - 1]
xor eax, edx
and ecx, 3
mov dword [0x18006080c], eax
movsx edx, byte [r9 - 4]
mov ecx, dword [rbp + rcx*4 - 0x30]
shl edx, cl
xor edx, eax
mov rax, r10
and eax, 3
mov dword [0x18006080c], edx
movsx r8d, byte [r9 - 3]
mov ecx, dword [rbp + rax*4 - 0x30]
shl r8d, cl
lea rcx, [r10 + 1]
xor r8d, edx
and ecx, 3
mov dword [0x18006080c], r8d
add r10, 4
movsx eax, byte [r9 - 2]
mov ecx, dword [rbp + rcx*4 - 0x30]
shl eax, cl
xor eax, r8d
mov dword [0x18006080c], eax
sub r11, 1
jne 0x180007ec0
sub ebx, 0x400
jne 0x180007e70
jmp 0x180007f5d
movsxd rdx, ebx
mov r8, rdx
call qword [0x18004f770]
mov edx, ebx
mov rcx, rdi
call fcn.180008080
mov rcx, qword [rsp + 0x30]
call qword [0x18004f768]
mov rcx, rdi
call qword [0x18004f620]
jmp 0x180007f7d
mov dword [0x18006080c], 0x35505
lea rax, [rbp - 0x20]
mov qword [rbp - 0x60], 0x20
mov qword [rbp - 0x58], rax
lea r8, [rsp + 0x40]
xor eax, eax
mov dword [rbp - 0x40], 0xaac56b
mov qword [rbp - 0x70], rax
lea rdx, [rbp - 0x40]
lea rax, [rbp - 0x60]
mov dword [rbp - 0x3c], 0x11d0cd44
xorps xmm0, xmm0
mov qword [rsp + 0x68], rax
xor ecx, ecx
mov dword [rbp - 0x38], 0xc000c28c
movdqu xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x34], 0xee95c24f
mov qword [rsp + 0x40], 0x58
mov qword [rsp + 0x60], 1
mov qword [rsp + 0x70], 1
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 2
mov qword [rbp - 0x78], 0x1000
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rsi
call fcn.18004c360
mov rdi, qword [rsp + 0x318]
mov rbx, qword [rsp + 0x310]
cmp eax, 0x800b0100
je 0x18000802f
test eax, eax
jne 0x180008035
lea esi, [rax + 1]
jmp 0x180008035
call qword [0x18004f0c0]
lea r8, [rsp + 0x40]
mov dword [rsp + 0x70], 2
lea rdx, [rbp - 0x40]
xor ecx, ecx
call fcn.18004c360
mov eax, esi
jmp 0x180008053
xor eax, eax
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.18004a7e0
mov rsi, qword [rsp + 0x320]
add rsp, 0x300
pop rbp
ret