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

Disassembly:
mov eax, 0x40
call fcn.100d6420
push ebx
push ebp
push esi
lea eax, [esp + 0x34]
push edi
xor ebx, ebx
push eax
mov dword [esp + 0x34], ebx
call sym.LIBEAY32.dll_EVP_MD_CTX_init
mov edi, dword [esp + 0x78]
push edi
call sym.LIBEAY32.dll_ENGINE_get_ctrl_function
push edi
mov esi, eax
call sym.LIBEAY32.dll_EVP_MD_size
mov ebp, eax
add esp, 0xc
cmp ebp, ebx
mov dword [esp + 0x34], ebp
jge 0x100ad567
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40
ret
push 0x8d
push str..cryptopkcs12p12_key.c
push esi
call sym.LIBEAY32.dll_CRYPTO_malloc
push 0x8e
push str..cryptopkcs12p12_key.c
push ebp
mov dword [esp + 0x44], eax
call sym.LIBEAY32.dll_CRYPTO_malloc
push 0x8f
lea ecx, [esi + 1]
push str..cryptopkcs12p12_key.c
push ecx
mov dword [esp + 0x3c], eax
call sym.LIBEAY32.dll_CRYPTO_malloc
mov edx, dword [esp + 0x84]
mov dword [esp + 0x38], eax
lea eax, [esi + edx - 1]
cdq
idiv esi
add esp, 0x24
mov edi, eax
mov eax, dword [esp + 0x58]
imul edi, esi
cmp eax, ebx
je 0x100ad5d4
lea eax, [esi + eax - 1]
cdq
idiv esi
imul eax, esi
mov dword [esp + 0x20], eax
jmp 0x100ad5da
mov dword [esp + 0x20], ebx
mov eax, ebx
push 0x96
add eax, edi
push str..cryptopkcs12p12_key.c
push eax
mov dword [esp + 0x34], eax
call sym.LIBEAY32.dll_CRYPTO_malloc
add esp, 0xc
mov dword [esp + 0x1c], eax
call sym.LIBEAY32.dll_BN_new
mov dword [esp + 0x10], eax
call sym.LIBEAY32.dll_BN_new
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
mov dword [esp + 0x24], eax
je 0x100ad6b5
cmp dword [esp + 0x18], ebx
je 0x100ad6b5
cmp dword [esp + 0x14], ebx
je 0x100ad6b5
cmp dword [esp + 0x1c], ebx
je 0x100ad6b5
cmp dword [esp + 0x10], ebx
je 0x100ad6b5
cmp eax, ebx
je 0x100ad6b5
cmp esi, ebx
jle 0x100ad650
mov eax, dword [esp + 0x64]
push esi
push eax
push ecx
call fcn.100d7a80
add esp, 0xc
test edi, edi
mov ecx, dword [esp + 0x1c]
jle 0x100ad673
mov eax, ebx
cdq
idiv dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
add ebx, 1
add ecx, 1
cmp ebx, edi
mov dl, byte [edx + eax]
mov byte [ecx - 1], dl
jl 0x100ad658
xor edi, edi
cmp dword [esp + 0x20], edi
jle 0x100ad69d
jmp 0x100ad680
mov eax, edi
cdq
idiv dword [esp + 0x58]
mov eax, dword [esp + 0x54]
add edi, 1
add ecx, 1
cmp edi, dword [esp + 0x20]
mov dl, byte [edx + eax]
mov byte [ecx - 1], dl
jl 0x100ad680
mov eax, dword [esp + 0x74]
push 0
push eax
lea ecx, [esp + 0x40]
push ecx
call sym.LIBEAY32.dll_EVP_DigestInit_ex
add esp, 0xc
test eax, eax
jne 0x100ad726
push 0xda
push str..cryptopkcs12p12_key.c
push 0x41
push 0x6f
push 0x23
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
mov eax, dword [esp + 0x18]
push eax
call sym.LIBEAY32.dll_CRYPTO_free
mov ecx, dword [esp + 0x18]
push ecx
call sym.LIBEAY32.dll_CRYPTO_free
mov edx, dword [esp + 0x34]
push edx
call sym.LIBEAY32.dll_CRYPTO_free
mov eax, dword [esp + 0x28]
push eax
call sym.LIBEAY32.dll_CRYPTO_free
mov ecx, dword [esp + 0x20]
push ecx
call sym.LIBEAY32.dll_BN_free
mov edx, dword [esp + 0x38]
push edx
call sym.LIBEAY32.dll_BN_free
lea eax, [esp + 0x50]
push eax
call sym.LIBEAY32.dll_EVP_MD_CTX_cleanup
mov eax, dword [esp + 0x4c]
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov ebp, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
push esi
push edx
lea eax, [esp + 0x40]
push eax
call sym.LIBEAY32.dll_EVP_DigestUpdate
add esp, 0xc
test eax, eax
je 0x100ad6b5
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea eax, [esp + 0x40]
push eax
call sym.LIBEAY32.dll_EVP_DigestUpdate
add esp, 0xc
test eax, eax
je 0x100ad6b5
mov ecx, dword [esp + 0x18]
push 0
push ecx
lea edx, [esp + 0x40]
push edx
call sym.LIBEAY32.dll_EVP_DigestFinal_ex
add esp, 0xc
test eax, eax
je 0x100ad6b5
mov ebx, dword [esp + 0x68]
mov edi, 1
cmp ebx, edi
jle 0x100ad7ea
lea esp, [esp]
mov eax, dword [esp + 0x74]
push 0
push eax
lea ecx, [esp + 0x40]
push ecx
call sym.LIBEAY32.dll_EVP_DigestInit_ex
add esp, 0xc
test eax, eax
je 0x100ad6b5
mov edx, dword [esp + 0x18]
push ebp
push edx
lea eax, [esp + 0x40]
push eax
call sym.LIBEAY32.dll_EVP_DigestUpdate
add esp, 0xc
test eax, eax
je 0x100ad6b5
mov ecx, dword [esp + 0x18]
push 0
push ecx
lea edx, [esp + 0x40]
push edx
call sym.LIBEAY32.dll_EVP_DigestFinal_ex
add esp, 0xc
test eax, eax
je 0x100ad6b5
add edi, 1
cmp edi, ebx
jl 0x100ad790
mov edi, dword [esp + 0x6c]
cmp edi, ebp
mov eax, edi
jl 0x100ad7f6
mov eax, ebp
mov ebx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x74]
push ebx
push eax
call fcn.100d73f0
add esp, 0xc
cmp ebp, edi
jge 0x100ad987
add dword [esp + 0x70], ebp
sub edi, ebp
xor ecx, ecx
test esi, esi
mov dword [esp + 0x6c], edi
jle 0x100ad838
mov eax, ecx
cdq
idiv ebp
mov eax, dword [esp + 0x14]
add ecx, 1
cmp ecx, esi
mov dl, byte [edx + ebx]
mov byte [ecx + eax - 1], dl
jl 0x100ad821
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
push ecx
push esi
push edx
call sym.LIBEAY32.dll_BN_bin2bn
add esp, 0xc
test eax, eax
je 0x100ad6b5
mov eax, dword [esp + 0x24]
push 1
push eax
call sym.LIBEAY32.dll_BN_add_word
add esp, 8
test eax, eax
je 0x100ad6b5
xor ebp, ebp
cmp dword [esp + 0x28], ebp
jle 0x100ad966
mov ebx, dword [esp + 0x1c]
lea ebx, [ebx]
mov ecx, dword [esp + 0x10]
push ecx
push esi
push ebx
call sym.LIBEAY32.dll_BN_bin2bn
add esp, 0xc
test eax, eax
je 0x100ad6b5
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
push edx
push eax
push eax
call sym.LIBEAY32.dll_BN_add
add esp, 0xc
test eax, eax
je 0x100ad6b5
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call sym.LIBEAY32.dll_BN_bn2bin
add esp, 8
test eax, eax
je 0x100ad6b5
mov edx, dword [esp + 0x10]
push edx
call sym.LIBEAY32.dll_BN_num_bits
add eax, 7
cdq
and edx, 7
add eax, edx
mov edi, eax
sar edi, 3
add esp, 4
cmp edi, esi
jle 0x100ad919
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call sym.LIBEAY32.dll_BN_bn2bin
add esp, 8
test eax, eax
je 0x100ad6b5
mov edx, dword [esp + 0x14]
push esi
add edx, 1
push edx
push ebx
call fcn.100d73f0
add esp, 0xc
jmp 0x100ad958
jge 0x100ad942
mov eax, esi
sub eax, edi
push eax
push 0
push ebx
call fcn.100d7a80
mov edx, dword [esp + 0x1c]
mov ecx, ebp
sub ecx, edi
add ecx, dword [esp + 0x28]
add ecx, esi
push ecx
push edx
call sym.LIBEAY32.dll_BN_bn2bin
add esp, 0x14
jmp 0x100ad950
mov eax, dword [esp + 0x10]
push ebx
push eax
call sym.LIBEAY32.dll_BN_bn2bin
add esp, 8
test eax, eax
je 0x100ad6b5
add ebp, esi
add ebx, esi
cmp ebp, dword [esp + 0x28]
jl 0x100ad880
mov ecx, dword [esp + 0x74]
push 0
push ecx
lea edx, [esp + 0x40]
push edx
call sym.LIBEAY32.dll_EVP_DigestInit_ex
add esp, 0xc
test eax, eax
jne 0x100ad722
jmp 0x100ad6b5
mov dword [esp + 0x30], 1
jmp 0x100ad6cd