Function at 0x140315500
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
je 0x14031556c
test edx, edx
je 0x1403155a9
movzx eax, byte [0x14053b839]
cmp al, 0x31
je 0x1403158b5
mov cl, 0x66
jmp 0x140315528
cmp al, 0x31
je 0x1403158b5
mov al, 0x39
lock cmpxchg byte [0x14053b839], cl
je 0x140315621
nop dword [rax + rax]
mov edx, dword [0x140561c30]
lea r8d, [rdx - 1]
imul r8d, edx
test r8b, 1
jne 0x14031555f
mov edx, dword [0x140561c34]
cmp edx, 0x4e
jle 0x140315520
mov edx, dword [0x140561c34]
cmp edx, 0x5c
jge 0x140315540
jmp 0x140315554
test edx, edx
je 0x1403155d9
movzx eax, byte [0x14053b824]
cmp al, 0x84
je 0x1403156b9
mov cl, 0x70
nop word cs:[rax + rax]
mov al, 0x4b
lock cmpxchg byte [0x14053b824], cl
je 0x140315677
cmp al, 0x84
jne 0x140315590
jmp 0x1403156b9
movzx eax, byte [0x14053baa3]
cmp al, 0x33
je 0x1403157d3
mov cl, 0x91
nop word [rax + rax]
mov al, 0xcc
lock cmpxchg byte [0x14053baa3], cl
je 0x1403156d9
cmp al, 0x33
jne 0x1403155c0
jmp 0x1403157d3
movzx eax, byte [0x14053ba38]
cmp al, 0xa9
je 0x140315619
nop word cs:[rax + rax]
movzx ecx, byte [0x14053c934]
lea eax, [rcx + 0x5f]
add cl, 0xe1
lock cmpxchg byte [0x14053ba38], cl
je 0x14031571c
movzx ecx, byte [0x14053c934]
add cl, 0xd9
cmp al, cl
jne 0x1403155f0
lea rax, [0x14053ba20]
ret
xor eax, eax
lea rcx, [0x14053b830]
lea rdx, [0x140443950]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 8
jg 0x140315658
inc rax
jmp 0x140315640
lea rax, [fcn.140315500]
add eax, eax
add eax, 0x2840
mov ecx, eax
not ecx
test ecx, eax
jne 0x1403158a0
jmp 0x14031588a
xor edx, edx
lea rax, [0x14053b810]
lea rcx, [0x140443930]
nop word [rax + rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
xor byte [rdx + rax], r8b
mov r8d, dword [0x14053c930]
add edx, r8d
add edx, 0x75af529
cmp edx, 0x14
jl 0x140315690
mov al, 0x84
xchg byte [0x14053b824], al
mov eax, dword [0x140561c34]
nop
mov eax, dword [0x140561c30]
lea ecx, [rax + 1]
imul ecx, eax
test cl, 1
jne 0x1403156c0
lea rax, [0x14053b810]
ret
xor eax, eax
lea rcx, [0x14053ba80]
lea rdx, [0x140443b70]
nop dword [rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0x22
jg 0x140315708
inc rax
jmp 0x1403156f0
mov eax, dword [0x140561c34]
cmp eax, 0x5a
jg 0x140315860
jmp 0x14031584e
xor eax, eax
lea rcx, [0x14053ba20]
lea rdx, [0x140443b10]
nop dword [rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0x17
jg 0x140315748
inc rax
jmp 0x140315730
mov eax, dword [0x140561c34]
cmp eax, 0x52
jle 0x14031579b
jmp 0x1403157bd
mov eax, dword [0x140561c34]
cmp eax, 0x26
jl 0x14031578b
mov eax, dword [0x140561c30]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
mov eax, dword [0x14053c930]
mov edx, eax
xor edx, 0x75af528
and eax, 0x75af528
lea eax, [rdx + rax*2]
cmp ecx, eax
jne 0x140315760
jmp 0x140315755
mov al, 0xa9
xchg byte [0x14053ba38], al
lea rax, [0x14053ba20]
ret
mov eax, dword [0x140561c30]
mov ecx, dword [0x14053c930]
mov edx, ecx
not edx
add edx, eax
imul edx, eax
and edx, 1
add ecx, 0x75af528
cmp edx, ecx
je 0x1403157c6
mov al, 1
nop
test al, al
je 0x1403157c0
jmp 0x14031579b
mov eax, dword [0x140561c34]
cmp eax, 0x43
jge 0x140315760
jmp 0x140315755
mov ecx, 0x75af529
lea rax, [fcn.140315500]
lea r8d, [rax + rax]
add r8d, 0x5c0
mov r9d, r8d
not r9d
mov eax, dword [0x140561c30]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
jne 0x14031582b
mov edx, dword [0x140561c30]
mov r10d, dword [0x14053c930]
mov eax, edx
sub eax, r10d
add eax, 0xf8a50ad7
imul eax, edx
add r10d, 0x75af52a
xor edx, edx
div r10d
test edx, edx
je 0x140315846
mov eax, dword [0x14053c930]
add eax, ecx
mov edx, r8d
xor edx, eax
not eax
and eax, r9d
or eax, edx
cmp eax, 0xffffffff
jne 0x1403157f0
jmp 0x140315801
lea rax, [0x14053ba80]
ret
mov al, 1
test al, al
jne 0x14031586d
nop word cs:[rax + rax]
mov eax, dword [0x140561c34]
cmp eax, 0x43
jge 0x140315860
jmp 0x14031584e
movzx eax, byte [0x14053c934]
mov ecx, eax
xor cl, 0x63
and al, 0x63
add al, al
add al, cl
xchg byte [0x14053baa3], al
jmp 0x1403157d3
mov al, 0x31
xchg byte [0x14053b839], al
mov al, 1
test al, al
jne 0x1403158b5
nop dword [rax + rax]
mov al, 0x31
xchg byte [0x14053b839], al
mov eax, dword [0x140561c34]
cmp eax, 0x16
jge 0x1403158a0
jmp 0x14031588a
lea rax, [0x14053b830]
ret