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

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax]
cmp dword [ecx + 0x74], 0
jne 0x100db745
mov dword [esp + 4], eax
jmp 0x100de770
mov ecx, dword [ecx + 0x78]
test ecx, ecx
je 0x100db752
mov dword [esp + 4], eax
jmp ecx
mov eax, 1
ret
mov eax, 0x2c
call fcn.10228380
push ebx
mov ebx, dword [esp + 0x34]
push ebp
push esi
push edi
xor edi, edi
xor ebp, ebp
push ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
call fcn.100dcb90
add esp, 4
test ebx, ebx
je 0x100debe7
push 0x39
push str.cryptoecec_mult.c
push 0x1c
call sym.libcrypto_3.dll_CRYPTO_zalloc
mov esi, eax
add esp, 0xc
mov dword [esp + 0x40], esi
test esi, esi
je 0x100debe7
mov dword [esi], ebx
mov dword [esi + 4], 8
mov dword [esi + 0xc], 4
push ebx
mov dword [esi + 0x18], 1
call sym.libcrypto_3.dll_EC_GROUP_get0_generator
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
jne 0x100de81b
call sym.libcrypto_3.dll_ERR_new
push str.ossl_ec_wNAF_precompute_mult
push 0x348
push str.cryptoecec_mult.c
call sym.libcrypto_3.dll_ERR_set_debug
push edi
push 0x71
push 0x10
call sym.libcrypto_3.dll_ERR_set_error
add esp, 0x18
xor eax, eax
jmp 0x100deb27
mov ebp, dword [esp + 0x44]
test ebp, ebp
jne 0x100de836
call sym.libcrypto_3.dll_BN_CTX_new
mov dword [esp + 0x30], eax
mov ebp, eax
test eax, eax
je 0x100deb25
push ebp
call sym.libcrypto_3.dll_BN_CTX_start
push ebx
call sym.libcrypto_3.dll_EC_GROUP_get0_order
mov esi, eax
add esp, 8
test esi, esi
je 0x100deb0e
push esi
call sym.libcrypto_3.dll_BN_is_zero
add esp, 4
test eax, eax
je 0x100de888
call sym.libcrypto_3.dll_ERR_new
push str.ossl_ec_wNAF_precompute_mult
push 0x35a
push str.cryptoecec_mult.c
call sym.libcrypto_3.dll_ERR_set_debug
push 0
push 0x72
push 0x10
call sym.libcrypto_3.dll_ERR_set_error
add esp, 0x18
jmp 0x100deb0e
push esi
call sym.libcrypto_3.dll_BN_num_bits
add esp, 4
mov ecx, 4
mov dword [esp + 0x10], ecx
cmp eax, 0x7d0
jae 0x100de8af
cmp eax, 0x320
jb 0x100de8b8
mov ecx, 5
jmp 0x100de8b4
mov ecx, 6
mov dword [esp + 0x10], ecx
lea edx, [eax + 7]
dec ecx
mov eax, 1
shr edx, 3
shl eax, cl
mov dword [esp + 0x2c], eax
imul eax, edx
push 0x374
push str.cryptoecec_mult.c
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
lea eax, [eax*4 + 4]
push eax
call sym.libcrypto_3.dll_CRYPTO_malloc
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x100deb0e
mov ecx, dword [esp + 0x24]
mov esi, eax
mov dword [esp + 0x28], edi
mov dword [eax + ecx*4], edi
test ecx, ecx
je 0x100de937
nop dword [eax]
push ebx
call sym.libcrypto_3.dll_EC_POINT_new
mov ecx, dword [esp + 0x2c]
add esp, 4
mov edx, dword [esp + 0x14]
mov dword [edx + ecx*4], eax
test eax, eax
je 0x100deacd
inc ecx
mov dword [esp + 0x28], ecx
cmp ecx, dword [esp + 0x24]
jb 0x100de910
push ebx
call sym.libcrypto_3.dll_EC_POINT_new
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x100deaf9
push ebx
call sym.libcrypto_3.dll_EC_POINT_new
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
je 0x100deaf9
push dword [esp + 0x38]
push edi
call sym.libcrypto_3.dll_EC_POINT_copy
add esp, 8
test eax, eax
je 0x100deb0e
cmp dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
jbe 0x100dea4d
nop dword [eax + eax]
push ebp
push edi
push dword [esp + 0x24]
push ebx
call sym.libcrypto_3.dll_EC_POINT_dbl
add esp, 0x10
test eax, eax
je 0x100deb0e
push edi
push dword [esi]
call sym.libcrypto_3.dll_EC_POINT_copy
add esp, 8
add esi, 4
test eax, eax
je 0x100deb0e
mov edi, 1
cmp dword [esp + 0x2c], edi
jbe 0x100de9ed
push ebp
push dword [esi - 4]
push dword [esp + 0x24]
push dword [esi]
push ebx
call sym.libcrypto_3.dll_EC_POINT_add
add esp, 0x14
test eax, eax
je 0x100deb0a
inc edi
add esi, 4
cmp edi, dword [esp + 0x2c]
jb 0x100de9c8
mov eax, dword [esp + 0x20]
dec eax
cmp dword [esp + 0x28], eax
jae 0x100dea36
mov edi, dword [esp + 0x18]
push ebp
push dword [esp + 0x20]
push edi
push ebx
call sym.libcrypto_3.dll_EC_POINT_dbl
add esp, 0x10
test eax, eax
je 0x100deb0e
mov edi, 2
mov eax, dword [esp + 0x18]
push ebp
push eax
push eax
push ebx
call sym.libcrypto_3.dll_EC_POINT_dbl
add esp, 0x10
test eax, eax
je 0x100deb0a
inc edi
cmp edi, 8
jb 0x100dea18
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x20]
jb 0x100de990
mov eax, dword [ebx]
mov eax, dword [eax + 0x70]
test eax, eax
je 0x100deb0e
push ebp
push dword [esp + 0x18]
push dword [esp + 0x2c]
push ebx
call eax
mov esi, dword [esp + 0x50]
add esp, 0x10
test eax, eax
je 0x100deb12
mov eax, dword [esp + 0x20]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [esi], ebx
mov dword [esi + 4], 8
mov dword [esi + 0x14], eax
mov dword [ebx + 0x64], esi
xor esi, esi
push ebp
mov dword [esp + 0x18], 0
mov dword [ebx + 0x60], 6
mov dword [esp + 0x44], esi
mov dword [esp + 0x38], 1
call sym.libcrypto_3.dll_BN_CTX_end
mov ebp, dword [esp + 0x20]
add esp, 4
mov eax, dword [esp + 0x30]
jmp 0x100deb27
call sym.libcrypto_3.dll_ERR_new
push str.ossl_ec_wNAF_precompute_mult
push 0x37c
push str.cryptoecec_mult.c
call sym.libcrypto_3.dll_ERR_set_debug
push 0
push 0x80010
push 0x10
call sym.libcrypto_3.dll_ERR_set_error
add esp, 0x18
jmp 0x100deb0e
call sym.libcrypto_3.dll_ERR_new
push str.ossl_ec_wNAF_precompute_mult
push 0x383
jmp 0x100deadc
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x40]
push ebp
call sym.libcrypto_3.dll_BN_CTX_end
mov ebp, dword [esp + 0x20]
add esp, 4
mov eax, dword [esp + 0x30]
jmp 0x100deb27
xor ebp, ebp
push eax
call sym.libcrypto_3.dll_BN_CTX_free
add esp, 4
test esi, esi
je 0x100deb96
or ecx, 0xffffffff
lea eax, [esi + 0x18]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100deb96
mov esi, dword [esi + 0x10]
test esi, esi
je 0x100deb82
mov eax, dword [esi]
test eax, eax
je 0x100deb6c
push eax
call sym.libcrypto_3.dll_EC_POINT_free
mov eax, dword [esi + 4]
lea esi, [esi + 4]
add esp, 4
test eax, eax
jne 0x100deb50
mov ebx, dword [esp + 0x40]
mov esi, dword [ebx + 0x10]
jmp 0x100deb70
mov ebx, dword [esp + 0x40]
push 0x62
push str.cryptoecec_mult.c
push esi
call sym.libcrypto_3.dll_CRYPTO_free
add esp, 0xc
jmp 0x100deb86
mov ebx, dword [esp + 0x40]
push 0x65
push str.cryptoecec_mult.c
push ebx
call sym.libcrypto_3.dll_CRYPTO_free
add esp, 0xc
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x100debcc
mov eax, dword [ebx]
mov esi, ebx
test eax, eax
je 0x100debb9
push eax
call sym.libcrypto_3.dll_EC_POINT_free
mov eax, dword [esi + 4]
lea esi, [esi + 4]
add esp, 4
test eax, eax
jne 0x100deba6
push 0x3cb
push str.cryptoecec_mult.c
push ebx
call sym.libcrypto_3.dll_CRYPTO_free
add esp, 0xc
push ebp
call sym.libcrypto_3.dll_EC_POINT_free
push edi
call sym.libcrypto_3.dll_EC_POINT_free
mov eax, dword [esp + 0x3c]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret