Function at 0x140353970
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
je 0x1403539dc
test edx, edx
je 0x140353a19
movzx eax, byte [0x140586289]
cmp al, 0x31
je 0x140353d25
mov cl, 0x66
jmp 0x140353998
cmp al, 0x31
je 0x140353d25
mov al, 0x39
lock cmpxchg byte [0x140586289], cl
je 0x140353a91
nop dword [rax + rax]
mov edx, dword [0x1405ac348]
lea r8d, [rdx - 1]
imul r8d, edx
test r8b, 1
jne 0x1403539cf
mov edx, dword [0x1405ac34c]
cmp edx, 0x4e
jle 0x140353990
mov edx, dword [0x1405ac34c]
cmp edx, 0x5c
jge 0x1403539b0
jmp 0x1403539c4
test edx, edx
je 0x140353a49
movzx eax, byte [0x140586274]
cmp al, 0x84
je 0x140353b29
mov cl, 0x70
nop word cs:[rax + rax]
mov al, 0x4b
lock cmpxchg byte [0x140586274], cl
je 0x140353ae7
cmp al, 0x84
jne 0x140353a00
jmp 0x140353b29
movzx eax, byte [0x1405864f3]
cmp al, 0x33
je 0x140353c43
mov cl, 0x91
nop word [rax + rax]
mov al, 0xcc
lock cmpxchg byte [0x1405864f3], cl
je 0x140353b49
cmp al, 0x33
jne 0x140353a30
jmp 0x140353c43
movzx eax, byte [0x140586488]
cmp al, 0xa9
je 0x140353a89
nop word cs:[rax + rax]
movzx ecx, byte [0x140587384]
lea eax, [rcx + 0x5f]
add cl, 0xe1
lock cmpxchg byte [0x140586488], cl
je 0x140353b8c
movzx ecx, byte [0x140587384]
add cl, 0xd9
cmp al, cl
jne 0x140353a60
lea rax, [0x140586470]
ret
xor eax, eax
lea rcx, [0x140586280]
lea rdx, [0x140485e30]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 8
jg 0x140353ac8
inc rax
jmp 0x140353ab0
lea rax, [fcn.140353970]
add eax, eax
add eax, 0x2840
mov ecx, eax
not ecx
test ecx, eax
jne 0x140353d10
jmp 0x140353cfa
xor edx, edx
lea rax, [0x140586260]
lea rcx, [0x140485e10]
nop word [rax + rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
xor byte [rdx + rax], r8b
mov r8d, dword [0x140587380]
add edx, r8d
add edx, 0x75af529
cmp edx, 0x14
jl 0x140353b00
mov al, 0x84
xchg byte [0x140586274], al
mov eax, dword [0x1405ac34c]
nop
mov eax, dword [0x1405ac348]
lea ecx, [rax + 1]
imul ecx, eax
test cl, 1
jne 0x140353b30
lea rax, [0x140586260]
ret
xor eax, eax
lea rcx, [0x1405864d0]
lea rdx, [0x140486050]
nop dword [rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0x22
jg 0x140353b78
inc rax
jmp 0x140353b60
mov eax, dword [0x1405ac34c]
cmp eax, 0x5a
jg 0x140353cd0
jmp 0x140353cbe
xor eax, eax
lea rcx, [0x140586470]
lea rdx, [0x140485ff0]
nop dword [rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0x17
jg 0x140353bb8
inc rax
jmp 0x140353ba0
mov eax, dword [0x1405ac34c]
cmp eax, 0x52
jle 0x140353c0b
jmp 0x140353c2d
mov eax, dword [0x1405ac34c]
cmp eax, 0x26
jl 0x140353bfb
mov eax, dword [0x1405ac348]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
mov eax, dword [0x140587380]
mov edx, eax
xor edx, 0x75af528
and eax, 0x75af528
lea eax, [rdx + rax*2]
cmp ecx, eax
jne 0x140353bd0
jmp 0x140353bc5
mov al, 0xa9
xchg byte [0x140586488], al
lea rax, [0x140586470]
ret
mov eax, dword [0x1405ac348]
mov ecx, dword [0x140587380]
mov edx, ecx
not edx
add edx, eax
imul edx, eax
and edx, 1
add ecx, 0x75af528
cmp edx, ecx
je 0x140353c36
mov al, 1
nop
test al, al
je 0x140353c30
jmp 0x140353c0b
mov eax, dword [0x1405ac34c]
cmp eax, 0x43
jge 0x140353bd0
jmp 0x140353bc5
mov ecx, 0x75af529
lea rax, [fcn.140353970]
lea r8d, [rax + rax]
add r8d, 0x5c0
mov r9d, r8d
not r9d
mov eax, dword [0x1405ac348]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
jne 0x140353c9b
mov edx, dword [0x1405ac348]
mov r10d, dword [0x140587380]
mov eax, edx
sub eax, r10d
add eax, 0xf8a50ad7
imul eax, edx
add r10d, 0x75af52a
xor edx, edx
div r10d
test edx, edx
je 0x140353cb6
mov eax, dword [0x140587380]
add eax, ecx
mov edx, r8d
xor edx, eax
not eax
and eax, r9d
or eax, edx
cmp eax, 0xffffffff
jne 0x140353c60
jmp 0x140353c71
lea rax, [0x1405864d0]
ret
mov al, 1
test al, al
jne 0x140353cdd
nop word cs:[rax + rax]
mov eax, dword [0x1405ac34c]
cmp eax, 0x43
jge 0x140353cd0
jmp 0x140353cbe
movzx eax, byte [0x140587384]
mov ecx, eax
xor cl, 0x63
and al, 0x63
add al, al
add al, cl
xchg byte [0x1405864f3], al
jmp 0x140353c43
mov al, 0x31
xchg byte [0x140586289], al
mov al, 1
test al, al
jne 0x140353d25
nop dword [rax + rax]
mov al, 0x31
xchg byte [0x140586289], al
mov eax, dword [0x1405ac34c]
cmp eax, 0x16
jge 0x140353d10
jmp 0x140353cfa
lea rax, [0x140586280]
ret