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

Disassembly:
mov eax, 0x4c
call fcn.1011d0a0
xor eax, eax
mov dword [esp + 0x38], 0
push ebp
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x58]
mov edx, dword [ebp]
push edi
xor edi, edi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 8], 0
mov dword [esp + 0x28], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x20], edi
cmp edx, dword [eax]
je 0x100a663a
push 0x9f
push str.cryptoecec_mult.c
push 0x65
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
xor eax, eax
pop edi
pop ebp
add esp, 0x4c
ret
push ebx
mov ebx, dword [esp + 0x64]
push esi
mov esi, dword [esp + 0x6c]
test ebx, ebx
jne 0x100a665e
test esi, esi
jne 0x100a665e
push eax
push ebp
call sym.libcrypto_1_1.dll_EC_POINT_set_to_infinity
add esp, 8
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x4c
ret
xor ecx, ecx
test esi, esi
je 0x100a6674
mov eax, dword [esp + 0x70]
mov eax, dword [eax + ecx*4]
cmp edx, dword [eax]
jne 0x100a66ce
inc ecx
cmp ecx, esi
jb 0x100a6664
mov esi, dword [esp + 0x78]
test esi, esi
jne 0x100a6693
call sym.libcrypto_1_1.dll_BN_CTX_new
mov esi, eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x78], esi
test eax, eax
je 0x100a6a49
test ebx, ebx
je 0x100a6787
push ebp
call sym.libcrypto_1_1.dll_ASN1_PCTX_get_nm_flags
mov ecx, eax
add esp, 4
mov dword [esp + 0x54], ecx
test ecx, ecx
jne 0x100a66f3
push 0xb7
push str.cryptoecec_mult.c
push 0x71
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
jmp 0x100a6a49
push 0xa9
push str.cryptoecec_mult.c
push 0x65
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
xor eax, eax
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x4c
ret
mov ebx, dword [ebp + 0x60]
mov dword [esp + 0x44], ebx
test ebx, ebx
je 0x100a6774
cmp dword [ebx + 8], edi
je 0x100a6774
mov eax, dword [ebx + 0x10]
push esi
push dword [eax]
push ecx
push ebp
call sym.libcrypto_1_1.dll_EC_POINT_cmp
add esp, 0x10
test eax, eax
jne 0x100a6774
mov esi, dword [ebx + 4]
push dword [esp + 0x68]
mov dword [esp + 0x14], esi
call sym.libcrypto_1_1.dll_BN_num_bits
xor edx, edx
mov ecx, dword [ebx + 0xc]
div esi
mov edi, dword [ebx + 8]
dec ecx
mov esi, 1
add esp, 4
shl esi, cl
mov dword [esp + 0x50], esi
lea edx, [eax + 1]
mov eax, edi
imul eax, esi
cmp dword [ebx + 0x14], eax
je 0x100a676d
push 0xd3
push str.cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
jmp 0x100a6a49
cmp edx, edi
cmovbe edi, edx
jmp 0x100a6783
xor eax, eax
mov edi, 1
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x6c]
add eax, edi
push 0xe1
push str.cryptoecec_mult.c
mov dword [esp + 0x20], eax
lea esi, [eax*4]
push esi
call sym.libcrypto_1_1.dll_CRYPTO_malloc
push 0xe2
push str.cryptoecec_mult.c
push esi
mov dword [esp + 0x34], eax
call sym.libcrypto_1_1.dll_CRYPTO_malloc
push 0xe4
lea ecx, [esi + 4]
mov dword [esp + 0x3c], eax
push str.cryptoecec_mult.c
push ecx
call sym.libcrypto_1_1.dll_CRYPTO_malloc
push 0xe5
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 + 0x28], eax
test ebx, ebx
je 0x100a67fa
mov dword [ebx], 0
cmp dword [esp + 0x1c], 0
je 0x100a7013
cmp dword [esp + 0x20], 0
je 0x100a7013
test ebx, ebx
je 0x100a7013
test eax, eax
je 0x100a7013
mov eax, dword [esp + 0x2c]
xor ebx, ebx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x38], 0
lea edx, [eax + ecx]
mov dword [esp + 0x34], edx
test edx, edx
je 0x100a6934
mov edx, dword [esp + 0x1c]
mov edi, edx
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x74]
sub eax, edx
mov dword [esp + 0x4c], eax
sub esi, edx
mov eax, dword [esp + 0x20]
sub eax, edx
mov dword [esp + 0x74], esi
mov dword [esp + 0x58], eax
cmp ebx, ecx
jae 0x100a686e
mov eax, dword [esi + edi]
jmp 0x100a6872
mov eax, dword [esp + 0x68]
push eax
call sym.libcrypto_1_1.dll_BN_num_bits
add esp, 4
cmp eax, 0x7d0
jb 0x100a6889
mov ecx, 6
jmp 0x100a68b9
cmp eax, 0x320
jb 0x100a6897
mov ecx, 5
jmp 0x100a68b9
cmp eax, 0x12c
jb 0x100a68a5
mov ecx, 4
jmp 0x100a68b9
cmp eax, 0x46
jb 0x100a68b1
mov ecx, 3
jmp 0x100a68b9
cmp eax, 0x14
sbb ecx, ecx
add ecx, 2
mov dword [edi], ecx
mov eax, 1
dec ecx
shl eax, cl
add dword [esp + 0x38], eax
mov eax, dword [esp + 0x4c]
mov dword [eax + edi + 4], 0
cmp ebx, dword [esp + 0x6c]
jae 0x100a68de
mov eax, dword [esi + edi]
jmp 0x100a68e2
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x58]
add esi, edi
push esi
push dword [edi]
push eax
call fcn.10076eb0
mov ecx, dword [esp + 0x58]
add esp, 0xc
mov dword [ecx + edi], eax
test eax, eax
je 0x100a6a49
mov eax, dword [esi]
cmp eax, dword [esp + 0x14]
mov esi, dword [esp + 0x74]
cmovbe eax, dword [esp + 0x14]
inc ebx
mov ecx, dword [esp + 0x6c]
add edi, 4
mov dword [esp + 0x14], eax
cmp ebx, dword [esp + 0x34]
jb 0x100a6865
mov edi, dword [esp + 0x30]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
test edi, edi
je 0x100a6c5b
mov esi, dword [esp + 0x44]
test esi, esi
jne 0x100a696d
cmp eax, 1
je 0x100a6c5b
push 0x10a
push str.cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
jmp 0x100a6a49
mov dword [esp + 0x2c], 0
test eax, eax
je 0x100a6999
push 0x113
push str.cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
jmp 0x100a6a49
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0xc]
mov dword [edx + ecx*4], eax
lea ecx, [esp + 0x2c]
push ecx
push eax
push dword [esp + 0x70]
call fcn.10076eb0
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x30], ebx
test ebx, ebx
je 0x100a6a49
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x14]
ja 0x100a69fd
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 + 0x28]
mov eax, dword [esi + 0x10]
mov dword [ecx + edx*4], eax
jmp 0x100a6c5b
mov eax, dword [esp + 0x10]
imul edi, eax
cmp ecx, edi
jae 0x100a6b32
dec eax
xor edx, edx
add eax, ecx
div dword [esp + 0x10]
cmp eax, dword [esi + 8]
jbe 0x100a6b26
push 0x13e
push str.cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
push 0x13f
push str.cryptoecec_mult.c
push ebx
call sym.libcrypto_1_1.dll_CRYPTO_free
add esp, 0x20
xor ebx, ebx
xor ebp, ebp
push dword [esp + 0x48]
call sym.libcrypto_1_1.dll_BN_CTX_free
push dword [esp + 0x44]
call sym.libcrypto_1_1.dll_EC_POINT_free
push 0x1e8
push str.cryptoecec_mult.c
push dword [esp + 0x2c]
call sym.libcrypto_1_1.dll_CRYPTO_free
push 0x1e9
push str.cryptoecec_mult.c
push dword [esp + 0x3c]
call sym.libcrypto_1_1.dll_CRYPTO_free
mov edi, dword [esp + 0x44]
add esp, 0x20
test edi, edi
je 0x100a6ad0
mov eax, dword [edi]
mov esi, edi
test eax, eax
je 0x100a6abd
nop dword [eax + eax]
push 0x1ee
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 0x100a6aa0
push 0x1f0
push str.cryptoecec_mult.c
push edi
call sym.libcrypto_1_1.dll_CRYPTO_free
add esp, 0xc
test ebx, ebx
je 0x100a6b06
mov eax, dword [ebx]
mov esi, ebx
test eax, eax
je 0x100a6af3
nop dword [eax]
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 0x100a6ae0
push 0x1f6
push str.cryptoecec_mult.c
push ebx
call sym.libcrypto_1_1.dll_CRYPTO_free
add esp, 0xc
push 0x1f8
push str.cryptoecec_mult.c
push dword [esp + 0x30]
call sym.libcrypto_1_1.dll_CRYPTO_free
add esp, 0xc
mov eax, ebp
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x4c
ret
mov edx, dword [esp + 0x6c]
add eax, edx
mov dword [esp + 0x18], eax
jmp 0x100a6b3a
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], ebx
mov edi, edx
mov ebx, dword [esi + 0x10]
cmp edx, eax
jae 0x100a6c45
mov ebp, dword [esp + 0x20]
lea esi, [edx*4]
mov edx, dword [esp + 0x24]
add esi, ebp
mov eax, dword [esp + 0x28]
sub edx, ebp
sub eax, ebp
mov dword [esp + 0x4c], edx
mov dword [esp + 0x58], eax
nop dword [eax]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x60]
dec eax
cmp edi, eax
jae 0x100a6b93
mov eax, dword [esp + 0x10]
mov dword [esi], eax
cmp ecx, eax
jb 0x100a6c16
sub ecx, eax
mov dword [esp + 0x2c], ecx
jmp 0x100a6b95
mov dword [esi], ecx
push 0x15a
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 0x100a6cd2
push dword [esi]
push dword [esp + 0x48]
push eax
call fcn.1011e380
mov eax, dword [esi]
add esp, 0xc
cmp eax, dword [esp + 0x14]
cmovbe eax, dword [esp + 0x14]
cmp dword [ebx], 0
mov ecx, eax
mov dword [esp + 0x14], ecx
je 0x100a6ca7
mov eax, dword [esp + 0x58]
inc edi
mov dword [eax + esi], ebx
add esi, 4
mov eax, dword [esp + 0x50]
lea ebx, [ebx + eax*4]
mov eax, dword [esp + 0x10]
add dword [esp + 0x44], eax
cmp edi, dword [esp + 0x18]
jae 0x100a6c41
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x4c]
jmp 0x100a6b70
push 0x14d
push str.cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
push 0x14e
push str.cryptoecec_mult.c
push dword [esp + 0x4c]
jmp 0x100a6a41
mov dword [esp + 0x14], ecx
push 0x16d
push str.cryptoecec_mult.c
push dword [esp + 0x38]
call sym.libcrypto_1_1.dll_CRYPTO_free
add esp, 0xc
mov ebx, dword [esp + 0x38]
push 0x177
push str.cryptoecec_mult.c
lea eax, [ebx*4 + 4]
push eax
call sym.libcrypto_1_1.dll_CRYPTO_malloc
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x100a6cfd
push 0x179
push str.cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
mov ebx, dword [esp + 0x10]
jmp 0x100a6a4b
push 0x165
push str.cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
push 0x166
push str.cryptoecec_mult.c
push dword [esp + 0x4c]
jmp 0x100a6a41
push 0x15c
push str.cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
push 0x15d
push str.cryptoecec_mult.c
push dword [esp + 0x4c]
jmp 0x100a6a41
mov edi, dword [esp + 0x34]
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 0x100a6d81
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
sub eax, ebx
mov dword [esp + 0x58], eax
mov dword [eax + ebx], esi
xor edi, edi
mov ecx, dword [ebx]
mov eax, 1
dec ecx
shl eax, cl
test eax, eax
je 0x100a6d69
nop dword [eax + eax]
push ebp
call sym.libcrypto_1_1.dll_EC_POINT_new
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x100a6c9e
mov ecx, dword [ebx]
mov eax, 1
dec ecx
inc edi
shl eax, cl
add esi, 4
cmp edi, eax
jb 0x100a6d40
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x34]
inc edx
mov eax, dword [esp + 0x58]
add ebx, 4
mov dword [esp + 0x50], edx
cmp edx, edi
jb 0x100a6d28
mov eax, dword [esp + 0x4c]
cmp esi, eax
je 0x100a6d96
push 0x18a
push str.cryptoecec_mult.c
push 0x44
jmp 0x100a6c8f
push ebp
call sym.libcrypto_1_1.dll_EC_POINT_new
add esp, 4
mov dword [esp + 0x40], eax
test eax, eax
je 0x100a6c9e
xor ebx, ebx
test edi, edi
je 0x100a6e7c
mov ecx, dword [esp + 0x28]
mov edi, ecx
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x1c]
sub eax, ecx
sub esi, ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x30], esi
nop
cmp ebx, dword [esp + 0x6c]
jae 0x100a6ddb
push dword [eax + edi]
jmp 0x100a6ddf
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 0x100a6c9e
cmp dword [esi + edi], 1
jbe 0x100a6e6a
mov eax, dword [edi]
push dword [esp + 0x78]
push dword [eax]
push dword [esp + 0x48]
push ebp
call sym.libcrypto_1_1.dll_EC_POINT_dbl
add esp, 0x10
test eax, eax
je 0x100a6c9e
mov ecx, dword [esp + 0x30]
mov esi, 1
mov eax, esi
mov ecx, dword [ecx + edi]
dec ecx
shl eax, cl
cmp eax, esi
jbe 0x100a6e66
nop dword [eax + eax]
push dword [esp + 0x78]
mov eax, dword [edi]
push dword [esp + 0x44]
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 0x100a6c9e
mov eax, dword [esp + 0x30]
inc esi
mov ecx, dword [eax + edi]
mov eax, 1
dec ecx
shl eax, cl
cmp esi, eax
jb 0x100a6e30
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x70]
inc ebx
add edi, 4
cmp ebx, dword [esp + 0x34]
jb 0x100a6dd0
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0x10]
push edi
push ebx
push dword [esp + 0x40]
push ebp
call sym.libcrypto_1_1.dll_EC_POINTs_make_affine
add esp, 0x10
test eax, eax
je 0x100a6a4b
mov ecx, dword [esp + 0x14]
mov ebx, 1
sub ecx, ebx
mov dword [esp + 0x14], ecx
js 0x100a6ff0
jmp 0x100a6eb6
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
test ebx, ebx
jne 0x100a6ed6
push edi
push esi
push esi
push ebp
call sym.libcrypto_1_1.dll_EC_POINT_dbl
add esp, 0x10
test eax, eax
je 0x100a6c9e
mov ecx, dword [esp + 0x14]
xor ebp, ebp
cmp dword [esp + 0x18], ebp
jbe 0x100a6fc5
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
sub eax, edi
sub edx, edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], edx
nop word [eax + eax]
cmp dword [eax + edi], ecx
jbe 0x100a6fb3
mov eax, dword [edi]
mov al, byte [ecx + eax]
movsx ecx, al
test al, al
je 0x100a6fab
mov esi, ecx
movzx eax, al
neg esi
cmp eax, 0x80
cmovb esi, ecx
mov ecx, dword [esp + 0x3c]
shr eax, 7
cmp eax, ecx
je 0x100a6f66
test ebx, ebx
jne 0x100a6f5b
push dword [esp + 0x78]
push dword [esp + 0x68]
push dword [esp + 0x68]
call sym.libcrypto_1_1.dll_EC_POINT_invert
add esp, 0xc
test eax, eax
je 0x100a6c9e
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
xor eax, eax
test ecx, ecx
sete al
mov dword [esp + 0x3c], eax
mov eax, dword [edx + edi]
sar esi, 1
mov eax, dword [eax + esi*4]
mov esi, dword [esp + 0x64]
test ebx, ebx
je 0x100a6f8c
push eax
push esi
call sym.libcrypto_1_1.dll_EC_POINT_copy
add esp, 8
test eax, eax
je 0x100a6c9e
xor ebx, ebx
jmp 0x100a6fa7
push dword [esp + 0x78]
push eax
push esi
push esi
push dword [esp + 0x70]
call sym.libcrypto_1_1.dll_EC_POINT_add
add esp, 0x14
test eax, eax
je 0x100a6c9e
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
inc ebp
add edi, 4
cmp ebp, dword [esp + 0x18]
jb 0x100a6f00
mov edi, dword [esp + 0x78]
sub ecx, 1
mov dword [esp + 0x14], ecx
jns 0x100a6eb2
test ebx, ebx
jne 0x100a6fec
cmp dword [esp + 0x3c], ebx
je 0x100a7005
push edi
push esi
push dword [esp + 0x68]
call sym.libcrypto_1_1.dll_EC_POINT_invert
add esp, 0xc
jmp 0x100a6ffd
mov ebp, dword [esp + 0x60]
push dword [esp + 0x64]
push ebp
call sym.libcrypto_1_1.dll_EC_POINT_set_to_infinity
add esp, 8
test eax, eax
je 0x100a6c9e
mov ebx, dword [esp + 0x10]
mov ebp, 1
jmp 0x100a6a4d
push 0xec
push str.cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
jmp 0x100a6a49