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

Disassembly:
mov eax, 0x34
call fcn.100b1990
push ebx
push ebp
push esi
lea eax, [esp + 0x30]
push edi
push eax
call sym.LIBEAY32_smt.dll_EVP_MD_CTX_init
mov esi, dword [esp + 0x6c]
push esi
call sym.LIBEAY32_smt.dll_ENGINE_get_load_pubkey_function
push esi
mov ebp, eax
call sym.LIBEAY32_smt.dll_RSA_get_method
push 0x84
mov esi, eax
push str..cryptopkcs12p12_key.c
push ebp
mov dword [esp + 0x38], esi
call sym.LIBEAY32_smt.dll_CRYPTO_malloc
push 0x85
push str..cryptopkcs12p12_key.c
push esi
mov dword [esp + 0x4c], eax
call sym.LIBEAY32_smt.dll_CRYPTO_malloc
push 0x86
lea ecx, [ebp + 1]
mov esi, eax
push str..cryptopkcs12p12_key.c
push ecx
mov dword [esp + 0x44], esi
call sym.LIBEAY32_smt.dll_CRYPTO_malloc
mov edx, dword [esp + 0x84]
mov dword [esp + 0x48], eax
add esp, 0x30
lea eax, [edx + ebp - 1]
cdq
idiv ebp
mov edi, eax
mov eax, dword [esp + 0x4c]
imul edi, ebp
test eax, eax
mov dword [esp + 0x30], edi
je 0x100980c3
lea eax, [eax + ebp - 1]
cdq
idiv ebp
imul eax, ebp
mov dword [esp + 0x1c], eax
jmp 0x100980cf
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x1c]
add eax, edi
push 0x8b
push str..cryptopkcs12p12_key.c
push eax
mov dword [esp + 0x30], eax
call sym.LIBEAY32_smt.dll_CRYPTO_malloc
add esp, 0xc
mov dword [esp + 0x10], eax
call sym.LIBEAY32_smt.dll_BN_new
mov ebx, eax
call sym.LIBEAY32_smt.dll_BN_new
mov edx, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
test edx, edx
je 0x100983f2
test esi, esi
je 0x100983f2
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x100983f2
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x100983f2
test ebx, ebx
je 0x100983f2
test eax, eax
je 0x100983f2
test ebp, ebp
jle 0x10098166
mov al, byte [esp + 0x58]
mov edi, edx
mov dl, al
mov ecx, ebp
mov dh, dl
mov esi, ecx
mov eax, edx
shl eax, 0x10
mov ax, dx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov esi, dword [esp + 0x14]
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
xor eax, eax
test edi, edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x30], eax
jle 0x1009819d
cdq
idiv dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
inc ecx
mov dword [esp + 0x58], ecx
mov dl, byte [edx + eax]
mov eax, dword [esp + 0x30]
mov byte [ecx - 1], dl
inc eax
cmp eax, edi
mov dword [esp + 0x30], eax
jl 0x10098178
mov eax, dword [esp + 0x1c]
xor edi, edi
test eax, eax
jle 0x100981c8
mov eax, edi
cdq
idiv dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
inc ecx
inc edi
mov dl, byte [edx + eax]
mov eax, dword [esp + 0x1c]
mov byte [ecx - 1], dl
cmp edi, eax
jl 0x100981a7
jmp 0x100981c8
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x68]
push 0
lea eax, [esp + 0x38]
push edi
push eax
call sym.LIBEAY32_smt.dll_EVP_DigestInit_ex
mov ecx, dword [esp + 0x34]
push ebp
lea edx, [esp + 0x44]
push ecx
push edx
call sym.LIBEAY32_smt.dll_EVP_DigestUpdate
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
push eax
lea edx, [esp + 0x50]
push ecx
push edx
call sym.LIBEAY32_smt.dll_EVP_DigestUpdate
push 0
lea eax, [esp + 0x5c]
push esi
push eax
call sym.LIBEAY32_smt.dll_EVP_DigestFinal_ex
mov eax, dword [esp + 0x8c]
add esp, 0x30
cmp eax, 1
jle 0x10098256
dec eax
mov dword [esp + 0x54], eax
push 0
lea ecx, [esp + 0x38]
push edi
push ecx
call sym.LIBEAY32_smt.dll_EVP_DigestInit_ex
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x40]
push edx
push esi
push eax
call sym.LIBEAY32_smt.dll_EVP_DigestUpdate
push 0
lea ecx, [esp + 0x50]
push esi
push ecx
call sym.LIBEAY32_smt.dll_EVP_DigestFinal_ex
mov eax, dword [esp + 0x78]
add esp, 0x24
dec eax
mov dword [esp + 0x54], eax
jne 0x1009821e
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jge 0x10098264
mov ecx, eax
mov edi, dword [esp + 0x64]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x20]
cmp esi, eax
jge 0x100983a0
mov ecx, dword [esp + 0x64]
sub eax, esi
add ecx, esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
xor ecx, ecx
test ebp, ebp
jle 0x100982b1
mov eax, ecx
cdq
idiv esi
mov eax, dword [esp + 0x14]
inc ecx
cmp ecx, ebp
mov dl, byte [edx + eax]
mov eax, dword [esp + 0x18]
mov byte [ecx + eax - 1], dl
jl 0x10098298
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
push esi
push ebp
push ecx
call sym.LIBEAY32_smt.dll_BN_bin2bn
push 1
push esi
call sym.LIBEAY32_smt.dll_BN_add_word
mov eax, dword [esp + 0x38]
add esp, 0x14
test eax, eax
mov dword [esp + 0x54], 0
jle 0x100981c4
mov edi, dword [esp + 0x10]
mov dword [esp + 0x4c], edi
push ebx
push ebp
push edi
call sym.LIBEAY32_smt.dll_BN_bin2bn
mov edx, dword [esp + 0x38]
push edx
push ebx
push ebx
call sym.LIBEAY32_smt.dll_BN_add
mov esi, dword [esp + 0x30]
push esi
push ebx
call sym.LIBEAY32_smt.dll_BN_bn2bin
push ebx
call sym.LIBEAY32_smt.dll_BN_num_bits
add eax, 7
add esp, 0x24
cdq
and edx, 7
add edx, eax
sar edx, 3
cmp edx, ebp
jle 0x10098341
push esi
push ebx
call sym.LIBEAY32_smt.dll_BN_bn2bin
mov ecx, ebp
add esp, 8
mov eax, ecx
inc esi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x4c]
jmp 0x1009837f
jge 0x10098375
mov ecx, ebp
xor eax, eax
sub ecx, edx
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x10]
sub ecx, edx
add ecx, edi
add ecx, ebp
push ecx
push ebx
call sym.LIBEAY32_smt.dll_BN_bn2bin
mov edi, dword [esp + 0x54]
add esp, 8
jmp 0x1009837f
push edi
push ebx
call sym.LIBEAY32_smt.dll_BN_bn2bin
add esp, 8
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x24]
add eax, ebp
add edi, ebp
cmp eax, ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], edi
jl 0x100982e8
jmp 0x100981c4
mov edx, dword [esp + 0x14]
push edx
call sym.LIBEAY32_smt.dll_CRYPTO_free
mov eax, dword [esp + 0x1c]
push eax
call sym.LIBEAY32_smt.dll_CRYPTO_free
mov ecx, dword [esp + 0x30]
push ecx
call sym.LIBEAY32_smt.dll_CRYPTO_free
mov edx, dword [esp + 0x1c]
push edx
call sym.LIBEAY32_smt.dll_CRYPTO_free
push ebx
call sym.LIBEAY32_smt.dll_BN_free
mov eax, dword [esp + 0x40]
push eax
call sym.LIBEAY32_smt.dll_BN_free
lea ecx, [esp + 0x4c]
push ecx
call sym.LIBEAY32_smt.dll_EVP_MD_CTX_cleanup
add esp, 0x1c
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
push 0x8f
push str..cryptopkcs12p12_key.c
push 0x41
push 0x6f
push 0x23
call sym.LIBEAY32_smt.dll_ERR_put_error
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret