Function at 0x14034a3a0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x48
movdqa xmmword [rsp + 0x30], xmm6
mov r9d, r8d
mov r8d, edx
cmp dword [rcx + 0x1c], 2
jne 0x14034a409
mov eax, dword [rcx + 0x58]
cmp eax, r9d
cmovb r9d, eax
mov eax, r9d
sub eax, r8d
cmp eax, 2
jb 0x14034a875
or byte [rcx + 0xb4], 0x20
mov rdx, qword [rcx + 0x68]
mov r11d, 0xffffffff
cmp r9d, r8d
jbe 0x14034a863
mov esi, r8d
mov eax, r9d
mov r10, rax
sub r10, rsi
cmp r10, 9
jae 0x14034a6f3
mov r10, rsi
jmp 0x14034a836
mov rax, qword [rcx + 0x68]
mov edx, r8d
lea rdx, [rdx + rdx*4]
mov edx, dword [rax + rdx*4 + 8]
lea r11d, [r8 + 1]
mov r10d, edx
cmp r11d, r9d
jae 0x14034a5c5
mov esi, r11d
mov r10d, r9d
sub r10d, r8d
add r10d, 0xfffffffe
cmp r10d, 8
jae 0x14034a446
mov r11d, edx
mov r10, rsi
jmp 0x14034a596
mov r11d, r10d
inc r11
mov r10d, r11d
and r10d, 7
mov edi, 8
cmovne rdi, r10
sub r11, rdi
lea r10, [r11 + rsi]
movd xmm0, edx
pshufd xmm1, xmm0, 0
lea rsi, [rsi + rsi*4]
lea rsi, [rax + rsi*4]
add rsi, 0x94
movdqa xmm0, xmmword [0x140599730]
movdqa xmm2, xmm1
nop word [rax + rax]
movd xmm3, dword [rsi - 0x50]
movd xmm4, dword [rsi - 0x64]
punpckldq xmm4, xmm3
movd xmm3, dword [rsi - 0x78]
movd xmm5, dword [rsi - 0x8c]
punpckldq xmm5, xmm3
punpcklqdq xmm5, xmm4
movd xmm3, dword [rsi]
movd xmm4, dword [rsi - 0x14]
punpckldq xmm4, xmm3
movd xmm3, dword [rsi - 0x28]
movd xmm6, dword [rsi - 0x3c]
punpckldq xmm6, xmm3
punpcklqdq xmm6, xmm4
movdqa xmm3, xmm1
movdqa xmm4, xmm5
pxor xmm4, xmm0
pxor xmm1, xmm0
pcmpgtd xmm4, xmm1
pand xmm3, xmm4
pandn xmm4, xmm5
movdqa xmm1, xmm4
por xmm1, xmm3
movdqa xmm3, xmm2
movdqa xmm4, xmm6
pxor xmm4, xmm0
pxor xmm2, xmm0
pcmpgtd xmm4, xmm2
pand xmm3, xmm4
pandn xmm4, xmm6
movdqa xmm2, xmm4
por xmm2, xmm3
add rsi, 0xa0
add r11, 0xfffffffffffffff8
jne 0x14034a490
movdqa xmm3, xmm1
pxor xmm3, xmm0
movdqa xmm4, xmm2
pxor xmm4, xmm0
pcmpgtd xmm4, xmm3
pand xmm1, xmm4
pandn xmm4, xmm2
por xmm4, xmm1
pshufd xmm1, xmm4, 0xee
movdqa xmm2, xmm4
pxor xmm2, xmm0
movdqa xmm3, xmm1
pxor xmm3, xmm0
pcmpgtd xmm3, xmm2
pand xmm4, xmm3
pandn xmm3, xmm1
por xmm3, xmm4
pshufd xmm1, xmm3, 0x55
movdqa xmm2, xmm3
pxor xmm2, xmm0
pxor xmm0, xmm1
pcmpgtd xmm0, xmm2
pand xmm3, xmm0
pandn xmm0, xmm1
por xmm0, xmm3
movd r11d, xmm0
lea rsi, [r10 + r10*4]
lea rsi, [rax + rsi*4]
add rsi, 8
mov edi, r9d
sub edi, r10d
nop dword [rax + rax]
mov r10d, dword [rsi]
cmp r11d, r10d
cmovb r10d, r11d
add rsi, 0x14
mov r11d, r10d
dec edi
jne 0x14034a5b0
lea r11d, [r9 - 1]
lea r11, [r11 + r11*4]
cmp r10d, dword [rax + r11*4 + 8]
je 0x14034a60f
mov r11d, dword [rcx + 0x58]
cmp r11d, r9d
jbe 0x14034a60f
mov r9d, r9d
lea rsi, [r9 + r9*4]
lea rsi, [rax + rsi*4]
add rsi, 8
nop dword [rax]
lea edi, [r9 - 1]
lea rdi, [rdi + rdi*4]
mov edi, dword [rax + rdi*4 + 8]
cmp edi, dword [rsi]
jne 0x14034a60f
inc r9
add rsi, 0x14
cmp r11d, r9d
jne 0x14034a5f0
mov r9d, r11d
mov r11d, dword [rcx + 0x54]
cmp r10d, edx
je 0x14034a645
cmp r11d, r8d
mov esi, r8d
cmovb esi, r11d
nop word cs:[rax + rax]
cmp r11d, r8d
jae 0x14034a64c
dec r8d
lea rdi, [r8 + r8*4]
cmp dword [rax + rdi*4 + 8], edx
je 0x14034a630
inc r8d
cmp r11d, r8d
je 0x14034a654
jmp 0x14034a6ab
mov r8d, esi
cmp r11d, r8d
jne 0x14034a6ab
lea rdx, [r11 + r11*4]
cmp dword [rax + rdx*4 + 8], r10d
je 0x14034a6ab
mov eax, dword [rcx + 0x5c]
test rax, rax
je 0x14034a6ab
shl rax, 2
lea rax, [rax + rax*4]
jmp 0x14034a68b
mov dword [r11 + rax - 0xc], r10d
add rax, 0xffffffffffffffec
je 0x14034a6ab
mov rdi, qword [rcx + 0x68]
mov r11, qword [rcx + 0x70]
mov esi, dword [r11 + rax - 0xc]
cmp esi, dword [rdi + rdx*4 + 8]
jne 0x14034a6ab
cmp esi, r10d
je 0x14034a680
and byte [r11 + rax - 0x10], 0xf8
jmp 0x14034a680
cmp r8d, r9d
jae 0x14034a875
mov r8d, r8d
mov eax, r9d
lea rdx, [r8 + r8*4]
lea rdx, [rdx*4 + 8]
sub rax, r8
jmp 0x14034a6e1
mov dword [r8 + rdx], r10d
add rdx, 0x14
dec rax
je 0x14034a875
mov r8, qword [rcx + 0x68]
cmp dword [r8 + rdx], r10d
je 0x14034a6d0
and byte [r8 + rdx - 4], 0xf8
jmp 0x14034a6d0
mov edi, r10d
and edi, 7
mov r11d, 8
cmovne r11, rdi
sub r10, r11
add r10, rsi
add r11, rsi
sub r11, rax
lea rsi, [rsi + rsi*4]
lea rsi, [rdx + rsi*4]
add rsi, 0x94
pcmpeqd xmm1, xmm1
movdqa xmm0, xmmword [0x140599730]
pcmpeqd xmm2, xmm2
nop
movd xmm3, dword [rsi - 0x50]
movd xmm4, dword [rsi - 0x64]
punpckldq xmm4, xmm3
movd xmm3, dword [rsi - 0x78]
movd xmm5, dword [rsi - 0x8c]
punpckldq xmm5, xmm3
punpcklqdq xmm5, xmm4
movd xmm3, dword [rsi]
movd xmm4, dword [rsi - 0x14]
punpckldq xmm4, xmm3
movd xmm3, dword [rsi - 0x28]
movd xmm6, dword [rsi - 0x3c]
punpckldq xmm6, xmm3
punpcklqdq xmm6, xmm4
movdqa xmm3, xmm1
movdqa xmm4, xmm5
pxor xmm4, xmm0
pxor xmm1, xmm0
pcmpgtd xmm4, xmm1
pand xmm3, xmm4
pandn xmm4, xmm5
movdqa xmm1, xmm4
por xmm1, xmm3
movdqa xmm3, xmm2
movdqa xmm4, xmm6
pxor xmm4, xmm0
pxor xmm2, xmm0
pcmpgtd xmm4, xmm2
pand xmm3, xmm4
pandn xmm4, xmm6
movdqa xmm2, xmm4
por xmm2, xmm3
add rsi, 0xa0
add r11, 8
jne 0x14034a730
movdqa xmm3, xmm1
pxor xmm3, xmm0
movdqa xmm4, xmm2
pxor xmm4, xmm0
pcmpgtd xmm4, xmm3
pand xmm1, xmm4
pandn xmm4, xmm2
por xmm4, xmm1
pshufd xmm1, xmm4, 0xee
movdqa xmm2, xmm4
pxor xmm2, xmm0
movdqa xmm3, xmm1
pxor xmm3, xmm0
pcmpgtd xmm3, xmm2
pand xmm4, xmm3
pandn xmm3, xmm1
por xmm3, xmm4
pshufd xmm1, xmm3, 0x55
movdqa xmm2, xmm3
pxor xmm2, xmm0
pxor xmm0, xmm1
pcmpgtd xmm0, xmm2
pand xmm3, xmm0
pandn xmm0, xmm1
por xmm0, xmm3
movd r11d, xmm0
sub rax, r10
lea r10, [r10 + r10*4]
lea r10, [rdx + r10*4]
add r10, 8
nop word cs:[rax + rax]
mov esi, dword [r10]
cmp r11d, esi
cmovae r11d, esi
add r10, 0x14
dec rax
jne 0x14034a850
mov dword [rsp + 0x20], r11d
mov dword [rsp + 0x28], 3
call fcn.14034bed0
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rdi
pop rsi
ret