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

Disassembly:
jmp 0x100db190
mov eax, 0x4c
call fcn.101704b0
xor eax, eax
mov dword [esp + 0x44], 0
push ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], eax
mov edx, dword [ebx]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x58]
push ebp
push esi
xor esi, esi
mov dword [esp + 0x4c], 0
xor ebp, ebp
mov dword [esp + 0x3c], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x44], ebp
cmp edx, dword [eax]
je 0x100db21d
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 esi
pop ebp
pop ebx
add esp, 0x4c
ret
push edi
mov edi, dword [esp + 0x68]
test edi, edi
jne 0x100db23e
cmp dword [esp + 0x6c], esi
jne 0x100db23e
push eax
push ebx
call sym.libcrypto_1_1.dll_EC_POINT_set_to_infinity
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
xor ecx, ecx
cmp dword [esp + 0x6c], ecx
jbe 0x100db258
mov eax, dword [esp + 0x70]
mov eax, dword [eax + ecx*4]
cmp edx, dword [eax]
jne 0x100db29f
inc ecx
cmp ecx, dword [esp + 0x6c]
jb 0x100db246
cmp dword [esp + 0x78], esi
jne 0x100db273
call sym.libcrypto_1_1.dll_BN_CTX_new
mov dword [esp + 0x54], eax
mov dword [esp + 0x78], eax
test eax, eax
je 0x100dbae2
test edi, edi
je 0x100db34f
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 0x100db2c4
push 0xb7
push str.cryptoecec_mult.c
push 0x71
jmp 0x100dbad3
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 edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov ebp, dword [ebx + 0x60]
mov dword [esp + 0x2c], ebp
test ebp, ebp
je 0x100db336
cmp dword [ebp + 8], esi
je 0x100db336
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 0x100db336
mov ebx, dword [ebp + 4]
push edi
mov dword [esp + 0x14], ebx
call sym.libcrypto_1_1.dll_BN_num_bits
xor edx, edx
mov ecx, dword [ebp + 0xc]
div ebx
mov edx, dword [ebp + 8]
add esp, 4
lea esi, [eax + 1]
mov eax, 1
cmp esi, edx
cmova esi, edx
dec ecx
shl eax, cl
imul edx, eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x4c], eax
cmp dword [ebp + 0x14], edx
je 0x100db34d
push 0xd3
push str.cryptoecec_mult.c
push 0x44
jmp 0x100dbad3
mov esi, 1
xor eax, eax
mov ebp, esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x48], ebp
jmp 0x100db34f
xor ebp, ebp
mov eax, dword [esp + 0x6c]
add eax, esi
push 0xe1
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 0xe2
push str.cryptoecec_mult.c
push esi
mov dword [esp + 0x2c], eax
call sym.libcrypto_1_1.dll_CRYPTO_malloc
push 0xe3
lea ecx, [esi + 4]
mov dword [esp + 0x34], eax
push str.cryptoecec_mult.c
push ecx
call sym.libcrypto_1_1.dll_CRYPTO_malloc
push 0xe5
push str.cryptoecec_mult.c
push esi
mov dword [esp + 0x58], eax
call sym.libcrypto_1_1.dll_CRYPTO_malloc
mov edx, dword [esp + 0x58]
add esp, 0x30
mov dword [esp + 0x1c], eax
test edx, edx
je 0x100db3c4
mov dword [edx], 0
cmp dword [esp + 0x14], 0
je 0x100dbac7
mov esi, dword [esp + 0x18]
test esi, esi
je 0x100dbac7
test edx, edx
je 0x100dbac7
test eax, eax
je 0x100dbac7
mov ecx, dword [esp + 0x6c]
xor ebx, ebx
mov dword [esp + 0x38], 0
lea eax, [ecx + ebp]
mov dword [esp + 0x34], eax
test eax, eax
je 0x100db4ee
mov edi, dword [esp + 0x14]
mov eax, edx
mov ebp, dword [esp + 0x74]
sub eax, edi
mov dword [esp + 0x44], eax
sub ebp, edi
mov eax, esi
sub eax, edi
mov dword [esp + 0x58], eax
cmp ebx, ecx
jae 0x100db434
push dword [edi + ebp]
call sym.libcrypto_1_1.dll_BN_num_bits
mov esi, dword [esp + 0x6c]
jmp 0x100db43e
mov esi, dword [esp + 0x68]
push esi
call sym.libcrypto_1_1.dll_BN_num_bits
add esp, 4
cmp eax, 0x7d0
jb 0x100db44f
mov ecx, 6
jmp 0x100db47f
cmp eax, 0x320
jb 0x100db45d
mov ecx, 5
jmp 0x100db47f
cmp eax, 0x12c
jb 0x100db46b
mov ecx, 4
jmp 0x100db47f
cmp eax, 0x46
jb 0x100db477
mov ecx, 3
jmp 0x100db47f
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 + 0x44]
mov dword [eax + edi + 4], 0
cmp ebx, dword [esp + 0x6c]
jae 0x100db4a4
mov eax, dword [edi + ebp]
jmp 0x100db4a6
mov eax, esi
mov esi, dword [esp + 0x58]
add esi, edi
push esi
push dword [edi]
push eax
call fcn.1000536c
mov ecx, dword [esp + 0x50]
add esp, 0xc
mov dword [ecx + edi], eax
test eax, eax
je 0x100dbae2
mov ecx, dword [esp + 0x24]
cmp dword [esi], ecx
cmova ecx, dword [esi]
inc ebx
add edi, 4
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x6c]
cmp ebx, dword [esp + 0x34]
jb 0x100db422
mov edi, dword [esp + 0x68]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x100db764
mov ebx, dword [esp + 0x2c]
test ebx, ebx
jne 0x100db51c
cmp ebp, 1
je 0x100db764
push 0x10a
push str.cryptoecec_mult.c
push 0x44
jmp 0x100dbad3
mov dword [esp + 0x2c], 0
test ebp, ebp
je 0x100db539
push 0x113
push str.cryptoecec_mult.c
push 0x44
jmp 0x100dbad3
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0xc]
mov dword [edx + ecx*4], eax
lea ecx, [esp + 0x2c]
push ecx
push eax
push edi
call fcn.1000536c
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x100dbae2
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x24]
ja 0x100db596
mov esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x18]
lea eax, [esi + 1]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
mov dword [eax + esi*4], ebp
mov dword [eax + esi*4 + 4], 0
mov dword [edx + esi*4], ecx
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x10]
mov dword [ecx + esi*4], eax
jmp 0x100db764
mov edi, dword [esp + 0x10]
imul esi, edi
cmp ecx, esi
jae 0x100db5eb
lea eax, [edi - 1]
xor edx, edx
add eax, ecx
div edi
cmp eax, dword [ebx + 8]
jbe 0x100db5df
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 ebp
call sym.libcrypto_1_1.dll_CRYPTO_free
add esp, 0x20
jmp 0x100dbae2
mov esi, dword [esp + 0x6c]
add eax, esi
mov dword [esp + 0x20], eax
jmp 0x100db5f3
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x20]
mov ebx, dword [ebx + 0x10]
mov edi, esi
mov dword [esp + 0x30], ebp
cmp esi, eax
jae 0x100db751
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea esi, [edx + esi*4]
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x18]
sub eax, dword [esp + 0x18]
mov dword [esp + 0x48], edx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x48]
dec eax
cmp edi, eax
jae 0x100db646
mov eax, dword [esp + 0x10]
mov dword [esi], eax
cmp ecx, eax
jb 0x100db6c1
sub ecx, eax
mov dword [esp + 0x2c], ecx
jmp 0x100db648
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 + 0x54]
add esp, 0xc
mov dword [ecx + esi], eax
test eax, eax
je 0x100db721
push dword [esi]
push dword [esp + 0x34]
push eax
call sub.MSVCR120.dll_memcpy
mov ecx, dword [esp + 0x30]
add esp, 0xc
cmp dword [esi], ecx
cmova ecx, dword [esi]
cmp dword [ebx], 0
mov dword [esp + 0x24], ecx
je 0x100db6f1
mov eax, dword [esp + 0x58]
inc edi
mov dword [eax + esi], ebx
add esi, 4
mov eax, dword [esp + 0x4c]
lea ebx, [ebx + eax*4]
mov eax, dword [esp + 0x10]
add dword [esp + 0x30], eax
cmp edi, dword [esp + 0x20]
jae 0x100db751
mov ecx, dword [esp + 0x2c]
jmp 0x100db623
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 ebp
call sym.libcrypto_1_1.dll_CRYPTO_free
add esp, 0x20
jmp 0x100dbae2
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 ebp
call sym.libcrypto_1_1.dll_CRYPTO_free
add esp, 0x20
jmp 0x100dbae2
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 ebp
call sym.libcrypto_1_1.dll_CRYPTO_free
add esp, 0x20
jmp 0x100dbae2
push 0x16d
push str.cryptoecec_mult.c
push ebp
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 edi, eax
add esp, 0xc
mov dword [esp + 0x10], edi
test edi, edi
jne 0x100db7ac
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
jmp 0x100dbae4
lea eax, [edi + ebx*4]
mov esi, edi
xor ebp, ebp
mov dword [eax], 0
mov edi, dword [esp + 0x34]
mov dword [esp + 0x4c], eax
test edi, edi
je 0x100db81e
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
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 0x100db80a
push dword [esp + 0x60]
call sym.libcrypto_1_1.dll_EC_POINT_new
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x100db83d
mov ecx, dword [ebx]
mov eax, 1
dec ecx
inc edi
shl eax, cl
add esi, 4
cmp edi, eax
jb 0x100db7e6
mov edi, dword [esp + 0x34]
inc ebp
mov eax, dword [esp + 0x58]
add ebx, 4
cmp ebp, edi
jb 0x100db7d3
mov eax, dword [esp + 0x4c]
cmp esi, eax
je 0x100db846
push 0x18a
push str.cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
mov edi, dword [esp + 0x10]
jmp 0x100dbae4
mov ebp, dword [esp + 0x60]
push ebp
call sym.libcrypto_1_1.dll_EC_POINT_new
add esp, 4
mov dword [esp + 0x40], eax
test eax, eax
je 0x100db83d
xor ebx, ebx
test edi, edi
je 0x100db92c
mov ecx, dword [esp + 0x1c]
mov edi, ecx
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x14]
sub eax, ecx
sub esi, ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x30], esi
nop
cmp ebx, dword [esp + 0x6c]
jae 0x100db88b
push dword [eax + edi]
jmp 0x100db88f
push dword [esp + 0x50]
mov eax, dword [edi]
push dword [eax]
call sym.libcrypto_1_1.dll_EC_POINT_copy
add esp, 8
test eax, eax
je 0x100db83d
cmp dword [esi + edi], 1
jbe 0x100db91a
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 0x100db83d
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 0x100db916
jmp 0x100db8e0
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 0x100db83d
mov eax, dword [esp + 0x30]
inc esi
mov ecx, dword [eax + edi]
mov eax, 1
dec ecx
shl eax, cl
cmp esi, eax
jb 0x100db8e0
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x70]
inc ebx
add edi, 4
cmp ebx, dword [esp + 0x34]
jb 0x100db880
mov edi, dword [esp + 0x78]
mov eax, dword [esp + 0x10]
push edi
push eax
push dword [esp + 0x40]
push ebp
call sym.libcrypto_1_1.dll_EC_POINTs_make_affine
add esp, 0x10
test eax, eax
je 0x100db83d
mov ecx, dword [esp + 0x24]
mov ebx, 1
dec ecx
mov dword [esp + 0x38], ecx
js 0x100dbaa7
jmp 0x100db965
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
test ebx, ebx
jne 0x100db985
push edi
push esi
push esi
push ebp
call sym.libcrypto_1_1.dll_EC_POINT_dbl
add esp, 0x10
test eax, eax
je 0x100db83d
mov ecx, dword [esp + 0x38]
xor ebp, ebp
cmp dword [esp + 0x20], ebp
jbe 0x100dba7e
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
sub edx, eax
mov edi, dword [esp + 0x1c]
sub eax, edi
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], eax
lea esp, [esp]
add eax, edi
cmp dword [eax + edx], ecx
jbe 0x100dba68
mov eax, dword [eax]
movsx esi, byte [eax + ecx]
test esi, esi
je 0x100dba64
xor eax, eax
test esi, esi
sets al
test eax, eax
je 0x100db9d6
neg esi
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
je 0x100dba0d
test ebx, ebx
jne 0x100dba02
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 0x100db83d
mov ecx, dword [esp + 0x3c]
xor eax, eax
test ecx, ecx
sete al
mov dword [esp + 0x3c], eax
mov eax, dword [edi]
sar esi, 1
test ebx, ebx
je 0x100dba39
push dword [eax + esi*4]
mov esi, dword [esp + 0x68]
push esi
call sym.libcrypto_1_1.dll_EC_POINT_copy
add esp, 8
test eax, eax
je 0x100db83d
mov ecx, dword [esp + 0x38]
xor ebx, ebx
mov edx, dword [esp + 0x50]
jmp 0x100dba68
push dword [esp + 0x78]
push dword [eax + esi*4]
mov esi, dword [esp + 0x6c]
push esi
push esi
push dword [esp + 0x70]
call sym.libcrypto_1_1.dll_EC_POINT_add
add esp, 0x14
test eax, eax
je 0x100db83d
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x50]
jmp 0x100dba68
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x58]
inc ebp
add edi, 4
cmp ebp, dword [esp + 0x20]
jb 0x100db9b0
mov edi, dword [esp + 0x78]
dec ecx
mov dword [esp + 0x38], ecx
jns 0x100db961
test ebx, ebx
jne 0x100dbaa3
cmp dword [esp + 0x3c], ebx
je 0x100dbabc
push edi
push esi
push dword [esp + 0x68]
call sym.libcrypto_1_1.dll_EC_POINT_invert
add esp, 0xc
jmp 0x100dbab4
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 0x100db83d
mov edi, dword [esp + 0x10]
mov ebp, 1
jmp 0x100dbae6
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
xor edi, edi
xor ebp, ebp
push dword [esp + 0x54]
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 + 0x24]
call sym.libcrypto_1_1.dll_CRYPTO_free
push 0x1e9
push str.cryptoecec_mult.c
push dword [esp + 0x34]
call sym.libcrypto_1_1.dll_CRYPTO_free
mov ebx, dword [esp + 0x48]
add esp, 0x20
test ebx, ebx
je 0x100dbb61
mov eax, dword [ebx]
mov esi, ebx
test eax, eax
je 0x100dbb4e
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 0x100dbb31
push 0x1f0
push str.cryptoecec_mult.c
push ebx
call sym.libcrypto_1_1.dll_CRYPTO_free
add esp, 0xc
test edi, edi
je 0x100dbb96
mov eax, dword [edi]
mov esi, edi
test eax, eax
je 0x100dbb83
lea ecx, [ecx]
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 0x100dbb70
push 0x1f6
push str.cryptoecec_mult.c
push edi
call sym.libcrypto_1_1.dll_CRYPTO_free
add esp, 0xc
push 0x1f8
push str.cryptoecec_mult.c
push dword [esp + 0x24]
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