Function at 0x1402ecc00
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
sub esp, 0x40
sub esp, 0x40
mov rdi, r9
mov rsi, r8
mov ebx, edx
lea rax, [0x1405f7b40]
jmp 0x1402ecc30
mov ecx, edi
mov ebx, 0x5cba8053
nop word cs:[rax + rax]
mov r15, rcx
mov edx, ebx
fiadd dword [rbx - 0x57cc01e]
adc al, 0x73
invalid
fiadd dword [rbx - 0x57cc01e]
adc al, 0x73
and ecx, dword [rcx + 0xc6348d1]
mov byte [rax + 1], cl
sar edi, 0xe1
jmp rcx
mov ecx, edx
movsxd rcx, dword [rax + rcx*4]
add rcx, rax
jmp rcx
mov esi, esi
mov ebx, 0x9a1c5280
jmp 0x1402ecc30
cmp edx, 0x1d
ja 0x1402ecc9d
cmp edx, 0x18
jbe 0x1402eccef
cmp edx, 0x19
je 0x1402ecd48
cmp edx, 0x1b
jbe 0x1402ecdc6
mov ebx, 0x87881de5
mov rcx, rsi
mov rsi, rdi
mov rdi, r15
cmp edx, 0x1d
jne 0x1402ecc30
mov edi, r15d
mov ebx, 0x7536f9df
jmp 0x1402ecc30
cmp edx, 0x23
jae 0x1402ece40
cmp edx, 0x20
jae 0x1402ed111
cmp edx, 0x1e
jne 0x1402ed188
nop
mov rcx, qword [rdi + 8]
test rcx, rcx
sete dl
movzx eax, byte [0x140740142]
cmp al, 0xd
je 0x1402ed176
mov r8b, 0xe4
mov al, 0xd4
lock cmpxchg byte [0x140740142], r8b
je 0x1402ed3fe
cmp al, 0xd
jne 0x1402eccd5
jmp 0x1402ed176
cmp edx, 0x14
je 0x1402ed70a
cmp edx, 0x15
jbe 0x1402ece62
cmp edx, 0x16
je 0x1402ed13a
cmp edx, 0x18
jne 0x1402ed143
test rdi, rdi
je case.0x1402ecc46.8
cmp rdi, 1
adc rdi, 0
xor r14d, r14d
xor edx, edx
nop
movzx eax, byte [r15 + rdx]
movzx ecx, byte [rsi + rdx]
cmp al, cl
jne 0x1402ed3a8
inc rdx
cmp rdi, rdx
jne 0x1402ecd29
jmp 0x1402ed7f3
lea rax, [0x1405e9c88]
mov qword [rsi], rax
mov r8d, 0x76ddc8c8
mov r9, rsi
call fcn.1402e94c0
lea rax, [0x1405e8c48]
mov qword [rsi], rax
mov r14, qword [rsi + 0x60]
test r14, r14
je 0x1402ece33
nop
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x1402ecdac
nop
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140704440]
test rax, rax
je 0x1402ecdac
nop
mov rcx, qword [rax]
mov r8, qword [rcx]
mov rcx, rax
mov edx, 1
mov rax, r8
call qword [0x140704440]
mov rcx, r14
call fcn.1400954d0
test ebx, 0x100
jne 0x1402ece33
lea rsi, [rsp + 0x28]
jmp 0x1402ecece
jne 0x1402ece74
nop
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
test rcx, rcx
je 0x1402ed130
nop
mov rdx, qword [rdi + 0x18]
mov eax, 0xffffffff
cmp rcx, qword [rdx]
jbe 0x1402ed394
cmp esi, 0xffffffff
je 0x1402ed384
nop
cmp byte [rcx - 1], sil
je 0x1402ece0b
nop
test byte [rdi + 0x70], 2
jne 0x1402ed394
nop
mov rax, qword [rdi + 0x50]
inc dword [rax]
mov rax, qword [rdi + 0x38]
dec qword [rax]
dec dword [rax]
dec dword [rax]
mov rax, qword [rdi + 0x38]
mov rax, qword [rax]
mov byte [rax], sil
mov rax, rsi
jmp 0x1402ed394
xor r14d, r14d
jmp 0x1402ed7f3
test edi, edi
jne 0x1402ed015
jmp 0x1402ed109
add edx, 0xffffffdd
lea rax, [0x1405f7b2c]
movsxd rcx, dword [rax + rdx*4]
add rcx, rax
jmp rcx
mov ecx, esi
call fcn.14057ff68
mov r14d, eax
jmp 0x1402ed7f3
mov rcx, rsi
mov edx, edi
call fcn.14059d4a8
mov r14, rsi
jmp 0x1402ed7f3
test esi, esi
je case.0x1402ecc46.15
mov rcx, rdi
call fcn.1400954d0
test ebx, 0x100
add byte [rax], al
cmove rdi, rsi
jmp case.0x1402ecc46.15
movzx r14d, r15b
jmp 0x1402ed7f3
add byte [rax], al
add byte [rax], al
mov ecx, edi
mov rdx, rsi
call fcn.14057ff60
mov r14d, eax
jmp 0x1402ed7f3
nop
mov rcx, qword [rsi + 0x18]
add rsi, 0x18
test rcx, rcx
je 0x1402ecece
nop
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x140704440]
jb 0x1402ecf41
invalid
invalid
jb 0x1402ecf41
add byte [r8 + 0x6c748], dl
add byte [rax], al
add byte [rbp + 0x31], al
imul cl
adc eax, 0x48000009
lea rax, [0x1405e8c48]
nop
mov qword [rsi], 0
xor r14d, r14d
jmp 0x1402ed7f3
lea rax, [0x1405e8c48]
mov qword [rdi], rax
mov r14, qword [rdi + 0x60]
test r14, r14
je 0x1402ed2bc
nop
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x1402ed2a5
nop
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140704440]
test rax, rax
je 0x1402ed2b4
nop
mov rcx, qword [rax]
mov r8, qword [rcx]
mov rcx, rax
sar dword [rdx + 1], 0x4c
mov eax, eax
sar dword [rdx + 1], 0x4c
mov eax, eax
call qword [0x140704440]
jmp 0x1402ed2b4
mov rcx, rsi
call fcn.14028cc70
test r15d, r15d
je 0x1402ed158
dec dword [rdi]
test byte [rax], dl
add al, byte [rax]
add byte [rbx + rbx*8 + 0x1b9880f], al
add byte [rax], al
test bl, bl
js 0x1402ed109
mov rcx, rsi
call fcn.1400954d0
test bl, 0x40
mov r14, rsi
je 0x1402ed7f3
mov ecx, 0xe285ffe
xor r8d, r8d
movabs r9, 0x2e8ba2e8ba2e8ba3
lea r10, [0x1405f7930]
lea r14, [0x1407401b0]
mov rax, rcx
mul r9
shr rdx, 2
imul rax, rdx, 0xffffffffffffffea
add rax, r10
movzx edx, byte [r8 + r14]
xor dl, byte [r8 + rax + 0xe285ffe]
xor dl, 0x46
test bl, bl
mov byte [r8 + r14], dl
js 0x1402ed2c4
nop
movzx edx, byte [r8 + r14 + 1]
xor dl, byte [rax + r8 + 0xe285fff]
xor dl, 0x46
mov byte [r8 + r14 + 1], dl
cmp r8, 0x14
je 0x1402ed377
add eax, dword [rax]
invalid
add eax, dword [rax]
add byte [rcx - 0x7d], cl
rol byte [rdx], 0x48
add ecx, 2
add r8, 2
add rcx, 2
test bl, bl
jns 0x1402ecf84
jmp 0x1402ed2c4
test esi, esi
je case.0x1402ecc46.15
test byte [rdi], 0x84
add eax, 0x48000008
mov ecx, edi
mov rcx, rdi
call fcn.1400954d0
jmp case.0x1402ecc46.15
invalid
nop
mov qword [rsp + 0x28], r15
xor eax, eax
jmp 0x1402ed805
nop
movzx eax, byte [0x1407401e5]
cmp al, 0x88
jne 0x1402ed70d
test ebx, 0x200
jne 0x1402ed72c
or eax, dword [rdi]
add byte [rax], al
or eax, dword [rdi]
add byte [rax], al
mov rcx, rsi
call fcn.1400954d0
mov r14, rsi
jmp 0x1402ed7f3
nop
movzx eax, byte [0x1407401f9]
lea r14, [0x1407401f0]
cmp al, 0x40
je 0x1402ed7f3
mov cl, 0xb0
nop word [rax + rax]
mov al, 0xdd
lock cmpxchg byte [0x1407401f9], cl
or eax, 0x45319f
or eax, 0x45319f
je 0x1402ed1ba
cmp al, 0x40
jne 0x1402ed050
jmp 0x1402ed7f3
mov al, byte [rdi]
add byte [rax], al
mov rcx, r15
call fcn.14059bc90
add byte [rcx - 0x77], al
invalid
jmp 0x1402ed7f3
add byte [rcx - 0x77], al
invalid
mov r14d, 0xffffffff
jmp 0x1402ed7f3
nop
movzx eax, byte [0x1407401c6]
lea r14, [0x1407401b0]
cmp al, 0xa9
je 0x1402ed7f3
mov cl, 0xfd
nop dword [rax]
mov al, 0x2b
lock cmpxchg byte [0x1407401c6], cl
or eax, 0x45311c
or eax, 0x45311c
je 0x1402ecf64
cmp al, 0xa9
jne 0x1402ed0a0
jmp 0x1402ed7f3
nop
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
mov r14d, 0xffffffff
test rcx, rcx
je 0x1402ed7f3
nop
mov rdx, qword [rdi + 0x50]
push rax
push rax
cmp dword [rdx], 0
jle 0x1402ed2d1
nop
movzx r14d, byte [rcx]
xor ecx, ebp
or eax, dword [rdi]
add byte [rax], al
xor ecx, ebp
or eax, dword [rdi]
add byte [rax], al
nop
lock inc dword [r15 + 8]
xor r14d, r14d
jmp 0x1402ed7f3
mov rcx, r15
mov rdx, rdi
call fcn.14059bcf8
xor r14d, r14d
jmp 0x1402ed7f3
mov r14, rsi
jmp 0x1402ed7f3
je 0x1402ed319
cmp edx, 0x22
jne 0x1402ed336
mov rcx, rsi
call fcn.140303530
xor r14d, r14d
jmp 0x1402ed7f3
mov eax, 0xffffffff
jmp 0x1402ed20f
movzx r14d, dil
jmp 0x1402ed7f3
test edi, edi
je 0x1402ece84
test bl, bl
js 0x1402ed39c
jmp 0x1402ed810
lea rcx, [rsp + 0x28]
mov dl, 1
mov r14, rsi
test ebx, 0x100
jne 0x1402ed7f3
mov al, 0xd
xchg byte [0x140740142], al
lea r14, [0x140740130]
test dl, dl
cmove r14, rcx
jmp 0x1402ed7f3
nop
movzx eax, byte [0x1407401a5]
lea r14, [0x140740190]
cmp al, 0xcb
je 0x1402ed7f3
mov cl, 0xb9
mov al, 0x4e
lock cmpxchg byte [0x1407401a5], cl
je 0x1402ed478
cmp al, 0xcb
jne 0x1402ed1a1
jmp 0x1402ed7f3
movabs rax, 0xc6fad7d0346a5ddf
xor qword [0x1407401f0], rax
xor byte [0x1407401f8], 0x6b
mov al, 0x40
xchg byte [0x1407401f9], al
jmp 0x1402ed7f3
test r15d, r15d
je case.0x1402ecc46.15
and ebx, 0x40
je case.0x1402ecc46.15
mov rcx, rdi
call fcn.1400954d0
jmp case.0x1402ecc46.15
nop
mov qword [rsp + 0x28], r15
sub byte [rcx + 0x39], cl
test dword [rdi], 0x1b183
invalid
xor eax, eax
test bl, 0x40
je 0x1402ed394
test rdi, rdi
je 0x1402ed673
nop
mov rax, qword [rsp + 0x28]
cmp rdi, 1
mov rcx, rdi
adc rcx, 0
xor edx, edx
cmp rdi, 8
jb 0x1402ed594
mov r8, rax
sub r8, rsi
cmp r8, 0x20
jb 0x1402ed594
cmp rdi, 0x20
jae 0x1402ed537
xor edx, edx
jmp 0x1402ed56f
mov rcx, rsi
call fcn.14059b878
xor r14d, r14d
jmp 0x1402ed7f3
xor eax, eax
sub eax, dword [rdi - 4]
cdqe
lea r14, [rdi + rax]
add r14, 0xffffffffffffff78
mov rdx, r14
mov r8d, 0x68128802
call fcn.1402e94c0
test r15d, r15d
je 0x1402ed73d
mov rcx, r14
call fcn.1400954d0
jmp 0x1402ed7f3
test bl, 0x40
jne 0x1402ed2b4
lea r14, [rsp + 0x28]
jmp 0x1402ecdac
mov rcx, r14
call fcn.1400954d0
test esi, esi
je case.0x1402ecc46.15
mov rcx, rdi
call fcn.1400954d0
jmp case.0x1402ecc46.15
nop
mov r8, qword [rdi + 0x40]
mov r9, qword [r8]
test r9, r9
je 0x1402ed7f3
nop
test byte [rdi + 0x70], 4
jne 0x1402ed7f3
nop
mov r8, qword [rdi + 0x68]
cmp r8, r9
cmovb r8, r9
cmp r8, rcx
jbe 0x1402ed7f3
nop
mov qword [rdi + 0x68], r8
sub r8d, dword [rax]
mov dword [rdx], r8d
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
jmp 0x1402ed0de
mov rcx, r15
call fcn.1402e3260
test esi, esi
je 0x1402ed52f
mov rcx, r15
call fcn.1400954d0
jmp 0x1402ed71f
nop
mov rax, qword [rdi]
mov rax, qword [rax + 0x18]
lea rdx, [rsp + 0x28]
mov rcx, rdi
mov r8d, r15d
call qword [0x140704440]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsi + 8]
mov rax, qword [rax + 8]
cmp rax, qword [rcx + 8]
sete al
mov ecx, dword [rsp + 0x28]
cmp ecx, dword [rsi]
sete cl
and cl, al
movzx r14d, cl
jmp 0x1402ed7f3
mov al, 0xa9
xchg byte [0x1407401c6], al
jmp 0x1402ed7f3
nop
mov rax, qword [rdi + 0x50]
inc dword [rax]
mov rax, qword [rdi + 0x38]
dec qword [rax]
xor eax, eax
mov r14d, eax
jmp 0x1402ed7f3
mov rcx, rsi
call fcn.1400954d0
xor eax, eax
xor ecx, ecx
mov r14, rsi
test bl, 0x40
jne 0x1402ed7f3
sub eax, ecx
mov r14, rax
jmp 0x1402ed7f3
test rdi, rdi
je 0x1402ed673
cmp rdi, 4
jae 0x1402ed5f8
lea rcx, [rdi - 1]
mov rdx, rdi
and rdx, 3
je 0x1402ed635
lea rax, [rdi - 1]
movzx r8d, byte [rsi + rdi - 1]
mov byte [r15 + rdi - 1], r8b
dec rdx
mov rdi, rax
jne 0x1402ed3e2
jmp 0x1402ed638
mov eax, 0xb87c9056
mov r8d, 0x47836fbc
mov r9d, 1
mov r10d, 0xb87c9057
mov r11d, 0xcccccccd
lea rdi, [0x140740130]
lea r14, [0x1405f78e0]
mov r15d, r8d
imul r15, r11
shr r15, 0x24
shl r15d, 2
lea r15d, [r15 + r15*4]
lea r12d, [rax + r15]
add r15d, r10d
movzx ebp, byte [r15 + r14]
xor bpl, 0x87
add byte [r9 + rdi - 1], bpl
movzx ebp, byte [r12 + r14]
xor bpl, 0x87
add byte [r9 + rdi], bpl
add eax, 0xfffffffe
add r8d, 2
add r9, 2
add r10d, 0xfffffffe
cmp r9, 0x13
jne 0x1402ed429
jmp 0x1402ed15f
mov eax, 1
mov ecx, 0xc2209c9a
mov edx, 0x3ddf637a
mov r8d, 0xc2209c9b
mov r9d, 0x3ddf6379
mov r10d, 0x86186187
lea r14, [0x140740190]
lea r11, [0x1405f7910]
mov esi, r9d
imul rsi, r10
shr rsi, 0x20
mov edi, r9d
sub edi, esi
shr edi, 1
add edi, esi
shr edi, 4
lea esi, [rdi + rdi*4]
lea esi, [rdi + rsi*4]
add esi, r8d
movzx ebx, byte [rax + r14 - 1]
xor bl, byte [rsi + r11]
xor bl, 0xc4
mov byte [rax + r14 - 1], bl
cmp rax, 0x15
je 0x1402ed522
mov esi, edx
imul rsi, r10
shr rsi, 0x20
mov edi, edx
sub edi, esi
shr edi, 1
add edi, esi
shr edi, 4
lea esi, [rdi + rdi*4]
lea esi, [rdi + rsi*4]
add esi, ecx
movzx ebx, byte [rax + r14]
mov esi, esi
xor bl, byte [rsi + r11]
xor bl, 0xc4
mov byte [rax + r14], bl
add rax, 2
add ecx, 0xfffffffe
add edx, 2
add r8d, 0xfffffffe
add r9d, 2
jmp 0x1402ed4a7
mov al, 0xcb
xchg byte [0x1407401a5], al
jmp 0x1402ed7f3
mov r14, r15
jmp 0x1402ed7f3
mov rdx, rcx
and rdx, 0xffffffffffffffe0
xor r8d, r8d
nop
movups xmm0, xmmword [rsi + r8]
movups xmm1, xmmword [rsi + r8 + 0x10]
movups xmmword [rax + r8], xmm0
movups xmmword [rax + r8 + 0x10], xmm1
add r8, 0x20
cmp rdx, r8
jne 0x1402ed541
cmp rcx, rdx
je 0x1402ed673
test cl, 0x18
je 0x1402ed594
mov r8, rdx
mov rdx, rcx
and rdx, 0xfffffffffffffff8
nop
mov r9, qword [rsi + r8]
mov qword [rax + r8], r9
add r8, 8
cmp rdx, r8
jne 0x1402ed579
cmp rcx, rdx
je 0x1402ed673
mov r9, rcx
mov r8, rdx
and r9, 3
je 0x1402ed5b5
mov r8, rdx
nop
movzx r10d, byte [rsi + r8]
mov byte [rax + r8], r10b
inc r8
dec r9
jne 0x1402ed5a3
sub rdx, rcx
cmp rdx, 0xfffffffffffffffc
ja 0x1402ed673
nop
movzx ecx, byte [rsi + r8]
mov byte [rax + r8], cl
movzx ecx, byte [rsi + r8 + 1]
mov byte [rax + r8 + 1], cl
movzx ecx, byte [rsi + r8 + 2]
mov byte [rax + r8 + 2], cl
movzx ecx, byte [rsi + r8 + 3]
mov byte [rax + r8 + 3], cl
add r8, 4
cmp rdi, r8
jne 0x1402ed5c2
jmp 0x1402ed673
lea rax, [r15 + rdi]
dec rax
cmp r15, rax
ja 0x1402ed3d1
lea rax, [rsi + rdi]
dec rax
cmp rsi, rax
ja 0x1402ed3d1
mov rax, rsi
sub rax, r15
cmp rax, 0x10
jb 0x1402ed3d1
cmp rdi, 0x10
jae 0x1402ed67b
xor eax, eax
jmp 0x1402ed6ba
mov rax, rdi
cmp rcx, 3
jb 0x1402ed673
mov rcx, rax
nop
movzx edx, byte [rsi + rax - 1]
mov byte [r15 + rax - 1], dl
movzx edx, byte [rsi + rax - 2]
mov byte [r15 + rax - 2], dl
movzx edx, byte [rsi + rax - 3]
mov byte [r15 + rax - 3], dl
add rcx, 0xfffffffffffffffc
movzx edx, byte [rsi + rax - 4]
mov byte [r15 + rax - 4], dl
mov rax, rcx
jne 0x1402ed641
mov r14, r15
jmp 0x1402ed7f3
mov rax, rdi
and rax, 0xfffffffffffffff0
lea rcx, [r15 + rdi]
add rcx, 0xfffffffffffffff0
lea rdx, [rsi + rdi]
add rdx, 0xfffffffffffffff0
mov r8, rax
neg r8
xor r9d, r9d
nop
movups xmm0, xmmword [rdx + r9]
movups xmmword [rcx + r9], xmm0
add r9, 0xfffffffffffffff0
cmp r8, r9
jne 0x1402ed69b
cmp rax, rdi
je 0x1402ed673
test dil, 0xc
je 0x1402ed702
mov rcx, rdi
and rcx, 0xfffffffffffffffc
mov edx, edi
and edx, 3
lea r8, [r15 + rdi]
add r8, 0xfffffffffffffffc
neg rax
lea r9, [rsi + rdi]
add r9, 0xfffffffffffffffc
mov r10, rcx
neg r10
nop
mov r11d, dword [r9 + rax]
mov dword [r8 + rax], r11d
add rax, 0xfffffffffffffffc
cmp r10, rax
jne 0x1402ed6df
cmp rcx, rdi
mov rdi, rdx
jne 0x1402ed3d1
jmp 0x1402ed673
and edi, 0xf
jmp 0x1402ed3d1
nop
ud2
mov cl, 0xbb
mov al, 0x66
lock cmpxchg byte [0x1407401e5], cl
je 0x1402ed738
cmp al, 0x88
je 0x1402ed72c
mov r14, r15
test bl, 0x40
je 0x1402ed70d
jmp 0x1402ed7f3
lea r14, [0x1407401d0]
jmp 0x1402ed7f3
lea r14, [rsp + 0x38]
test bl, bl
jns 0x1402ed7f3
mov eax, 1
mov ecx, 0x9cd2b08c
mov edx, 0x632d4f88
mov r8d, 0x9cd2b08d
mov r9d, 0x632d4f87
mov r10d, 0x86186187
lea r14, [0x1407401d0]
lea r11, [0x1405f7950]
mov esi, r9d
imul rsi, r10
shr rsi, 0x20
mov edi, r9d
sub edi, esi
shr edi, 1
add edi, esi
shr edi, 4
lea esi, [rdi + rdi*4]
lea esi, [rdi + rsi*4]
add esi, r8d
movzx ebx, byte [rsi + r11]
xor bl, 0xae
add byte [rax + r14 - 1], bl
cmp rax, 0x15
je 0x1402ed7e6
mov esi, edx
imul rsi, r10
shr rsi, 0x20
mov edi, edx
sub edi, esi
shr edi, 1
add edi, esi
shr edi, 4
lea esi, [rdi + rdi*4]
lea esi, [rdi + rsi*4]
add esi, ecx
mov esi, esi
movzx ebx, byte [rsi + r11]
xor bl, 0xae
add byte [rax + r14], bl
add rax, 2
add ecx, 0xfffffffe
add edx, 2
add r8d, 0xfffffffe
add r9d, 2
jmp 0x1402ed774
mov al, 0x88
xchg byte [0x1407401e5], al
jmp 0x1402ed7f3
mov r14, rdi
mov rax, r14
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
nop
mov qword [rsp + 0x38], rax
cmp rax, rsi
jae case.0x1402ecc46.15
nop
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rax + rcx]
mov byte [rdi + rcx], al
mov rax, qword [rsp + 0x38]
inc rax
jmp 0x1402ed805