Function at 0x140085ce0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
mov rbp, rsp
mov rsi, rcx
mov eax, dword [0x141dceba8]
sub eax, dword [0x141dcebac]
and eax, 0x82000100
xor eax, 0xb088500
or eax, 0x64f70aff
cmp eax, 0x965eb781
jne 0x140085d40
xor eax, eax
call fcn.1400f07c0
sub rsp, rax
mov eax, 0x30
call fcn.1400f07c0
sub rsp, rax
mov eax, 0x10
call fcn.1400f07c0
sub rsp, rax
nop word cs:[rax + rax]
mov eax, dword [0x141dcebb0]
xor eax, dword [0x141dcebb4]
add eax, 0x4c6c9144
and eax, 0x3d9fe390
imul ecx, eax, 0xe94943e2
xor eax, eax
call fcn.1400f07c0
sub rsp, rax
mov r15, rsp
mov eax, 0x30
call fcn.1400f07c0
sub rsp, rax
mov rdi, rsp
mov eax, 0x10
call fcn.1400f07c0
sub rsp, rax
mov rbx, rsp
cmp ecx, 0xb9522195
ja 0x140085d40
nop word cs:[rax + rax]
mov eax, dword [0x141dcebb8]
and eax, dword [0x141dcebbc]
imul eax, eax, 0x1012215
add eax, 0xb423750a
cmp eax, 0xfaaf9eee
ja 0x140085da0
mov r14, qword [rsi + 0x28]
nop word cs:[rax + rax]
mov eax, dword [0x141dcebc0]
xor eax, dword [0x141dcebc4]
imul eax, eax, 0x79d90c4c
add eax, 0x7d9812af
cmp eax, 0xad90df96
ja 0x140085dd0
mov eax, dword [0x141ddc4fc]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0x98]
test rax, rax
jne 0x140085eab
mov eax, dword [0x141dcebc8]
xor eax, dword [0x141dcebcc]
xor eax, 0xa0a06c88
imul rcx, rax, 0x3339bf25
shr rcx, 0x20
sub eax, ecx
shr eax, 1
add eax, ecx
shr eax, 0x1f
imul eax, eax, 0xdc7b9dad
cmp eax, 0x7b4ddfa8
ja 0x140085fa8
mov eax, dword [0x141dcebd0]
mov ecx, dword [0x141dcebd4]
lea r12d, [rax + rcx]
add r12d, 0x9da6170f
xor r12d, 0x4320402c
or r12d, 0x3c1f3f90
sub rsp, 0x20
call fcn.1400fc160
add rsp, 0x20
cmp r12d, 0x56c04850
jb 0x140085e47
nop word cs:[rax + rax]
mov eax, dword [0x141dcebd8]
add eax, dword [0x141dcebdc]
imul eax, eax, 0xc92ed83
cmp eax, 0x91a37e62
jb 0x140085e90
jmp 0x140085ec0
cmp eax, 1
jne 0x140086005
nop word cs:[rax + rax]
mov eax, dword [0x141dcec08]
xor edx, edx
div dword [0x141dcec0c]
or eax, 0xfd52262d
imul eax, eax, 0x9f03697
add eax, 0x72e73bb
cmp eax, 0x740454e8
ja 0x140085ec0
mov eax, dword [0x141ddc4fc]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0x90], 0
jne 0x140085fba
mov eax, dword [0x141dcec28]
and eax, dword [0x141dcec2c]
add eax, 0xb963ad34
or eax, 0xc5312827
cmp eax, 0xb66af24e
jne 0x140085f40
mov eax, dword [0x141ddc4fc]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x90], rsi
nop dword [rax]
mov eax, dword [0x141ddc4fc]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov ecx, dword [str.k__]
or ecx, dword [0x141dcec34]
xor ecx, 0x40b42003
or ecx, 0x274bd7cc
add ecx, 0x39736b53
mov qword [rax + 0x90], rsi
cmp ecx, 0xd0f65eb8
jb 0x140085f40
mov eax, dword [0x141ddc4fc]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x88], r14
mov rsp, rbp
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
sub rsp, 0x20
call fcn.1400fc160
add rsp, 0x20
jmp 0x140085e47
mov dword [rbx], 0
mov byte [rbx + 4], 0
lea rax, [0x141dba638]
mov qword [rdi], rax
mov qword [rdi + 8], 1
mov qword [rdi + 0x10], r15
xorps xmm0, xmm0
movups xmmword [rdi + 0x18], xmm0
sub rsp, 0x20
mov rcx, rbx
mov rdx, rdi
call fcn.1400893a0
mov rcx, rax
call fcn.1400897c0
add rsp, 0x20
mov ecx, 7
int 0x29
ud2
mov eax, dword [0x141dcebe0]
sub eax, dword [0x141dcebe4]
add eax, 0xd4dc611e
xor eax, 0x418a4900
or eax, 0x965492e5
cmp eax, 0x9c08c76
jb 0x140086048
mov eax, dword [0x141dcebe8]
xor edx, edx
div dword [0x141dcebec]
mov rcx, 0xffffffffffffffff
lock xadd qword [rsi], rcx
cmp eax, 0xd7de5c7b
jne 0x140086050
lock dec qword [rsi]
jmp 0x140086027
mov eax, dword [0x141dcebf0]
xor eax, dword [0x141dcebf4]
or eax, 0x86ba97bd
and eax, 0xb6baf7bd
cmp eax, 0xd53e706f
je 0x140086050
cmp rcx, 1
jne 0x1400860db
mov eax, dword [0x141dcebf8]
mov ecx, dword [0x141dcebfc]
add eax, ecx
add eax, 0xa196a4c4
and eax, 0x79ee6679
cmp eax, 0x5a160942
je 0x1400860c9
mov eax, dword [0x141dcec00]
and eax, dword [0x141dcec04]
mov ecx, 0xce7c950f
imul rcx, rax
shr rcx, 0x3f
imul edi, ecx, 0x77a773e4
sub rsp, 0x20
mov rcx, rsi
call fcn.1400780e0
add rsp, 0x20
cmp edi, 0xe0da28a3
jne 0x1400860db
sub rsp, 0x20
mov rcx, rsi
call fcn.1400780e0
add rsp, 0x20
jmp 0x140086092
mov eax, dword [0x141dcec10]
xor eax, dword [0x141dcec14]
mov ecx, 0xf35e1b0d
imul rcx, rax
shr rcx, 0x3d
or ecx, 0x970331c8
cmp ecx, 0xa329f846
ja 0x14008611d
mov eax, dword [0x141dcec18]
xor eax, dword [0x141dcec1c]
imul eax, eax, 0xc119a7bf
ud2
ud2