Function at 0x18004b220
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push r14
lea rbp, [rsp - 0x3f]
sub rsp, 0x88
mov rax, qword gs:[0x58]
xor r14d, r14d
mov ecx, dword [0x18039b468]
mov edx, 4
mov rsi, qword [rax + rcx*8]
add rsi, rdx
mov eax, dword [rsi]
cmp dword [0x1803a15d0], eax
jle 0x18004b2d3
lea rcx, [0x1803a15d0]
call fcn.180360f8c
cmp dword [0x1803a15d0], 0xffffffff
jne 0x18004b2d3
xorps xmm0, xmm0
xor r8d, r8d
xor edx, edx
movdqa xmmword [0x1803a14e0], xmm0
call fcn.180354610
lea rcx, [0x1803a14f0]
mov qword [0x1803a14e0], rax
call fcn.180001990
lea rcx, [0x18037d290]
mov qword [0x1803a1508], r14
mov qword [0x1803a1510], 0xf
mov byte [0x1803a14f8], r14b
mov byte [0x1803a1518], r14b
call fcn.1803614c4
lea rcx, [0x1803a15d0]
call fcn.180360f2c
mov dword [rbp + 0x67], 0xfdf840
mov qword [rbp + 0x7f], r14
mov rax, qword [rbp + 0x7f]
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rbp + 0x7f]
sub cl, 0x78
xor cl, byte [rbp + rax + 0x68]
mov rax, qword [rbp + 0x7f]
mov byte [rbp + rax + 0x68], cl
mov rax, qword [rbp + 0x7f]
inc rax
mov qword [rbp + 0x7f], rax
mov rax, qword [rbp + 0x7f]
cmp rax, 2
jb 0x18004b2f0
lea r8, [rbp + 0x68]
mov byte [rbp + 0x6a], r14b
lea rdx, [rbp - 0x21]
lea rcx, [0x1803a14e0]
call fcn.180004da0
mov rcx, qword [rbp - 0x21]
mov rbx, qword [rax + 8]
sub rbx, qword [rax]
test rcx, rcx
je 0x18004b381
mov rdx, qword [rbp - 0x11]
mov rax, rcx
sub rdx, rcx
cmp rdx, 0x1000
jb 0x18004b370
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004b725
call fcn.180360d9c
xorps xmm0, xmm0
mov qword [rbp - 0x11], r14
movdqu xmmword [rbp - 0x21], xmm0
test rbx, rbx
je 0x18004b4bd
mov eax, dword [rsi]
cmp dword [0x1803a15d0], eax
jle 0x18004b409
lea rcx, [0x1803a15d0]
call fcn.180360f8c
cmp dword [0x1803a15d0], 0xffffffff
jne 0x18004b409
xorps xmm0, xmm0
xor r8d, r8d
xor edx, edx
movdqa xmmword [0x1803a14e0], xmm0
call fcn.180354610
lea rcx, [0x1803a14f0]
mov qword [0x1803a14e0], rax
call fcn.180001990
lea rcx, [0x18037d290]
mov qword [0x1803a1508], r14
mov qword [0x1803a1510], 0xf
mov byte [0x1803a14f8], r14b
mov byte [0x1803a1518], r14b
call fcn.1803614c4
lea rcx, [0x1803a15d0]
call fcn.180360f2c
mov dword [rbp + 0x6f], 0x4346fc
mov qword [rbp + 0x7f], r14
mov rax, qword [rbp + 0x7f]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rbp + 0x7f]
add cl, 0x36
xor cl, byte [rbp + rax + 0x70]
mov rax, qword [rbp + 0x7f]
mov byte [rbp + rax + 0x70], cl
mov rax, qword [rbp + 0x7f]
inc rax
mov qword [rbp + 0x7f], rax
mov rax, qword [rbp + 0x7f]
cmp rax, 2
jb 0x18004b420
lea r8, [rbp + 0x70]
mov byte [rbp + 0x72], r14b
lea rdx, [rbp - 9]
lea rcx, [0x1803a14e0]
call fcn.180004da0
mov rcx, qword [rax]
call fcn.180368078
mov rcx, qword [rbp - 9]
mov ebx, eax
test rcx, rcx
je 0x18004b4b4
mov rdx, qword [rbp + 7]
mov rax, rcx
sub rdx, rcx
cmp rdx, 0x1000
jb 0x18004b4a3
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004b71f
call fcn.180360d9c
xorps xmm0, xmm0
mov qword [rbp + 7], r14
movdqu xmmword [rbp - 9], xmm0
test bx, bx
jne 0x18004b70f
mov dword [rbp - 0x29], 0x7bbf
mov dword [rbp + 0x7f], 0x8440
mov ecx, dword [rbp + 0x7f]
mov eax, dword [rbp - 0x29]
add ecx, eax
mov dword [rbp - 0x25], ecx
mov dword [rbp - 0x29], 0xf0
mov dword [rbp + 0x7f], 0x310
mov ecx, dword [rbp + 0x7f]
mov eax, dword [rbp - 0x29]
add ecx, eax
mov dword [rbp + 0x7f], ecx
mov ebx, dword [rbp - 0x25]
mov qword [rsp + 0x80], rdi
mov edi, dword [rbp + 0x7f]
call fcn.18000c5c0
xor edx, edx
lea r10, [rbp + 0xf]
mov ecx, ebx
mov r8d, 0x57
sub ecx, edi
inc ecx
div ecx
lea ecx, [rbx + 1]
mov eax, edx
xor edx, edx
div ecx
add dx, di
mov rdi, qword [rsp + 0x80]
movzx ebx, dx
mov ecx, ebx
nop
mov eax, 0xcccccccd
mul ecx
shr edx, 3
lea eax, [rdx + rdx*4]
add eax, eax
sub ecx, eax
mov eax, 0x30
cmp ecx, 0xa
cmovge eax, r8d
add al, cl
mov ecx, edx
mov byte [r10], al
inc r10
test edx, edx
jg 0x18004b530
lea rax, [rbp + 0xf]
mov byte [r10], r14b
sub r10d, eax
mov r9d, r14d
mov r11d, r10d
shr r11d, 1
je 0x18004b5a8
lea r8, [rbp + 0xf]
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [r8]
lea rcx, [rbp + 0xf]
mov eax, r10d
lea r8, [r8 + 1]
sub eax, r9d
inc r9d
dec eax
add rcx, rax
movzx eax, byte [rcx]
mov byte [r8 - 1], al
mov byte [rcx], dl
cmp r9d, r11d
jb 0x18004b580
mov eax, dword [rsi]
cmp dword [0x1803a15d0], eax
jle 0x18004b627
lea rcx, [0x1803a15d0]
call fcn.180360f8c
cmp dword [0x1803a15d0], 0xffffffff
jne 0x18004b627
xorps xmm0, xmm0
xor r8d, r8d
xor edx, edx
movdqa xmmword [0x1803a14e0], xmm0
call fcn.180354610
lea rcx, [0x1803a14f0]
mov qword [0x1803a14e0], rax
call fcn.180001990
lea rcx, [0x18037d290]
mov qword [0x1803a1508], r14
mov qword [0x1803a1510], 0xf
mov byte [0x1803a14f8], r14b
mov byte [0x1803a1518], r14b
call fcn.1803614c4
lea rcx, [0x1803a15d0]
call fcn.180360f2c
mov dword [rbp + 0x77], 0xe7e24f
mov qword [rbp + 0x7f], r14
mov rax, qword [rbp + 0x7f]
nop word [rax + rax]
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rbp + 0x7f]
sub cl, 0x6e
xor cl, byte [rbp + rax + 0x78]
mov rax, qword [rbp + 0x7f]
mov byte [rbp + rax + 0x78], cl
mov rax, qword [rbp + 0x7f]
inc rax
mov qword [rbp + 0x7f], rax
mov rax, qword [rbp + 0x7f]
cmp rax, 2
jb 0x18004b640
lea r8, [rbp + 0xf]
mov byte [rbp + 0x7a], r14b
lea rdx, [rbp + 0x78]
lea rcx, [0x1803a14e0]
call fcn.180004860
mov eax, dword [rsi]
cmp dword [0x1803a15d0], eax
jle 0x18004b703
lea rcx, [0x1803a15d0]
call fcn.180360f8c
cmp dword [0x1803a15d0], 0xffffffff
jne 0x18004b703
xorps xmm0, xmm0
xor r8d, r8d
xor edx, edx
movdqa xmmword [0x1803a14e0], xmm0
call fcn.180354610
lea rcx, [0x1803a14f0]
mov qword [0x1803a14e0], rax
call fcn.180001990
lea rcx, [0x18037d290]
mov qword [0x1803a1508], r14
mov qword [0x1803a1510], 0xf
mov byte [0x1803a14f8], r14b
mov byte [0x1803a1518], r14b
call fcn.1803614c4
lea rcx, [0x1803a15d0]
call fcn.180360f2c
lea rcx, [0x1803a14e0]
call fcn.180004280
movzx eax, bx
add rsp, 0x88
pop r14
pop rsi
pop rbx
pop rbp
ret
call fcn.1803687c0
int3
call fcn.1803687c0
int3