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

Disassembly:
mov eax, 0x50
call fcn.10086e00
mov eax, dword [esp + 0x54]
push ebx
push ebp
push esi
test eax, eax
push edi
mov dword [esp + 0x18], 0
je 0x10055d4c
mov eax, dword [eax]
test eax, eax
je 0x10055d4c
mov edi, eax
mov dword [esp + 0x1c], edi
jmp 0x10055d65
call sym.LIBEAY32.dll_ASN1_STRING_new
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x10055d61
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
lea ecx, [esp + 0x24]
push esi
mov eax, dword [ebp]
lea edx, [esp + 0x24]
mov dword [esp + 0x18], eax
push ecx
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
call sym.LIBEAY32.dll_ASN1_get_object
add esp, 0x14
test al, al
jns 0x10055da2
mov dword [esp + 0x18], 0x66
jmp 0x10055fd0
mov ebx, dword [esp + 0x70]
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
je 0x10055dbb
mov dword [esp + 0x18], 0xa8
jmp 0x10055fd0
test al, 0x20
je 0x10055f83
mov ecx, dword [esp + 0x14]
mov edx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x74]
xor ebp, ebp
mov dword [esp + 0x34], ecx
cmp esi, ebp
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], eax
jne 0x10055df3
xor eax, eax
jmp 0x10055df6
lea eax, [ecx + esi]
cmp edi, ebp
mov dword [esp + 0x50], eax
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebp
jne 0x10055e1b
mov dword [esp + 0x3c], 0x43
jmp 0x10055f41
test dl, 1
je 0x10055e46
sub eax, ecx
lea ecx, [esp + 0x34]
push eax
push ecx
call sym.LIBEAY32.dll_ASN1_check_infinite_end
add esp, 8
mov dword [esp + 0x38], eax
test eax, eax
jne 0x10055eeb
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
jmp 0x10055e52
mov edx, dword [esp + 0x4c]
test edx, edx
jle 0x10055eeb
mov edx, dword [esp + 0x48]
sub eax, ecx
push edx
mov edx, dword [esp + 0x48]
push edx
push eax
mov dword [esp + 0x60], ecx
lea eax, [esp + 0x40]
lea ecx, [esp + 0x78]
push eax
push ecx
call sym.LIBEAY32.dll_d2i_ASN1_bytes
add esp, 0x14
test eax, eax
je 0x10055f2f
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x28]
mov eax, dword [edx]
add eax, ebp
push eax
push ecx
call sym.LIBEAY32.dll_BUF_MEM_grow_clean
add esp, 8
test eax, eax
je 0x10055f39
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x2c]
mov ecx, dword [eax]
mov esi, dword [eax + 8]
mov eax, ecx
lea edi, [edx + ebp]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
test dl, 1
jne 0x10055ed6
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x4c]
sub eax, ecx
add esi, eax
mov dword [esp + 0x4c], esi
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x1c]
mov esi, dword [eax]
mov eax, dword [esp + 0x50]
add ebp, esi
jmp 0x10055e1b
lea ecx, [esp + 0x34]
push ecx
call sym.LIBEAY32.dll_asn1_Finish
add esp, 4
test eax, eax
je 0x10055f41
mov eax, dword [edi + 8]
mov dword [edi], ebp
test eax, eax
je 0x10055f0e
push eax
call sym.LIBEAY32.dll_CRYPTO_free
add esp, 4
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x2c]
test eax, eax
mov dword [edi + 8], edx
je 0x10055f26
push eax
call sym.LIBEAY32.dll_ASN1_STRING_free
add esp, 4
mov eax, dword [esp + 0x34]
jmp 0x10056061
mov dword [esp + 0x3c], 0xd
jmp 0x10055f41
mov dword [esp + 0x3c], 7
mov eax, dword [esp + 0x3c]
push 0x133
push str..crypto_asn1_a_bytes.c
push eax
push 0x69
push 0xd
call sym.LIBEAY32.dll_ERR_put_error
mov eax, dword [esp + 0x80]
add esp, 0x14
test eax, eax
je 0x10055f70
push eax
call sym.LIBEAY32.dll_ASN1_STRING_free
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10055fd0
push eax
call sym.LIBEAY32.dll_CRYPTO_free
add esp, 4
jmp 0x10055fd0
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1005603f
cmp dword [edi], ecx
jl 0x10055f9a
mov ebp, dword [edi + 8]
test ebp, ebp
jne 0x10056015
mov eax, dword [edi + 8]
test eax, eax
je 0x10055fae
push eax
call sym.LIBEAY32.dll_CRYPTO_free
mov ecx, dword [esp + 0x14]
add esp, 4
push 0xd3
inc ecx
push str..crypto_asn1_a_bytes.c
push ecx
call sym.LIBEAY32.dll_CRYPTO_malloc
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x10056011
mov dword [esp + 0x18], 0x41
test edi, edi
je 0x10055fe9
mov eax, dword [esp + 0x64]
test eax, eax
je 0x10055fe0
cmp dword [eax], edi
je 0x10055fe9
push edi
call sym.LIBEAY32.dll_ASN1_STRING_free
add esp, 4
mov ecx, dword [esp + 0x18]
push 0xf1
push str..crypto_asn1_a_bytes.c
push ecx
push 0x8f
push 0xd
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
mov byte [eax + ebp], 0
mov ecx, dword [esp + 0x10]
add dword [esp + 0x14], ecx
jmp 0x10056055
mov eax, dword [edi + 8]
xor ebp, ebp
test eax, eax
je 0x10056055
push eax
call sym.LIBEAY32.dll_CRYPTO_free
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [edi], ecx
mov dword [edi + 8], ebp
mov dword [edi + 4], ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x1005606b
mov dword [ecx], edi
mov ecx, dword [esp + 0x68]
mov dword [ecx], eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret