Function at 0x1800cb090
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
mov rax, rsp
sub rsp, 0x118
mov qword [rax + 0x18], rbx
mov qword [rax - 8], rsi
xor esi, esi
mov qword [rax - 0x10], rdi
mov qword [rax - 0x20], r13
mov qword [rax - 0x28], r14
mov qword [rax - 0x30], r15
mov eax, 0xffffffff
mov r13, rdx
mov dword [rsp + 0x50], 0x1fffffff
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x70], eax
mov r14d, eax
mov dword [rsp + 0x74], eax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
xor r9w, r9w
mov r11w, 4
lea rbx, [rcx + 0x10]
lea r15d, [rsi + 0x20]
lea rdi, [0x180000000]
mov r8d, dword [rbx]
test r11w, r11w
mov eax, 0x1e
cmovg ax, r15w
test ax, ax
jle 0x1800cb17e
movzx r10d, ax
nop
nop
test r8b, 1
je 0x1800cb172
movsx rdx, r9w
movsx rcx, word [rdi + rdx*2 + 0x2374e0]
mov eax, dword [rdi + rdx*4 + 0x236760]
or dword [rsp + rcx*4 + 0x28], eax
movsx rcx, word [rdi + rdx*2 + 0x23761c]
mov eax, dword [rdi + rdx*4 + 0x2369d8]
or dword [rsp + rcx*4 + 0x28], eax
inc r9w
shr r8d, 1
dec r10
jne 0x1800cb140
sub rbx, 4
dec r11w
jns 0x1800cb121
mov edx, dword [rsp + 0x4c]
mov qword [rsp + 0x138], rbp
mov bp, 9
mov qword [rsp + 0x100], r12
mov qword [rsp + 0xa0], rsi
mov word [rsp + 0x20], bp
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xc8], rsi
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x98], rsi
mov dword [rsp + 0xa4], 1
xor r12w, r12w
nop
nop
nop
movzx ecx, dl
lea r9, [rsp + 0x28]
mov r10d, 0xa
movzx r11d, byte [rcx + rdi + 0x2373e0]
add r12w, r11w
xor cx, cx
movsx rbx, r11w
mov edi, r11d
nop
nop
nop
mov r8d, dword [r9]
movsx edx, cx
mov eax, r15d
sub eax, ebx
add r9, 4
movzx ecx, al
mov eax, r8d
shl edx, cl
mov ecx, edi
shr eax, cl
movzx ecx, r8w
or edx, eax
dec r10
mov dword [r9 - 4], edx
jne 0x1800cb240
cmp r11w, 8
jne 0x1800cb283
mov edx, dword [rsp + 0x4c]
lea rdi, [0x180000000]
test dl, 1
je 0x1800cb210
jmp 0x1800cb287
mov edx, dword [rsp + 0x4c]
xor cx, cx
nop
nop
movsx rax, cx
cmp dword [rsp + rax*4 + 0x28], 0
jne 0x1800cb2a6
inc cx
cmp cx, 9
jb 0x1800cb290
jmp 0x1800cb2ac
cmp cx, 9
jb 0x1800cb2c0
cmp edx, 1
je 0x1800cb78f
nop
nop
nop
movsx rax, si
shl rax, 2
cmp dword [rsp + rax + 0x28], 0
jne 0x1800cb2e9
nop
cmp dword [rsp + rax + 0x50], 0
jne 0x1800cb2e9
inc si
movsx rax, si
shl rax, 2
cmp dword [rsp + rax + 0x28], 0
je 0x1800cb2d0
movsx rax, si
lea r15, [rax*4]
mov qword [rsp + 0x78], r15
lea rax, [rsp + r15 + 0x50]
lea r13, [rsp + r15 + 0x28]
mov qword [rsp + 0xa8], rax
mov eax, dword [rax]
cmp dword [r13], eax
jb 0x1800cb552
cmp si, 9
ja 0x1800cb341
mov eax, 0xa
mov rcx, r15
sub ax, si
movzx edx, ax
nop
mov eax, dword [rsp + rcx + 0x50]
add rcx, 4
xor dword [rsp + rcx + 0x24], eax
dec rdx
jne 0x1800cb330
cmp bp, 9
ja 0x1800cb374
movsx rcx, bp
mov eax, 0xa
shl rcx, 2
sub ax, bp
movzx edx, ax
nop
nop
mov eax, dword [rsp + rcx + 0xb0]
add rcx, 4
xor dword [rsp + rcx + 0x7c], eax
dec rdx
jne 0x1800cb360
mov edx, dword [rsp + 0x4c]
mov r14d, 0x20
lea r15, [0x180000000]
nop
nop
nop
movzx ecx, dl
xor r9w, r9w
movzx edi, byte [rcx + r15 + 0x2373e0]
add r12w, di
cmp bp, 9
mov word [rsp + 0x22], r12w
jg 0x1800cb43b
mov eax, 0xa
mov r10d, 9
movsx ebp, di
sub ax, word [rsp + 0x20]
movsx r12, di
lea r11, [rsp + 0xd4]
movzx ebx, ax
sub r10w, bx
nop
nop
mov r8d, dword [r11]
movsx eax, r9w
mov ecx, ebp
mov edx, r8d
mov r9d, r8d
sub r11, 4
shl edx, cl
mov ecx, r14d
or edx, eax
sub ecx, r12d
mov dword [r11 + 4], edx
shr r9d, cl
dec rbx
jne 0x1800cb3e0
test r9w, r9w
je 0x1800cb430
movzx r12d, word [rsp + 0x22]
movsx rax, r10w
movsx ecx, r9w
movzx ebp, r10w
mov word [rsp + 0x20], r10w
mov dword [rsp + rax*4 + 0xb0], ecx
jmp 0x1800cb43b
mov bp, word [rsp + 0x20]
mov r12w, word [rsp + 0x22]
xor cx, cx
cmp si, 9
ja 0x1800cb48b
mov eax, 0xa
movsx r11, di
movsx ebx, di
sub ax, si
mov r9, r13
movzx r10d, ax
nop
nop
mov r8d, dword [r9]
movsx edx, cx
mov eax, r14d
sub eax, r11d
add r9, 4
movzx ecx, al
mov eax, r8d
shl edx, cl
mov ecx, ebx
shr eax, cl
movzx ecx, r8w
or edx, eax
dec r10
mov dword [r9 - 4], edx
jne 0x1800cb460
cmp edi, 8
jne 0x1800cb49f
mov edx, dword [rsp + 0x4c]
test dl, 1
je 0x1800cb390
jmp 0x1800cb4a3
mov edx, dword [rsp + 0x4c]
cmp si, 9
mov r14d, dword [rsp + 0x74]
mov r15, qword [rsp + 0x78]
movzx ecx, si
jae 0x1800cb4e0
nop
nop
nop
movsx rax, cx
cmp dword [rsp + rax*4 + 0x28], 0
jne 0x1800cb4d6
inc cx
cmp cx, 9
jb 0x1800cb4c0
jmp 0x1800cb4e0
cmp cx, 9
jb 0x1800cb2c0
cmp edx, 1
jne 0x1800cb2c0
test cx, cx
jg 0x1800cb787
lea r13, [rsp + r15 + 0x50]
cmp dword [r13], 0
jne 0x1800cb51f
nop
cmp dword [rsp + r15 + 0x28], 0
jne 0x1800cb51f
inc si
movsx rax, si
lea r15, [rax*4]
cmp dword [rsp + r15 + 0x50], 0
je 0x1800cb500
movsx rax, si
lea r15, [rax*4]
mov eax, dword [rsp + r15 + 0x28]
cmp dword [rsp + r15 + 0x50], eax
lea rcx, [rsp + r15 + 0x50]
lea r13, [rsp + r15 + 0x28]
mov qword [rsp + 0x78], r15
mov qword [rsp + 0xa8], rcx
jb 0x1800cb318
cmp si, 9
ja 0x1800cb586
mov eax, 0xa
mov rcx, r15
sub ax, si
movzx edx, ax
nop
nop
nop
mov eax, dword [rsp + rcx + 0x28]
add rcx, 4
xor dword [rsp + rcx + 0x4c], eax
dec rdx
jne 0x1800cb570
mov r14d, dword [rsp + 0x74]
cmp bp, 9
ja 0x1800cb5b7
movsx rcx, bp
mov eax, 0xa
shl rcx, 2
sub ax, bp
movzx edx, ax
nop
mov eax, dword [rsp + rcx + 0x80]
add rcx, 4
xor dword [rsp + rcx + 0xac], eax
dec rdx
jne 0x1800cb5a0
mov r15w, word [rsp + 0x20]
mov r13, qword [rsp + 0xa8]
nop
nop
nop
lea rax, [0x180000000]
movzx ecx, r14b
xor r9w, r9w
movzx r11d, byte [rcx + rax + 0x2373e0]
add r12w, r11w
cmp r15w, 9
mov word [rsp + 0x22], r12w
jg 0x1800cb688
mov eax, 0xa
mov edi, 9
movsx ebp, r11w
sub ax, r15w
movsx r12, r11w
lea r10, [rsp + 0xa4]
movzx ebx, ax
mov r13d, 0x20
sub di, bx
nop
nop
nop
mov r8d, dword [r10]
movsx eax, r9w
mov ecx, ebp
mov edx, r8d
mov r9d, r8d
sub r10, 4
shl edx, cl
mov ecx, r13d
or edx, eax
sub ecx, r12d
mov dword [r10 + 4], edx
shr r9d, cl
dec rbx
jne 0x1800cb630
test r9w, r9w
mov r13, qword [rsp + 0xa8]
je 0x1800cb682
mov r12w, word [rsp + 0x22]
movsx rax, di
movsx ecx, r9w
mov dword [rsp + rax*4 + 0x80], ecx
mov r15w, di
jmp 0x1800cb688
mov r12w, word [rsp + 0x22]
xor cx, cx
cmp si, 9
ja 0x1800cb6e1
mov eax, 0xa
movsx rbx, r11w
movsx edi, r11w
sub ax, si
mov r9, r13
movzx r10d, ax
nop
nop
mov r8d, dword [r9]
movsx edx, cx
mov eax, 0x20
sub eax, ebx
add r9, 4
movzx ecx, al
mov eax, r8d
shl edx, cl
mov ecx, edi
shr eax, cl
movzx ecx, r8w
or edx, eax
dec r10
mov dword [r9 - 4], edx
jne 0x1800cb6b0
mov r14d, dword [rsp + 0x74]
cmp r11d, 8
jne 0x1800cb6f1
test r14b, 1
je 0x1800cb5d0
cmp si, 9
mov word [rsp + 0x20], r15w
mov r15, qword [rsp + 0x78]
movzx ecx, si
jae 0x1800cb72a
movsx rax, cx
cmp dword [rsp + rax*4 + 0x50], 0
jne 0x1800cb71b
inc cx
cmp cx, 9
jb 0x1800cb705
jmp 0x1800cb72a
cmp cx, 9
mov bp, word [rsp + 0x20]
jb 0x1800cb4f7
cmp r14d, 1
je 0x1800cb73a
mov bp, word [rsp + 0x20]
jmp 0x1800cb4f7
mov r13, qword [rsp + 0x128]
lea rcx, [rsp + 0xb0]
mov rax, qword [rcx]
mov qword [rsp + 0x80], rax
mov rax, qword [rcx + 8]
mov qword [rsp + 0x88], rax
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x90], rax
mov rax, qword [rcx + 0x18]
mov qword [rsp + 0x98], rax
mov rax, qword [rcx + 0x20]
mov qword [rsp + 0xa0], rax
jmp 0x1800cb78f
mov r13, qword [rsp + 0x128]
movsx ecx, r12w
mov eax, 0x33af3e2f
lea r8, [rsp + 0x80]
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x13d
sub ecx, edx
mov edx, 0x13d
sub edx, ecx
lea rcx, [rsp + 0x80]
call fcn.1800caea0
test byte [rsp + 0xa4], 1
mov r15, qword [rsp + 0xe8]
mov r14, qword [rsp + 0xf0]
mov r12, qword [rsp + 0x100]
je 0x1800cb7f6
mov rcx, r13
call fcn.1800f1190
xor esi, esi
jmp 0x1800cb804
xor esi, esi
mov qword [r13], rsi
mov qword [r13 + 8], rsi
mov dword [r13 + 0x10], esi
lea r11, [r13 + 0x10]
mov r13, qword [rsp + 0xf8]
xor r8w, r8w
mov bx, 4
lea rdi, [0x180000000]
mov ebp, 0xffffffff
nop
nop
nop
mov r10d, 0x3fffffff
test bx, bx
mov r9d, esi
cmovg r10d, ebp
mov edx, 1
nop
nop
nop
movsx rcx, r8w
movsx rax, word [rdi + rcx*2 + 0x2374e0]
mov eax, dword [rsp + rax*4 + 0x80]
test dword [rdi + rcx*4 + 0x236760], eax
je 0x1800cb870
xor r9d, edx
add edx, edx
inc r8w
test edx, r10d
jne 0x1800cb850
xor dword [r11], r9d
sub r11, 4
dec bx
jns 0x1800cb830
mov rdi, qword [rsp + 0x108]
mov rsi, qword [rsp + 0x110]
mov rbp, qword [rsp + 0x138]
mov rbx, qword [rsp + 0x130]
add rsp, 0x118
ret