Function at 0x140131e00
Capabilities:
Encrypt data using curve25519

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x198
xor r12d, r12d
mov rbx, rcx
mov rcx, qword [rdx + 8]
lea rsi, [rsp + 0xe0]
mov rbp, r8
mov edi, r9d
mov r15, rdx
call fcn.14011a560
mov rcx, rsi
mov r14d, eax
call fcn.140117890
test dil, 0x20
sete r12b
add r12d, 1
cmp dword [rbp + 4], 1
je 0x140131e5c
test edi, 0x8000
je 0x140132360
mov ecx, 0x100
call fcn.140121ca0
mov edx, r12d
mov ecx, 0x20
mov qword [rbx + 0x68], rax
call fcn.1401162f0
mov r12, rax
movzx eax, byte [rax]
mov rcx, qword [rbx + 0x68]
and byte [r12 + 0x1f], 0xf8
mov rdx, r12
xor r9d, r9d
mov r8d, 0x20
and eax, 0x7f
or eax, 0x40
mov byte [r12], al
call fcn.14011dfb0
mov rcx, r12
call fcn.1400eba10
mov rdx, qword [rbx + 0x68]
lea r8, [r15 + 0x20]
mov r9, rbp
mov rcx, rsi
call fcn.140118f60
mov eax, dword [r15]
mov rcx, qword [r15 + 8]
mov dword [rbx], eax
mov eax, dword [r15 + 4]
mov dword [rbx + 4], eax
call fcn.140121680
mov rcx, qword [r15 + 0x10]
mov qword [rbx + 8], rax
call fcn.140121680
mov rcx, qword [r15 + 0x18]
mov qword [rbx + 0x10], rax
call fcn.140121680
lea rcx, [rbx + 0x20]
mov qword [rbx + 0x18], rax
call fcn.140117890
mov rdx, qword [r15 + 0x20]
mov rcx, qword [rbx + 0x20]
call fcn.140121940
mov rdx, qword [r15 + 0x28]
mov rcx, qword [rbx + 0x28]
call fcn.140121940
mov rdx, qword [r15 + 0x30]
mov rcx, qword [rbx + 0x30]
call fcn.140121940
mov rcx, qword [r15 + 0x38]
call fcn.140121680
mov rcx, qword [r15 + 0x40]
mov qword [rbx + 0x38], rax
call fcn.140121680
mov qword [rbx + 0x40], rax
lea rax, [rbx + 0x50]
mov rcx, rax
mov qword [rsp + 0x38], rax
call fcn.140117890
mov ecx, r14d
call fcn.140121c90
cmp qword [rsp + 0x210], 0
mov r12, rax
je 0x140132302
mov ecx, r14d
call fcn.140121c90
mov r9, rbp
mov r8, rsi
mov rdx, rax
mov rcx, r12
mov r13, rax
call fcn.140117ec0
test eax, eax
jne 0x14013280d
cmp dword [r15 + 4], 1
je 0x140132023
mov ecx, r14d
call fcn.140121c90
mov edx, dword [r15]
mov rbp, rax
test edx, edx
mov rdx, qword [r15 + 8]
jne 0x140132380
mov rcx, rax
mov r8, r13
call fcn.14011a440
mov rdx, r13
mov rcx, rbp
call fcn.14011aeb0
test eax, eax
js 0x14013239e
mov rcx, rbp
call fcn.1401213f0
mov rcx, qword [rbx + 0x50]
mov rdx, qword [rsp + 0xe0]
call fcn.140121940
mov rcx, qword [rbx + 0x58]
mov rdx, qword [rsp + 0xe8]
call fcn.140121940
mov rcx, qword [rbx + 0x60]
mov rdx, qword [rsp + 0xf0]
call fcn.140121940
mov ecx, 1
call fcn.1400ebf00
test eax, eax
je 0x140132056
lea rcx, str.ecgen_didnt_need_to_convert_Q_to_a_compliant_point_n
call fcn.1400ea380
jmp 0x140132056
mov rcx, qword [rbx + 0x50]
mov rdx, qword [rsp + 0xe0]
call fcn.140121940
mov rcx, qword [rbx + 0x58]
mov rdx, qword [rsp + 0xe8]
call fcn.140121940
mov rcx, qword [rbx + 0x60]
mov rdx, qword [rsp + 0xf0]
call fcn.140121940
mov rax, qword [rsp + 0x208]
mov qword [rax], r12
mov rax, qword [rsp + 0x210]
mov qword [rax], r13
mov rcx, rsi
call fcn.1401178f0
test edi, 0x4000
jne 0x1401322ec
cmp dword [rbx], 1
je 0x140132404
mov eax, dword [rsp + 0x200]
lea esi, [rax - 0x40]
mov ecx, esi
call fcn.140121c90
mov ecx, esi
mov rdi, rax
call fcn.140121c90
mov ecx, esi
mov qword [rsp + 0x38], rax
call fcn.140121c90
mov ecx, esi
mov r15, rax
call fcn.140121c90
mov ecx, esi
mov r13, rax
call fcn.140121c90
mov ecx, 1
mov r14, rax
call fcn.1400ebf00
test eax, eax
jne 0x1401327f0
lea rbp, [rsp + 0x100]
lea r12, [rsp + 0x120]
mov rcx, rbp
call fcn.140117890
mov rax, qword [rbx]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov rax, qword [rbx + 8]
mov qword [rsp + 0x48], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x50], rax
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x58], rax
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0x60], rax
mov rax, qword [rbx + 0x28]
mov qword [rsp + 0x68], rax
mov rax, qword [rbx + 0x30]
mov qword [rsp + 0x70], rax
mov rax, qword [rbx + 0x38]
mov qword [rsp + 0x78], rax
mov rax, qword [rbx + 0x40]
mov qword [rsp + 0x80], rax
mov rax, qword [rbx + 0x48]
mov qword [rsp + 0x88], rax
call fcn.1400fa430
mov rax, qword [rsp + 0x90]
lea rcx, [r12 + 0x50]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x168], rax
call fcn.140117890
mov rdx, qword [rbx + 0x50]
mov rcx, qword [rsp + 0x170]
call fcn.140121940
mov rdx, qword [rbx + 0x58]
mov rcx, qword [rsp + 0x178]
call fcn.140121940
mov rdx, qword [rbx + 0x60]
mov rcx, qword [rsp + 0x180]
call fcn.140121940
xor r8d, r8d
mov edx, esi
mov rcx, rdi
call fcn.140121cc0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, r14
mov r8, r13
mov rdx, rbx
mov rcx, rdi
call fcn.14014a5d0
test eax, eax
jne 0x140132820
mov r9, r14
mov r8, r13
mov rdx, r12
mov rcx, rdi
call fcn.14014a9f0
test eax, eax
jne 0x14013282c
mov ecx, 1
call fcn.1400ebf00
test eax, eax
je 0x1401322a8
lea rcx, str.ECDSA_operation:_sign__verify_ok._n
call fcn.1400ea380
lea rcx, [r12 + 0x50]
call fcn.1401178f0
mov rcx, r12
call fcn.1400fa3c0
mov rcx, rbp
call fcn.1401178f0
mov rcx, r14
call fcn.1401213f0
mov rcx, r13
call fcn.1401213f0
mov rcx, r15
call fcn.1401213f0
mov rcx, qword [rsp + 0x38]
call fcn.1401213f0
mov rcx, rdi
call fcn.1401213f0
xor eax, eax
add rsp, 0x198
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor edx, edx
mov r9, rbp
mov r8, rsi
mov rcx, rax
call fcn.140117ec0
test eax, eax
jne 0x14013280d
mov rcx, qword [rbx + 0x50]
mov rdx, qword [rsp + 0xe0]
call fcn.140121940
mov rcx, qword [rbx + 0x58]
mov rdx, qword [rsp + 0xe8]
call fcn.140121940
mov rcx, qword [rbx + 0x60]
mov rdx, qword [rsp + 0xf0]
call fcn.140121940
mov rax, qword [rsp + 0x208]
mov qword [rax], r12
jmp 0x14013206c
mov rcx, qword [r15 + 0x38]
mov edx, r12d
call fcn.14012e3b0
mov rdx, rax
mov qword [rbx + 0x68], rax
jmp 0x140131eae
mov rcx, rax
mov r8, r12
call fcn.14011a440
mov rdx, r13
mov rcx, rbp
call fcn.14011aeb0
test eax, eax
jns 0x140131fcc
mov eax, dword [r15]
test eax, eax
je 0x1401327c5
mov rcx, r12
mov r12, rbp
call fcn.1401213f0
mov rcx, qword [rbx + 0x68]
mov rdx, qword [r15 + 0x38]
mov r8, rcx
call fcn.14011a440
mov ecx, 1
call fcn.140121fa0
mov rcx, qword [rsp + 0x38]
mov r9, rax
mov r8, r13
mov rdx, r12
call fcn.140117ab0
mov ecx, 1
call fcn.1400ebf00
test eax, eax
je 0x140132056
lea rcx, str.ecgen_converted_Q_to_a_compliant_point_n
call fcn.1400ea380
jmp 0x140132056
mov ecx, 1
call fcn.1400ebf00
test eax, eax
jne 0x1401327d5
lea rbp, [rsp + 0x100]
lea r12, [rsp + 0x120]
mov rcx, rbp
lea r14, [r12 + 0x50]
call fcn.140117890
mov rax, qword [rbx]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov rax, qword [rbx + 8]
mov qword [rsp + 0x48], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x50], rax
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x58], rax
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0x60], rax
mov rax, qword [rbx + 0x28]
mov qword [rsp + 0x68], rax
mov rax, qword [rbx + 0x30]
mov qword [rsp + 0x70], rax
mov rax, qword [rbx + 0x38]
mov qword [rsp + 0x78], rax
mov rax, qword [rbx + 0x40]
mov qword [rsp + 0x80], rax
mov rax, qword [rbx + 0x48]
mov qword [rsp + 0x88], rax
call fcn.1400fa430
mov rax, qword [rsp + 0x90]
mov rcx, r14
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x168], rax
call fcn.140117890
mov rdx, qword [rbx + 0x50]
mov rcx, qword [rsp + 0x170]
call fcn.140121940
mov rdx, qword [rbx + 0x58]
mov rcx, qword [rsp + 0x178]
call fcn.140121940
mov rdx, qword [rbx + 0x60]
mov rcx, qword [rsp + 0x180]
call fcn.140121940
test edi, 0x8000
jne 0x1401326e0
mov eax, dword [rsp + 0x200]
lea esi, [rax - 0x40]
mov ecx, esi
call fcn.140121c90
xor r8d, r8d
mov edx, esi
mov rcx, rax
mov r13, rax
call fcn.140121cc0
mov rax, qword [rsp + 0x138]
mov r9, qword [rsp + 0x128]
mov r8d, edi
mov edx, dword [rsp + 0x124]
mov ecx, dword [rsp + 0x120]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x20], rax
call fcn.140117c20
xor ecx, ecx
mov rsi, rax
call fcn.140121c90
xor ecx, ecx
mov r15, rax
call fcn.140121c90
mov r9, rsi
mov r8, r14
mov rdx, r13
mov rcx, rbp
mov rdi, rax
call fcn.140118f60
mov rdx, qword [rsi + 0x38]
mov r9, rsi
mov r8, rbp
mov rcx, rbp
call fcn.140118f60
xor edx, edx
mov r9, rsi
mov r8, rbp
mov rcx, r15
call fcn.140117ec0
test eax, eax
jne 0x140132801
lea r8, [r12 + 0x20]
mov r9, rsi
mov rdx, r13
mov rcx, rbp
call fcn.140118f60
mov rdx, qword [rbx + 0x68]
mov r9, rsi
mov r8, rbp
mov rcx, rbp
call fcn.140118f60
mov rdx, qword [rsi + 0x38]
mov r9, rsi
mov r8, rbp
mov rcx, rbp
call fcn.140118f60
xor edx, edx
mov r9, rsi
mov r8, rbp
mov rcx, rdi
call fcn.140117ec0
test eax, eax
jne 0x140132844
mov rdx, rdi
mov rcx, r15
call fcn.14011aeb0
test eax, eax
jne 0x140132838
mov rcx, r15
call fcn.1401213f0
mov rcx, rdi
call fcn.1401213f0
mov rcx, rsi
call fcn.140117d70
lea rcx, [r12 + 0x50]
call fcn.1401178f0
mov rcx, r12
call fcn.1400fa3c0
mov rcx, rbp
call fcn.1401178f0
mov rcx, r13
call fcn.1401213f0
jmp 0x1401322ec
mov ecx, 0x100
call fcn.140121c90
xor edx, edx
mov ecx, 0x20
mov r13, rax
call fcn.1401162c0
mov rsi, rax
movzx eax, byte [rax]
xor r9d, r9d
and byte [rsi + 0x1f], 0xf8
mov rdx, rsi
mov r8d, 0x20
mov rcx, r13
and eax, 0x7f
or eax, 0x40
mov byte [rsi], al
call fcn.14011dfb0
mov rcx, rsi
call fcn.1400eba10
mov rax, qword [rsp + 0x138]
mov r9, qword [rsp + 0x128]
mov r8d, edi
mov edx, dword [rsp + 0x124]
mov ecx, dword [rsp + 0x120]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x20], rax
call fcn.140117c20
xor ecx, ecx
mov rsi, rax
call fcn.140121c90
xor ecx, ecx
mov r15, rax
call fcn.140121c90
mov r9, rsi
mov r8, r14
mov rdx, r13
mov rcx, rbp
mov rdi, rax
call fcn.140118f60
xor edx, edx
mov r9, rsi
mov r8, rbp
mov rcx, r15
call fcn.140117ec0
test eax, eax
jne 0x140132801
lea r8, [r12 + 0x20]
mov r9, rsi
mov rdx, r13
mov rcx, rbp
call fcn.140118f60
mov rdx, qword [rbx + 0x68]
mov r9, rsi
mov r8, rbp
mov rcx, rbp
call fcn.140118f60
jmp 0x14013266d
mov rcx, r13
mov r13, rbp
call fcn.1401213f0
jmp 0x1401323b4
lea rcx, str.Testing_ECDH_only_key._n
call fcn.1400ea380
jmp 0x140132416
lea rcx, str.Testing_key._n
call fcn.1400ea380
jmp 0x1401320d9
lea rcx, str.ecdh:_Failed_to_get_affine_coordinates_for_hkQ_n
call fcn.1400ea320
lea rdx, [0x14027dc41]
lea rcx, str.ecgen:_Failed_to_get_affine_coordinates_for__s_n
call fcn.1400ea320
lea rcx, str.ECDSA_operation:_sign_failed_n
call fcn.1400ea320
lea rcx, str.ECDSA_operation:_sign__verify_failed_n
call fcn.1400ea320
lea rcx, str.ECDH_test_failed._n
call fcn.1400ea320
lea rcx, str.ecdh:_Failed_to_get_affine_coordinates_for_hdkG_n
call fcn.1400ea320
nop
nop dword [rax + rax]
nop word cs:[rax + rax]
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x1d8
xor eax, eax
lea rsi, [rsp + 0x110]
lea rbx, [rsp + 0x160]
mov r12, rcx
mov ecx, 0xa
lea r13, [rsp + 0xdc]
mov rbp, rdx
mov rdi, rsi
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0xf0], 0
rep stosq qword [rdi], rax
mov ecx, 0xe
mov rdi, rbx
mov rdx, r13
mov qword [rsp + 0xf8], 0
mov qword [rsp + 0x100], 0
mov dword [rsp + 0xe0], 0
rep stosq qword [rdi], rax
mov rcx, r12
call fcn.140101e30
test eax, eax
mov r15d, eax
je 0x140132910
mov eax, r15d
add rsp, 0x1d8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, str.curve
xor r8d, r8d
mov rcx, r12
call fcn.1400eddd0
test rax, rax
mov r14, rax
je 0x140132ab0
mov edx, 1
mov rcx, rax
call fcn.1400ee1a0
mov rcx, r14
mov rdi, rax
call fcn.1400ec490
test rdi, rdi
je 0x140132aa5
lea rdx, str.flags
xor r8d, r8d
mov rcx, r12
call fcn.1400eddd0
test rax, rax
mov r14, rax
je 0x14013298c
lea rdx, [rsp + 0xe0]
xor r8d, r8d
mov rcx, rax
call fcn.140101940
mov rcx, r14
mov r15d, eax
call fcn.1400ec490
test r15d, r15d
jne 0x1401329e0
lea rdx, str.transient_key
xor r8d, r8d
mov rcx, r12
call fcn.1400eddd0
test rax, rax
je 0x1401329b3
mov rcx, rax
or dword [rsp + 0xe0], 0x20
call fcn.1400ec490
mov ecx, dword [rsp + 0xdc]
test ecx, ecx
jne 0x1401329c7
test rdi, rdi
je 0x140132b70
mov r9, r13
mov r8, rsi
mov rdx, rdi
call fcn.1400f7470
test eax, eax
mov r15d, eax
je 0x140132ac0
xor r10d, r10d
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
xor r12d, r12d
xor r14d, r14d
xor r13d, r13d
mov rcx, r10
call fcn.1401213f0
mov rcx, qword [rsp + 0xb8]
call fcn.1401213f0
mov rcx, qword [rsp + 0xc0]
call fcn.1401213f0
mov rcx, rbx
call fcn.1400fa3c0
lea rcx, [rbx + 0x50]
call fcn.1401178f0
mov rcx, qword [rsp + 0x1c8]
call fcn.1401213f0
mov rcx, rsi
call fcn.1400fa3c0
mov rcx, r13
call fcn.1401213f0
mov rcx, r14
call fcn.1401213f0
mov rcx, qword [rsp + 0xe8]
call fcn.1401213f0
mov rcx, qword [rsp + 0xf0]
call fcn.1401213f0
mov rcx, r12
call fcn.140117d70
mov rcx, rdi
call fcn.1400eba10
mov rcx, qword [rsp + 0x100]
call fcn.1400ec490
mov rcx, qword [rsp + 0xf8]
call fcn.1400ec490
jmp 0x1401328f6
mov r15d, 0x41
jmp 0x1401328f6
xor edi, edi
jmp 0x14013294f
mov ecx, 1
call fcn.1400ebf00
test eax, eax
jne 0x140132f20
mov rax, qword [rsp + 0x128]
mov r9, qword [rsp + 0x118]
mov r8d, dword [rsp + 0xe0]
mov edx, dword [rsp + 0x114]
mov ecx, dword [rsp + 0x110]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x20], rax
call fcn.140117c20
cmp dword [rsp + 0x110], 1
mov r12, rax
je 0x14013309b
mov r9d, dword [rsp + 0xe0]
test r9d, 0x1000
je 0x140132b80
mov r8, rax
mov rdx, rsi
mov rcx, rbx
call fcn.1400f95d0
mov r15d, eax
test r15d, r15d
je 0x140132bc0
xor r10d, r10d
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
xor r14d, r14d
xor r13d, r13d
jmp 0x140132a04
mov r15d, 0x44
jmp 0x1401328f6
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0xdc]
mov dword [rsp + 0x20], eax
mov r8, r12
mov rdx, rsi
mov rcx, rbx
call fcn.140131e00
mov r15d, eax
jmp 0x140132b42
xor ecx, ecx
call fcn.140121c90
xor ecx, ecx
mov r13, rax
call fcn.140121c90
cmp dword [rsp + 0x110], 1
mov r14, rax
je 0x140132fe2
lea r8, [rbx + 0x20]
mov r9, r12
mov rdx, rax
mov rcx, r13
call fcn.140117ec0
test eax, eax
jne 0x1401331d4
mov r8, qword [rsp + 0x168]
mov rdx, r14
mov rcx, r13
call fcn.1400fa590
cmp dword [rsp + 0x164], 1
mov qword [rsp + 0xc0], rax
je 0x140132ffc
cmp dword [rsp + 0x110], 1
je 0x1401330c9
mov rcx, qword [rsp + 0xe8]
test rcx, rcx
je 0x140133183
mov r8, qword [rsp + 0x168]
mov rdx, qword [rsp + 0xf0]
call fcn.1400fa590
mov qword [rsp + 0xb8], rax
mov r9, qword [rsp + 0x158]
mov r10, qword [rsp + 0x1c8]
mov qword [rsp + 0x1c8], 0
test r9, r9
je 0x140132cb3
lea rcx, [rsp + 0xf8]
lea r8, str._curve__s_
xor edx, edx
mov qword [rsp + 0xc8], r10
call fcn.1400ee430
test eax, eax
mov r15d, eax
mov r10, qword [rsp + 0xc8]
jne 0x140132a04
mov eax, dword [rsp + 0xe0]
test ah, 0x92
je 0x140132d28
mov edx, eax
lea r8, str._flags_param_eddsa_
and edx, 0x1200
cmp edx, 0x1200
je 0x140132cf7
test ah, 2
lea r8, str._flags_param_
jne 0x140132cf7
test ah, 0x10
lea r8, str._flags_eddsa_
lea rax, str._flags_djb_tweak_
cmove r8, rax
lea rcx, [rsp + 0x100]
xor edx, edx
mov qword [rsp + 0xc8], r10
call fcn.1400ee430
test eax, eax
mov r15d, eax
mov r10, qword [rsp + 0xc8]
jne 0x140132a04
mov eax, dword [rsp + 0xe0]
test ah, 2
je 0x140133124
cmp qword [rsp + 0x158], 0
je 0x140133124
mov rdx, qword [rsp + 0x178]
mov rax, qword [rsp + 0xc0]
mov r8, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x198]
mov r15, qword [rsp + 0x100]
mov r11, qword [rsp + 0x168]
mov qword [rsp + 0x80], rdx
mov rdx, qword [rsp + 0x170]
mov r9, qword [rsp + 0xf8]
mov qword [rsp + 0xa8], r10
mov qword [rsp + 0xc8], r10
mov qword [rsp + 0x88], rax
mov r10, qword [rsp + 0xb8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x98], r8
mov qword [rsp + 0x50], r8
lea r8, str._key_data__public_key___ecc_S_S_p_m__a_m__b_m__g_m__n_m__h_m__q_m_____private_key___ecc_S_S_p_m__a_m__b_m__g_m__n_m__h_m__q_m__d_m_____
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x48], rcx
mov rcx, rbp
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x20], r15
xor edx, edx
mov qword [rsp + 0x28], r11
mov qword [rsp + 0xa0], r10
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x58], r10
mov qword [rsp + 0x70], r11
mov qword [rsp + 0x60], r9
mov qword [rsp + 0x38], rax
call fcn.1400ee430
mov r10, qword [rsp + 0xc8]
mov r15d, eax
test r15d, r15d
jne 0x140132a04
mov ecx, 1
mov qword [rsp + 0xc8], r10
call fcn.1400ebf00
test eax, eax
mov r10, qword [rsp + 0xc8]
je 0x140132a04
mov rdx, qword [rsp + 0x168]
lea rcx, str.ecgen_result__p
call fcn.1400ea5a0
mov rdx, qword [rsp + 0x170]
lea rcx, str.ecgen_result__a
call fcn.1400ea5a0
mov rdx, qword [rsp + 0x178]
lea rcx, str.ecgen_result__b
call fcn.1400ea5a0
mov rdx, qword [rsp + 0xc0]
lea rcx, str.ecgen_result__G
call fcn.1400ea5a0
mov rdx, qword [rsp + 0x198]
lea rcx, str.ecgen_result__n
call fcn.1400ea5a0
mov rdx, qword [rsp + 0x1a0]
lea rcx, str.ecgen_result__h
call fcn.1400ea5a0
mov rdx, qword [rsp + 0xb8]
lea rcx, str.ecgen_result__Q
call fcn.1400ea5a0
mov r10, qword [rsp + 0xc8]
lea rcx, str.ecgen_result__d
mov rdx, r10
call fcn.1400ea5a0
test byte [rsp + 0xe1], 0x10
mov r10, qword [rsp + 0xc8]
je 0x140132a04
lea rcx, str.ecgen_result__using_Ed25519EdDSA_n
call fcn.1400ea380
mov r10, qword [rsp + 0xc8]
jmp 0x140132a04
mov ecx, dword [rsp + 0x114]
call fcn.1400fa560
mov ecx, dword [rsp + 0x110]
mov r12, rax
call fcn.1400fa530
lea rcx, str.ecgen_curve_info:__s__s_n
mov rdx, rax
mov r8, r12
call fcn.1400ea380
mov rdx, qword [rsp + 0x158]
test rdx, rdx
je 0x140132f66
lea rcx, str.ecgen_curve_used:__s_n
call fcn.1400ea380
mov rdx, qword [rsp + 0x118]
lea rcx, str.ecgen_curve___p
call fcn.1400ea5a0
mov rdx, qword [rsp + 0x120]
lea rcx, str.ecgen_curve___a
call fcn.1400ea5a0
mov rdx, qword [rsp + 0x128]
lea rcx, str.ecgen_curve___b
call fcn.1400ea5a0
mov rdx, qword [rsp + 0x148]
lea rcx, str.ecgen_curve___n
call fcn.1400ea5a0
mov rdx, qword [rsp + 0x150]
lea rcx, str.ecgen_curve___h
call fcn.1400ea5a0
lea rdx, [rsi + 0x20]
lea rcx, str.ecgen_curve_G
xor r8d, r8d
call fcn.1401180c0
jmp 0x140132ad2
cmp dword [rsp + 0x164], 1
mov qword [rsp + 0xc0], 0
jne 0x1401330c9
mov eax, dword [rsp + 0xe0]
test ah, 8
jne 0x140132c33
cmp dword [rsp + 0x110], 1
je 0x1401330d7
lea rdx, [rsp + 0xe4]
shr eax, 0xa
lea rcx, [rbx + 0x50]
and eax, 1
mov r9, r14
mov r8, r13
mov qword [rsp + 0x30], rdx
lea rdx, [rsp + 0x108]
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x28], rdx
mov rdx, r12
call fcn.1400f8e80
mov r15d, eax
xor r10d, r10d
test r15d, r15d
mov qword [rsp + 0xb8], 0
jne 0x140132a04
xor ecx, ecx
call fcn.140121c90
mov r8d, dword [rsp + 0xe4]
mov rdx, qword [rsp + 0x108]
mov rcx, rax
mov qword [rsp + 0xb8], rax
shl r8d, 3
call fcn.140121470
jmp 0x140132c61
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x30], 0
mov r9d, dword [rsp + 0xe0]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0xdc]
mov dword [rsp + 0x20], eax
jmp 0x140132ba5
test byte [rsp + 0xe1], 8
jne 0x140132c33
mov edx, dword [rsp + 0xdc]
mov rcx, qword [rsp + 0xe8]
lea r9, [rsp + 0xe4]
or r8d, 0xffffffff
mov qword [rsp + 0x20], 0
shr edx, 3
call fcn.14011df60
test rax, rax
mov qword [rsp + 0x108], rax
je 0x1401331c7
mov byte [rax], 0x40
add dword [rsp + 0xe4], 1
jmp 0x14013306b
mov rdx, qword [rsp + 0xb8]
mov rax, qword [rsp + 0x100]
lea r8, str._key_data__public_key___ecc_S_S_q_m_____private_key___ecc_S_S_q_m__d_m_____
mov r9, qword [rsp + 0xf8]
mov qword [rsp + 0x48], r10
mov rcx, rbp
mov qword [rsp + 0xc8], r10
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x28], rdx
xor edx, edx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x20], rax
call fcn.1400ee430
mov r10, qword [rsp + 0xc8]
mov r15d, eax
jmp 0x140132e20
call fcn.140121c90
xor ecx, ecx
mov qword [rsp + 0xe8], rax
call fcn.140121c90
mov rcx, qword [rsp + 0xe8]
lea r8, [rbx + 0x50]
mov r9, r12
mov rdx, rax
mov qword [rsp + 0xf0], rax
call fcn.140117ec0
test eax, eax
jne 0x1401331e7
mov rcx, qword [rsp + 0xe8]
jmp 0x140132c44
call fcn.14014d490
mov r15d, eax
jmp 0x140133053
lea rdx, [0x14027dec1]
lea rcx, str.ecgen:_Failed_to_get_affine_coordinates_for__s_n
call fcn.1400ea320
lea rdx, [0x14027dc41]
lea rcx, str.ecgen:_Failed_to_get_affine_coordinates_for__s_n
call fcn.1400ea320
nop
nop dword [rax + rax]
ret