Function at 0x140085280
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
push rax
mov rbp, rsp
mov eax, dword [0x141dcdcc0]
xor edx, edx
div dword [0x141dcdcc4]
or eax, 0x19e44242
add eax, 0xd266af0e
or eax, 0x95cacba6
cmp eax, 0x1a43d47
jne 0x1400852d0
mov eax, 0x10
call fcn.1400ef330
sub rsp, rax
mov rax, qword [rcx]
mov byte [rax], 0
nop word [rax + rax]
mov edx, dword [0x141dcdcc8]
imul edx, dword [0x141dcdccc]
or edx, 0x90c08202
xor edx, 0x10400010
or edx, 0x4d3f3ced
mov eax, 0x10
call fcn.1400ef330
sub rsp, rax
mov rsi, rsp
mov r8, qword [rcx]
movzx eax, byte [r8]
mov byte [r8], 0
cmp edx, 0x5c09012f
jb 0x1400852d0
nop word cs:[rax + rax]
mov ecx, dword [0x141dcdcd0]
sub ecx, dword [0x141dcdcd4]
or ecx, 0x1008200c
and ecx, 0x350823ec
imul ecx, ecx, 0xacfedda
cmp ecx, 0xa3cbf9b2
je 0x140085320
test al, al
je 0x1400856fa
nop
mov eax, dword [0x141dcdcd8]
add eax, dword [0x141dcdcdc]
or eax, 0xde7dd431
add eax, 0xcfed8bd1
cmp eax, 0x9603831c
jb 0x140085350
mov byte [rsi], 0
mov eax, dword [0x141ddb218]
cmp eax, 3
je 0x1400853e0
xor eax, eax
test al, al
jne 0x1400853c3
mov eax, dword [0x141dcdce0]
xor edx, edx
div dword [0x141dcdce4]
mov edi, eax
imul rax, rdi, 0x158a55f9
shr rax, 0x20
sub edi, eax
shr edi, 1
add edi, eax
shr edi, 0x1f
or edi, 0x6af6d0de
sub rsp, 0x20
mov rcx, rsi
call fcn.1400fb70d
add rsp, 0x20
cmp edi, 0x86fdd4d9
jne 0x1400853e0
sub rsp, 0x20
mov rcx, rsi
call fcn.1400fb70d
add rsp, 0x20
jmp 0x140085381
mov eax, dword [0x141dcdce8]
imul eax, dword [0x141dcdcec]
or eax, 0xfe3f5366
and eax, 0xfeff5ff6
cmp eax, 0x90369a52
je 0x1400853e0
movzx eax, byte [rsi]
xor ecx, ecx
nop word cs:[rax + rax]
test cl, cl
jne 0x140085410
test al, al
je 0x140085460
mov eax, dword [0x141dcdcf0]
or eax, dword [0x141dcdcf4]
add eax, 0x11fe4f92
or eax, 0x47a01c17
add eax, 0xf715dbc4
cmp eax, 0x3b18dc9e
jb 0x140085460
mov eax, dword [0x141ddb27c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rdi, qword [rax + 0x88]
xor eax, eax
nop
test al, al
jne 0x1400854a0
nop word cs:[rax + rax]
mov eax, dword [0x141dcdcf8]
mov ecx, dword [0x141dcdcfc]
add eax, ecx
add eax, 0x6ab25383
or eax, 0x228a0150
and eax, 0x63ae61d2
cmp eax, 0x267a4e26
ja 0x1400854b0
test rdi, rdi
jne 0x140085773
mov eax, dword [0x141ddb27c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0x98]
cmp rax, 1
jne 0x14008562e
mov eax, dword [0x141dcdd00]
xor edx, edx
div dword [0x141dcdd04]
nop
mov eax, dword [0x141dcdd08]
xor eax, dword [0x141dcdd0c]
imul eax, eax, 0xd9407a9e
add eax, 0xbfd659f2
or eax, 0xf4a98d88
cmp eax, 0xf9cfae60
ja 0x140085510
mov eax, dword [0x141ddb27c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rsi, qword [rax + 0x90]
test rsi, rsi
je 0x140085672
lock inc qword [rsi]
jle 0x1400856c8
mov eax, dword [0x141dcdd20]
xor edx, edx
div dword [0x141dcdd24]
nop
mov eax, dword [0x141dcdd28]
add eax, dword [0x141dcdd2c]
imul eax, eax, 0x625e1ba
xor eax, 0x5ba90178
shr eax, 2
imul rax, rax, 0x23a33559
shr rax, 0x3b
cmp eax, 0x70d16a47
je 0x140085570
xor eax, eax
nop
test al, al
jne 0x1400855a0
test rsi, rsi
je 0x140085645
mov rdi, qword [rsi + 0x28]
lock dec qword [rsi]
jne 0x140085773
mov eax, dword [0x141dcdd38]
add eax, dword [0x141dcdd3c]
xor eax, 0xc11a317d
imul eax, eax, 0xeed205a
xor eax, 0x6145d3c8
cmp eax, 0x342198a0
jae 0x1400855e0
nop
mov eax, dword [0x141dcdd40]
and eax, dword [0x141dcdd44]
and eax, 0x4ef1df3e
add eax, 0xdb210230
xor eax, 0xfa14bec6
cmp eax, 0x6b5f6495
ja 0x1400855e0
mov eax, dword [0x141dcdd48]
xor eax, dword [0x141dcdd4c]
and eax, 0x88da1c37
imul eax, eax, 0x53f38ff1
add eax, 0xc61f493b
cmp eax, 0x4dec1122
jae 0x1400856fc
jmp 0x140085737
test rax, rax
jne 0x140085645
sub rsp, 0x20
call fcn.1400fb7c0
add rsp, 0x20
jmp 0x140085501
ud2
sub rsp, 0x20
call fcn.1400fbb70
add rsp, 0x20
mov eax, dword [0x141ddb27c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rsi, qword [rax + 0x90]
nop dword [rax]
mov eax, dword [0x141dcdd10]
xor eax, dword [0x141dcdd14]
imul eax, eax, 0xfa3b6f1f
add eax, 0x8137f0f6
xor eax, 0x5c4dbaff
cmp eax, 0x40f0d684
jb 0x1400856a0
jmp 0x140085556
mov eax, dword [0x141dcdd18]
add eax, dword [0x141dcdd1c]
imul rax, rax, 0x285b1e59
shr rax, 0x3d
xor eax, 0x1c1af065
add eax, 0xdc09bcac
cmp eax, 0x9117eb83
jae 0x1400856f2
ud2
xor eax, eax
ud2
mov eax, dword [0x141dcdd50]
or eax, dword [0x141dcdd54]
or eax, 0x1db70962
shr eax, 1
mov ebx, 0x8e6032ed
imul rbx, rax
shr rbx, 0x3d
and ebx, 1
sub rsp, 0x20
mov rcx, rsi
call fcn.140076430
add rsp, 0x20
cmp ebx, 0xe335c927
jne 0x140085749
sub rsp, 0x20
mov rcx, rsi
call fcn.140076430
add rsp, 0x20
jmp 0x1400856fc
mov eax, 0xd75ee0e5
nop
mov ecx, dword [0x141dcdd58]
imul ecx, dword [0x141dcdd5c]
imul rcx, rax
shr rcx, 0x3f
or ecx, 0xf7a3e134
cmp ecx, 0x73a07793
jb 0x140085750
mov eax, dword [0x141dcdd60]
or eax, dword [0x141dcdd64]
or eax, 0x492708fa
add eax, 0xe2d30917
cmp eax, 0x7a1fad54
jae 0x1400857a0
mov rax, qword [0x141ddb1e0]
nop word [rax + rax]
mov eax, dword [0x141dcdd68]
add eax, dword [0x141dcdd6c]
imul rax, rax, 0x366ecc7d
bt rax, 0x3c
mov ecx, 0
adc ecx, 0x9f5fa8a9
mov rax, qword [0x141ddb1e0]
cmp ecx, 0x764e2676
jb 0x1400857a0
cmp rdi, rax
jne 0x140085867
nop dword [rax + rax]
mov eax, dword [str.L_b_d]
add eax, dword [0x141dcdd84]
or eax, 0x106eed7e
xor eax, 0x8abfc4e8
add eax, 0xe94db8a4
cmp eax, 0xe5a99f6a
ja 0x1400857e0
mov ecx, dword [0x141ddb1e8]
cmp ecx, 0xffffffff
je 0x140085418
inc ecx
nop word cs:[rax + rax]
mov eax, dword [0x141dcdd88]
or eax, dword [0x141dcdd8c]
xor eax, 0x2446a092
and eax, 0xbd5ee0b2
cmp eax, 0x8305c8ec
je 0x140085820
nop dword [rax]
mov eax, dword [0x141dcdd90]
or eax, dword [0x141dcdd94]
and eax, 0xb7e2ede
xor eax, 0x1670e85d
add eax, 0x63177253
cmp eax, 0x7ad725b5
jbe 0x140085840
jmp 0x140085927
mov eax, dword [0x141dcdd70]
or eax, dword [0x141dcdd74]
imul eax, eax, 0xbe9ff4b
shr eax, 3
imul rax, rax, 0x2434ae1
shr rax, 0x35
add eax, 0xef0ececf
cmp eax, 0x342c936
jb 0x1400858cf
mov eax, dword [0x141dcdd78]
sub eax, dword [0x141dcdd7c]
mov ecx, 0xea64c8eb
imul rcx, rax
shr rcx, 0x3e
xor ecx, 0x249424c2
or ecx, 0xdb6bcb25
mov dl, 1
xor eax, eax
lock cmpxchg byte [0x141ddb1ec], dl
sete al
cmp ecx, 0x2dd8dac5
jae 0x1400858dd
mov cl, 1
xor eax, eax
lock cmpxchg byte [0x141ddb1ec], cl
jmp 0x140085893
xor ecx, ecx
nop
test cl, cl
jne 0x1400858e0
test al, al
je 0x140085418
mov qword [0x141ddb1e0], rdi
mov eax, 0xc174b8b5
nop dword [rax + rax]
mov ecx, dword [0x141dcdd98]
and ecx, dword [0x141dcdd9c]
add ecx, 0x284a84b4
imul rcx, rax
shr rcx, 0x3f
cmp ecx, 0x831214d1
rcl dword [rdx + rdx]
invalid
je 0x140085900
mov ecx, 1
mov eax, dword [0x141dcdda0]
add eax, dword [0x141dcdda4]