Function at 0x1402539d0
Capabilities:
Encode data using xor

Disassembly:
push rbx
test ecx, ecx
je 0x140253a7c
mov eax, 0xcb519eda
add eax, dword [0x1405638d0]
cmp edx, eax
jne 0x140253aec
movzx eax, byte [0x140562c95]
cmp al, 0x8f
je 0x140253ccd
mov cl, 0xe8
nop dword [rax]
mov eax, dword [0x1405b44d8]
mov edx, dword [0x1405638d0]
mov r8d, eax
sub r8d, edx
inc r8d
imul r8d, eax
and r8d, 1
mov eax, edx
xor eax, 0x5010672c
and edx, 0x5010672c
lea eax, [rax + rdx*2]
add eax, 0x7b4137ae
cmp r8d, eax
jne 0x140253a70
nop word [rax + rax]
mov al, 0x2b
lock cmpxchg byte [0x140562c95], cl
sete dl
mov r8d, dword [0x1405b44dc]
cmp r8d, 0x3c
jg 0x140253a70
test dl, dl
jne 0x140253b4e
cmp al, 0x8f
jne 0x140253a00
jmp 0x140253ccd
mov al, 0x2b
lock cmpxchg byte [0x140562c95], cl
jmp 0x140253a40
mov eax, dword [0x1405b44d8]
mov ecx, dword [0x1405638d0]
add ecx, eax
dec ecx
imul ecx, eax
test cl, 1
nop word cs:[rax + rax]
mov eax, dword [0x1405b44dc]
cmp eax, 0x62
jg 0x140253aa0
test edx, edx
je 0x140253b39
xor eax, eax
mov cl, 1
nop word [rax + rax]
mov edx, dword [0x1405b44d8]
lea r8d, [rdx + 1]
imul r8d, edx
test r8b, 1
jne 0x140253adf
movzx edx, byte [0x140562ce2]
test al, al
je 0x140253b15
movzx edx, byte [0x140562ce2]
test cl, cl
je 0x140253ac0
jmp 0x140253ad4
movzx eax, byte [0x140562d49]
cmp al, 0xba
je 0x140253cbc
mov cl, 0xa9
nop dword [rax]
mov al, 0xd7
lock cmpxchg byte [0x140562d49], cl
je 0x140253b7c
cmp al, 0xba
jne 0x140253b00
jmp 0x140253cbc
cmp dl, 0x91
je 0x140253d62
mov cl, 0xd4
mov al, 0x22
lock cmpxchg byte [0x140562ce2], cl
je 0x140253cd6
cmp al, 0x91
jne 0x140253b20
jmp 0x140253d62
cmp dword [0x1405638d0], 0x34ae6126
je 0x140253d6b
jmp 0x140253d78
xor eax, eax
lea rcx, [0x140562c80]
lea rdx, [0x140476a50]
nop
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0x14
jg 0x140253c45
inc rax
jmp 0x140253b60
xor r9d, r9d
lea rdx, [0x140562d40]
lea r8, [0x140476af0]
jmp 0x140253bc0
mov eax, r9d
not eax
mov ecx, eax
and ecx, 1
mov r10d, r9d
and r10d, 0xfffffffe
or r10d, ecx
xor r9d, 1
and eax, 0x7ffffffe
or eax, r9d
not eax
lea r9d, [r10 + rax*2]
cmp r9d, 9
jge 0x140253cb4
mov eax, dword [0x1405b44d8]
lea ecx, [rax - 1]
imul ecx, eax
movsxd r10, r9d
test cl, 1
jne 0x140253bf4
nop word cs:[rax + rax]
movzx eax, byte [r10 + r8]
add byte [r10 + rdx], al
mov eax, dword [0x1405b44dc]
cmp eax, 0x52
jle 0x140253b90
movzx eax, byte [r10 + rdx]
movzx r11d, byte [r10 + r8]
sub al, r11b
mul r11b
sub al, r11b
mul r11b
mov ecx, r11d
sub cl, al
mov eax, ecx
mul r11b
mov ecx, eax
xor cl, r11b
and r11b, al
add r11b, r11b
add r11b, cl
mov ecx, eax
xor cl, r11b
mov ebx, ecx
not bl
and bl, al
add bl, bl
movzx eax, byte [0x1405638e0]
add bl, cl
sub al, bl
add al, r11b
add al, 0x78
mov byte [r10 + rdx], al
jmp 0x140253be0
mov eax, 0xcb519edb
lea rcx, [fcn.1402539d0]
add ecx, ecx
add ecx, 0x2600
mov edx, ecx
not edx
mov r8d, 0xcb519eea
nop word cs:[rax + rax]
mov r9d, dword [0x1405b44dc]
cmp r9d, 0x5e
jg 0x140253c9c
mov r9d, dword [0x1405638d0]
add r9d, eax
mov r10d, ecx
xor r10d, r9d
not r9d
and r9d, edx
or r9d, r10d
cmp r9d, 0xffffffff
je 0x140253cc5
mov r9d, dword [0x1405b44dc]
mov r10d, dword [0x1405638d0]
add r10d, r8d
cmp r9d, r10d
jge 0x140253c70
jmp 0x140253c7d
mov al, 0xba
xchg byte [0x140562d49], al
lea rax, [0x140562d40]
pop rbx
ret
mov al, 0x8f
xchg byte [0x140562c95], al
lea rax, [0x140562c80]
pop rbx
ret
mov eax, dword [0x1405b44dc]
nop dword [rax]
mov ecx, dword [0x1405b44d8]
lea eax, [rcx - 1]
imul eax, ecx
mov ecx, dword [0x1405638d0]
mov edx, ecx
xor edx, 0x34ae6123
and edx, ecx
xor ecx, 0xcb519edc
add edx, edx
mov r8d, ecx
xor r8d, edx
and edx, ecx
lea ecx, [r8 + rdx*2]
xor edx, edx
div ecx
test edx, edx
jne 0x140253ce0
xor eax, eax
lea rcx, [0x140562ce0]
lea rdx, [0x140476aa0]
nop dword [rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 1
jg 0x140253d48
inc rax
jmp 0x140253d30
mov eax, dword [0x1405b44d8]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x140253e30
jmp 0x140253e1b
lea rax, [0x140562ce0]
pop rbx
ret
movzx eax, byte [0x140562d83]
xor ecx, ecx
test cl, cl
je 0x140253d81
movzx eax, byte [0x140562d83]
jmp 0x140253d6b
cmp al, 0x42
je 0x140253db9
mov cl, 0x3f
nop word [rax + rax]
mov al, 0x78
lock cmpxchg byte [0x140562d83], cl
je 0x140253da2
cmp al, 0x42
jne 0x140253d90
jmp 0x140253db9
mov eax, dword [0x1405b44dc]
mov ecx, 0xcb519f19
add ecx, dword [0x1405638d0]
cmp eax, ecx
jl 0x140253dc2
jmp 0x140253dc8
lea rax, [0x140562d60]
pop rbx
ret
mov al, 1
test al, al
jne 0x140253dd6
mov al, 1
nop word [rax + rax]
test al, al
je 0x140253dd0
jmp 0x140253dc2
xor eax, eax
lea rcx, [0x140562d60]
lea rdx, [0x140476b10]
mov r8d, 0xcb519efd
nop dword [rax]
movzx r9d, byte [rax + rdx]
xor byte [rax + rcx], r9b
lea r9d, [rax + 1]
mov r10d, dword [0x1405638d0]
add r10d, r8d
cmp r9d, r10d
jge 0x140253e11
inc rax
jmp 0x140253df0
mov al, 0x42
xchg byte [0x140562d83], al
jmp 0x140253db9
mov eax, dword [0x1405b44d8]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
je 0x140253e3d
nop dword [rax]
mov eax, dword [0x1405b44dc]
cmp eax, 0x15
jge 0x140253e30
jmp 0x140253e1b
mov al, 0x91
xchg byte [0x140562ce2], al
jmp 0x140253d62