Function at 0x1402f42a0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
test ecx, ecx
je 0x1402f43d4
mov eax, dword [0x140495184]
cmp eax, 0x10
nop word cs:[rax + rax]
mov eax, dword [0x140495180]
mov ecx, dword [0x140480e90]
neg ecx
add ecx, eax
add ecx, 0xd8085ab0
imul ecx, eax
test cl, 1
jne 0x1402f42c0
test edx, edx
jne 0x1402f4377
movzx eax, byte [0x14047fb75]
cmp al, 0x9c
je 0x1402f45d7
mov ecx, 0x27f7a597
mov dl, 0xb0
mov r8b, 1
nop
mov eax, dword [0x140495184]
mov r9d, dword [0x140480e90]
add r9d, ecx
cmp eax, r9d
jge 0x1402f4350
nop word cs:[rax + rax]
mov al, 0x9a
lock cmpxchg byte [0x14047fb75], dl
sete r9b
test r8b, r8b
je 0x1402f4350
test r9b, r9b
jne 0x1402f44ce
cmp al, 0x9c
jne 0x1402f4300
jmp 0x1402f45d7
mov al, 0x9a
lock cmpxchg byte [0x14047fb75], dl
test r8b, r8b
je 0x1402f4350
jmp 0x1402f4320
movzx eax, byte [0x14047fbb2]
mov eax, dword [0x140495180]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x1402f4370
movzx eax, byte [0x14047fbb2]
movzx ecx, byte [0x140480e94]
mov edx, dword [0x140495184]
cmp edx, 0x3e
jge 0x1402f4370
add cl, 0xe2
cmp al, cl
je 0x1402f44c2
nop dword [rax]
movzx ecx, byte [0x140480e94]
lea eax, [rcx - 0x52]
add cl, 0x1a
lock cmpxchg byte [0x14047fbb2], cl
je 0x1402f4477
cmp al, 0xb7
jne 0x1402f43b0
jmp 0x1402f44c2
test edx, edx
je 0x1402f4419
movzx eax, byte [0x1404801cc]
movzx ecx, byte [0x140480e94]
mov edx, ecx
xor dl, 0x53
and cl, 0x53
add cl, cl
add cl, dl
cmp al, cl
je 0x1402f46ff
mov cl, 0x19
nop dword [rax]
mov al, 0x39
lock cmpxchg byte [0x1404801cc], cl
je 0x1402f4598
cmp al, 0x28
jne 0x1402f4400
jmp 0x1402f46ff
movzx eax, byte [0x14048029d]
cmp al, 0xb2
je 0x1402f46c6
mov cl, 0x43
xor edx, edx
nop dword [rax]
mov eax, dword [0x140495184]
cmp eax, 0x1e
jg 0x1402f4460
mov al, 0x3c
lock cmpxchg byte [0x14048029d], cl
sete r8b
test dl, dl
jne 0x1402f4460
test r8b, r8b
jne 0x1402f460a
cmp al, 0xb2
jne 0x1402f4430
jmp 0x1402f46c6
mov al, 0x3c
lock cmpxchg byte [0x14048029d], cl
mov eax, dword [0x140495184]
cmp eax, 0x4e
jge 0x1402f4430
jmp 0x1402f443b
xor r8d, r8d
lea rax, [0x14047fbb0]
lea rcx, [0x140390260]
mov edx, 0x27f7a551
nop dword [rax]
movsxd r8, r8d
movzx r9d, byte [r8 + rcx]
add byte [r8 + rax], r9b
mov r9d, r8d
xor r9d, 1
and r8d, 1
lea r8d, [r9 + r8*2]
mov r9d, dword [0x140480e90]
add r9d, edx
cmp r8d, r9d
jl 0x1402f4490
mov al, 0xb7
xchg byte [0x14047fbb2], al
lea rax, [0x14047fbb0]
jmp 0x1402f46cd
xor r9d, r9d
lea r10, [0x14047fb60]
lea r11, [0x140390210]
lea rax, [fcn.1402f42a0]
lea esi, [rax + rax]
add esi, 0x1680
mov edi, esi
not edi
jmp 0x1402f450d
inc r9d
cmp r9d, 0x15
jge 0x1402f45c8
cmp dword [0x140480e90], 0xd8085ab1
movsxd rbx, r9d
jne 0x1402f4540
nop dword [rax]
movzx eax, byte [rbx + r11]
xor byte [rbx + r10], al
mov eax, dword [0x140495184]
cmp eax, 0x39
jl 0x1402f4500
nop word cs:[rax + rax]
movzx eax, byte [rbx + r10]
movzx edx, byte [rbx + r11]
sub al, dl
mul dl
mov ecx, eax
sub al, dl
mul dl
mov edx, eax
mov eax, ecx
sub al, dl
mul dl
mov edx, eax
sub cl, al
mov eax, ecx
mul dl
mov r8d, eax
mov ecx, edx
shl r8b, cl
mov eax, r8d
sub al, dl
mul dl
mov ecx, eax
shl r8b, cl
sub r8b, al
mov eax, r8d
mul cl
sub al, cl
mov edx, eax
neg dl
dec al
xor al, dl
and al, cl
xor al, dl
mov byte [rbx + r10], al
test edi, esi
jne 0x1402f4540
jmp 0x1402f4520
xor eax, eax
lea rcx, [0x1404801c0]
lea rdx, [0x140390870]
nop dword [rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0xb
jg 0x1402f45e3
inc rax
jmp 0x1402f45b0
movzx eax, byte [0x140480e94]
add al, 0xc7
xchg byte [0x14047fb75], al
lea rax, [0x14047fb60]
jmp 0x1402f46cd
mov eax, dword [0x140495184]
nop dword [rax]
mov eax, dword [0x140495184]
cmp eax, 0x37
jg 0x1402f45f0
mov al, 1
test al, al
je 0x1402f46ee
jmp 0x1402f46d1
xor ecx, ecx
lea r8, [0x140480290]
lea r9, [0x140390940]
mov r10d, 0x27f7a551
mov r11b, 1
jmp 0x1402f463b
inc ecx
cmp ecx, 0xd
jge 0x1402f46be
mov eax, dword [0x140495180]
lea edx, [rax - 1]
imul edx, eax
movsxd rsi, ecx
test dl, 1
jne 0x1402f4680
nop
movzx eax, byte [rsi + r9]
add byte [rsi + r8], al
mov edx, dword [0x140495180]
lea eax, [rdx - 1]
imul eax, edx
mov edi, dword [0x140480e90]
add edi, r10d
xor edx, edx
div edi
test edx, edx
je 0x1402f4630
nop word cs:[rax + rax]
movzx eax, byte [rsi + r9]
mov edx, eax
sub dl, byte [rsi + r8]
movzx ebx, byte [0x140480e94]
mov edi, ebx
sub dil, dl
add dil, al
mov eax, ebx
xor al, 0x2b
and bl, 0x2b
add bl, bl
add bl, al
sub bl, dl
add bl, dil
add bl, 0x2b
mov eax, ebx
sub al, dl
add al, bl
mov byte [rsi + r8], al
test r11b, r11b
je 0x1402f4680
jmp 0x1402f4650
mov al, 0xb2
xchg byte [0x14048029d], al
lea rax, [0x140480290]
pop rbx
pop rdi
pop rsi
ret
mov al, 0x28
xchg byte [0x1404801cc], al
mov eax, dword [0x140495184]
mov ecx, 0x27f7a5a5
add ecx, dword [0x140480e90]
cmp eax, ecx
jl 0x1402f46ff
movzx eax, byte [0x140480e94]
add al, 0x53
xchg byte [0x1404801cc], al
jmp 0x1402f46d1
lea rax, [0x1404801c0]
jmp 0x1402f46cd