Function at 0x14039b2c0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x168
movaps xmmword [rsp + 0x150], xmm6
mov rdi, r9
mov r14, rdx
mov rbx, rcx
mov rcx, qword [rsp + 0x1e0]
mov r8, qword [rsp + 0x1d0]
mov rax, qword [0x140521398]
xor rax, rsp
mov qword [rsp + 0x148], rax
mov eax, dword [0x140536388]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
mov eax, 0x812cfc43
add eax, dword [0x140523dd8]
cmp edx, eax
jne 0x14039b340
mov rax, qword [0x140523da8]
mov edx, dword [0x140536388]
lea r9d, [rdx - 1]
imul r9d, edx
test r9b, 1
je 0x14039b35a
nop
mov rax, qword [0x140523da8]
mov eax, dword [0x140536388]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
jne 0x14039b340
jmp 0x14039b324
movsxd rbp, dword [rax]
add rbp, rax
mov r9d, 0x812cfc44
lea rax, [fcn.14039b2c0]
lea r10d, [rax + rax]
add r10d, 0xe40
nop dword [rax + rax]
mov eax, dword [0x140523dd8]
add eax, r9d
test r10d, eax
jne 0x14039b3ca
mov r12d, dword [0x14042df08]
mov edx, dword [0x140536388]
lea eax, [rdx - 1]
imul eax, edx
mov r11d, dword [0x140523dd8]
lea esi, [r11 - 0x7ed303bb]
xor edx, edx
div esi
mov eax, r11d
xor eax, 0x812cfc43
and r11d, 0x12cfc43
lea eax, [rax + r11*2]
cmp edx, eax
je 0x14039b3f0
mov eax, dword [0x14042df08]
mov eax, dword [0x140536388]
mov edx, dword [0x140523dd8]
neg edx
add edx, eax
add edx, 0x812cfc44
imul edx, eax
test dl, 1
jne 0x14039b380
jmp 0x14039b38e
movabs r15, 0x8a86b9dda2d98b0e
mov rax, qword [0x140523dd0]
lea rdx, [r15 + 0x14]
mov r9, rdx
xor r9, rax
and rdx, rax
lea rax, [r9 + rdx*2]
xor esi, esi
cmp r8, rax
jb 0x14039bb04
cmp rcx, 0x20
mov r13d, 0x20
cmovb r13, rcx
mov dword [rsp + 0x38], 0x6e292e4e
mov dword [rsp + 0x30], 0x4667abe6
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor esi, esi
lea r9, [rsp + 0x110]
xor ecx, ecx
mov rdx, rbx
mov r8, rdi
call fcn.14039bb40
test eax, eax
js 0x14039bb04
mov qword [rsp + 0x40], rdi
mov byte [rsp + 0x4b], 4
mov dword [rsp + 0x4c], 0x1000000
xorps xmm6, xmm6
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
mov qword [rsp + 0xc0], 0
mov dword [rsp + 0x30], 0x8167e091
mov dword [rsp + 0x28], 0x48f40adf
mov dword [rsp + 0x20], 0
xor esi, esi
mov rdi, r15
lea r15, [rsp + 0x50]
mov ecx, 1
mov rdx, r15
xor r8d, r8d
xor r9d, r9d
call fcn.14039bb80
mov dword [rsp + 0x30], 0x8167e091
mov dword [rsp + 0x28], 0x48f40adf
mov dword [rsp + 0x20], 0
lea r8, [rsp + 0x4b]
mov r9d, 1
xor ecx, ecx
mov rdx, r15
call fcn.14039bb80
mov eax, dword [0x140523dd8]
mov ecx, eax
xor ecx, 0x812cfc43
mov edx, eax
and edx, 0x12cfc43
lea ecx, [rcx + rdx*2]
mov rdx, qword [0x140523dd0]
lea r9, [rdi + rdx]
add r9, 0x30
lea edx, [rax - 0x7ed303bd]
lea r8d, [rax - 0x35def8de]
add eax, 0x294dcd4
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], edx
lea r8, [rsp + 0x110]
mov rdx, r15
call fcn.14039bb80
mov rax, qword [rsp + 0x1e8]
test rax, rax
je 0x14039b5bf
movups xmmword [rax + 0x2c], xmm6
movups xmmword [rax + 0x1c], xmm6
mov dword [rax + 0x3c], 0
movaps xmm0, xmmword [rsp + 0x110]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rsp + 0x11c]
movups xmmword [rax + 0xc], xmm0
movups xmm0, xmmword [rsp + 0x12c]
movups xmm1, xmmword [rsp + 0x138]
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x2c], xmm1
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0xc]
movups xmmword [rsp + 0x11c], xmm1
movaps xmmword [rsp + 0x110], xmm0
movdqu xmm0, xmmword [r14 + 0x20]
movdqu xmm1, xmmword [r14 + 0x2c]
movdqu xmmword [rsp + 0x12c], xmm0
movdqu xmmword [rsp + 0x138], xmm1
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x38], 0x6e292e4e
mov dword [rsp + 0x30], 0x4667abe6
mov dword [rsp + 0x28], 0
lea r9, [rsp + 0x110]
mov ecx, 1
mov rdx, rbx
mov r8, qword [rsp + 0x40]
call fcn.14039bb40
test eax, eax
je 0x14039bb04
mov dword [rsp + 0x30], 0x8167e091
mov dword [rsp + 0x28], 0x48f40adf
mov dword [rsp + 0x20], 0
lea rsi, [rsp + 0x50]
lea r8, [rsp + 0xf0]
mov r9d, 0x1c
xor ecx, ecx
mov rdx, rsi
call fcn.14039bb80
mov dword [rsp + 0x30], 0x8167e091
mov dword [rsp + 0x28], 0x48f40adf
mov dword [rsp + 0x20], 0
lea r8, [rsp + 0x4c]
mov r9d, 4
xor ecx, ecx
mov rdx, rsi
call fcn.14039bb80
mov dword [rsp + 0x30], 0x8167e091
mov dword [rsp + 0x28], 0x48f40adf
mov dword [rsp + 0x20], 1
lea rdx, [rsp + 0xd0]
mov ecx, 1
mov r8, rsi
xor r9d, r9d
call fcn.14039bb80
mov r9d, dword [0x140523da4]
mov eax, dword [0x14053638c]
cmp eax, 0xc
jge 0x14039b709
lea eax, [r9 + 1]
mov dword [0x140523da4], eax
mov ecx, dword [0x140536388]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
mov ecx, 0x812cfc43
add ecx, dword [0x140523dd8]
cmp edx, ecx
je 0x14039b780
mov eax, r9d
neg eax
mov ecx, eax
xor ecx, 1
and eax, 1
lea r8d, [rcx + rax*2]
nop word [rax + rax]
mov eax, r9d
mov ecx, r8d
shl eax, cl
sub eax, r8d
imul eax, r8d
mov edx, eax
shl edx, cl
mov r10d, eax
sub r10d, edx
add r10d, eax
mov ecx, r10d
neg cl
shl eax, cl
add r10d, eax
add eax, eax
add eax, r10d
mov dword [0x140523da4], eax
mov ecx, dword [0x140536388]
mov r10d, dword [0x140523dd8]
mov eax, ecx
sub eax, r10d
add eax, 0x7ed303bc
imul eax, ecx
add r10d, 0x812cfc45
xor edx, edx
div r10d
test edx, edx
jne 0x14039b720
jmp 0x14039b6e1
xor r9d, eax
not r9d
test r9d, eax
mov r14, qword [rsp + 0x1d8]
movabs r15, 0x8a86b9dda2d98b0e
je 0x14039b7a1
xor edx, edx
jmp 0x14039b7ad
xor ecx, ecx
mov edx, 0
test r12d, r12d
jg 0x14039b7bc
xor ecx, ecx
test cl, cl
jne 0x14039bad0
jmp 0x14039baa2
mov r8d, 0x812cfc43
mov r10d, 0x812cfc72
xor r11d, r11d
jmp 0x14039b7e6
mov edx, esi
xor edx, esi
not edx
and edx, r11d
xor edx, esi
add ecx, 2
mov r11d, edx
cmp ecx, r12d
jge 0x14039b7ad
mov edx, dword [0x140536388]
lea esi, [rdx - 1]
imul esi, edx
and esi, 1
mov edi, dword [0x140523dd8]
add edi, r8d
movsxd rdx, ecx
cmp esi, edi
jne 0x14039b830
nop word cs:[rax + rax]
movzx esi, word [rbp + rdx]
mov edi, dword [0x14053638c]
mov ebx, dword [0x140523dd8]
add ebx, r10d
cmp edi, ebx
jl 0x14039b7d0
nop dword [rax + rax]
movzx esi, word [rbp + rdx]
mov esi, dword [0x140536388]
lea edi, [rsi - 1]
imul edi, esi
and edi, 1
mov esi, dword [0x140523dd8]
mov ebx, esi
xor ebx, 0x812cfc43
and esi, 0x12cfc43
lea esi, [rbx + rsi*2]
cmp edi, esi
jne 0x14039b830
jmp 0x14039b810
cmp r13, 8
jae 0x14039b86e
xor ecx, ecx
jmp 0x14039ba11
cmp r13, 0x10
jae 0x14039b87b
xor ecx, ecx
jmp 0x14039b909
mov rcx, r13
xor rcx, 0xffffffffffffffcf
and rcx, r13
xor r8d, r8d
pcmpeqd xmm0, xmm0
nop dword [rax]
movdqa xmm1, xmmword [rsp + r8 + 0xd0]
movdqu xmm2, xmmword [r14 + r8]
movdqa xmm3, xmm1
pxor xmm3, xmm0
movdqa xmm4, xmm2
pxor xmm4, xmm0
pxor xmm4, xmm3
pandn xmm1, xmm2
pandn xmm2, xmm4
por xmm2, xmm1
movdqu xmmword [r14 + r8], xmm2
mov r10, qword [0x140523dd0]
add r10, r15
add r8, r10
add r8, 8
cmp r8, rcx
jne 0x14039b890
cmp r13, rcx
je 0x14039bb04
mov r8, r13
not r8
mov r10, qword [0x140523dd0]
add r10, r15
xor r10, r13
and r8, 0xfffffffffffffff7
or r8, r10
cmp r8, 0xffffffffffffffff
je 0x14039ba11
mov r8, rcx
mov ecx, r13d
and ecx, 0x38
nop word cs:[rax + rax]
movq xmm0, qword [rsp + r8 + 0xd0]
movq xmm1, qword [r14 + r8]
movdqa xmm2, xmm1
pandn xmm2, xmm0
pandn xmm0, xmm1
por xmm0, xmm2
movq qword [r14 + r8], xmm0
mov r10, qword [0x140523dd0]
add r10, r15
add r8, r10
cmp r8, rcx
jne 0x14039b920
mov r11b, 1
jmp 0x14039b968
movzx r8d, word [0x14042df24]
test r11b, r11b
je 0x14039b960
xor r10d, r10d
test r9d, eax
setne bl
movzx r8d, word [0x14042df24]
mov edi, dword [0x140536388]
lea ebp, [rdi - 1]
imul ebp, edi
test bpl, 1
jne 0x14039b960
mov r10b, bl
sub r10w, word [0x140523de0]
add r10d, 0x3afd
sub r8d, edx
and r8d, r10d
mov eax, r8d
shr eax, 8
movzx edx, byte [0x140536390]
mov r9d, edx
xor r9b, al
and dl, al
add dl, dl
add dl, r9b
mov eax, edx
xor al, dl
not al
and al, r8b
and r8b, dl
xor al, dl
or al, r8b
movzx edx, byte [0x14053172a]
mov r8d, eax
xor r8b, al
not r8b
and r8b, dl
xor r8b, al
and al, dl
add al, al
add al, r8b
xor edx, edx
nop word cs:[rax + rax]
test dl, dl
jne 0x14039ba00
mov edx, dword [0x14053638c]
cmp edx, 0x58
jle 0x14039ba54
jmp 0x14039ba65
dec r13
nop word cs:[rax + rax]
movzx eax, byte [rsp + rcx + 0xd0]
movzx edx, byte [0x14053172a]
add dl, 0xaf
mov r8d, edx
xor r8b, al
and dl, al
add dl, dl
add dl, r8b
add dl, 0x51
xor byte [r14 + rcx], dl
cmp r13, rcx
je 0x14039bb04
inc rcx
jmp 0x14039ba20
mov byte [0x14053172a], al
mov edx, dword [0x14053638c]
cmp edx, 0x32
jl 0x14039ba97
mov edx, 0x812cfc44
lea r8, [fcn.14039b2c0]
add r8d, r8d
add r8d, 0x3140
nop dword [rax + rax]
mov byte [0x14053172a], al
mov r9d, dword [0x140523dd8]
add r9d, edx
test r8d, r9d
jne 0x14039ba80
jmp 0x14039ba54
cmp r13, rcx
jne 0x14039ba11
jmp 0x14039bb04
mov ecx, dword [0x140536388]
lea r8d, [rcx - 1]
imul r8d, ecx
and r8d, 1
mov ecx, 0x812cfc43
add ecx, dword [0x140523dd8]
cmp r8d, ecx
je 0x14039baf6
nop word cs:[rax + rax]
mov ecx, dword [0x140536388]
mov r8d, dword [0x140523dd8]
neg r8d
add r8d, ecx
add r8d, 0x7ed303bc
imul r8d, ecx
test r8b, 1
jne 0x14039bad0
jmp 0x14039baa2
mov esi, 1
test r13, r13
jne 0x14039b861
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.1403bbdf0
mov eax, esi
movaps xmm6, xmmword [rsp + 0x150]
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret