Function at 0x140131f10
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.14011a670
mov rcx, rsi
mov r14d, eax
call fcn.1401179a0
test dil, 0x20
sete r12b
add r12d, 1
cmp dword [rbp + 4], 1
je 0x140131f6c
test edi, 0x8000
je 0x140132470
mov ecx, 0x100
call fcn.140121db0
mov edx, r12d
mov ecx, 0x20
mov qword [rbx + 0x68], rax
call fcn.140116400
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.14011e0c0
mov rcx, r12
call fcn.1400ebb20
mov rdx, qword [rbx + 0x68]
lea r8, [r15 + 0x20]
mov r9, rbp
mov rcx, rsi
call fcn.140119070
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.140121790
mov rcx, qword [r15 + 0x10]
mov qword [rbx + 8], rax
call fcn.140121790
mov rcx, qword [r15 + 0x18]
mov qword [rbx + 0x10], rax
call fcn.140121790
lea rcx, [rbx + 0x20]
mov qword [rbx + 0x18], rax
call fcn.1401179a0
mov rdx, qword [r15 + 0x20]
mov rcx, qword [rbx + 0x20]
call fcn.140121a50
mov rdx, qword [r15 + 0x28]
mov rcx, qword [rbx + 0x28]
call fcn.140121a50
mov rdx, qword [r15 + 0x30]
mov rcx, qword [rbx + 0x30]
call fcn.140121a50
mov rcx, qword [r15 + 0x38]
call fcn.140121790
mov rcx, qword [r15 + 0x40]
mov qword [rbx + 0x38], rax
call fcn.140121790
mov qword [rbx + 0x40], rax
lea rax, [rbx + 0x50]
mov rcx, rax
mov qword [rsp + 0x38], rax
call fcn.1401179a0
mov ecx, r14d
call fcn.140121da0
cmp qword [rsp + 0x210], 0
mov r12, rax
je 0x140132412
mov ecx, r14d
call fcn.140121da0
mov r9, rbp
mov r8, rsi
mov rdx, rax
mov rcx, r12
mov r13, rax
call fcn.140117fd0
test eax, eax
jne 0x14013291d
cmp dword [r15 + 4], 1
je 0x140132133
mov ecx, r14d
call fcn.140121da0
mov edx, dword [r15]
mov rbp, rax
test edx, edx
mov rdx, qword [r15 + 8]
jne 0x140132490
mov rcx, rax
mov r8, r13
call fcn.14011a550
mov rdx, r13
mov rcx, rbp
call fcn.14011afc0
test eax, eax
js 0x1401324ae
mov rcx, rbp
call fcn.140121500
mov rcx, qword [rbx + 0x50]
mov rdx, qword [rsp + 0xe0]
call fcn.140121a50
mov rcx, qword [rbx + 0x58]
mov rdx, qword [rsp + 0xe8]
call fcn.140121a50
mov rcx, qword [rbx + 0x60]
mov rdx, qword [rsp + 0xf0]
call fcn.140121a50
mov ecx, 1
call fcn.1400ec010
test eax, eax
je 0x140132166
lea rcx, str.ecgen_didnt_need_to_convert_Q_to_a_compliant_point_n
call fcn.1400ea490
jmp 0x140132166
mov rcx, qword [rbx + 0x50]
mov rdx, qword [rsp + 0xe0]
call fcn.140121a50
mov rcx, qword [rbx + 0x58]
mov rdx, qword [rsp + 0xe8]
call fcn.140121a50
mov rcx, qword [rbx + 0x60]
mov rdx, qword [rsp + 0xf0]
call fcn.140121a50
mov rax, qword [rsp + 0x208]
mov qword [rax], r12
mov rax, qword [rsp + 0x210]
mov qword [rax], r13
mov rcx, rsi
call fcn.140117a00
test edi, 0x4000
jne 0x1401323fc
cmp dword [rbx], 1
je 0x140132514
mov eax, dword [rsp + 0x200]
lea esi, [rax - 0x40]
mov ecx, esi
call fcn.140121da0
mov ecx, esi
mov rdi, rax
call fcn.140121da0
mov ecx, esi
mov qword [rsp + 0x38], rax
call fcn.140121da0
mov ecx, esi
mov r15, rax
call fcn.140121da0
mov ecx, esi
mov r13, rax
call fcn.140121da0
mov ecx, 1
mov r14, rax
call fcn.1400ec010
test eax, eax
jne 0x140132900
lea rbp, [rsp + 0x100]
lea r12, [rsp + 0x120]
mov rcx, rbp
call fcn.1401179a0
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.1400fa540
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.1401179a0
mov rdx, qword [rbx + 0x50]
mov rcx, qword [rsp + 0x170]
call fcn.140121a50
mov rdx, qword [rbx + 0x58]
mov rcx, qword [rsp + 0x178]
call fcn.140121a50
mov rdx, qword [rbx + 0x60]
mov rcx, qword [rsp + 0x180]
call fcn.140121a50
xor r8d, r8d
mov edx, esi
mov rcx, rdi
call fcn.140121dd0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, r14
mov r8, r13
mov rdx, rbx
mov rcx, rdi
call fcn.14014a6d0
test eax, eax
jne 0x140132930
mov r9, r14
mov r8, r13
mov rdx, r12
mov rcx, rdi
call fcn.14014aaf0
test eax, eax
jne 0x14013293c
mov ecx, 1
call fcn.1400ec010
test eax, eax
je 0x1401323b8
lea rcx, str.ECDSA_operation:_sign__verify_ok._n
call fcn.1400ea490
lea rcx, [r12 + 0x50]
call fcn.140117a00
mov rcx, r12
call fcn.1400fa4d0
mov rcx, rbp
call fcn.140117a00
mov rcx, r14
call fcn.140121500
mov rcx, r13
call fcn.140121500
mov rcx, r15
call fcn.140121500
mov rcx, qword [rsp + 0x38]
call fcn.140121500
mov rcx, rdi
call fcn.140121500
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.140117fd0
test eax, eax
jne 0x14013291d
mov rcx, qword [rbx + 0x50]
mov rdx, qword [rsp + 0xe0]
call fcn.140121a50
mov rcx, qword [rbx + 0x58]
mov rdx, qword [rsp + 0xe8]
call fcn.140121a50
mov rcx, qword [rbx + 0x60]
mov rdx, qword [rsp + 0xf0]
call fcn.140121a50
mov rax, qword [rsp + 0x208]
mov qword [rax], r12
jmp 0x14013217c
mov rcx, qword [r15 + 0x38]
mov edx, r12d
call fcn.14012e4c0
mov rdx, rax
mov qword [rbx + 0x68], rax
jmp 0x140131fbe
mov rcx, rax
mov r8, r12
call fcn.14011a550
mov rdx, r13
mov rcx, rbp
call fcn.14011afc0
test eax, eax
jns 0x1401320dc
mov eax, dword [r15]
test eax, eax
je 0x1401328d5
mov rcx, r12
mov r12, rbp
call fcn.140121500
mov rcx, qword [rbx + 0x68]
mov rdx, qword [r15 + 0x38]
mov r8, rcx
call fcn.14011a550
mov ecx, 1
call fcn.1401220b0
mov rcx, qword [rsp + 0x38]
mov r9, rax
mov r8, r13
mov rdx, r12
call fcn.140117bc0
mov ecx, 1
call fcn.1400ec010
test eax, eax
je 0x140132166
lea rcx, str.ecgen_converted_Q_to_a_compliant_point_n
call fcn.1400ea490
jmp 0x140132166
mov ecx, 1
call fcn.1400ec010
test eax, eax
jne 0x1401328e5
lea rbp, [rsp + 0x100]
lea r12, [rsp + 0x120]
mov rcx, rbp
lea r14, [r12 + 0x50]
call fcn.1401179a0
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.1400fa540
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.1401179a0
mov rdx, qword [rbx + 0x50]
mov rcx, qword [rsp + 0x170]
call fcn.140121a50
mov rdx, qword [rbx + 0x58]
mov rcx, qword [rsp + 0x178]
call fcn.140121a50
mov rdx, qword [rbx + 0x60]
mov rcx, qword [rsp + 0x180]
call fcn.140121a50
test edi, 0x8000
jne 0x1401327f0
mov eax, dword [rsp + 0x200]
lea esi, [rax - 0x40]
mov ecx, esi
call fcn.140121da0
xor r8d, r8d
mov edx, esi
mov rcx, rax
mov r13, rax
call fcn.140121dd0
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.140117d30
xor ecx, ecx
mov rsi, rax
call fcn.140121da0
xor ecx, ecx
mov r15, rax
call fcn.140121da0
mov r9, rsi
mov r8, r14
mov rdx, r13
mov rcx, rbp
mov rdi, rax
call fcn.140119070
mov rdx, qword [rsi + 0x38]
mov r9, rsi
mov r8, rbp
mov rcx, rbp
call fcn.140119070
xor edx, edx
mov r9, rsi
mov r8, rbp
mov rcx, r15
call fcn.140117fd0
test eax, eax
jne 0x140132911
lea r8, [r12 + 0x20]
mov r9, rsi
mov rdx, r13
mov rcx, rbp
call fcn.140119070
mov rdx, qword [rbx + 0x68]
mov r9, rsi
mov r8, rbp
mov rcx, rbp
call fcn.140119070
mov rdx, qword [rsi + 0x38]
mov r9, rsi
mov r8, rbp
mov rcx, rbp
call fcn.140119070
xor edx, edx
mov r9, rsi
mov r8, rbp
mov rcx, rdi
call fcn.140117fd0
test eax, eax
jne 0x140132954
mov rdx, rdi
mov rcx, r15
call fcn.14011afc0
test eax, eax
jne 0x140132948
mov rcx, r15
call fcn.140121500
mov rcx, rdi
call fcn.140121500
mov rcx, rsi
call fcn.140117e80
lea rcx, [r12 + 0x50]
call fcn.140117a00
mov rcx, r12
call fcn.1400fa4d0
mov rcx, rbp
call fcn.140117a00
mov rcx, r13
call fcn.140121500
jmp 0x1401323fc
mov ecx, 0x100
call fcn.140121da0
xor edx, edx
mov ecx, 0x20
mov r13, rax
call fcn.1401163d0
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.14011e0c0
mov rcx, rsi
call fcn.1400ebb20
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.140117d30
xor ecx, ecx
mov rsi, rax
call fcn.140121da0
xor ecx, ecx
mov r15, rax
call fcn.140121da0
mov r9, rsi
mov r8, r14
mov rdx, r13
mov rcx, rbp
mov rdi, rax
call fcn.140119070
xor edx, edx
mov r9, rsi
mov r8, rbp
mov rcx, r15
call fcn.140117fd0
test eax, eax
jne 0x140132911
lea r8, [r12 + 0x20]
mov r9, rsi
mov rdx, r13
mov rcx, rbp
call fcn.140119070
mov rdx, qword [rbx + 0x68]
mov r9, rsi
mov r8, rbp
mov rcx, rbp
call fcn.140119070
jmp 0x14013277d
mov rcx, r13
mov r13, rbp
call fcn.140121500
jmp 0x1401324c4
lea rcx, str.Testing_ECDH_only_key._n
call fcn.1400ea490
jmp 0x140132526
lea rcx, str.Testing_key._n
call fcn.1400ea490
jmp 0x1401321e9
lea rcx, str.ecdh:_Failed_to_get_affine_coordinates_for_hkQ_n
call fcn.1400ea430
lea rdx, [0x14027eca1]
lea rcx, str.ecgen:_Failed_to_get_affine_coordinates_for__s_n
call fcn.1400ea430
lea rcx, str.ECDSA_operation:_sign_failed_n
call fcn.1400ea430
lea rcx, str.ECDSA_operation:_sign__verify_failed_n
call fcn.1400ea430
lea rcx, str.ECDH_test_failed._n
call fcn.1400ea430
lea rcx, str.ecdh:_Failed_to_get_affine_coordinates_for_hdkG_n
call fcn.1400ea430
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.140101f40
test eax, eax
mov r15d, eax
je 0x140132a20
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.1400edee0
test rax, rax
mov r14, rax
je 0x140132bc0
mov edx, 1
mov rcx, rax
call fcn.1400ee2b0
mov rcx, r14
mov rdi, rax
call fcn.1400ec5a0
test rdi, rdi
je 0x140132bb5
lea rdx, str.flags
xor r8d, r8d
mov rcx, r12
call fcn.1400edee0
test rax, rax
mov r14, rax
je 0x140132a9c
lea rdx, [rsp + 0xe0]
xor r8d, r8d
mov rcx, rax
call fcn.140101a50
mov rcx, r14
mov r15d, eax
call fcn.1400ec5a0
test r15d, r15d
jne 0x140132af0
lea rdx, str.transient_key
xor r8d, r8d
mov rcx, r12
call fcn.1400edee0
test rax, rax
je 0x140132ac3
mov rcx, rax
or dword [rsp + 0xe0], 0x20
call fcn.1400ec5a0
mov ecx, dword [rsp + 0xdc]
test ecx, ecx
jne 0x140132ad7
test rdi, rdi
je 0x140132c80
mov r9, r13
mov r8, rsi
mov rdx, rdi
call fcn.1400f7580
test eax, eax
mov r15d, eax
je 0x140132bd0
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.140121500
mov rcx, qword [rsp + 0xb8]
call fcn.140121500
mov rcx, qword [rsp + 0xc0]
call fcn.140121500
mov rcx, rbx
call fcn.1400fa4d0
lea rcx, [rbx + 0x50]
call fcn.140117a00
mov rcx, qword [rsp + 0x1c8]
call fcn.140121500
mov rcx, rsi
call fcn.1400fa4d0
mov rcx, r13
call fcn.140121500
mov rcx, r14
call fcn.140121500
mov rcx, qword [rsp + 0xe8]
call fcn.140121500
mov rcx, qword [rsp + 0xf0]
call fcn.140121500
mov rcx, r12
call fcn.140117e80
mov rcx, rdi
call fcn.1400ebb20
mov rcx, qword [rsp + 0x100]
call fcn.1400ec5a0
mov rcx, qword [rsp + 0xf8]
call fcn.1400ec5a0
jmp 0x140132a06
mov r15d, 0x41
jmp 0x140132a06
xor edi, edi
jmp 0x140132a5f
mov ecx, 1
call fcn.1400ec010
test eax, eax
jne 0x140133030
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.140117d30
cmp dword [rsp + 0x110], 1
mov r12, rax
je 0x1401331ab
mov r9d, dword [rsp + 0xe0]
test r9d, 0x1000
je 0x140132c90
mov r8, rax
mov rdx, rsi
mov rcx, rbx
call fcn.1400f96e0
mov r15d, eax
test r15d, r15d
je 0x140132cd0
xor r10d, r10d
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
xor r14d, r14d
xor r13d, r13d
jmp 0x140132b14
mov r15d, 0x44
jmp 0x140132a06
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.140131f10
mov r15d, eax
jmp 0x140132c52
xor ecx, ecx
call fcn.140121da0
xor ecx, ecx
mov r13, rax
call fcn.140121da0
cmp dword [rsp + 0x110], 1
mov r14, rax
je 0x1401330f2
lea r8, [rbx + 0x20]
mov r9, r12
mov rdx, rax
mov rcx, r13
call fcn.140117fd0
test eax, eax
jne 0x1401332e4
mov r8, qword [rsp + 0x168]
mov rdx, r14
mov rcx, r13
call fcn.1400fa6a0
cmp dword [rsp + 0x164], 1
mov qword [rsp + 0xc0], rax
je 0x14013310c
cmp dword [rsp + 0x110], 1
je 0x1401331d9
mov rcx, qword [rsp + 0xe8]
test rcx, rcx
je 0x140133293
mov r8, qword [rsp + 0x168]
mov rdx, qword [rsp + 0xf0]
call fcn.1400fa6a0
mov qword [rsp + 0xb8], rax
mov r9, qword [rsp + 0x158]
mov r10, qword [rsp + 0x1c8]
mov qword [rsp + 0x1c8], 0
test r9, r9
je 0x140132dc3
lea rcx, [rsp + 0xf8]
lea r8, str._curve__s_
xor edx, edx
mov qword [rsp + 0xc8], r10
call fcn.1400ee540
test eax, eax
mov r15d, eax
mov r10, qword [rsp + 0xc8]
jne 0x140132b14
mov eax, dword [rsp + 0xe0]
test ah, 0x92
je 0x140132e38
mov edx, eax
lea r8, str._flags_param_eddsa_
and edx, 0x1200
cmp edx, 0x1200
je 0x140132e07
test ah, 2
lea r8, str._flags_param_
jne 0x140132e07
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.1400ee540
test eax, eax
mov r15d, eax
mov r10, qword [rsp + 0xc8]
jne 0x140132b14
mov eax, dword [rsp + 0xe0]
test ah, 2
je 0x140133234
cmp qword [rsp + 0x158], 0
je 0x140133234
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.1400ee540
mov r10, qword [rsp + 0xc8]
mov r15d, eax
test r15d, r15d
jne 0x140132b14
mov ecx, 1
mov qword [rsp + 0xc8], r10
call fcn.1400ec010
test eax, eax
mov r10, qword [rsp + 0xc8]
je 0x140132b14
mov rdx, qword [rsp + 0x168]
lea rcx, str.ecgen_result__p
call fcn.1400ea6b0
mov rdx, qword [rsp + 0x170]
lea rcx, str.ecgen_result__a
call fcn.1400ea6b0
mov rdx, qword [rsp + 0x178]
lea rcx, str.ecgen_result__b
call fcn.1400ea6b0
mov rdx, qword [rsp + 0xc0]
lea rcx, str.ecgen_result__G
call fcn.1400ea6b0
mov rdx, qword [rsp + 0x198]
lea rcx, str.ecgen_result__n
call fcn.1400ea6b0
mov rdx, qword [rsp + 0x1a0]
lea rcx, str.ecgen_result__h
call fcn.1400ea6b0
mov rdx, qword [rsp + 0xb8]
lea rcx, str.ecgen_result__Q
call fcn.1400ea6b0
mov r10, qword [rsp + 0xc8]
lea rcx, str.ecgen_result__d
mov rdx, r10
call fcn.1400ea6b0
test byte [rsp + 0xe1], 0x10
mov r10, qword [rsp + 0xc8]
je 0x140132b14
lea rcx, str.ecgen_result__using_Ed25519EdDSA_n
call fcn.1400ea490
mov r10, qword [rsp + 0xc8]
jmp 0x140132b14
mov ecx, dword [rsp + 0x114]
call fcn.1400fa670
mov ecx, dword [rsp + 0x110]
mov r12, rax
call fcn.1400fa640
lea rcx, str.ecgen_curve_info:__s__s_n
mov rdx, rax
mov r8, r12
call fcn.1400ea490
mov rdx, qword [rsp + 0x158]
test rdx, rdx
je 0x140133076
lea rcx, str.ecgen_curve_used:__s_n
call fcn.1400ea490
mov rdx, qword [rsp + 0x118]
lea rcx, str.ecgen_curve___p
call fcn.1400ea6b0
mov rdx, qword [rsp + 0x120]
lea rcx, str.ecgen_curve___a
call fcn.1400ea6b0
mov rdx, qword [rsp + 0x128]
lea rcx, str.ecgen_curve___b
call fcn.1400ea6b0
mov rdx, qword [rsp + 0x148]
lea rcx, str.ecgen_curve___n
call fcn.1400ea6b0
mov rdx, qword [rsp + 0x150]
lea rcx, str.ecgen_curve___h
call fcn.1400ea6b0
lea rdx, [rsi + 0x20]
lea rcx, str.ecgen_curve_G
xor r8d, r8d
call fcn.1401181d0
jmp 0x140132be2
cmp dword [rsp + 0x164], 1
mov qword [rsp + 0xc0], 0
jne 0x1401331d9
mov eax, dword [rsp + 0xe0]
test ah, 8
jne 0x140132d43
cmp dword [rsp + 0x110], 1
je 0x1401331e7
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.1400f8f90
mov r15d, eax
xor r10d, r10d
test r15d, r15d
mov qword [rsp + 0xb8], 0
jne 0x140132b14
xor ecx, ecx
call fcn.140121da0
mov r8d, dword [rsp + 0xe4]
mov rdx, qword [rsp + 0x108]
mov rcx, rax
mov qword [rsp + 0xb8], rax
shl r8d, 3
call fcn.140121580
jmp 0x140132d71
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 0x140132cb5
test byte [rsp + 0xe1], 8
jne 0x140132d43
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.14011e070
test rax, rax
mov qword [rsp + 0x108], rax
je 0x1401332d7
mov byte [rax], 0x40
add dword [rsp + 0xe4], 1
jmp 0x14013317b
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.1400ee540
mov r10, qword [rsp + 0xc8]
mov r15d, eax
jmp 0x140132f30
call fcn.140121da0
xor ecx, ecx
mov qword [rsp + 0xe8], rax
call fcn.140121da0
mov rcx, qword [rsp + 0xe8]
lea r8, [rbx + 0x50]
mov r9, r12
mov rdx, rax
mov qword [rsp + 0xf0], rax
call fcn.140117fd0
test eax, eax
jne 0x1401332f7
mov rcx, qword [rsp + 0xe8]
jmp 0x140132d54
call fcn.14014d590
mov r15d, eax
jmp 0x140133163
lea rdx, [0x14027ef21]
lea rcx, str.ecgen:_Failed_to_get_affine_coordinates_for__s_n
call fcn.1400ea430
lea rdx, [0x14027eca1]
lea rcx, str.ecgen:_Failed_to_get_affine_coordinates_for__s_n
call fcn.1400ea430
nop
nop dword [rax + rax]
ret