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

Disassembly:
jmp 0x100fe8c0
mov eax, 0x4c
call fcn.10001f96
push ebx
mov ebx, dword [esp + 0x54]
xor eax, eax
push ebp
push esi
xor esi, esi
mov dword [esp + 0x4c], 0
push edi
push dword [ebx + 8]
mov dword [esp + 0x48], 0
xor ebp, ebp
mov dword [esp + 0x30], 0
mov dword [esp + 0x18], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x58], eax
call sym.libcrypto_1_1.dll_BN_is_zero
mov edi, dword [esp + 0x6c]
add esp, 4
test eax, eax
jne 0x100fe99b
push dword [ebx + 0xc]
call sym.libcrypto_1_1.dll_BN_is_zero
add esp, 4
test eax, eax
jne 0x100fe99b
mov eax, dword [ebx + 8]
cmp edi, eax
je 0x100fe966
test edi, edi
je 0x100fe96a
cmp dword [esp + 0x6c], esi
jne 0x100fe9a3
push dword [esp + 0x78]
push ebp
push edi
push dword [esp + 0x70]
push ebx
call fcn.10006ea6
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
test edi, edi
jne 0x100fe9a3
cmp dword [esp + 0x6c], 1
jne 0x100fe99b
mov ecx, dword [esp + 0x74]
mov ecx, dword [ecx]
cmp ecx, eax
je 0x100fe99b
push dword [esp + 0x78]
mov eax, dword [esp + 0x74]
push dword [eax]
push ecx
push dword [esp + 0x70]
push ebx
call fcn.10006ea6
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
test edi, edi
je 0x100fea6e
push ebx
call sym.libcrypto_1_1.dll_EC_GROUP_get0_generator
mov ecx, eax
add esp, 4
mov dword [esp + 0x50], ecx
test ecx, ecx
jne 0x100fe9d6
push 0x1cf
push str.cryptoecec_mult.c
push 0x71
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
jmp 0x100fed29
mov ebp, dword [ebx + 0x64]
mov dword [esp + 0x30], ebp
test ebp, ebp
je 0x100fea5b
cmp dword [ebp + 8], esi
je 0x100fea5b
mov eax, dword [ebp + 0x10]
push dword [esp + 0x78]
push dword [eax]
push ecx
push ebx
call sym.libcrypto_1_1.dll_EC_POINT_cmp
add esp, 0x10
test eax, eax
jne 0x100fea5b
mov esi, dword [ebp + 4]
push edi
mov dword [esp + 0x30], esi
call sym.libcrypto_1_1.dll_BN_num_bits
xor edx, edx
mov ecx, dword [ebp + 0xc]
div esi
mov esi, dword [ebp + 8]
dec ecx
add esp, 4
lea edx, [eax + 1]
mov eax, 1
shl eax, cl
mov dword [esp + 0x48], eax
mov eax, esi
imul eax, dword [esp + 0x48]
cmp dword [ebp + 0x14], eax
je 0x100fea54
push 0x1eb
push str.cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
xor ebp, ebp
jmp 0x100fed29
cmp edx, esi
cmovbe esi, edx
jmp 0x100fea6a
xor eax, eax
mov esi, 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x6c]
add eax, esi
push 0x1f9
push str.cryptoecec_mult.c
mov dword [esp + 0x28], eax
lea esi, [eax*4]
push esi
call sym.libcrypto_1_1.dll_CRYPTO_malloc
push 0x1fa
push str.cryptoecec_mult.c
push esi
mov dword [esp + 0x30], eax
call sym.libcrypto_1_1.dll_CRYPTO_malloc
push 0x1fc
lea ecx, [esi + 4]
mov dword [esp + 0x44], eax
push str.cryptoecec_mult.c
push ecx
call sym.libcrypto_1_1.dll_CRYPTO_malloc
push 0x1fd
mov ebp, eax
push str.cryptoecec_mult.c
push esi
mov dword [esp + 0x54], ebp
call sym.libcrypto_1_1.dll_CRYPTO_malloc
add esp, 0x30
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x100feae2
mov dword [ebp], 0
cmp dword [esp + 0x18], 0
je 0x100ff335
mov esi, dword [esp + 0x28]
test esi, esi
je 0x100ff335
test ebp, ebp
je 0x100ff335
test eax, eax
je 0x100ff335
mov eax, dword [esp + 0x34]
xor ebp, ebp
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x3c], 0
lea ecx, [eax + edx]
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x100fec25
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x74]
sub ecx, edi
mov dword [esp + 0x4c], ecx
sub eax, edi
mov ecx, esi
mov dword [esp + 0x74], eax
sub ecx, edi
mov dword [esp + 0x58], ecx
nop word [eax + eax]
mov esi, dword [esp + 0x68]
cmp ebp, edx
jae 0x100feb5d
mov eax, dword [eax + edi]
jmp 0x100feb5f
mov eax, esi
push eax
call sym.libcrypto_1_1.dll_BN_num_bits
add esp, 4
cmp eax, 0x7d0
jb 0x100feb76
mov ecx, 6
jmp 0x100feba6
cmp eax, 0x320
jb 0x100feb84
mov ecx, 5
jmp 0x100feba6
cmp eax, 0x12c
jb 0x100feb92
mov ecx, 4
jmp 0x100feba6
cmp eax, 0x46
jb 0x100feb9e
mov ecx, 3
jmp 0x100feba6
cmp eax, 0x14
sbb ecx, ecx
add ecx, 2
mov dword [edi], ecx
mov eax, 1
dec ecx
shl eax, cl
add dword [esp + 0x3c], eax
mov eax, dword [esp + 0x4c]
mov dword [eax + edi + 4], 0
cmp ebp, dword [esp + 0x6c]
jae 0x100febcf
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + edi]
jmp 0x100febd1
mov eax, esi
mov esi, dword [esp + 0x58]
add esi, edi
push esi
push dword [edi]
push eax
call fcn.10006d8e
mov ecx, dword [esp + 0x58]
add esp, 0xc
mov dword [ecx + edi], eax
test eax, eax
je 0x100fed25
mov eax, dword [esi]
cmp eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x6c]
cmovbe eax, dword [esp + 0x1c]
inc ebp
mov ecx, eax
add edi, 4
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1c], ecx
cmp ebp, dword [esp + 0x38]
jb 0x100feb50
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0x14], 0
je 0x100fef22
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x100fec61
cmp eax, 1
je 0x100fef22
push 0x222
push str.cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
jmp 0x100fed25
mov dword [esp + 0x30], 0
test eax, eax
je 0x100fec74
push 0x22b
jmp 0x100fec46
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0xc]
mov dword [ecx + edx*4], eax
lea ecx, [esp + 0x30]
push ecx
push eax
push edi
call fcn.10006d8e
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x34], ebp
test ebp, ebp
je 0x100fed25
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x1c]
ja 0x100fecd5
mov edx, dword [esp + 0x6c]
lea eax, [edx + 1]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov dword [eax + edx*4], ebp
mov dword [eax + edx*4 + 4], 0
mov eax, dword [esp + 0x28]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x10]
mov dword [ecx + edx*4], eax
jmp 0x100fef22
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x2c]
imul eax, edi
cmp ecx, eax
jae 0x100fee01
lea eax, [edi - 1]
xor edx, edx
add eax, ecx
div edi
cmp eax, dword [esi + 8]
jbe 0x100fedf5
push 0x256
push str.cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
push 0x257
push str.cryptoecec_mult.c
push ebp
call sym.libcrypto_1_1.dll_CRYPTO_free
add esp, 0x20
mov ebp, dword [esp + 0x10]
xor edi, edi
push dword [esp + 0x44]
call sym.libcrypto_1_1.dll_EC_POINT_free
push 0x30d
push str.cryptoecec_mult.c
push dword [esp + 0x24]
call sym.libcrypto_1_1.dll_CRYPTO_free
push 0x30e
push str.cryptoecec_mult.c
push dword [esp + 0x40]
call sym.libcrypto_1_1.dll_CRYPTO_free
mov ebx, dword [esp + 0x40]
add esp, 0x1c
test ebx, ebx
je 0x100feda0
mov eax, dword [ebx]
mov esi, ebx
test eax, eax
je 0x100fed8d
nop dword [eax]
push 0x313
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 0x100fed70
push 0x315
push str.cryptoecec_mult.c
push ebx
call sym.libcrypto_1_1.dll_CRYPTO_free
add esp, 0xc
test edi, edi
je 0x100fedd6
mov eax, dword [edi]
mov esi, edi
test eax, eax
je 0x100fedc3
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 0x100fedb0
push 0x31b
push str.cryptoecec_mult.c
push edi
call sym.libcrypto_1_1.dll_CRYPTO_free
add esp, 0xc
push 0x31d
push str.cryptoecec_mult.c
push ebp
call sym.libcrypto_1_1.dll_CRYPTO_free
mov eax, dword [esp + 0x60]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov edx, dword [esp + 0x6c]
add eax, edx
mov dword [esp + 0x20], eax
jmp 0x100fee09
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], ebp
mov edi, edx
mov ebp, dword [esi + 0x10]
cmp edx, eax
jae 0x100fef0c
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
lea esi, [ebx + edx*4]
mov edx, dword [esp + 0x24]
sub edx, ebx
sub eax, ebx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x60]
dec eax
cmp edi, eax
jae 0x100fee58
mov eax, dword [esp + 0x2c]
mov dword [esi], eax
cmp ecx, eax
jb 0x100feedd
sub ecx, eax
mov dword [esp + 0x30], ecx
jmp 0x100fee5a
mov dword [esi], ecx
push 0x272
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 0x100fef99
push dword [esi]
push dword [esp + 0x18]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi]
add esp, 0xc
cmp eax, dword [esp + 0x1c]
cmovbe eax, dword [esp + 0x1c]
cmp dword [ebp], 0
mov ecx, eax
mov dword [esp + 0x1c], ecx
je 0x100fef6e
mov eax, dword [esp + 0x58]
inc edi
mov dword [eax + esi], ebp
add esi, 4
mov eax, dword [esp + 0x48]
lea ebp, [ebp + eax*4]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x14], eax
cmp edi, dword [esp + 0x20]
jae 0x100fef08
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x4c]
jmp 0x100fee35
push 0x265
push str.cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
push 0x266
push str.cryptoecec_mult.c
push dword [esp + 0x50]
jmp 0x100fed1d
mov dword [esp + 0x1c], ecx
push 0x285
push str.cryptoecec_mult.c
push dword [esp + 0x3c]
call sym.libcrypto_1_1.dll_CRYPTO_free
add esp, 0xc
mov ebp, dword [esp + 0x3c]
push 0x28f
push str.cryptoecec_mult.c
lea eax, [ebp*4 + 4]
push eax
call sym.libcrypto_1_1.dll_CRYPTO_malloc
mov edi, eax
add esp, 0xc
mov dword [esp + 0x14], edi
test edi, edi
jne 0x100fefc4
push 0x291
push str.cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
mov ebp, dword [esp + 0x10]
jmp 0x100fed2b
push 0x27d
push str.cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
push 0x27e
push str.cryptoecec_mult.c
push dword [esp + 0x50]
jmp 0x100fed1d
push 0x274
push str.cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
push 0x275
push str.cryptoecec_mult.c
push dword [esp + 0x50]
jmp 0x100fed1d
lea eax, [edi + ebp*4]
mov esi, edi
xor edx, edx
mov dword [eax], 0
mov edi, dword [esp + 0x38]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
test edi, edi
je 0x100ff046
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
sub eax, ebp
mov dword [esp + 0x58], eax
nop
mov dword [eax + ebp], esi
xor edi, edi
mov ecx, dword [ebp]
mov eax, 1
dec ecx
shl eax, cl
test eax, eax
je 0x100ff02e
push ebx
call sym.libcrypto_1_1.dll_EC_POINT_new
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x100ff355
mov ecx, dword [ebp]
mov eax, 1
dec ecx
inc edi
shl eax, cl
add esi, 4
cmp edi, eax
jb 0x100ff004
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x38]
inc edx
mov eax, dword [esp + 0x58]
add ebp, 4
mov dword [esp + 0x4c], edx
cmp edx, edi
jb 0x100feff0
mov eax, dword [esp + 0x48]
cmp esi, eax
je 0x100ff072
push 0x2a2
push str.cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
jmp 0x100fed2b
push ebx
call sym.libcrypto_1_1.dll_EC_POINT_new
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
je 0x100ff355
xor ebp, ebp
test edi, edi
je 0x100ff172
mov ecx, dword [esp + 0x10]
mov edi, ecx
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x18]
sub eax, ecx
sub esi, ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x34], esi
nop dword [eax + eax]
cmp ebp, dword [esp + 0x6c]
jae 0x100ff0d6
push dword [edi + eax]
mov eax, dword [edi]
push dword [eax]
call sym.libcrypto_1_1.dll_EC_POINT_copy
add esp, 8
test eax, eax
jne 0x100ff0ee
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
jmp 0x100fed2b
mov eax, dword [edi]
push dword [esp + 0x50]
push dword [eax]
call sym.libcrypto_1_1.dll_EC_POINT_copy
add esp, 8
test eax, eax
je 0x100ff065
cmp dword [edi + esi], 1
jbe 0x100ff160
mov eax, dword [edi]
push dword [esp + 0x78]
push dword [eax]
push dword [esp + 0x4c]
push ebx
call sym.libcrypto_1_1.dll_EC_POINT_dbl
add esp, 0x10
test eax, eax
je 0x100ff065
mov ecx, dword [esp + 0x34]
mov esi, 1
mov eax, esi
mov ecx, dword [edi + ecx]
dec ecx
shl eax, cl
cmp eax, esi
jbe 0x100ff15c
push dword [esp + 0x78]
mov eax, dword [edi]
push dword [esp + 0x48]
push dword [eax + esi*4 - 4]
push dword [eax + esi*4]
push ebx
call sym.libcrypto_1_1.dll_EC_POINT_add
add esp, 0x14
test eax, eax
je 0x100ff065
mov eax, dword [esp + 0x34]
inc esi
mov ecx, dword [edi + eax]
mov eax, 1
dec ecx
shl eax, cl
cmp esi, eax
jb 0x100ff126
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x58]
inc ebp
add edi, 4
cmp ebp, dword [esp + 0x38]
jb 0x100ff0b0
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x14]
push esi
push edi
push dword [esp + 0x44]
push ebx
call sym.libcrypto_1_1.dll_EC_POINTs_make_affine
add esp, 0x10
test eax, eax
je 0x100fef65
mov ecx, dword [esp + 0x1c]
mov ebp, 1
mov edi, dword [esp + 0x64]
sub ecx, ebp
mov dword [esp + 0x1c], ecx
js 0x100ff30e
nop word [eax + eax]
test ebp, ebp
jne 0x100ff1cc
push esi
push edi
push edi
push ebx
call sym.libcrypto_1_1.dll_EC_POINT_dbl
add esp, 0x10
test eax, eax
je 0x100ff065
mov ecx, dword [esp + 0x1c]
xor edx, edx
mov dword [esp + 0x3c], edx
cmp dword [esp + 0x20], edx
jbe 0x100ff2d6
mov ebx, dword [esp + 0x24]
mov edi, ebx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
sub eax, edi
mov dword [esp + 0x48], edx
sub dword [esp + 0x48], edi
mov edi, dword [esp + 0x64]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x38], eax
cmp dword [eax + ebx], ecx
jbe 0x100ff2c0
mov eax, dword [ebx]
mov al, byte [ecx + eax]
movsx ecx, al
test al, al
je 0x100ff2b8
movzx eax, al
mov esi, ecx
shr eax, 7
neg esi
test eax, eax
cmove esi, ecx
mov ecx, dword [esp + 0x40]
cmp eax, ecx
je 0x100ff25c
test ebp, ebp
jne 0x100ff251
push dword [esp + 0x78]
push edi
push dword [esp + 0x68]
call sym.libcrypto_1_1.dll_EC_POINT_invert
add esp, 0xc
test eax, eax
je 0x100ff065
mov ecx, dword [esp + 0x40]
xor eax, eax
test ecx, ecx
sete al
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
sar esi, 1
mov eax, dword [eax + ebx]
mov eax, dword [eax + esi*4]
test ebp, ebp
je 0x100ff298
push eax
push edi
call sym.libcrypto_1_1.dll_EC_POINT_copy
add esp, 8
test eax, eax
je 0x100ff065
mov esi, dword [esp + 0x78]
push esi
push edi
push dword [esp + 0x68]
call fcn.10004359
add esp, 0xc
test eax, eax
je 0x100ff2fa
xor ebp, ebp
jmp 0x100ff2b4
mov esi, dword [esp + 0x78]
push esi
push eax
push edi
push edi
push dword [esp + 0x70]
call sym.libcrypto_1_1.dll_EC_POINT_add
add esp, 0x14
test eax, eax
je 0x100ff065
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
inc edx
add ebx, 4
mov dword [esp + 0x3c], edx
cmp edx, dword [esp + 0x20]
jb 0x100ff200
mov ebx, dword [esp + 0x60]
sub ecx, 1
mov dword [esp + 0x1c], ecx
jns 0x100ff1b0
test ebp, ebp
jne 0x100ff30e
cmp dword [esp + 0x40], ebp
je 0x100ff320
push esi
push edi
push ebx
call sym.libcrypto_1_1.dll_EC_POINT_invert
add esp, 0xc
jmp 0x100ff318
push 0x2f1
push str.cryptoecec_mult.c
push 0xa3
jmp 0x100ff056
push edi
push ebx
call sym.libcrypto_1_1.dll_EC_POINT_set_to_infinity
add esp, 8
test eax, eax
je 0x100ff065
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x54], 1
jmp 0x100fed2b
push 0x204
push str.cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
jmp 0x100fed25
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
jmp 0x100fed2b