Function at 0x1403689d0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x218
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x180], xmm6
mov qword [rbp + 0x178], 0xfffffffffffffffe
mov qword [rbp + 0x170], rdx
mov qword [rbp + 0x158], rcx
mov rax, qword [0x140578588]
mov qword [rbp + 0x160], rax
mov qword [rbp + 0x148], 0
xorps xmm6, xmm6
movaps xmmword [rbp + 0x120], xmm6
mov byte [rbp - 0x48], 0
lea rsi, [rbp - 0x44]
mov r8d, 0x150
mov rcx, rsi
xor edx, edx
call fcn.14041da70
mov dword [rsp + 0x20], 0xbf527fd
mov rcx, rsi
xor edx, edx
mov r8d, 0x1ef2af2d
mov r9d, 0x4e3ecdeb
call fcn.14012b3d0
lea rax, [rbp + 0xc]
movzx r9d, byte [rbp - 0x48]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x120]
mov r8d, 0x10
mov rcx, rsi
call fcn.1402d6a80
lea rax, [rbp + 0xc]
movups xmmword [rax], xmm6
lea rax, [0x14045d450]
movsxd rcx, dword [0x14045d450]
add rcx, rax
mov qword [rbp + 0x150], rcx
mov r12d, dword [0x14045d46c]
mov r11d, 0xa9c911bc
lea r15, [fcn.1403689d0]
mov bl, 1
mov r14d, 0xa9c91178
xor eax, eax
cmp eax, 7
ja 0x140369270
nop dword [rax]
mov qword [rbp + 0x168], rax
mov eax, dword [0x140578a08]
lea ecx, [rax + 1]
imul ecx, eax
test cl, 1
jne 0x140368c7b
nop dword [rax]
mov eax, dword [0x140578a0c]
mov ecx, dword [0x14055a5d0]
add ecx, r11d
cmp eax, ecx
jl 0x140368b55
nop word cs:[rax + rax]
mov eax, dword [0x14055a474]
add eax, eax
add eax, 0xfffffffe
not eax
mov ecx, dword [0x14055a5d0]
lea edx, [rcx - 0x5636ee88]
mov r8d, eax
xor r8d, edx
and eax, edx
lea eax, [r8 + rax*2]
inc eax
mov dword [0x14055a474], eax
mov eax, dword [0x140578a08]
mov edx, eax
sub edx, ecx
add edx, 0x5636ee88
imul edx, eax
test dl, 1
jne 0x140368b10
mov edi, dword [0x14055a474]
lea esi, [rdi + 1]
mov dword [0x14055a474], esi
mov eax, dword [0x140578a0c]
cmp eax, 0x4f
jge 0x140368c7b
nop word cs:[rax + rax]
lea eax, [r15 + r15]
add eax, 0x13c0
mov ecx, eax
not ecx
test ecx, eax
jne 0x140368b80
mov eax, dword [0x140578a0c]
mov ecx, dword [0x14055a5d0]
mov edx, 0xa9c911b8
add ecx, edx
cmp eax, ecx
mov eax, dword [0x14055a5d0]
mov ecx, 0xa9c91176
add eax, ecx
xor edi, esi
xor edi, eax
test edi, esi
jne 0x140368bd1
mov eax, dword [0x14055a5d0]
mov ecx, 0xa9c91177
add eax, ecx
cmp eax, r12d
jl 0x140368fd7
xor r13d, r13d
mov eax, dword [0x140578a08]
nop word [rax + rax]
mov eax, dword [0x14055a5d0]
mov ecx, eax
xor ecx, 0xa9c91177
and eax, 0x29c91177
add eax, eax
add eax, ecx
jne 0x140368be0
mov rax, qword [rbp + 0x160]
mov rax, qword [rax + 0x360]
mov ecx, dword [rbp + 0x168]
mov rdx, qword [rbp + 0x170]
mov edx, dword [rdx + rcx*4 + 4]
mov rcx, qword [rbp + 0x158]
add rdx, qword [rcx + 8]
mov rcx, qword [rcx]
mov r10, qword [case.0x14013cbc3.0]
lea r8, [rbp + 0x148]
mov qword [rsp + 0x20], r8
mov r9d, 0x10
lea r8, [rbp + 0x110]
call r10
test bl, bl
je 0x1403690e0
jmp 0x1403690b0
mov eax, dword [0x14055a5d0]
add eax, r14d
lea ecx, [r15 + r15]
add ecx, 0x1b40
test ecx, eax
je 0x140368af0
mov eax, dword [0x140578a0c]
cmp eax, 0x12
jg 0x140368d0f
nop word [rax + rax]
mov eax, dword [0x14055a474]
mov ecx, dword [0x14055a5d0]
mov edx, ecx
sub edx, eax
neg eax
mov r8d, 0x5636ee88
sub r8d, edx
mov r9d, eax
xor r9d, r8d
and eax, r8d
lea eax, [r9 + rax*2]
neg eax
add eax, ecx
add eax, 0xa9c91177
imul r8d, eax
sub eax, edx
sub eax, r8d
add eax, 0x5636ee88
imul eax, r8d
mov edx, eax
sub edx, r8d
imul edx, r8d
sub eax, edx
imul eax, edx
sub edx, eax
mov dword [0x14055a474], edx
mov edx, dword [0x140578a08]
lea eax, [rdx - 1]
imul eax, edx
lea r8d, [rcx - 0x5636ee87]
xor edx, edx
div r8d
add ecx, 0xa9c91177
cmp edx, ecx
je 0x140368c60
mov edx, dword [0x14055a474]
mov r8d, dword [0x14055a5d0]
mov eax, r8d
sub eax, edx
add eax, 0xa9c91178
mov r9d, eax
sub r9d, edx
mov ecx, r9d
sub ecx, eax
imul ecx, eax
mov eax, r9d
shl eax, cl
mov ecx, r9d
neg ecx
mov r10d, ecx
xor r10d, eax
and ecx, eax
lea ecx, [r10 + rcx*2]
mov eax, r9d
shl eax, cl
mov r10d, r9d
mov ecx, eax
shl r10d, cl
mov eax, r9d
sub eax, r10d
imul eax, r10d
sub r9d, eax
lea ecx, [r9 + r9]
add ecx, 0xfffffffe
mov eax, ecx
shl eax, cl
imul eax, ecx
imul edx, edx
sub edx, eax
imul edx, eax
mov ecx, eax
shl edx, cl
sub edx, eax
imul edx, eax
mov r9d, edx
sub r9d, eax
neg edx
imul edx, eax
add r9d, edx
mov r10d, r9d
mov ecx, edx
shl r10d, cl
mov ecx, r9d
sub ecx, r10d
imul ecx, r10d
shl r9d, cl
mov edx, ecx
sub edx, r9d
add edx, ecx
lea r9d, [rdx + rdx]
neg r9d
mov ecx, edx
shl r9d, cl
sub r9d, edx
imul r9d, edx
sub r9d, edx
mov ecx, r9d
sub ecx, eax
imul ecx, eax
mov edx, r9d
sub edx, ecx
imul edx, ecx
mov ecx, r9d
xor ecx, edx
and edx, r9d
lea r9d, [rcx + rdx*2]
lea ecx, [r8 + r9]
add ecx, 0xa9c91177
add ecx, eax
neg ecx
add ecx, r8d
add ecx, 0xa9c91177
imul ecx, eax
sub ecx, eax
add ecx, r8d
add ecx, 0xa9c91177
imul ecx, eax
sub ecx, eax
imul ecx, eax
mov edx, ecx
sub edx, eax
imul edx, eax
sub edx, ecx
mov eax, edx
sub eax, ecx
imul eax, edx
mov ecx, eax
sub ecx, r9d
sub ecx, r9d
mov edx, r9d
shl edx, cl
mov r8d, r9d
mov ecx, edx
shl r8d, cl
mov edx, r9d
mov ecx, r8d
shl edx, cl
mov ecx, edx
shl r9d, cl
shl r9d, cl
sub r9d, edx
mov ecx, eax
shl r9d, cl
mov edx, eax
sub edx, r9d
mov ecx, eax
shl edx, cl
mov r8d, edx
mov ecx, eax
shl r8d, cl
mov ecx, edx
neg ecx
mov r9d, ecx
xor r9d, r8d
and r8d, ecx
lea r9d, [r9 + r8*2]
mov r8d, edx
sub r8d, r9d
imul r8d, r9d
imul ecx, r8d
sub r8d, edx
imul r8d, ecx
mov ecx, r8d
sub ecx, eax
imul ecx, eax
mov r9d, r8d
shl r9d, cl
shl r9d, cl
mov edx, r9d
sub edx, ecx
add edx, r9d
imul edx, eax
sub r8d, edx
imul r8d, edx
mov eax, r8d
sub eax, edx
imul eax, edx
mov ecx, r8d
sub ecx, eax
imul ecx, eax
mov eax, r8d
shl eax, cl
mov ecx, r8d
sub ecx, eax
imul ecx, eax
shl r8d, cl
mov eax, r8d
shl eax, cl
sub r8d, eax
mov eax, r8d
mov ecx, edx
shl eax, cl
mov ecx, eax
shl r8d, cl
imul r8d, eax
sub edx, r8d
mov eax, edx
sub eax, r8d
mov ecx, edx
shl eax, cl
neg r8d
sub eax, edx
imul eax, edx
sub edx, eax
mov r9d, edx
sub r9d, eax
mov eax, r9d
mov ecx, edx
shl eax, cl
mov ecx, r9d
neg ecx
mov edx, ecx
xor edx, eax
and ecx, eax
lea eax, [rdx + rcx*2]
add eax, r9d
mov ecx, r8d
xor ecx, eax
and r8d, eax
lea r8d, [rcx + r8*2]
mov edx, r8d
mov ecx, eax
shl edx, cl
mov ecx, r8d
sub ecx, edx
imul ecx, edx
mov edx, r8d
shl edx, cl
neg r8d
mov ecx, r8d
xor ecx, edx
and r8d, edx
lea ecx, [rcx + r8*2]
sub ecx, edx
imul ecx, edx
mov r9d, edx
sub r9d, ecx
mov ecx, edx
shl r9d, cl
sub edx, r9d
mov r8d, r9d
mov ecx, edx
shl r8d, cl
sub r9d, r8d
imul r9d, r8d
sub r9d, r8d
sub r9d, eax
imul r9d, eax
mov ecx, r9d
sub ecx, eax
imul ecx, eax
sub r9d, ecx
imul r9d, ecx
shl r9d, cl
sub ecx, r9d
mov r8d, ecx
sub r8d, r9d
imul r8d, ecx
mov edx, r8d
mov ecx, eax
shl edx, cl
mov ecx, edx
shl r8d, cl
mov eax, r8d
mov ecx, edx
shl eax, cl
sub r8d, eax
imul r8d, eax
sub r8d, eax
imul r8d, eax
mov edx, r8d
mov ecx, eax
shl edx, cl
mov eax, r8d
mov ecx, edx
shl eax, cl
sub r8d, eax
imul r8d, eax
sub r8d, eax
imul r8d, eax
mov ecx, eax
shl r8d, cl
mov dword [0x14055a474], r8d
jmp 0x140368c90
xor eax, eax
xor r13d, r13d
jmp 0x140369002
mov rdx, rcx
xor rdx, rcx
not rdx
and r13, rdx
xor r13, rcx
add eax, 0xabc07601
add eax, 0x543f8a07
cmp eax, r12d
jge 0x140368bd4
mov ecx, dword [0x140578a0c]
cmp ecx, 9
mov ecx, dword [0x140578a08]
lea edx, [rcx + 1]
imul edx, ecx
test dl, 1
jne 0x14036900b
jmp 0x140369024
test bl, bl
je 0x140369020
lea ecx, [r15 + r15]
add ecx, 0x1e0
mov edx, ecx
not edx
test edx, ecx
jne 0x140369020
movsxd rdx, eax
add rdx, qword [rbp + 0x150]
mov ecx, dword [0x140578a08]
lea r8d, [rcx - 1]
imul r8d, ecx
test r8b, 1
jne 0x1403690a0
nop word cs:[rax + rax]
mov rcx, qword [rdx]
mov r8d, dword [0x140578a0c]
cmp r8d, 0x4d
jg 0x1403690a0
mov edx, dword [0x140578a08]
lea r8d, [rdx + 1]
imul r8d, edx
test r8b, 1
jne 0x140369093
mov edx, dword [0x140578a0c]
cmp edx, 0x3d
jle 0x140368fe0
mov edx, dword [0x140578a0c]
cmp edx, 0x60
jge 0x140369070
jmp 0x140369084
mov rcx, qword [rdx]
jmp 0x140369060
mov rcx, qword [0x14045d458]
mov edx, dword [0x140578a08]
mov r8d, dword [0x14055a5d0]
neg r8d
add r8d, edx
add r8d, 2
imul r8d, edx
test r8b, 1
je 0x140369100
nop dword [rax + rax]
mov rcx, qword [0x14045d458]
mov ecx, dword [0x140578a08]
lea edx, [rcx - 1]
imul edx, ecx
test dl, 1
jne 0x1403690e0
jmp 0x1403690b0
and edi, esi
mov rdx, qword [0x14055a5d8]
mov r8, rdx
movabs r9, 0x95f9092d52f08be
xor r8, r9
and rdx, r9
lea rdx, [r8 + rdx*2]
cmp edi, 1
adc rdx, 0xffffffffffffffff
neg rdx
sub rcx, r13
and rcx, rdx
mov edx, dword [0x140578a08]
nop word cs:[rax + rax]
mov edx, dword [0x140578a0c]
cmp edx, 0x1b
movzx edx, byte [0x140576068]
mov r8d, dword [0x140578a08]
mov r9d, dword [0x14055a5d0]
neg r9d
add r9d, r8d
add r9d, 0x5636ee88
imul r9d, r8d
test r9b, 1
jne 0x140369149
mov r8d, dword [0x140578a0c]
cmp r8d, 0x28
jg 0x140369140
mov r8d, dword [0x140578a08]
lea r9d, [r8 - 1]
imul r9d, r8d
test r9b, 1
mov r8d, dword [0x140578a0c]
cmp r8d, 0xc
jge 0x140369195
xor r8d, r8d
test r8b, r8b
test rcx, rcx
setne r8b
mov r9d, dword [0x140578a0c]
mov r10d, dword [0x14055a5d0]
mov r11d, 0xa9c911a8
add r10d, r11d
cmp r9d, r10d
jge 0x1403691a8
or dl, r8b
mov ecx, dword [0x140578a0c]
cmp ecx, 9
jg 0x140369260
nop dword [rax]
mov ecx, edx
and cl, 1
mov byte [0x140576068], cl
mov ecx, dword [0x140578a0c]
mov r8d, dword [0x14055a5d0]
mov r9d, r8d
xor r9d, 0xa9c911c4
and r8d, 0x29c911c4
lea r8d, [r9 + r8*2]
cmp ecx, r8d
jge 0x140369260
test eax, eax
je 0x1403692f4
mov r8d, 0x10
lea rcx, [rbp - 0x44]
lea rdx, [rbp + 0x110]
lea r9, [rbp + 0x130]
call fcn.1402d6dc0
mov eax, dword [0x14055a5d0]
mov rcx, qword [rbp + 0x168]
add ecx, eax
add ecx, 0xa9c91178
mov rax, rcx
mov r11d, 0xa9c911bc
cmp eax, 7
jbe 0x140368ad0
jmp 0x140369270
mov ecx, edx
and cl, 1
mov byte [0x140576068], cl
jmp 0x1403691e0
lea rax, [rbp + 0xc]
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0x130], xmm0
mov rax, qword [rbp + 0x170]
mov rdi, qword [rax + 0x28]
mov rbx, qword [rax + 0x30]
cmp rdi, rbx
sete al
or al, byte [0x140576068]
movzx ecx, byte [0x1405759f1]
mov edx, ecx
and dl, al
xor esi, esi
test dl, 1
jne 0x1403692f6
xor cl, al
test cl, 1
jne 0x1403692f6
lea rsi, [rbp + 0x130]
nop dword [rax]
mov dword [rsp + 0x28], 0xac0c72c6
mov dword [rsp + 0x20], 0xe0a74158
mov r8d, 0x10
mov rcx, rdi
mov rdx, rsi
mov r9d, 0x944ab1a6
call fcn.1400aafb0
test eax, eax
je 0x14036935e
add rdi, 0x10
cmp rdi, rbx
jne 0x1403692c0
xor esi, esi
mov eax, dword [0x140578a0c]
nop dword [rax]
mov eax, dword [0x140578a0c]
cmp eax, 0x5d
jg 0x140369300
lea rcx, [rbp - 0x44]
call fcn.1402d6d30
lea rax, [fcn.1403689d0]
add eax, eax
add eax, 0x10e0
mov ecx, eax
not ecx
test ecx, eax
nop dword [rax + rax]
mov eax, dword [0x140578a08]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x140369330
mov eax, esi
movaps xmm6, xmmword [rbp + 0x180]
add rsp, 0x218
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp qword [0x1405785b0], 0
jne 0x14036939e
mov ecx, 0x30
call fcn.1403f542c
mov qword [rax + 0x28], 0xf
lea rcx, [0x1404388f8]
mov qword [rax + 8], rcx
mov dword [rax], 0
mov qword [rax + 0x20], 0
mov byte [rax + 0x10], 0
mov qword [0x1405785b0], rax
mov eax, 0xa9c91178
add eax, dword [0x14055a5d0]
lea rcx, [fcn.1403689d0]
add ecx, ecx
add ecx, 0x3140
test ecx, eax
jne 0x1403693e0
jmp 0x1403693be
mov rax, qword [0x1405785b0]
mov dword [rax], 0x10
mov eax, dword [0x140578a08]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
je 0x1403693fa
nop dword [rax]
mov rax, qword [0x1405785b0]
mov dword [rax], 0x10
mov eax, dword [0x140578a0c]
cmp eax, 0x2b
jge 0x1403693e0
jmp 0x1403693be
mov sil, 1
jmp 0x1403692f6