Function at 0x18003c150
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x318
mov rax, qword [0x1800f7050]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov r8d, 1
xor r9d, r9d
mov edx, r8d
movsxd rax, r9d
mov byte [rsp + rax + 0x100], dl
mov byte [rsp + rax + 0x1ff], dl
movsxd rax, edx
mov byte [rsp + rax], r9b
mov eax, edx
inc r9d
and al, 0x80
neg al
lea eax, [rdx + rdx]
sbb ecx, ecx
and ecx, 0x11b
xor ecx, eax
xor edx, ecx
cmp edx, r8d
jne 0x18003c175
lea rdx, [0x180103a10]
mov r9d, 0x1e
nop word [rax + rax]
mov eax, r8d
mov byte [rdx], r8b
and al, 0x80
neg al
lea eax, [r8 + r8]
sbb ecx, ecx
inc rdx
and ecx, 0x11b
mov r8d, ecx
xor r8d, eax
sub r9, 1
jne 0x18003c1c0
xor r10d, r10d
lea r11, [0x180000000]
xor r8d, r8d
test r10b, r10b
je 0x18003c20f
movzx eax, r10b
movzx ecx, byte [rsp + rax]
lea rax, [rsp + 0x1ff]
sub rax, rcx
movzx ecx, byte [rax]
jmp 0x18003c211
xor ecx, ecx
lea eax, [rcx + rcx]
xor eax, ecx
add eax, eax
xor eax, ecx
add eax, eax
xor eax, ecx
add eax, eax
xor ecx, eax
mov edx, ecx
sar edx, 8
xor dl, cl
xor dl, 0x63
mov byte [r8 + r11 + 0x103b30], dl
mov byte [r11 + r8*4 + 0x102a11], dl
mov byte [r11 + r8*4 + 0x102a10], dl
mov byte [r11 + r8*4 + 0x102e13], dl
mov byte [r11 + r8*4 + 0x102e10], dl
mov byte [r11 + r8*4 + 0x103213], dl
mov byte [r11 + r8*4 + 0x103212], dl
mov byte [r11 + r8*4 + 0x103612], dl
mov byte [r11 + r8*4 + 0x103611], dl
je 0x18003c287
movzx eax, dl
movzx ecx, byte [rsp + rax]
movzx eax, byte [rsp + rcx + 0x119]
jmp 0x18003c289
xor eax, eax
mov byte [r11 + r8*4 + 0x102a13], al
mov byte [r11 + r8*4 + 0x102e12], al
mov byte [r11 + r8*4 + 0x103211], al
mov byte [r11 + r8*4 + 0x103610], al
test dl, dl
je 0x18003c2be
movzx eax, dl
movzx ecx, byte [rsp + rax]
movzx eax, byte [rsp + rcx + 0x101]
jmp 0x18003c2c0
xor eax, eax
mov byte [r11 + r8*4 + 0x102a12], al
mov byte [r11 + r8*4 + 0x102e11], al
mov byte [r11 + r8*4 + 0x103210], al
mov byte [r11 + r8*4 + 0x103613], al
movzx r9d, r10b
lea eax, [r9*8]
xor eax, r9d
shl eax, 2
xor eax, r9d
add eax, eax
mov ecx, eax
sar ecx, 8
xor cl, al
xor cl, 5
je 0x18003c33c
lea edx, [r9*8]
xor edx, r9d
shl edx, 2
xor edx, r9d
add edx, edx
mov eax, edx
sar eax, 8
movzx ecx, al
movzx eax, dl
xor rcx, rax
xor rcx, 5
movzx eax, byte [rsp + rcx]
lea rcx, [rsp + 0x1ff]
sub rcx, rax
movzx edx, byte [rcx]
jmp 0x18003c33e
xor dl, dl
mov byte [r8 + r11 + 0x103a30], dl
test dl, dl
je 0x18003c35b
movzx eax, dl
movzx ecx, byte [rsp + rax]
movzx eax, byte [rsp + rcx + 0x168]
jmp 0x18003c35d
xor eax, eax
movzx ecx, dl
mov byte [r11 + r8*4 + 0x101a12], al
mov byte [r11 + r8*4 + 0x101e11], al
mov byte [r11 + r8*4 + 0x102210], al
mov byte [r11 + r8*4 + 0x102613], al
mov byte [r11 + rcx*4 + 0x100a12], al
mov byte [r11 + rcx*4 + 0x100e11], al
mov byte [r11 + rcx*4 + 0x101210], al
mov byte [r11 + rcx*4 + 0x101613], al
test dl, dl
je 0x18003c3b3
movzx eax, byte [rsp + rcx]
movzx r9d, byte [rsp + rax + 0x1c7]
jmp 0x18003c3b6
xor r9d, r9d
mov byte [r11 + r8*4 + 0x101a10], r9b
mov byte [r11 + r8*4 + 0x101e13], r9b
mov byte [r11 + r8*4 + 0x102212], r9b
mov byte [r11 + r8*4 + 0x102611], r9b
mov byte [r11 + rcx*4 + 0x100a10], r9b
mov byte [r11 + rcx*4 + 0x100e13], r9b
mov byte [r11 + rcx*4 + 0x101212], r9b
mov byte [r11 + rcx*4 + 0x101611], r9b
test dl, dl
je 0x18003c409
movzx eax, byte [rsp + rcx]
movzx r9d, byte [rsp + rax + 0x1ee]
jmp 0x18003c40c
xor r9d, r9d
mov byte [r11 + r8*4 + 0x101a11], r9b
mov byte [r11 + r8*4 + 0x101e10], r9b
mov byte [r11 + r8*4 + 0x102213], r9b
mov byte [r11 + r8*4 + 0x102612], r9b
mov byte [r11 + rcx*4 + 0x100a11], r9b
mov byte [r11 + rcx*4 + 0x100e10], r9b
mov byte [r11 + rcx*4 + 0x101213], r9b
mov byte [r11 + rcx*4 + 0x101612], r9b
test dl, dl
je 0x18003c45e
movzx eax, byte [rsp + rcx]
movzx edx, byte [rsp + rax + 0x1df]
jmp 0x18003c460
xor edx, edx
inc r10d
mov byte [r11 + r8*4 + 0x101a13], dl
mov byte [r11 + r8*4 + 0x101e12], dl
mov byte [r11 + r8*4 + 0x102211], dl
mov byte [r11 + r8*4 + 0x102610], dl
inc r8
cmp r10d, 0x100
mov byte [r11 + rcx*4 + 0x100a13], dl
mov byte [r11 + rcx*4 + 0x100e12], dl
mov byte [r11 + rcx*4 + 0x101211], dl
mov byte [r11 + rcx*4 + 0x101610], dl
jl 0x18003c1f2
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.180062100
add rsp, 0x318
ret