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

Disassembly:
mov eax, 0x5c
call fcn.100a1060
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
push ebp
mov ebp, dword [esp + 0x64]
mov eax, dword [ebp]
push esi
push edi
xor edi, edi
xor esi, esi
cmp eax, edx
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x60], edi
je 0x1003dd76
push 0x174
push str..cryptoecec_mult.c
push 0x65
push 0xbb
push 0x10
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x5c
ret
cmp dword [esp + 0x74], edi
push ebx
mov ebx, dword [esp + 0x7c]
jne 0x1003dd97
cmp ebx, edi
jne 0x1003dd97
push ecx
push ebp
call sym.LIBEAY32.dll_EC_POINT_set_to_infinity
add esp, 8
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x5c
ret
mov edx, dword [esp + 0x80]
xor ecx, ecx
cmp ebx, edi
jbe 0x1003ddb5
mov ebp, dword [edx + ecx*4]
cmp eax, dword [ebp]
jne 0x1003de04
inc ecx
cmp ecx, ebx
jb 0x1003dda4
mov ebp, dword [esp + 0x70]
cmp dword [esp + 0x88], edi
jne 0x1003ddd6
call sym.LIBEAY32.dll_BN_CTX_new
cmp eax, edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x88], eax
je 0x1003e720
cmp dword [esp + 0x78], edi
je 0x1003dede
push ebp
call sym.LIBEAY32.dll_ASN1_STRING_type
mov esi, eax
add esp, 4
cmp esi, edi
mov dword [esp + 0x58], esi
jne 0x1003de29
push 0x192
push str..cryptoecec_mult.c
push 0x71
jmp 0x1003e664
push 0x181
push str..cryptoecec_mult.c
push 0x65
push 0xbb
push 0x10
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x5c
ret
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x44]
push 0x1003da70
push fcn.1003da10
push 0x1003d9f0
push ecx
call fcn.100395c0
mov ebp, eax
add esp, 0x10
cmp ebp, edi
mov dword [esp + 0x40], ebp
je 0x1003decd
cmp dword [ebp + 8], edi
je 0x1003decd
mov edx, dword [esp + 0x88]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x74]
push ecx
push esi
push edx
call sym.LIBEAY32.dll_EC_POINT_cmp
add esp, 0x10
test eax, eax
jne 0x1003decd
mov eax, dword [esp + 0x78]
mov esi, dword [ebp + 4]
push eax
mov dword [esp + 0x48], esi
call sym.LIBEAY32.dll_BN_num_bits
xor edx, edx
div esi
add esp, 4
mov esi, eax
mov eax, dword [ebp + 8]
inc esi
cmp esi, eax
mov dword [esp + 0x2c], esi
jbe 0x1003dea3
mov esi, eax
mov dword [esp + 0x2c], esi
mov ecx, dword [ebp + 0xc]
dec ecx
mov edx, 1
shl edx, cl
mov ecx, dword [ebp + 0x14]
imul eax, edx
cmp ecx, eax
mov dword [esp + 0x54], edx
je 0x1003dede
push 0x1ab
push str..cryptoecec_mult.c
push 0x44
jmp 0x1003e664
mov esi, 1
mov dword [esp + 0x40], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x3c], esi
lea eax, [esi + ebx]
push 0x1ba
lea esi, [eax*4]
push str..cryptoecec_mult.c
push esi
mov dword [esp + 0x20], eax
call sym.LIBEAY32.dll_CRYPTO_malloc
push 0x1bb
mov ebp, eax
push str..cryptoecec_mult.c
push esi
mov dword [esp + 0x50], ebp
call sym.LIBEAY32.dll_CRYPTO_malloc
push 0x1bc
lea ecx, [esi + 4]
push str..cryptoecec_mult.c
push ecx
mov dword [esp + 0x3c], eax
call sym.LIBEAY32.dll_CRYPTO_malloc
push 0x1bd
push str..cryptoecec_mult.c
push esi
mov dword [esp + 0x4c], eax
call sym.LIBEAY32.dll_CRYPTO_malloc
add esp, 0x30
cmp ebp, edi
mov dword [esp + 0x20], eax
je 0x1003e658
cmp dword [esp + 0x18], edi
je 0x1003e658
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
je 0x1003e658
cmp eax, edi
je 0x1003e658
mov edx, dword [esp + 0x3c]
lea eax, [edx + ebx]
cmp eax, edi
mov dword [ecx], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x30], eax
jbe 0x1003e087
mov ecx, dword [esp + 0x84]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
sub ecx, ebp
sub edi, ebp
sub eax, ebp
mov esi, ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0x68], eax
jmp 0x1003dfb4
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x10], ebx
mov ebp, dword [esp + 0x78]
jae 0x1003dfc4
mov eax, dword [ecx + esi]
push eax
jmp 0x1003dfc5
push ebp
call sym.LIBEAY32.dll_BN_num_bits
add esp, 4
cmp eax, 0x7d0
jb 0x1003dfdb
mov eax, 6
jmp 0x1003e00b
cmp eax, 0x320
jb 0x1003dfe9
mov eax, 5
jmp 0x1003e00b
cmp eax, 0x12c
jb 0x1003dff7
mov eax, 4
jmp 0x1003e00b
cmp eax, 0x46
jb 0x1003e003
mov eax, 3
jmp 0x1003e00b
cmp eax, 0x14
sbb eax, eax
add eax, 2
lea ecx, [eax - 1]
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x34]
mov dword [esi], eax
mov eax, dword [esp + 0x10]
add ecx, edx
cmp eax, ebx
mov dword [esp + 0x34], ecx
mov dword [edi + esi + 4], 0
jae 0x1003e03a
mov eax, dword [esp + 0x24]
mov eax, dword [eax + esi]
jmp 0x1003e03c
mov eax, ebp
mov ecx, dword [esp + 0x68]
mov edi, dword [esi]
lea ebp, [ecx + esi]
push ebp
push eax
call fcn.1003daf0
mov edx, dword [esp + 0x58]
add esp, 8
test eax, eax
mov dword [edx + esi], eax
je 0x1003e673
mov ebp, dword [ebp]
cmp ebp, dword [esp + 0x28]
jbe 0x1003e06b
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
inc eax
add esi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x1003dfac
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1003e269
mov esi, dword [esp + 0x40]
test esi, esi
mov eax, dword [esp + 0x3c]
jne 0x1003e0b9
cmp eax, 1
je 0x1003e269
push 0x1e1
push str..cryptoecec_mult.c
push 0x44
jmp 0x1003e664
test eax, eax
mov dword [esp + 0x24], 0
je 0x1003e0d6
push 0x1ed
push str..cryptoecec_mult.c
push 0x44
jmp 0x1003e664
mov ecx, dword [esp + 0x78]
mov edi, dword [esi + 0xc]
lea eax, [esp + 0x24]
push eax
push ecx
mov dword [ebp + ebx*4], edi
call fcn.1003daf0
mov ecx, eax
add esp, 8
test ecx, ecx
mov dword [esp + 0x3c], ecx
je 0x1003e673
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x28]
ja 0x1003e133
lea edx, [ebx + 1]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x1c]
mov dword [edx + ebx*4], ecx
mov ecx, dword [esp + 0x18]
mov dword [edx + ebx*4 + 4], 0
mov dword [ecx + ebx*4], eax
mov edx, dword [esi + 0x10]
mov eax, dword [esp + 0x20]
mov dword [eax + ebx*4], edx
jmp 0x1003e269
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
imul edx, edi
cmp eax, edx
jae 0x1003e166
xor edx, edx
lea eax, [eax + edi - 1]
div edi
cmp eax, dword [esi + 8]
jbe 0x1003e160
push 0x215
push str..cryptoecec_mult.c
push 0x44
jmp 0x1003e664
add eax, ebx
mov dword [esp + 0x14], eax
cmp ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
mov ebp, dword [edx + 0x10]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x10], ebx
jae 0x1003e25c
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x7c]
lea ebx, [eax + ecx*4]
mov ecx, dword [esp + 0x1c]
sub ecx, eax
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x20]
sub ecx, eax
mov dword [esp + 0x40], ecx
mov edi, edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
dec eax
cmp ecx, eax
jae 0x1003e1c7
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
mov dword [ebx], eax
jb 0x1003e299
sub ecx, eax
mov dword [esp + 0x24], ecx
jmp 0x1003e1cd
mov edx, dword [esp + 0x24]
mov dword [ebx], edx
mov esi, dword [esp + 0x68]
push 0x231
mov dword [esi + ebx + 4], 0
mov eax, dword [ebx]
push str..cryptoecec_mult.c
push eax
call sym.LIBEAY32.dll_CRYPTO_malloc
add esp, 0xc
test eax, eax
mov dword [esi + ebx], eax
je 0x1003e2aa
mov ecx, dword [ebx]
mov edx, dword [esp + 0x50]
mov edi, eax
mov eax, ecx
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx]
cmp eax, dword [esp + 0x28]
jbe 0x1003e21d
mov dword [esp + 0x28], eax
cmp dword [ebp], 0
je 0x1003e2d4
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x44]
mov dword [ecx + ebx], ebp
mov ecx, dword [esp + 0x14]
lea ebp, [ebp + eax*4]
mov eax, dword [esp + 0x10]
add edx, edi
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x10], eax
jb 0x1003e1a0
mov ecx, dword [esp + 0x3c]
push ecx
call sym.LIBEAY32.dll_CRYPTO_free
mov ebp, dword [esp + 0x3c]
add esp, 4
mov eax, dword [esp + 0x34]
push 0x24e
lea ecx, [eax*4 + 4]
push str..cryptoecec_mult.c
push ecx
call sym.LIBEAY32.dll_CRYPTO_malloc
add esp, 0xc
test eax, eax
mov dword [esp + 0x4c], eax
jne 0x1003e2fe
push 0x251
jmp 0x1003e65d
push 0x226
push str..cryptoecec_mult.c
push 0x44
jmp 0x1003e664
push 0x234
push str..cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call sym.LIBEAY32.dll_ERR_put_error
mov ecx, dword [esp + 0x50]
push ecx
call sym.LIBEAY32.dll_CRYPTO_free
add esp, 0x18
jmp 0x1003e673
push 0x23e
push str..cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call sym.LIBEAY32.dll_ERR_put_error
mov edx, dword [esp + 0x50]
push edx
call sym.LIBEAY32.dll_CRYPTO_free
add esp, 0x18
jmp 0x1003e673
mov edx, dword [esp + 0x34]
lea ecx, [eax + edx*4]
mov esi, eax
mov eax, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0x54], ecx
mov dword [ecx], 0
mov dword [esp + 0x10], 0
jbe 0x1003e387
mov eax, dword [esp + 0x20]
sub eax, ebp
mov edi, ebp
mov dword [esp + 0x68], eax
jmp 0x1003e333
mov eax, dword [esp + 0x68]
mov dword [eax + edi], esi
mov ecx, dword [edi]
xor ebx, ebx
dec ecx
mov eax, 1
shl eax, cl
test eax, eax
jbe 0x1003e36f
mov ecx, dword [esp + 0x70]
push ecx
call sym.LIBEAY32.dll_EC_POINT_new
add esp, 4
test eax, eax
mov dword [esi], eax
je 0x1003e673
mov ecx, dword [edi]
add esi, 4
inc ebx
dec ecx
mov edx, 1
shl edx, cl
cmp ebx, edx
jb 0x1003e346
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x1003e32f
mov ecx, dword [esp + 0x54]
cmp esi, ecx
je 0x1003e39c
push 0x264
push str..cryptoecec_mult.c
push 0x44
jmp 0x1003e664
mov eax, dword [esp + 0x70]
push eax
call sym.LIBEAY32.dll_EC_POINT_new
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x60], ebp
je 0x1003e673
mov eax, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0x10], 0
jbe 0x1003e4a6
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x80]
mov ebx, dword [esp + 0x38]
sub eax, esi
mov dword [esp + 0x68], eax
sub ebx, esi
jmp 0x1003e3f0
mov eax, dword [esp + 0x68]
jmp 0x1003e3f0
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 0x7c]
jae 0x1003e3ff
mov edx, dword [eax + esi]
jmp 0x1003e403
mov edx, dword [esp + 0x58]
mov eax, dword [esi]
mov ecx, dword [eax]
push edx
push ecx
call sym.LIBEAY32.dll_EC_POINT_copy
add esp, 8
test eax, eax
je 0x1003e673
cmp dword [ebx + esi], 1
jbe 0x1003e48e
mov edx, dword [esp + 0x88]
mov eax, dword [esi]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x74]
push ecx
push ebp
push edx
call sym.LIBEAY32.dll_EC_POINT_dbl
add esp, 0x10
test eax, eax
je 0x1003e673
mov ecx, dword [ebx + esi]
mov edi, 1
dec ecx
mov eax, edi
shl eax, cl
cmp eax, edi
jbe 0x1003e48e
mov ecx, dword [esi]
mov edx, dword [esp + 0x88]
push edx
mov edx, dword [ecx + edi*4]
lea eax, [ecx + edi*4]
mov ecx, dword [eax - 4]
mov eax, dword [esp + 0x74]
push ebp
push ecx
push edx
push eax
call sym.LIBEAY32.dll_EC_POINT_add
add esp, 0x14
test eax, eax
je 0x1003e673
mov ecx, dword [ebx + esi]
inc edi
dec ecx
mov edx, 1
shl edx, cl
cmp edi, edx
jb 0x1003e453
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
inc eax
add esi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x1003e3e4
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
push eax
call sym.LIBEAY32.dll_EC_POINTs_make_affine
add esp, 0x10
test eax, eax
je 0x1003e673
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x74]
dec eax
mov dword [esp + 0x34], 1
mov dword [esp + 0x44], eax
js 0x1003e61c
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x1003e50f
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x70]
push ecx
push ebx
push ebx
push edx
call sym.LIBEAY32.dll_EC_POINT_dbl
add esp, 0x10
test eax, eax
je 0x1003e673
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x10], 0
jbe 0x1003e60a
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
sub ebp, eax
sub eax, edi
mov dword [esp + 0x74], eax
jmp 0x1003e540
mov eax, dword [esp + 0x74]
lea ecx, [ecx]
mov ecx, dword [esp + 0x44]
add eax, edi
cmp dword [eax + ebp], ecx
jbe 0x1003e5f2
mov edx, dword [eax]
mov eax, ecx
movsx esi, byte [edx + eax]
test esi, esi
je 0x1003e5f2
xor eax, eax
test esi, esi
setl al
test eax, eax
je 0x1003e56c
neg esi
cmp eax, dword [esp + 0x48]
je 0x1003e5a7
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x1003e598
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x70]
push ecx
push ebx
push edx
call sym.LIBEAY32.dll_EC_POINT_invert
add esp, 0xc
test eax, eax
je 0x1003e673
mov ecx, dword [esp + 0x48]
xor eax, eax
test ecx, ecx
sete al
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [edi]
sar esi, 1
test eax, eax
mov edx, dword [ecx + esi*4]
je 0x1003e5d2
push edx
push ebx
call sym.LIBEAY32.dll_EC_POINT_copy
add esp, 8
test eax, eax
je 0x1003e673
mov dword [esp + 0x34], 0
jmp 0x1003e5f2
mov eax, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x74]
push edx
push ebx
push ebx
push eax
call sym.LIBEAY32.dll_EC_POINT_add
add esp, 0x14
test eax, eax
je 0x1003e673
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x1003e539
dec dword [esp + 0x44]
jns 0x1003e4e8
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1003e62c
mov ecx, dword [esp + 0x70]
push ebx
push ecx
call sym.LIBEAY32.dll_EC_POINT_set_to_infinity
add esp, 8
jmp 0x1003e64a
mov eax, dword [esp + 0x48]
test eax, eax
je 0x1003e64e
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x70]
push edx
push ebx
push eax
call sym.LIBEAY32.dll_EC_POINT_invert
add esp, 0xc
test eax, eax
je 0x1003e673
mov dword [esp + 0x64], 1
jmp 0x1003e673
push 0x1c1
push str..cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x1003e684
push eax
call sym.LIBEAY32.dll_BN_CTX_free
add esp, 4
mov eax, dword [esp + 0x60]
test eax, eax
je 0x1003e695
push eax
call sym.LIBEAY32.dll_EC_POINT_free
add esp, 4
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1003e6a6
push eax
call sym.LIBEAY32.dll_CRYPTO_free
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1003e6b7
push eax
call sym.LIBEAY32.dll_CRYPTO_free
add esp, 4
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x1003e6e3
mov eax, dword [edi]
test eax, eax
mov esi, edi
je 0x1003e6da
push eax
call sym.LIBEAY32.dll_CRYPTO_free
mov eax, dword [esi + 4]
add esi, 4
add esp, 4
test eax, eax
jne 0x1003e6c7
push edi
call sym.LIBEAY32.dll_CRYPTO_free
add esp, 4
mov edi, dword [esp + 0x4c]
test edi, edi
je 0x1003e70f
mov eax, dword [edi]
test eax, eax
mov esi, edi
je 0x1003e706
push eax
call sym.LIBEAY32.dll_EC_POINT_clear_free
mov eax, dword [esi + 4]
add esi, 4
add esp, 4
test eax, eax
jne 0x1003e6f3
push edi
call sym.LIBEAY32.dll_CRYPTO_free
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1003e720
push eax
call sym.LIBEAY32.dll_CRYPTO_free
add esp, 4
mov eax, dword [esp + 0x64]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x5c
ret