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

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax]
cmp dword [ecx + 0x78], 0
jne 0x10047545
mov dword [esp + 4], eax
jmp 0x1004b530
mov ecx, dword [ecx + 0x7c]
test ecx, ecx
je 0x10047552
mov dword [esp + 4], eax
jmp ecx
mov eax, 1
ret
mov eax, 0x2c
call fcn.100bf140
push ebx
mov ebx, dword [esp + 0x34]
push esi
push edi
push 0x1004a990
push fcn.1004aa20
lea eax, [ebx + 0x44]
mov dword [esp + 0x20], 0
xor esi, esi
xor edi, edi
push 0x1004aa00
push eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x40], esi
call fcn.10046c30
push ebx
call fcn.1004aa80
add esp, 0x14
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x1004b589
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
push ebp
push ebx
call sym.LIBEAY32.dll_ASN1_STRING_type
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
jne 0x1004b5bc
push 0x2f9
push str..cryptoecec_mult.c
push 0x71
push 0xbc
push 0x10
call sym.LIBEAY32.dll_ERR_put_error
mov ebp, dword [esp + 0x58]
add esp, 0x14
jmp 0x1004b61d
mov ebp, dword [esp + 0x44]
test ebp, ebp
jne 0x1004b5d7
call sym.LIBEAY32.dll_BN_CTX_new
mov dword [esp + 0x30], eax
mov ebp, eax
test eax, eax
je 0x1004b91e
push ebp
call sym.LIBEAY32.dll_BN_CTX_start
push ebp
call sym.LIBEAY32.dll_BN_CTX_get
mov esi, eax
add esp, 8
test esi, esi
je 0x1004b61b
push ebp
push esi
push ebx
call sym.LIBEAY32.dll_EC_GROUP_get_order
add esp, 0xc
test eax, eax
je 0x1004b61b
cmp dword [esi + 4], edi
jne 0x1004b648
push 0x30b
push str..cryptoecec_mult.c
push 0x72
push 0xbc
push 0x10
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
xor esi, esi
mov ebx, dword [esp + 0x40]
test ebp, ebp
je 0x1004b62e
push ebp
call sym.LIBEAY32.dll_BN_CTX_end
add esp, 4
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1004b922
push eax
call sym.LIBEAY32.dll_BN_CTX_free
add esp, 4
jmp 0x1004b922
push esi
call sym.LIBEAY32.dll_BN_num_bits
mov ecx, eax
add esp, 4
mov esi, 4
mov dword [esp + 0x14], esi
cmp ecx, 0x7d0
jae 0x1004b6b2
cmp ecx, 0x320
jae 0x1004b68d
cmp ecx, 0x12c
jae 0x1004b6bb
cmp ecx, 0x46
jae 0x1004b6bb
cmp ecx, 0x14
sbb eax, eax
add eax, 2
cmp eax, esi
jbe 0x1004b6bb
cmp ecx, 0x320
jb 0x1004b694
mov esi, 5
jmp 0x1004b6b7
cmp ecx, 0x12c
jae 0x1004b6b7
cmp ecx, 0x46
jb 0x1004b6a8
mov esi, 3
jmp 0x1004b6b7
cmp ecx, 0x14
sbb esi, esi
add esi, 2
jmp 0x1004b6b7
mov esi, 6
mov dword [esp + 0x14], esi
lea edx, [ecx + 7]
mov eax, 1
lea ecx, [esi - 1]
shr edx, 3
shl eax, cl
mov dword [esp + 0x2c], eax
imul eax, edx
push 0x325
push str..cryptoecec_mult.c
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
lea eax, [eax*4 + 4]
push eax
call sym.LIBEAY32.dll_CRYPTO_malloc
mov esi, eax
add esp, 0xc
mov dword [esp + 0x10], esi
test esi, esi
jne 0x1004b71e
push 0x327
push str..cryptoecec_mult.c
push 0x41
push 0xbc
push 0x10
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
jmp 0x1004b61d
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], edi
mov dword [eax + ecx*4], edi
test ecx, ecx
je 0x1004b758
push ebx
call sym.LIBEAY32.dll_EC_POINT_new
mov ecx, dword [esp + 0x2c]
add esp, 4
mov edx, dword [esp + 0x10]
mov dword [edx + ecx*4], eax
test eax, eax
je 0x1004b8e6
inc ecx
mov dword [esp + 0x28], ecx
cmp ecx, dword [esp + 0x24]
jb 0x1004b731
push ebx
call sym.LIBEAY32.dll_EC_POINT_new
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1004b90a
push ebx
call sym.LIBEAY32.dll_EC_POINT_new
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
je 0x1004b90a
push dword [esp + 0x38]
push edi
call sym.LIBEAY32.dll_EC_POINT_copy
add esp, 8
test eax, eax
je 0x1004b901
cmp dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
jbe 0x1004b86d
lea esp, [esp]
push ebp
push edi
push dword [esp + 0x24]
push ebx
call sym.LIBEAY32.dll_EC_POINT_dbl
add esp, 0x10
test eax, eax
je 0x1004b901
push edi
push dword [esi]
call sym.LIBEAY32.dll_EC_POINT_copy
add esp, 8
add esi, 4
test eax, eax
je 0x1004b901
mov edi, 1
cmp dword [esp + 0x2c], edi
jbe 0x1004b80d
push ebp
push dword [esi - 4]
push dword [esp + 0x24]
push dword [esi]
push ebx
call sym.LIBEAY32.dll_EC_POINT_add
add esp, 0x14
test eax, eax
je 0x1004b911
inc edi
add esi, 4
cmp edi, dword [esp + 0x2c]
jb 0x1004b7e8
mov eax, dword [esp + 0x20]
dec eax
cmp dword [esp + 0x28], eax
jae 0x1004b856
mov edi, dword [esp + 0x18]
push ebp
push dword [esp + 0x20]
push edi
push ebx
call sym.LIBEAY32.dll_EC_POINT_dbl
add esp, 0x10
test eax, eax
je 0x1004b901
mov edi, 2
mov eax, dword [esp + 0x18]
push ebp
push eax
push eax
push ebx
call sym.LIBEAY32.dll_EC_POINT_dbl
add esp, 0x10
test eax, eax
je 0x1004b911
inc edi
cmp edi, 8
jb 0x1004b838
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x20]
jb 0x1004b7b0
mov esi, dword [esp + 0x10]
push ebp
push esi
push dword [esp + 0x2c]
push ebx
call sym.LIBEAY32.dll_EC_POINTs_make_affine
add esp, 0x10
test eax, eax
je 0x1004b61d
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
push 0x1004a990
push fcn.1004aa20
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x2c]
push 0x1004aa00
mov dword [eax + 0x10], esi
xor esi, esi
push eax
mov dword [eax], ebx
mov dword [eax + 4], 8
mov dword [eax + 0x14], ecx
lea eax, [ebx + 0x44]
push eax
mov dword [esp + 0x24], esi
call fcn.10046cd0
add esp, 0x14
test eax, eax
je 0x1004b61d
xor ebx, ebx
mov dword [esp + 0x34], 1
jmp 0x1004b621
push 0x32f
push str..cryptoecec_mult.c
push 0x41
push 0xbc
push 0x10
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
mov esi, dword [esp + 0x10]
jmp 0x1004b61d
push 0x335
jmp 0x1004b8eb
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
jmp 0x1004b61d
mov ebx, dword [esp + 0x40]
pop ebp
test ebx, ebx
je 0x1004b930
push ebx
call fcn.1004aa20
add esp, 4
test esi, esi
je 0x1004b95c
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x1004b953
mov edi, edi
push eax
call sym.LIBEAY32.dll_EC_POINT_free
mov eax, dword [esi + 4]
lea esi, [esi + 4]
add esp, 4
test eax, eax
jne 0x1004b940
push ebx
call sym.LIBEAY32.dll_CRYPTO_free
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1004b96d
push eax
call sym.LIBEAY32.dll_EC_POINT_free
add esp, 4
test edi, edi
je 0x1004b97a
push edi
call sym.LIBEAY32.dll_EC_POINT_free
add esp, 4
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebx
add esp, 0x2c
ret