Function at 0x55f510
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x690c91
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
push ebx
push ebp
push esi
push edi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0x1c0]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x9c]
call fcn.005585d0
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c8], 0
call fcn.004ba590
mov esi, dword [esp + 0x1d8]
push str.sharedSecret
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x1d0], 1
call fcn.004b1850
mov ecx, dword [esp + 0x1d4]
mov byte [esp + 0x1c8], 2
call fcn.00467d60
cmp dword [edi + 0x7c], 1
je 0x55f5e5
push str.Must_be_a_private_key.
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
mov ecx, esi
call edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c8], 1
call fcn.004b18c0
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c8], 0
call fcn.004ba6d0
lea ecx, [esp + 0x9c]
mov dword [esp + 0x1c8], 0xffffffff
call fcn.00558640
xor al, al
jmp 0x55f840
mov ebp, dword [esp + 0x1d0]
lea ebx, [ebp + 0x88]
lea ecx, [edi + 0x88]
push ebx
mov dword [esp + 0x1c], ecx
call fcn.00487750
test al, al
jne 0x55f637
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.ECC_curves_are_different
mov ecx, esi
call edx
mov eax, dword [esp + 0x18]
push eax
push str.privKeyCurve
mov ecx, esi
call fcn.004b1210
push ebx
push str.pubKeyCurve
mov ecx, esi
call fcn.004b1210
jmp 0x55f5a5
lea ebx, [edi + 0x170]
push 0x10
mov ecx, ebx
call fcn.00483ec0
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.004bb3b0
add esp, 0xc
test al, al
jne 0x55f678
push ebx
push str.curvePrime
mov ecx, esi
call fcn.004b1210
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Failed_to_decode_curve_prime.
mov ecx, esi
call eax
jmp 0x55f5a5
mov ecx, dword [esp + 0x18]
push str.secp256k1
call fcn.00487710
test al, al
lea edx, [edi + 0x470]
je 0x55f85c
xor eax, eax
lea ecx, [esp + 0x7c]
push ecx
push edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
call fcn.00559d50
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
lea eax, [esp + 0x44]
push eax
lea ecx, [ebp + 0x434]
push ecx
call fcn.00559d50
lea edx, [esp + 0x6c]
push edx
add ebp, 0x448
push ebp
call fcn.00559d50
add esp, 0x18
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xe4]
call fcn.0055e1a0
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x40]
call fcn.0055e1a0
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0x108]
call fcn.0055b7b0
lea ecx, [esp + 0x100]
push ecx
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x168]
push eax
call fcn.0055f4e0
lea ecx, [esp + 0xb0]
push ecx
lea edx, [esp + 0x170]
push edx
call fcn.00559e50
add esp, 0x14
mov esi, dword [esp + 0x1d4]
lea eax, [esp + 0xa4]
push esi
push eax
call fcn.004be6a0
add esp, 8
mov ecx, esi
mov bl, al
mov byte [esp + 0x17], 0
call fcn.00544a30
cmp eax, dword [edi + 0x84]
jae 0x55f805
mov edi, edi
push 1
lea ecx, [esp + 0x1b]
push ecx
mov ecx, esi
call fcn.0046c720
test al, al
je 0x55f5a5
mov ecx, esi
call fcn.00544a30
cmp eax, dword [edi + 0x84]
jb 0x55f7e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c8], 1
call fcn.004b18c0
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c8], 0
call fcn.004ba6d0
lea ecx, [esp + 0x9c]
mov dword [esp + 0x1c8], 0xffffffff
call fcn.00558640
mov al, bl
mov ecx, dword [esp + 0x1c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1b8
ret 0xc
push esi
push 1
lea eax, [esp + 0x30]
push eax
push 0
lea ecx, [esp + 0xac]
push ecx
add ebp, 0x42c
push ebp
push edx
call fcn.0055cbe0
add esp, 0x1c
test al, al
jne 0x55f7b0
push str.Point_multiply_failed.
jmp 0x55f59c