Function at 0x140246050
Capabilities:
Encode data using xor

Disassembly:
mov r8d, edx
mov eax, dword [0x140556fd0]
mov edx, eax
xor edx, 0xcb519eda
not eax
and eax, 0x34ae6125
or eax, edx
not eax
lea eax, [rdx + rax*2]
cmp ecx, eax
jne 0x1402460b0
test r8d, r8d
je 0x140246113
mov eax, 0xcb519edb
add eax, dword [0x140556fd0]
lea rcx, [fcn.140246050]
add ecx, ecx
add ecx, 0x3d40
test ecx, eax
jne 0x14024627b
jmp 0x140246259
mov eax, dword [0x1405a7bdc]
cmp eax, 0x35
jle 0x1402460c7
cmp dword [0x140556fd0], 0x34ae6126
jne 0x1402460b0
mov ecx, dword [0x1405a7bd8]
lea eax, [rcx - 1]
imul eax, ecx
xor ecx, ecx
sub ecx, dword [0x140556fd0]
mov edx, ecx
xor edx, 0x34ae6124
and ecx, 0x34ae6124
lea ecx, [rdx + rcx*2]
neg ecx
xor edx, edx
div ecx
test edx, edx
jne 0x1402460bb
test r8d, r8d
je 0x1402461c7
mov eax, dword [0x1405a7bdc]
cmp eax, 0x40
jle 0x14024632e
jmp 0x14024634c
movzx eax, byte [0x140556412]
nop word [rax + rax]
cmp al, 0xb0
je 0x1402461bf
movzx ecx, byte [0x140556fe0]
mov edx, ecx
xor dl, 0xa7
mov eax, ecx
and al, 0x27
add al, al
add al, dl
add al, 5
add cl, 0x55
lock cmpxchg byte [0x140556412], cl
jne 0x140246120
xor r8d, r8d
lea rax, [0x140556410]
lea rcx, [0x1404689e0]
mov edx, 0xcb519edc
nop word cs:[rax + rax]
movsxd r8, r8d
movzx r9d, byte [r8 + rcx]
add byte [r8 + rax], r9b
mov r9d, r8d
not r9d
mov r10d, r9d
and r10d, 1
mov r11d, r8d
and r11d, 0xfffffffe
or r11d, r10d
xor r8d, 1
and r9d, 0x7ffffffe
or r9d, r8d
not r9d
lea r8d, [r11 + r9*2]
mov r9d, dword [0x140556fd0]
add r9d, edx
cmp r8d, r9d
jl 0x140246170
mov al, 0xb0
xchg byte [0x140556412], al
lea rax, [0x140556410]
ret
movzx eax, byte [0x1405564a9]
nop
cmp al, 0x59
je 0x140246240
movzx ecx, byte [0x140556fe0]
lea eax, [rcx + 0x75]
add cl, 0x8c
lock cmpxchg byte [0x1405564a9], cl
jne 0x1402461d0
xor eax, eax
lea rcx, [0x1405564a0]
lea rdx, [0x140468a70]
nop dword [rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 8
jg 0x140246218
inc rax
jmp 0x140246200
mov eax, dword [0x1405a7bdc]
nop
mov eax, dword [0x1405a7bdc]
cmp eax, 0xe
jg 0x140246220
mov al, 0x59
xchg byte [0x1405564a9], al
nop word cs:[rax + rax]
mov eax, dword [0x1405a7bd8]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x140246240
lea rax, [0x1405564a0]
ret
movzx eax, byte [0x140556438]
movzx ecx, byte [0x140556fe0]
mov edx, dword [0x1405a7bd8]
lea r8d, [rdx + 1]
imul r8d, edx
test r8b, 1
je 0x140246284
movzx eax, byte [0x140556438]
jmp 0x140246259
mov edx, ecx
xor dl, 0xc0
and cl, 0x40
add cl, cl
add cl, dl
cmp al, cl
je 0x140246326
mov cl, 0xdd
nop word [rax + rax]
mov al, 0xe7
lock cmpxchg byte [0x140556438], cl
je 0x1402462b2
cmp al, 0x48
jne 0x1402462a0
jmp 0x140246326
xor eax, eax
lea rcx, [0x140556420]
lea rdx, [0x1404689f0]
mov r8d, 0xcb519ef2
nop dword [rax + rax]
movzx r9d, byte [rax + rdx]
add byte [rax + rcx], r9b
lea r9d, [rax + 1]
mov r10d, dword [0x140556fd0]
add r10d, r8d
cmp r9d, r10d
jge 0x1402462f1
inc rax
jmp 0x1402462d0
mov eax, dword [0x1405a7bd8]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x14024631c
movzx eax, byte [0x140556fe0]
add al, 0xc0
xchg byte [0x140556438], al
mov eax, dword [0x1405a7bdc]
cmp eax, 9
jle 0x140246326
mov al, 0x48
xchg byte [0x140556438], al
jmp 0x140246302
lea rax, [0x140556420]
ret
movzx eax, byte [0x140556453]
lea rcx, [fcn.140246050]
add ecx, ecx
add ecx, 0x2960
mov edx, ecx
not edx
test edx, ecx
je 0x140246355
movzx eax, byte [0x140556453]
jmp 0x14024632e
cmp al, 0xeb
je 0x14024637a
mov cl, 0xc9
nop dword [rax + rax]
mov al, 0xc8
lock cmpxchg byte [0x140556453], cl
je 0x140246382
movzx edx, byte [0x140556fe0]
add dl, 0x63
cmp al, dl
jne 0x140246360
lea rax, [0x140556450]
ret
mov eax, 0xcb519edb
lea rcx, [fcn.140246050]
add ecx, ecx
add ecx, 0x48c0
nop word cs:[rax + rax]
mov edx, dword [0x140556fd0]
add edx, eax
mov r8d, edx
not r8d
xor edx, r8d
and edx, ecx
xor edx, r8d
xor r8d, edx
test r8d, edx
jne 0x1402463d2
mov edx, dword [0x1405a7bd8]
lea r8d, [rdx + 1]
imul r8d, edx
test r8b, 1
je 0x1402463e8
mov edx, dword [0x1405a7bd8]
lea r8d, [rdx - 1]
imul r8d, edx
test r8b, 1
jne 0x1402463a0
jmp 0x1402463be
xor eax, eax
lea rcx, [0x140556450]
lea rdx, [0x140468a20]
nop dword [rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 2
jg 0x140246418
inc rax
jmp 0x140246400
mov eax, dword [0x1405a7bd8]
xor eax, eax
test al, al
jne 0x140246420
mov al, 0xeb
xchg byte [0x140556453], al
lea rax, [0x140556450]
ret