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

Disassembly:
jmp 0x100a7da0
mov eax, 0x4c
call fcn.101aa6d0
push ebx
push ebp
mov ebp, dword [esp + 0x58]
push esi
xor esi, esi
xor eax, eax
push edi
push dword [ebp + 8]
mov dword [esp + 0x58], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x4c], eax
xor ebx, ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
call sym.libcrypto_1_1.dll_BN_is_zero
mov edi, dword [esp + 0x6c]
add esp, 4
test eax, eax
jne 0x100a7e7b
push dword [ebp + 0xc]
call sym.libcrypto_1_1.dll_BN_is_zero
add esp, 4
test eax, eax
jne 0x100a7e7b
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x6c]
cmp edi, eax
je 0x100a7e48
test edi, edi
je 0x100a7e4c
test ecx, ecx
jne 0x100a7e48
push dword [esp + 0x78]
push ecx
push edi
push dword [esp + 0x70]
push ebp
call fcn.10001163
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
test edi, edi
jne 0x100a7e83
cmp ecx, 1
jne 0x100a7e7b
mov ecx, dword [esp + 0x74]
mov ecx, dword [ecx]
cmp ecx, eax
je 0x100a7e7b
push dword [esp + 0x78]
mov eax, dword [esp + 0x74]
push dword [eax]
push ecx
push dword [esp + 0x70]
push ebp
call fcn.10001163
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
test edi, edi
je 0x100a7f4c
push ebp
call sym.libcrypto_1_1.dll_EC_GROUP_get0_generator
mov ecx, eax
add esp, 4
mov dword [esp + 0x54], ecx
test ecx, ecx
jne 0x100a7eb6
push 0x1d6
push str...cryptoecec_mult.c
push 0x71
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
jmp 0x100a81ff
mov ebx, dword [ebp + 0x60]
mov dword [esp + 0x30], ebx
test ebx, ebx
je 0x100a7f39
cmp dword [ebx + 8], esi
je 0x100a7f39
push dword [esp + 0x78]
mov eax, dword [ebx + 0x10]
push dword [eax]
push ecx
push ebp
call sym.libcrypto_1_1.dll_EC_POINT_cmp
add esp, 0x10
test eax, eax
jne 0x100a7f39
mov esi, dword [ebx + 4]
push edi
mov dword [esp + 0x30], esi
call sym.libcrypto_1_1.dll_BN_num_bits
xor edx, edx
div esi
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
add esp, 4
lea esi, [eax + 1]
cmp esi, edx
cmova esi, edx
dec ecx
mov eax, 1
shl eax, cl
mov dword [esp + 0x28], esi
imul edx, eax
mov dword [esp + 0x50], eax
cmp dword [ebx + 0x14], edx
je 0x100a7f4c
push 0x1f2
push str...cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
xor ebx, ebx
jmp 0x100a81ff
mov esi, 1
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x6c]
add eax, esi
push 0x200
lea esi, [eax*4]
push str...cryptoecec_mult.c
push esi
mov dword [esp + 0x24], eax
call sym.libcrypto_1_1.dll_CRYPTO_malloc
push 0x201
push str...cryptoecec_mult.c
push esi
mov dword [esp + 0x2c], eax
call sym.libcrypto_1_1.dll_CRYPTO_malloc
push 0x203
lea ecx, [esi + 4]
push str...cryptoecec_mult.c
push ecx
mov dword [esp + 0x44], eax
call sym.libcrypto_1_1.dll_CRYPTO_malloc
push 0x204
mov ebx, eax
push str...cryptoecec_mult.c
push esi
mov dword [esp + 0x54], ebx
call sym.libcrypto_1_1.dll_CRYPTO_malloc
add esp, 0x30
mov dword [esp + 0x10], eax
test ebx, ebx
je 0x100a7fbf
mov dword [ebx], 0
cmp dword [esp + 0x14], 0
je 0x100a8797
mov esi, dword [esp + 0x20]
test esi, esi
je 0x100a8797
test ebx, ebx
je 0x100a8797
test eax, eax
je 0x100a8797
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x6c]
xor ebx, ebx
lea ecx, [eax + edx]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x100a80fb
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x74]
sub ecx, edi
mov dword [esp + 0x4c], ecx
sub eax, edi
mov ecx, esi
sub ecx, edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x58], ecx
cmp ebx, edx
jae 0x100a8039
push dword [eax + edi]
call sym.libcrypto_1_1.dll_BN_num_bits
mov esi, dword [esp + 0x6c]
jmp 0x100a8043
mov esi, dword [esp + 0x68]
push esi
call sym.libcrypto_1_1.dll_BN_num_bits
add esp, 4
cmp eax, 0x7d0
jb 0x100a8054
mov ecx, 6
jmp 0x100a8084
cmp eax, 0x320
jb 0x100a8062
mov ecx, 5
jmp 0x100a8084
cmp eax, 0x12c
jb 0x100a8070
mov ecx, 4
jmp 0x100a8084
cmp eax, 0x46
jb 0x100a807c
mov ecx, 3
jmp 0x100a8084
cmp eax, 0x14
sbb ecx, ecx
add ecx, 2
mov dword [edi], ecx
dec ecx
mov eax, 1
shl eax, cl
add dword [esp + 0x3c], eax
mov eax, dword [esp + 0x4c]
mov dword [eax + edi + 4], 0
cmp ebx, dword [esp + 0x6c]
jae 0x100a80ad
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + edi]
jmp 0x100a80af
mov eax, esi
mov esi, dword [esp + 0x58]
add esi, edi
push esi
push dword [edi]
push eax
call fcn.1000480e
mov ecx, dword [esp + 0x58]
add esp, 0xc
mov dword [ecx + edi], eax
test eax, eax
je 0x100a81fb
mov ecx, dword [esp + 0x1c]
cmp dword [esi], ecx
mov eax, dword [esp + 0x74]
cmova ecx, dword [esi]
mov edx, dword [esp + 0x6c]
inc ebx
add edi, 4
mov dword [esp + 0x1c], ecx
cmp ebx, dword [esp + 0x38]
jb 0x100a8027
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x28], 0
je 0x100a8449
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x100a8137
cmp eax, 1
je 0x100a8449
push 0x229
push str...cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
jmp 0x100a81fb
mov dword [esp + 0x30], 0
test eax, eax
je 0x100a814a
push 0x232
jmp 0x100a811c
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [ecx + edx*4], eax
lea ecx, [esp + 0x30]
push ecx
push eax
push edi
call fcn.1000480e
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x34], ebx
test ebx, ebx
je 0x100a81fb
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x1c]
ja 0x100a81ab
mov edx, dword [esp + 0x6c]
lea eax, [edx + 1]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
mov dword [eax + edx*4], ebx
mov dword [eax + edx*4 + 4], 0
mov eax, dword [esp + 0x20]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x10]
mov dword [ecx + edx*4], eax
jmp 0x100a8449
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
imul eax, edi
cmp ecx, eax
jae 0x100a82d2
lea eax, [edi - 1]
add eax, ecx
xor edx, edx
div edi
cmp eax, dword [esi + 8]
jbe 0x100a82c6
push 0x25d
push str...cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
push 0x25e
push str...cryptoecec_mult.c
push ebx
call sym.libcrypto_1_1.dll_CRYPTO_free
add esp, 0x20
mov ebx, dword [esp + 0x10]
xor ebp, ebp
push dword [esp + 0x44]
call sym.libcrypto_1_1.dll_EC_POINT_free
push 0x306
push str...cryptoecec_mult.c
push dword [esp + 0x20]
call sym.libcrypto_1_1.dll_CRYPTO_free
push 0x307
push str...cryptoecec_mult.c
push dword [esp + 0x38]
call sym.libcrypto_1_1.dll_CRYPTO_free
mov edi, dword [esp + 0x40]
add esp, 0x1c
test edi, edi
je 0x100a8273
mov eax, dword [edi]
mov esi, edi
test eax, eax
je 0x100a8260
push 0x30c
push str...cryptoecec_mult.c
push eax
call sym.libcrypto_1_1.dll_CRYPTO_free
mov eax, dword [esi + 4]
lea esi, [esi + 4]
add esp, 0xc
test eax, eax
jne 0x100a8243
push 0x30e
push str...cryptoecec_mult.c
push edi
call sym.libcrypto_1_1.dll_CRYPTO_free
add esp, 0xc
mov edi, dword [esp + 0x48]
test edi, edi
je 0x100a82a9
mov eax, dword [edi]
mov esi, edi
test eax, eax
je 0x100a8296
push eax
call sym.libcrypto_1_1.dll_EC_POINT_clear_free
mov eax, dword [esi + 4]
lea esi, [esi + 4]
add esp, 4
test eax, eax
jne 0x100a8283
push 0x314
push str...cryptoecec_mult.c
push edi
call sym.libcrypto_1_1.dll_CRYPTO_free
add esp, 0xc
push 0x316
push str...cryptoecec_mult.c
push ebx
call sym.libcrypto_1_1.dll_CRYPTO_free
add esp, 0xc
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov edx, dword [esp + 0x6c]
add eax, edx
mov dword [esp + 0x18], eax
jmp 0x100a82da
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], ebx
mov ebx, dword [esi + 0x10]
mov edi, edx
cmp edx, eax
jae 0x100a8433
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
lea esi, [edx*4]
mov edx, dword [esp + 0x24]
sub edx, ebp
add esi, ebp
sub eax, ebp
mov dword [esp + 0x4c], edx
mov dword [esp + 0x58], eax
lea esp, [esp]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x60]
dec eax
cmp edi, eax
jae 0x100a8333
mov eax, dword [esp + 0x2c]
mov dword [esi], eax
cmp ecx, eax
jb 0x100a83b2
sub ecx, eax
mov dword [esp + 0x30], ecx
jmp 0x100a8335
mov dword [esi], ecx
push 0x279
mov dword [edx + esi + 4], 0
push str...cryptoecec_mult.c
push dword [esi]
call sym.libcrypto_1_1.dll_CRYPTO_malloc
mov ecx, dword [esp + 0x58]
add esp, 0xc
mov dword [ecx + esi], eax
test eax, eax
je 0x100a8408
push dword [esi]
push dword [esp + 0x2c]
push eax
call fcn.101aa710
mov ecx, dword [esp + 0x28]
add esp, 0xc
cmp dword [esi], ecx
cmova ecx, dword [esi]
cmp dword [ebx], 0
mov dword [esp + 0x1c], ecx
je 0x100a83dd
mov eax, dword [esp + 0x58]
inc edi
mov dword [eax + esi], ebx
mov eax, dword [esp + 0x50]
add esi, 4
lea ebx, [ebx + eax*4]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x28], eax
cmp edi, dword [esp + 0x18]
jae 0x100a8433
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x4c]
jmp 0x100a8310
push 0x26c
push str...cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
push 0x26d
push str...cryptoecec_mult.c
push dword [esp + 0x50]
jmp 0x100a81f3
push 0x284
push str...cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
push 0x285
push str...cryptoecec_mult.c
push dword [esp + 0x50]
jmp 0x100a81f3
push 0x27b
push str...cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
push 0x27c
push str...cryptoecec_mult.c
push dword [esp + 0x50]
jmp 0x100a81f3
push 0x28c
push str...cryptoecec_mult.c
push dword [esp + 0x3c]
call sym.libcrypto_1_1.dll_CRYPTO_free
add esp, 0xc
mov ebx, dword [esp + 0x3c]
push 0x296
lea eax, [ebx*4 + 4]
push str...cryptoecec_mult.c
push eax
call sym.libcrypto_1_1.dll_CRYPTO_malloc
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x48], ecx
test ecx, ecx
jne 0x100a8491
push 0x298
push str...cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
jmp 0x100a81fb
mov edi, dword [esp + 0x38]
lea eax, [ecx + ebx*4]
xor edx, edx
mov dword [esp + 0x4c], eax
mov dword [eax], 0
mov esi, ecx
mov dword [esp + 0x50], edx
test edi, edi
je 0x100a8514
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
sub eax, ebx
mov dword [esp + 0x58], eax
lea esp, [esp]
mov dword [eax + ebx], esi
mov ecx, dword [ebx]
dec ecx
mov eax, 1
shl eax, cl
xor edi, edi
test eax, eax
je 0x100a84fc
push ebp
call sym.libcrypto_1_1.dll_EC_POINT_new
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x100a81fb
mov ecx, dword [ebx]
dec ecx
mov eax, 1
shl eax, cl
inc edi
add esi, 4
cmp edi, eax
jb 0x100a84d3
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x58]
inc edx
add ebx, 4
mov dword [esp + 0x50], edx
cmp edx, edi
jb 0x100a84c0
mov eax, dword [esp + 0x4c]
cmp esi, eax
je 0x100a8522
push 0x2a9
jmp 0x100a811c
push ebp
call sym.libcrypto_1_1.dll_EC_POINT_new
mov esi, eax
add esp, 4
mov dword [esp + 0x44], esi
test esi, esi
je 0x100a87b7
xor ebx, ebx
test edi, edi
je 0x100a860c
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x14]
sub eax, ecx
sub esi, ecx
mov edi, ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x34], esi
lea ecx, [ecx]
cmp ebx, dword [esp + 0x6c]
jae 0x100a856b
push dword [eax + edi]
jmp 0x100a856f
push dword [esp + 0x54]
mov eax, dword [edi]
push dword [eax]
call sym.libcrypto_1_1.dll_EC_POINT_copy
add esp, 8
test eax, eax
je 0x100a81fb
cmp dword [esi + edi], 1
jbe 0x100a85fa
push dword [esp + 0x78]
mov eax, dword [edi]
push dword [eax]
push dword [esp + 0x4c]
push ebp
call sym.libcrypto_1_1.dll_EC_POINT_dbl
add esp, 0x10
test eax, eax
je 0x100a81fb
mov ecx, dword [esp + 0x34]
mov esi, 1
mov ecx, dword [ecx + edi]
dec ecx
mov eax, esi
shl eax, cl
cmp eax, esi
jbe 0x100a85f6
jmp 0x100a85c0
push dword [esp + 0x78]
mov eax, dword [edi]
push dword [esp + 0x48]
push dword [eax + esi*4 - 4]
push dword [eax + esi*4]
push ebp
call sym.libcrypto_1_1.dll_EC_POINT_add
add esp, 0x14
test eax, eax
je 0x100a81fb
mov eax, dword [esp + 0x34]
inc esi
mov ecx, dword [eax + edi]
dec ecx
mov eax, 1
shl eax, cl
cmp esi, eax
jb 0x100a85c0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x58]
inc ebx
add edi, 4
cmp ebx, dword [esp + 0x38]
jb 0x100a8560
mov edi, dword [esp + 0x78]
mov eax, dword [esp + 0x48]
push edi
push eax
push dword [esp + 0x44]
push ebp
call sym.libcrypto_1_1.dll_EC_POINTs_make_affine
add esp, 0x10
test eax, eax
je 0x100a81fb
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x64]
dec ecx
mov ebp, 1
mov dword [esp + 0x3c], ecx
js 0x100a8774
mov esi, dword [esp + 0x60]
test ebp, ebp
jne 0x100a8663
push edi
push ebx
push ebx
push esi
call sym.libcrypto_1_1.dll_EC_POINT_dbl
add esp, 0x10
test eax, eax
je 0x100a81fb
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x18], 0
mov dword [esp + 0x50], 0
jbe 0x100a872a
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
sub edx, eax
sub eax, edi
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
mov edi, edi
add eax, edi
cmp dword [eax + edx], ecx
jbe 0x100a870c
mov eax, dword [eax]
movsx esi, byte [eax + ecx]
test esi, esi
je 0x100a8708
xor eax, eax
test esi, esi
sets al
test eax, eax
je 0x100a86ae
neg esi
mov ecx, dword [esp + 0x40]
cmp eax, ecx
je 0x100a86e2
test ebp, ebp
jne 0x100a86d7
push dword [esp + 0x78]
push ebx
push dword [esp + 0x68]
call sym.libcrypto_1_1.dll_EC_POINT_invert
add esp, 0xc
test eax, eax
je 0x100a81fb
mov ecx, dword [esp + 0x40]
xor eax, eax
test ecx, ecx
sete al
mov dword [esp + 0x40], eax
mov eax, dword [edi]
sar esi, 1
test ebp, ebp
je 0x100a874c
push dword [eax + esi*4]
push ebx
call sym.libcrypto_1_1.dll_EC_POINT_copy
add esp, 8
xor ebp, ebp
test eax, eax
je 0x100a87b9
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x50]
inc eax
add edi, 4
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x58]
jb 0x100a8690
mov edi, dword [esp + 0x78]
dec ecx
mov dword [esp + 0x3c], ecx
jns 0x100a8643
test ebp, ebp
jne 0x100a8774
cmp dword [esp + 0x40], ebp
je 0x100a8789
push edi
push ebx
push esi
call sym.libcrypto_1_1.dll_EC_POINT_invert
add esp, 0xc
jmp 0x100a8781
push dword [esp + 0x78]
push dword [eax + esi*4]
mov esi, dword [esp + 0x68]
push ebx
push ebx
push esi
call sym.libcrypto_1_1.dll_EC_POINT_add
add esp, 0x14
test eax, eax
je 0x100a81fb
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x54]
jmp 0x100a870c
push ebx
push dword [esp + 0x64]
call sym.libcrypto_1_1.dll_EC_POINT_set_to_infinity
add esp, 8
test eax, eax
je 0x100a81fb
mov ebx, dword [esp + 0x10]
mov ebp, 1
jmp 0x100a8201
push 0x20b
push str...cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
jmp 0x100a81fb
xor ebp, ebp
mov ebx, dword [esp + 0x10]
jmp 0x100a8201