Function at 0x180033dc0
Capabilities:
Encode data using xor

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x718
mov r13, rcx
movsxd rcx, dword [rcx + 0x1b0]
xor esi, esi
mov rax, qword [r13 + 0x1c0]
mov r12, rdx
mov qword [rsp + 0x60], rsi
mov rbx, qword [rax + rcx*8]
or eax, 0xffffffff
xor ecx, ecx
movsxd r15, dword [rbx + 0x14]
mov dword [rsp + 0x44], eax
xor eax, eax
lea edi, [r15*4]
mov qword [rsp + 0xd8], rbx
test r15d, r15d
jle 0x180033e36
cmp dword [rdx + rax*4], esi
jne 0x180033e36
inc rax
inc ecx
cmp rax, r15
jl 0x180033e27
cmp ecx, r15d
jne 0x180033e86
lea rcx, [rbx + 0x1c0]
xor edx, edx
mov r8d, 0x600
call fcn.18005c9d0
xor edx, edx
lea rcx, [rbx + 0x20]
lea r8d, [rdx + 0x4c]
mov dword [rbx + 0x9c], esi
call fcn.18005c9d0
test byte [rbx + 0x18], 8
je 0x1800344f2
mov rcx, rbx
add rsp, 0x718
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
jmp fcn.1800465a0
mov eax, dword [rbx + 0x18]
mov ecx, 0x1b00
mov r8d, 0x600
shr eax, 0x12
mov qword [rsp + 0x710], rbp
mov qword [rsp + 0x708], r14
and eax, 0x1f
add eax, 4
shl eax, 8
cmp eax, ecx
cmovg eax, ecx
lea rcx, [rsp + 0x100]
xor edx, edx
mov dword [rsp + 0x58], eax
call fcn.18005c9d0
movsxd rbp, edi
mov rcx, rbp
mov qword [rsp + 0xe0], rbp
call fcn.1800592b4
mov rcx, rbp
mov r14, rax
mov qword [rsp + 0x48], rax
call fcn.1800592b4
mov rcx, rbp
mov qword [rsp + 0x50], rax
call fcn.1800592b4
mov edx, 1
mov qword [rsp + 0x38], rax
mov eax, dword [rbx + 0xb4]
cmp eax, edx
jle 0x18003401a
test byte [rbx + 0x18], 8
je 0x18003401a
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x60]
call fcn.18005c9d0
mov eax, 0x800
mov edi, r15d
cmp r15d, eax
lea r9, [rsp + 0x70]
mov rdx, r14
cmovg edi, eax
mov rcx, r12
mov dword [rsp + 0x74], 2
mov r8d, edi
mov dword [rsp + 0x70], 0x12
mov dword [rsp + 0x20], 0xffffffff
call fcn.1800329c0
lea rcx, [rsp + 0x70]
call fcn.180032d60
lea r9, [rsp + 0x70]
mov esi, 1
mov r8d, r15d
mov rdx, r14
mov rcx, r12
mov dword [rsp + 0x20], esi
call fcn.1800329c0
lea r8d, [rsi + 0x5f]
lea rcx, [rsp + 0x70]
xor edx, edx
call fcn.18005c9d0
mov r8d, edi
mov rdi, qword [rsp + 0x50]
lea r9, [rsp + 0x70]
mov rcx, r14
mov rdx, rdi
mov dword [rsp + 0x74], 2
mov dword [rsp + 0x70], 0x11
mov dword [rsp + 0x20], 0xffffffff
call fcn.1800329c0
lea r9, [rsp + 0x70]
mov r8d, r15d
mov rdx, rdi
mov rcx, r14
mov dword [rsp + 0x20], esi
call fcn.1800329c0
mov rcx, rbp
call fcn.1800592b4
mov r8, rbp
mov rdx, r12
mov rcx, rax
mov rsi, rax
mov qword [rsp + 0x60], rax
call fcn.180058590
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.180033c40
mov edx, 1
mov dword [rsp + 0x760], edx
jmp 0x180034028
cmp dword [rsp + 0x760], esi
jne 0x180034028
cmp eax, 7
jl 0x18003403c
mov dword [rbx + 0xbc], 0
mov dword [rbx + 0xb8], 0
xor ecx, ecx
cmp dword [rbx + 0xb4], ecx
mov dword [rsp + 0x30], ecx
jle 0x180034418
nop
test ecx, ecx
jne 0x1800341a1
mov ecx, dword [rbx + 0xb8]
mov dword [rsp + 0x34], ecx
movsxd r13, ecx
xor eax, eax
or rcx, 0xffffffffffffffff
imul r13, r13, 0x13
add r13, qword [rbx + 0x820]
mov qword [rsp + 0xd0], r13
lea rsi, [r13 + 2]
mov rdi, rsi
mov qword [rsp + 0xe8], rsi
repne scasb al, byte [rdi]
mov rax, qword [rsp + 0x758]
not rcx
lea r12, [rcx - 1]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
cmovne rax, rcx
mov qword [rsp + 0xf0], rax
mov r8, rbp
mov rdx, rax
mov rcx, r14
call fcn.180058590
lea rcx, [rsp + 0x100]
xor edx, edx
mov r8d, 0x600
call fcn.18005c9d0
xor ebx, ebx
test r12d, r12d
jle 0x18003432a
mov eax, 0x800
mov edi, r15d
mov rbp, rsi
cmp r15d, eax
lea rsi, [rsp + 0x100]
cmovg edi, eax
mov dword [rsp + 0x40], edi
nop dword [rax]
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x60]
call fcn.18005c9d0
movsx eax, byte [rbp]
movsx edx, byte [r13 + 1]
test eax, eax
mov ecx, 1
mov dword [rsp + 0x74], edx
cmovs eax, ecx
lea r9, [rsp + 0x70]
mov r8d, edi
mov dword [rsp + 0x70], eax
mov eax, ebx
mov dword [rsp + 0x20], 0xffffffff
not eax
and eax, ecx
mov r13, qword [rsp + rax*8 + 0x48]
mov eax, ebx
and eax, ecx
mov rdx, r13
mov r14, qword [rsp + rax*8 + 0x48]
mov rcx, r14
call fcn.1800329c0
test ebx, ebx
je 0x1800341fe
xor eax, eax
mov dword [rsp + 0x80], eax
mov dword [rsp + 0x84], eax
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x8c], eax
mov dword [rsp + 0x90], eax
mov dword [rsp + 0x94], eax
mov dword [rsp + 0x98], eax
mov dword [rsp + 0x9c], eax
jmp 0x1800342cc
mov eax, dword [rbx + 0xbc]
test eax, eax
jne 0x1800341b3
xor ecx, ecx
mov dword [rsp + 0x34], ecx
jmp 0x1800341c2
lea ecx, [rax - 1]
and ecx, dword [rbx + 0xb8]
or ecx, eax
mov dword [rsp + 0x34], ecx
cmp ecx, dword [rbx + 0xb8]
jne 0x180034062
test eax, eax
je 0x1800341ed
mov ecx, dword [rbx + 0xb0]
add eax, eax
dec ecx
and ecx, eax
mov dword [rbx + 0xbc], ecx
mov ecx, dword [rsp + 0x30]
jmp 0x1800343f2
mov ecx, edx
mov ecx, dword [rsp + 0x30]
mov dword [rbx + 0xbc], edx
jmp 0x1800343f2
mov ecx, dword [rsp + 0x70]
cmp ecx, 8
jle 0x18003425d
and ecx, 1
je 0x18003421f
mov edx, dword [rsp + 0x80]
lea eax, [rdx + rdx]
sub eax, dword [rsp + 0x84]
jmp 0x180034232
mov edx, dword [rsp + 0x80]
lea eax, [rdx + rdx*2]
sub eax, dword [rsp + 0x84]
sar eax, 1
mov dword [rsp + 0x80], eax
test ecx, ecx
je 0x18003424d
add eax, eax
sub eax, edx
mov dword [rsp + 0x84], eax
jmp 0x1800342cc
lea eax, [rax + rax*2]
sub eax, edx
sar eax, 1
mov dword [rsp + 0x84], eax
jmp 0x1800342cc
cmp ecx, 1
jle 0x1800342cc
mov eax, ecx
xor edi, edi
lea r8d, [rcx - 1]
cdq
sub eax, edx
sar eax, 1
mov r9d, eax
je 0x1800342c8
nop word [rax + rax]
and r8d, 7
and edi, 7
movsxd rax, r8d
movsxd rdx, edi
dec r8d
mov ecx, dword [rsp + rax*4 + 0x80]
inc edi
xor dword [rsp + rdx*4 + 0x80], ecx
mov ecx, dword [rsp + rdx*4 + 0x80]
xor dword [rsp + rax*4 + 0x80], ecx
mov eax, dword [rsp + rax*4 + 0x80]
xor dword [rsp + rdx*4 + 0x80], eax
sub r9d, 1
jne 0x180034280
mov edi, dword [rsp + 0x40]
jmp 0x1800342cc
mov edi, dword [rsp + 0x40]
lea rdx, [rsp + 0x70]
mov rcx, rsi
mov r8d, 0x60
call fcn.180058590
mov eax, 1
lea r9, [rsp + 0x70]
mov r8d, r15d
mov rdx, r13
mov rcx, r14
mov dword [rsp + 0x20], eax
call fcn.1800329c0
mov r13, qword [rsp + 0xd0]
inc ebx
inc rbp
add rsi, 0x60
cmp ebx, r12d
jl 0x180034100
mov rsi, qword [rsp + 0xe8]
mov rbp, qword [rsp + 0xe0]
mov r14, qword [rsp + 0x48]
mov r8d, dword [rsp + 0x58]
mov ecx, ebx
mov edx, r15d
and ecx, 1
mov rcx, qword [rsp + rcx*8 + 0x48]
call fcn.1800492e0
mov edi, eax
cmp eax, 0xffffffff
jne 0x18003435d
test r12d, r12d
je 0x18003435d
mov rax, qword [rsp + 0xf0]
sar r12d, 1
jmp 0x1800340b2
cmp eax, dword [rsp + 0x44]
jae 0x1800343b3
mov rcx, qword [rsp + 0x38]
mov edx, ebx
mov r8, rbp
and edx, 1
mov rdx, qword [rsp + rdx*8 + 0x48]
call fcn.180058590
mov rbx, qword [rsp + 0xd8]
lea rdx, [rsp + 0x100]
lea rcx, [rbx + 0x1c0]
mov r8d, 0x600
call fcn.180058590
mov eax, dword [rsp + 0x34]
mov dword [rbx + 0x9c], r12d
mov dword [rbx + 0xb8], eax
mov dword [rsp + 0x44], edi
jmp 0x1800343bb
mov rbx, qword [rsp + 0xd8]
mov ecx, dword [rsp + 0x30]
mov eax, ecx
inc ecx
mov dword [rsp + 0x30], ecx
test eax, eax
je 0x1800343f2
mov eax, dword [rbx + 0xbc]
test eax, eax
je 0x1800343e3
mov ecx, dword [rbx + 0xb0]
add eax, eax
dec ecx
and ecx, eax
jmp 0x1800343e8
mov ecx, 1
mov dword [rbx + 0xbc], ecx
mov ecx, dword [rsp + 0x30]
cmp ecx, dword [rbx + 0xb4]
mov edx, 1
jl 0x180034050
mov rsi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x758]
mov r13, qword [rsp + 0x750]
cmp dword [r13 + 0x18], 3
jle 0x18003446c
test rsi, rsi
je 0x180034452
mov edi, dword [rsp + 0x768]
mov rdx, rsi
mov rcx, r13
mov r8d, edi
call fcn.180033770
test edi, edi
je 0x18003448c
mov r8, rbp
mov rdx, rsi
mov rcx, r12
call fcn.180058590
mov rdi, qword [rsp + 0x38]
jmp 0x180034498
mov r8d, dword [rsp + 0x768]
mov rdx, r12
mov rcx, r13
call fcn.180033770
mov rdi, qword [rsp + 0x38]
jmp 0x180034498
mov edi, dword [rsp + 0x768]
test edi, edi
je 0x180034493
mov rdi, qword [rsp + 0x38]
mov r8, rbp
mov rcx, r12
mov rdx, rdi
call fcn.180058590
jmp 0x180034498
mov rdi, qword [rsp + 0x38]
jmp 0x180034498
mov rdi, qword [rsp + 0x38]
cmp dword [rsp + 0x760], 0
mov rbp, qword [rsp + 0x710]
jne 0x1800344b1
cmp dword [r13 + 0x18], 3
jle 0x1800344c3
or r9d, 0xffffffff
mov r8d, r15d
mov rdx, rdi
mov rcx, rbx
call fcn.180047f70
test rsi, rsi
je 0x1800344d0
mov rcx, rsi
call fcn.180059274
mov rcx, qword [rsp + 0x50]
call fcn.180059274
mov rcx, r14
call fcn.180059274
mov rcx, rdi
call fcn.180059274
mov r14, qword [rsp + 0x708]
add rsp, 0x718
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret