Function at 0x180033480
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r13
push r14
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
xor esi, esi
mov qword [rsp + 0x2a0], r15
mov qword [rsp + 0x20], rsi
mov r13, rcx
mov qword [rsp + 0x30], rsi
mov qword [rbp + 0x1f8], 0x18
mov rdx, qword [rbp + 0x1f8]
mov rax, qword [rsp + 0x30]
add rdx, rax
mov qword [rbp + 0x1f8], rdx
mov rdx, qword [rbp + 0x1f8]
mov rax, qword [rsp + 0x20]
nop dword [rax + rax]
mov dword [rsp + 0x28], 0x16
mov dword [rbp + 0x1f8], 0x1e
mov ecx, dword [rbp + 0x1f8]
mov eax, dword [rsp + 0x28]
add ecx, eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], 0x15
mov dword [rbp + 0x1f8], 0xb2
mov ecx, dword [rbp + 0x1f8]
mov eax, dword [rsp + 0x28]
add ecx, eax
mov dword [rbp + 0x1f8], ecx
mov ecx, dword [rbp + 0x1f8]
mov rax, qword [rsp + 0x20]
movzx edx, al
mov eax, dword [rsp + 0x30]
movzx r8d, cl
mov rcx, qword [rsp + 0x20]
imul r8d, edx
add al, r8b
add cl, al
mov rax, qword [rsp + 0x20]
mov byte [rbp + rax - 0x50], cl
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rsi
mov qword [rbp + 0x1f8], 0x18
mov rcx, qword [rbp + 0x1f8]
mov rax, qword [rsp + 0x30]
add rcx, rax
mov qword [rbp + 0x1f8], rcx
mov rcx, qword [rbp + 0x1f8]
mov rax, qword [rsp + 0x20]
cmp rax, rcx
jb 0x1800334e0
mov qword [rsp + 0x20], 0xb
mov qword [rbp + 0x1f8], 0xd
mov rcx, qword [rbp + 0x1f8]
mov rax, qword [rsp + 0x20]
add rcx, rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x20], 0x27
mov qword [rbp + 0x1f8], 0x59
mov rcx, qword [rbp + 0x1f8]
mov rax, qword [rsp + 0x20]
add rcx, rax
mov eax, esi
mov qword [rbp + 0x1f8], rcx
lea rcx, [rbp + 0x10]
mov r14, qword [rsp + 0x30]
mov r15, qword [rbp + 0x1f8]
nop
mov byte [rcx], al
lea rcx, [rcx + 1]
inc eax
cmp eax, 0x100
jb 0x180033600
mov qword [rsp + 0x2a8], rbx
mov rdi, rsi
mov dword [rbp + 0x110], esi
mov word [rbp + 0x114], 1
nop dword [rax]
movzx ebx, byte [rbp + rdi - 0x50]
lea rcx, [rbp + 0x10]
movzx edx, bl
and dl, 0xf
call fcn.180031840
shr bl, 4
lea rcx, [rbp + 0x10]
movzx edx, bl
call fcn.180031840
inc rdi
cmp rdi, r14
jb 0x180033630
lea rcx, [rbp + 0x10]
call fcn.180031600
lea rcx, [rbp + 0x120]
mov r14, r13
sub r14, rcx
mov rdi, rsi
nop dword [rax]
nop dword [rax + rax]
lea rbx, [rbp + 0x120]
lea rcx, [rbp + 0x10]
add rbx, rdi
call fcn.180031aa0
movzx ecx, byte [rbx + r14 + 0x59]
inc rdi
sub cl, al
mov byte [rbx], cl
cmp rdi, r15
jb 0x180033680
mov r15, qword [rsp + 0x2a0]
mov qword [rsp + 0x20], 0x54
mov qword [rbp + 0x1f8], 0xb2
mov rcx, qword [rbp + 0x1f8]
mov rax, qword [rsp + 0x20]
add rcx, rax
mov rax, rsi
mov qword [rbp + 0x1f8], rcx
mov rcx, qword [rbp + 0x1f8]
mov byte [rbp + rax + 0x10], sil
inc rax
cmp rax, rcx
jb 0x1800336e1
xor eax, eax
mov qword [rsp + 0x48], rsi
mov byte [rbp + 0x1e2], al
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov word [rbp + 0x1e0], 0xbff6
mov qword [rbp + 0x1f8], rsi
mov rax, qword [rbp + 0x1f8]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x1f8]
mov rax, qword [rbp + 0x1f8]
sub cl, 0x6d
xor cl, byte [rbp + rax + 0x1e1]
mov rax, qword [rbp + 0x1f8]
mov byte [rbp + rax + 0x1e1], cl
mov rax, qword [rbp + 0x1f8]
inc rax
mov qword [rbp + 0x1f8], rax
mov rax, qword [rbp + 0x1f8]
cmp rax, 1
jb 0x180033720
lea r8, [rbp + 0x120]
movzx r11d, byte [rbp + 0x1e1]
mov r9, rsi
mov byte [rbp + 0x1e2], sil
cmp byte [rbp + 0x120], sil
je 0x1800337c5
nop word [rax + rax]
lea rax, [rbp + 0x1e1]
test r11b, r11b
je 0x1800337b5
movzx edx, byte [r8]
movzx ecx, r11b
cmp dl, cl
je 0x1800337b5
movzx ecx, byte [rax + 1]
inc rax
test cl, cl
jne 0x1800337a4
jmp 0x1800337c5
cmp byte [rax], sil
je 0x1800337c5
inc r8
inc r9
cmp byte [r8], sil
jne 0x180033790
lea r10, [rbp + 0x120]
mov r14, 0xffffffffffffffff
add r10, r9
movzx eax, byte [r10]
test al, al
je 0x1800339c3
mov r9, r10
movsx edi, r11b
mov rbx, rsi
nop dword [rax]
movsx r8d, al
lea rcx, [rbp + 0x1e1]
cmp edi, r8d
je 0x180033816
movzx edx, r11b
test dl, dl
je 0x18003381b
movsx edx, byte [rcx + 1]
inc rcx
mov eax, edx
cmp edx, r8d
jne 0x180033804
cmp byte [rcx], sil
jne 0x18003381e
mov rcx, rsi
inc r9
test rcx, rcx
jne 0x180033831
movzx eax, byte [r9]
inc rbx
test al, al
jne 0x1800337f0
cmp byte [rbx + r10], sil
lea rdi, [rbx + r10]
je 0x180033843
mov byte [rdi], sil
inc rdi
jmp 0x180033846
mov rdi, rsi
mov qword [rsp + 0x68], rsi
mov r8, r14
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], sil
nop dword [rax]
inc r8
cmp byte [r10 + r8], sil
jne 0x180033860
mov rdx, r10
lea rcx, [rsp + 0x58]
call fcn.180353890
mov rbx, qword [rsp + 0x40]
cmp qword [rsp + 0x48], rbx
je 0x1800338bb
mov r8d, 0x20
mov qword [rbx + 0x10], rsi
lea rdx, [rsp + 0x58]
mov qword [rbx + 0x18], rsi
mov rcx, rbx
call fcn.180362260
add rbx, 0x20
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], sil
jmp 0x1800338cd
lea r8, [rsp + 0x58]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.180356320
lea rcx, [rsp + 0x58]
call fcn.180353810
xor eax, eax
mov word [rbp + 0x1e8], 0xbaac
mov byte [rbp + 0x1ea], al
mov qword [rbp + 0x1f8], rsi
mov rax, qword [rbp + 0x1f8]
nop word [rax + rax]
mov rcx, qword [rbp + 0x1f8]
mov rax, qword [rbp + 0x1f8]
sub cl, 0x6a
xor cl, byte [rbp + rax + 0x1e9]
mov rax, qword [rbp + 0x1f8]
mov byte [rbp + rax + 0x1e9], cl
mov rax, qword [rbp + 0x1f8]
inc rax
mov qword [rbp + 0x1f8], rax
mov rax, qword [rbp + 0x1f8]
cmp rax, 1
jb 0x180033900
mov byte [rbp + 0x1ea], sil
test rdi, rdi
jne 0x180033955
mov r10, rsi
jmp 0x1800339ba
mov r9, rsi
movzx ebx, byte [rbp + 0x1e9]
mov r8, rdi
cmp byte [rdi], sil
je 0x1800339a3
nop word [rax + rax]
lea rax, [rbp + 0x1e9]
test bl, bl
je 0x180033993
movzx edx, byte [r8]
movzx ecx, bl
cmp dl, cl
je 0x180033993
movzx ecx, byte [rax + 1]
inc rax
test cl, cl
jne 0x180033982
jmp 0x1800339a3
cmp byte [rax], sil
je 0x1800339a3
inc r8
inc r9
cmp byte [r8], sil
jne 0x180033970
movzx eax, byte [r9 + rdi]
lea r10, [r9 + rdi]
test al, al
jne 0x180033af8
mov r10, rsi
mov rdi, rsi
test r10, r10
jne 0x180033846
movzx eax, byte [r13 + 0x58]
test al, al
je 0x180033b67
dec al
cmp al, 4
ja 0x180033c81
mov dword [rbp + 0x1f0], 0x1d095b
mov qword [rbp + 0x1f8], rsi
mov rax, qword [rbp + 0x1f8]
mov rcx, qword [rbp + 0x1f8]
mov rax, qword [rbp + 0x1f8]
add cl, 0x7e
xor cl, byte [rbp + rax + 0x1f1]
mov rax, qword [rbp + 0x1f8]
mov byte [rbp + rax + 0x1f1], cl
mov rax, qword [rbp + 0x1f8]
inc rax
mov qword [rbp + 0x1f8], rax
mov rax, qword [rbp + 0x1f8]
cmp rax, 2
jb 0x1800339f2
lea rax, [rbp + 0x1f1]
mov byte [rbp + 0x1f3], sil
lea rdx, [rbp - 0x38]
mov qword [rbp - 0x80], rax
mov rcx, r13
call fcn.180034860
mov rcx, rax
cmp qword [rax + 0x18], 0x10
jb 0x180033a61
mov rcx, qword [rax]
mov rdx, qword [rbp - 0x80]
lea rax, [0x180366234]
mov qword [rbp - 0x68], rcx
call rax
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x50], rax
call fcn.180353810
mov r9, qword [rsp + 0x50]
test r9, r9
je 0x180033c81
mov rcx, qword [r13 + 0xf0]
lea rax, [fcn.1803671a0]
mov rdx, qword [r13 + 0xf8]
mov r8d, 1
sub rdx, rcx
mov dword [rsp + 0x78], 1
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x58], rcx
call rax
lea rdx, [rbp - 0x18]
mov rcx, r13
call fcn.180034860
cmp qword [rax + 0x18], 0x10
jb 0x180033ad4
mov rax, qword [rax]
mov rcx, rax
call fcn.180008510
lea rcx, [rbp - 0x18]
call fcn.180353810
mov rcx, qword [rsp + 0x50]
lea rax, [fcn.1803664bc]
call rax
jmp 0x180033c81
mov r9, r10
movsx edi, bl
mov r11, rsi
nop dword [rax]
nop word [rax + rax]
movsx r8d, al
lea rax, [rbp + 0x1e9]
cmp edi, r8d
je 0x180033b33
movzx edx, bl
test dl, dl
je 0x180033b38
movsx edx, byte [rax + 1]
inc rax
cmp edx, r8d
jne 0x180033b23
cmp byte [rax], sil
jne 0x180033b3b
mov rax, rsi
inc r9
test rax, rax
jne 0x180033b4e
movzx eax, byte [r9]
inc r11
test al, al
jne 0x180033b10
cmp byte [r11 + r10], sil
lea rdi, [r11 + r10]
je 0x1800339b7
mov byte [rdi], sil
inc rdi
jmp 0x1800339ba
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
sub rax, rbx
sar rax, 5
cmp rax, 1
jb 0x180033c81
mov ecx, 0x28
call fcn.1803610bc
lea rcx, [0x18038e790]
mov qword [rax], rcx
lea rcx, [rax + 0x10]
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
mov qword [rcx + 8], rsi
mov dword [rcx + 0x10], esi
mov qword [rcx], r14
mov qword [r13 + 0x48], rcx
mov rdi, qword [r13 + 0x50]
mov qword [rbp - 0x70], rdi
mov qword [r13 + 0x50], rax
test rdi, rdi
je 0x180033bf8
mov eax, r14d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x180033bf3
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
call qword [rax]
lock xadd dword [rdi + 0xc], r14d
cmp r14d, 1
jne 0x180033bf3
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x38]
mov rax, qword [r13 + 0xf8]
sub rax, qword [r13 + 0xf0]
cmp qword [rbx + 0x18], 0x10
jb 0x180033c10
mov rbx, qword [rbx]
mov rcx, qword [r13 + 0x48]
mov r8d, eax
mov rdx, rbx
call fcn.180030900
test al, al
je 0x180033c81
mov rcx, qword [r13 + 0x48]
call fcn.180031480
mov r9, qword [r13 + 0x48]
mov rcx, qword [r13 + 0xf0]
mov rdx, qword [r13 + 0xf8]
mov rax, qword [r9 + 8]
test rax, rax
lea r8, [rax + 8]
cmove r8, rsi
sub rdx, rcx
je 0x180033c75
sub r8, rcx
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [r8 + rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x180033c60
mov r9, qword [r13 + 0x48]
mov rax, qword [r9 + 8]
test rax, rax
je 0x180033c81
xchg dword [rax + 4], esi
lea rcx, [rsp + 0x38]
call fcn.1803535d0
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x2b0
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret