Function at 0x180086800
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x1f0], rbx
mov rax, qword [0x1802609a8]
xor rax, rsp
mov qword [rbp + 0x98], rax
mov rsi, r8
mov r14, rdx
mov r13, rcx
mov qword [rbp - 0x28], rdx
mov rdi, qword [rbp + 0x100]
mov dword [rsp + 0x48], 0
lea r12, [rcx + 0x38]
mov r8, rdi
lea rdx, [rbp]
mov rcx, r12
call fcn.180082e30
nop
lea rax, [r13 + 0x68]
mov qword [rsp + 0x20], rax
mov r9, rdi
lea r8, [rbp]
lea rdx, [rbp - 0x20]
mov rcx, r12
call fcn.180081820
nop
lea rcx, [rbp - 0x20]
call fcn.1800578f0
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.180032ca0
nop
mov r15, qword [rbp - 0x48]
mov rdx, r15
lea rcx, [rbp - 0x20]
call fcn.1800577e0
lea rdx, [rsp + 0x70]
mov rcx, r13
call fcn.180086440
nop
mov r8, qword [rbp - 0x40]
sub r8, r15
mov rbx, qword [rsp + 0x70]
mov rax, qword [rbx]
mov rdx, r15
mov rcx, rbx
call qword [rax + 8]
mov rax, qword [rbx]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [rax + 0x10]
nop
mov rcx, r12
call fcn.180081de0
mov r10, qword [rbx]
mov qword [rsp + 0x20], rdi
mov r9, rax
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x40]
mov rcx, rbx
call qword [r10 + 0x18]
mov rdi, rax
lea rax, [rsp + 0x30]
cmp rax, rdi
je 0x18008696a
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x180086943
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
mov r8d, 1
call fcn.1800302d0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov rax, qword [rdi]
mov qword [rsp + 0x30], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x38], rax
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x180086986
mov rdx, qword [rbp + 0x50]
sub rdx, rcx
mov r8d, 1
call fcn.1800302d0
nop
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
sub r8, rdx
lea rcx, [rbp + 0x20]
call fcn.1800571d0
nop
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
sub r8, rdx
mov rax, rdx
cmp r8, 0x10
jb 0x1800869e2
mov r9, r8
shr r9, 4
imul rcx, r9, 0xfffffffffffffff0
add r8, rcx
mov rcx, qword [rsi]
mov rdx, qword [rsi + 8]
xor qword [rax], rcx
xor qword [rax + 8], rdx
add rax, 0x10
add rsi, 0x10
sub r9, 1
jne 0x1800869c1
mov rdx, qword [rsp + 0x30]
test r8, r8
je 0x180086a05
sub rsi, rax
nop word [rax + rax]
movzx ecx, byte [rsi + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub r8, 1
jne 0x1800869f0
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
sub r8, rdx
lea rcx, [rsp + 0x50]
call fcn.1800571d0
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x68]
mov rcx, r12
call fcn.180082b40
mov rdx, rax
lea rax, [rsp + 0x50]
cmp rax, rdx
je 0x180086a78
mov rcx, qword [rsp + 0x50]
mov rax, qword [rdx]
mov qword [rsp + 0x50], rax
mov qword [rdx], rcx
mov rcx, qword [rsp + 0x58]
mov rax, qword [rdx + 8]
mov qword [rsp + 0x58], rax
mov qword [rdx + 8], rcx
mov rcx, qword [rsp + 0x60]
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x60], rax
mov qword [rdx + 0x10], rcx
mov ecx, dword [rsp + 0x68]
mov eax, dword [rdx + 0x18]
mov dword [rsp + 0x68], eax
mov dword [rdx + 0x18], ecx
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x180086a98
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
sar rdx, 3
mov r8d, 8
call fcn.1800302d0
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp]
lea rcx, [rbp - 0x68]
call fcn.1800d7cb0
nop
mov r9, rax
mov r8, qword [r13 + 0x48]
lea rdx, [rsp + 0x78]
mov rcx, r12
call fcn.180082c10
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x180086af0
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
sar rdx, 3
mov r8d, 8
call fcn.1800302d0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
xor r13d, r13d
mov qword [rbp - 0x58], r13
jmp 0x180086af3
xor r13d, r13d
mov rax, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
sub rax, rdx
sar rax, 3
test rax, rax
je 0x180086b20
lea rcx, [rdx - 8]
lea rcx, [rcx + rax*8]
cmp qword [rcx], 0
jne 0x180086b20
sub rcx, 8
sub rax, 1
jne 0x180086b10
mov rcx, r13
test rax, rax
je 0x180086ca9
nop dword [rax]
cmp qword [rdx + rcx*8], 0
jne 0x180086b44
inc rcx
cmp rcx, rax
jne 0x180086b30
jmp 0x180086ca9
mov r8, qword [rsp + 0x38]
sub r8, qword [rsp + 0x30]
lea rdx, [rbp + 0x20]
mov rcx, r14
call fcn.1800587d0
mov dword [rsp + 0x48], 1
mov rcx, r12
call fcn.180081e00
mov r8, rax
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x40]
call fcn.1800587d0
mov rdi, rax
mov rsi, qword [r14 + 8]
sub rsi, qword [r14]
mov rdx, qword [r14 + 8]
sub rdx, qword [r14]
mov rax, qword [rax + 8]
sub rax, qword [rdi]
add rdx, rax
mov rcx, r14
call fcn.180033000
mov rdx, qword [rdi]
mov r8, qword [rdi + 8]
sub r8, rdx
je 0x180086bbb
mov rcx, qword [r14]
add rcx, rsi
test r8, r8
je 0x180086bbb
call fcn.18017c7f0
nop
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x180086bd7
mov rdx, qword [rbp + 0x50]
sub rdx, rcx
mov r8d, 1
call fcn.1800302d0
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x180086c04
mov rdx, qword [rbp - 0x78]
sub rdx, rcx
sar rdx, 3
mov r8d, 8
call fcn.1800302d0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r13
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x180086c33
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
sar rdx, 3
mov r8d, 8
call fcn.1800302d0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r13
lea rcx, [rbp + 0x20]
call fcn.18003ac10
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x180086c68
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
mov r8d, 1
call fcn.1800302d0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r13
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
test r15, r15
je 0x180086c91
mov rdx, qword [rbp - 0x38]
sub rdx, r15
mov r8d, 1
mov rcx, r15
call fcn.1800302d0
nop
lea rcx, [rbp - 0x20]
call fcn.18003ac10
nop
lea rcx, [rbp]
call fcn.18003ac10
mov rax, r14
jmp 0x180086cee
mov qword [rbp + 0x58], 0xf
mov qword [rbp + 0x50], r13
mov byte [rbp + 0x40], 0
mov r8d, 0x32
lea rdx, str.During_ECKCDSA_signature_generation_created_zero_s
lea rcx, [rbp + 0x40]
call fcn.1800325c0
nop
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x60]
call fcn.180030db0
lea rdx, [0x18025d328]
lea rcx, [rbp + 0x60]
call fcn.18017b8e8
nop
mov rcx, qword [rbp + 0x98]
xor rcx, rsp
call fcn.18015e5e0
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret