Function at 0x180004098
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rbx, rdx
mov dword [rbp + 0x18], 0xa1705
xor r8d, r8d
movsxd rcx, r8d
lea eax, [r8 + 0x64]
inc r8d
xor byte [rbp + rcx + 0x18], al
cmp r8d, 3
jb 0x1800040b2
mov rcx, qword [rdx + 0x10]
mov byte [rbp + 0x1b], 0
mov rax, qword [rcx]
mov rdx, qword [rax + 0x60]
call rdx
lea rdx, [rbp + 0x18]
mov rcx, rax
call fcn.180009554
test rax, rax
jne 0x18000433b
mov word [rbp + 0x18], 0x1102
xor edx, edx
mov byte [rbp + 0x1a], al
movsxd rcx, edx
lea eax, [rdx + 0x64]
inc edx
xor byte [rbp + rcx + 0x18], al
cmp edx, 2
jb 0x1800040f7
mov rcx, qword [rbx + 0x10]
mov byte [rbp + 0x1a], 0
mov rax, qword [rcx]
mov rdx, qword [rax + 0x60]
call rdx
lea rdx, [rbp + 0x18]
mov rcx, rax
call fcn.180009554
test rax, rax
jne 0x18000433b
mov word [rbp + 0x18], 0x202
xor edx, edx
mov byte [rbp + 0x1a], al
movsxd rcx, edx
lea eax, [rdx + 0x64]
inc edx
xor byte [rbp + rcx + 0x18], al
cmp edx, 2
jb 0x180004139
mov rcx, qword [rbx + 0x10]
mov byte [rbp + 0x1a], 0
mov rax, qword [rcx]
mov rdx, qword [rax + 0x60]
call rdx
lea rdx, [rbp + 0x18]
mov rcx, rax
call fcn.180009554
test rax, rax
jne 0x18000433b
mov word [rbp + 0x18], 0x217
xor edx, edx
mov byte [rbp + 0x1a], al
movsxd rcx, edx
lea eax, [rdx + 0x64]
inc edx
xor byte [rbp + rcx + 0x18], al
cmp edx, 2
jb 0x18000417b
mov rcx, qword [rbx + 0x10]
mov byte [rbp + 0x1a], 0
mov rax, qword [rcx]
mov rdx, qword [rax + 0x60]
call rdx
lea rdx, [rbp + 0x18]
mov rcx, rax
call fcn.180009554
test rax, rax
jne 0x18000433b
mov word [rbp + 0x18], 0x1505
xor edx, edx
mov byte [rbp + 0x1a], al
movsxd rcx, edx
lea eax, [rdx + 0x64]
inc edx
xor byte [rbp + rcx + 0x18], al
cmp edx, 2
jb 0x1800041bd
mov rcx, qword [rbx + 0x10]
mov byte [rbp + 0x1a], 0
mov rax, qword [rcx]
mov rdx, qword [rax + 0x60]
call rdx
lea rdx, [rbp + 0x18]
mov rcx, rax
call fcn.180009554
test rax, rax
jne 0x18000433b
mov word [rbp + 0x18], 0xe09
xor edx, edx
mov byte [rbp + 0x1a], al
movsxd rcx, edx
lea eax, [rdx + 0x64]
inc edx
xor byte [rbp + rcx + 0x18], al
cmp edx, 2
jb 0x1800041ff
mov rcx, qword [rbx + 0x10]
mov byte [rbp + 0x1a], 0
mov rax, qword [rcx]
mov rdx, qword [rax + 0x60]
call rdx
lea rdx, [rbp + 0x18]
mov rcx, rax
call fcn.180009554
test rax, rax
jne 0x18000433b
mov word [rbp + 0x18], 0x300
xor edx, edx
mov byte [rbp + 0x1a], al
movsxd rcx, edx
lea eax, [rdx + 0x64]
inc edx
xor byte [rbp + rcx + 0x18], al
cmp edx, 2
jb 0x180004241
mov rcx, qword [rbx + 0x10]
mov byte [rbp + 0x1a], 0
mov rax, qword [rcx]
mov rdx, qword [rax + 0x60]
call rdx
lea rdx, [rbp + 0x18]
mov rcx, rax
call fcn.180009554
test rax, rax
jne 0x18000433b
mov word [rbp + 0x18], 0x807
xor edx, edx
mov byte [rbp + 0x1a], al
movsxd rcx, edx
lea eax, [rdx + 0x64]
inc edx
xor byte [rbp + rcx + 0x18], al
cmp edx, 2
jb 0x180004283
mov rcx, qword [rbx + 0x10]
mov byte [rbp + 0x1a], 0
mov rax, qword [rcx]
mov rdx, qword [rax + 0x60]
call rdx
lea rdx, [rbp + 0x18]
mov rcx, rax
call fcn.180009554
test rax, rax
jne 0x18000433b
mov word [rbp + 0x18], 0xe05
xor edx, edx
mov byte [rbp + 0x1a], al
movsxd rcx, edx
lea eax, [rdx + 0x64]
inc edx
xor byte [rbp + rcx + 0x18], al
cmp edx, 2
jb 0x1800042c5
mov rcx, qword [rbx + 0x10]
mov byte [rbp + 0x1a], 0
mov rax, qword [rcx]
mov rdx, qword [rax + 0x60]
call rdx
lea rdx, [rbp + 0x18]
mov rcx, rax
call fcn.180009554
test rax, rax
jne 0x18000433b
mov word [rbp + 0x18], 0xb0f
xor edx, edx
mov byte [rbp + 0x1a], al
movsxd rcx, edx
lea eax, [rdx + 0x64]
inc edx
xor byte [rbp + rcx + 0x18], al
cmp edx, 2
jb 0x180004303
mov rcx, qword [rbx + 0x10]
mov byte [rbp + 0x1a], 0
mov rdx, qword [rcx]
mov r8, qword [rdx + 0x60]
call r8
lea rdx, [rbp + 0x18]
mov rcx, rax
call fcn.180009554
test rax, rax
jne 0x18000433b
mov al, 1
jmp 0x18000433d
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rbp
ret