Function at 0x180089b90
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 [0x18028f9a8]
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.1800861c0
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.180084bb0
nop
lea rcx, [rbp - 0x20]
call fcn.18005ac40
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.1800360e0
nop
mov r15, qword [rbp - 0x48]
mov rdx, r15
lea rcx, [rbp - 0x20]
call fcn.18005ab30
lea rdx, [rsp + 0x70]
mov rcx, r13
call fcn.1800897d0
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.180085170
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 0x180089cfa
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x180089cd3
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
mov r8d, 1
call fcn.180033660
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 0x180089d16
mov rdx, qword [rbp + 0x50]
sub rdx, rcx
mov r8d, 1
call fcn.180033660
nop
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
sub r8, rdx
lea rcx, [rbp + 0x20]
call fcn.18005a520
nop
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
sub r8, rdx
mov rax, rdx
cmp r8, 0x10
jb 0x180089d72
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 0x180089d51
mov rdx, qword [rsp + 0x30]
test r8, r8
je 0x180089d95
sub rsi, rax
nop word [rax + rax]
movzx ecx, byte [rsi + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub r8, 1
jne 0x180089d80
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
sub r8, rdx
lea rcx, [rsp + 0x50]
call fcn.18005a520
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x68]
mov rcx, r12
call fcn.180085ed0
mov rdx, rax
lea rax, [rsp + 0x50]
cmp rax, rdx
je 0x180089e08
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 0x180089e28
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
sar rdx, 3
mov r8d, 8
call fcn.180033660
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp]
lea rcx, [rbp - 0x68]
call fcn.1800db040
nop
mov r9, rax
mov r8, qword [r13 + 0x48]
lea rdx, [rsp + 0x78]
mov rcx, r12
call fcn.180085fa0
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x180089e80
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
sar rdx, 3
mov r8d, 8
call fcn.180033660
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
xor r13d, r13d
mov qword [rbp - 0x58], r13
jmp 0x180089e83
xor r13d, r13d
mov rax, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
sub rax, rdx
sar rax, 3
test rax, rax
je 0x180089eb0
lea rcx, [rdx - 8]
lea rcx, [rcx + rax*8]
cmp qword [rcx], 0
jne 0x180089eb0
sub rcx, 8
sub rax, 1
jne 0x180089ea0
mov rcx, r13
test rax, rax
je 0x18008a039
nop dword [rax]
cmp qword [rdx + rcx*8], 0
jne 0x180089ed4
inc rcx
cmp rcx, rax
jne 0x180089ec0
jmp 0x18008a039
mov r8, qword [rsp + 0x38]
sub r8, qword [rsp + 0x30]
lea rdx, [rbp + 0x20]
mov rcx, r14
call fcn.18005bb20
mov dword [rsp + 0x48], 1
mov rcx, r12
call fcn.180085190
mov r8, rax
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x40]
call fcn.18005bb20
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.180036440
mov rdx, qword [rdi]
mov r8, qword [rdi + 8]
sub r8, rdx
je 0x180089f4b
mov rcx, qword [r14]
add rcx, rsi
test r8, r8
je 0x180089f4b
call fcn.1801a4560
nop
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x180089f67
mov rdx, qword [rbp + 0x50]
sub rdx, rcx
mov r8d, 1
call fcn.180033660
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x180089f94
mov rdx, qword [rbp - 0x78]
sub rdx, rcx
sar rdx, 3
mov r8d, 8
call fcn.180033660
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r13
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x180089fc3
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
sar rdx, 3
mov r8d, 8
call fcn.180033660
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r13
lea rcx, [rbp + 0x20]
call fcn.18003def0
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x180089ff8
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
mov r8d, 1
call fcn.180033660
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 0x18008a021
mov rdx, qword [rbp - 0x38]
sub rdx, r15
mov r8d, 1
mov rcx, r15
call fcn.180033660
nop
lea rcx, [rbp - 0x20]
call fcn.18003def0
nop
lea rcx, [rbp]
call fcn.18003def0
mov rax, r14
jmp 0x18008a07e
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.180035950
nop
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x60]
call fcn.180034140
lea rdx, [0x18028bf80]
lea rcx, [rbp + 0x60]
call fcn.1801a3720
nop
mov rcx, qword [rbp + 0x98]
xor rcx, rsp
call fcn.180186840
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret