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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0x4c], eax
xor eax, eax
mov ebx, dword [esp + 0x78]
mov esi, dword [esp + 0x70]
mov ebp, dword [esp + 0x74]
test ebx, ebx
jle 0x6b40df10
test ebp, ebp
je 0x6b40df10
mov edi, dword [ebp]
test edi, edi
je 0x6b40df10
cmp byte [edi + ebx - 1], 0
js 0x6b40df10
lea eax, [esp + 0x34]
mov dword [esp + 0x3c], 0
mov dword [esp], eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], 0
call sym.libcrypto_1_1.dll_OBJ_obj2nid
test eax, eax
je 0x6b40def7
mov dword [esp], eax
call sym.libcrypto_1_1.dll_OBJ_nid2obj
mov edi, eax
test esi, esi
je 0x6b40dec6
mov eax, dword [esi]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_ASN1_OBJECT_free
mov dword [esi], edi
add dword [ebp], ebx
mov eax, dword [esp + 0x4c]
xor eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b40e091
add esp, 0x5c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
cmp byte [edi + eax - 1], 0
jns 0x6b40df01
lea esi, [esi]
add eax, 1
cmp ebx, eax
jle 0x6b40df40
cmp byte [edi + eax], 0x80
jne 0x6b40def0
test eax, eax
jne 0x6b40dee3
mov dword [esp + 0x10], 0x11c
jmp 0x6b40df18
mov dword [esp + 0x10], 0xfe
mov dword [esp + 0xc], str.crypto_asn1_a_object.c
mov dword [esp + 8], 0xd8
mov dword [esp + 4], 0xc4
mov dword [esp], 0xd
call sym.libcrypto_1_1.dll_ERR_put_error
xor edi, edi
jmp 0x6b40dec9
test esi, esi
je 0x6b40df50
mov edi, dword [esi]
test edi, edi
je 0x6b40df50
test byte [edi + 0x14], 1
jne 0x6b40df7d
mov dword [esp + 8], 0x153
mov dword [esp + 4], str.crypto_asn1_a_object.c
mov dword [esp], 0x18
call sym.libcrypto_1_1.dll_CRYPTO_zalloc
mov edi, eax
test eax, eax
je 0x6b40e060
mov dword [edi + 0x14], 1
mov eax, dword [ebp]
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x10], 0
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x6b40df97
cmp dword [edi + 0xc], ebx
jge 0x6b40dfd8
mov dword [edi + 0xc], 0
mov dword [esp], ecx
mov dword [esp + 8], 0x133
mov dword [esp + 4], str.crypto_asn1_a_object.c
call sym.libcrypto_1_1.dll_CRYPTO_free
mov dword [esp + 8], 0x134
mov dword [esp + 4], str.crypto_asn1_a_object.c
mov dword [esp], ebx
call sym.libcrypto_1_1.dll_CRYPTO_malloc
mov ecx, eax
test eax, eax
je 0x6b40e019
or dword [edi + 0x14], 8
mov eax, dword [esp + 0x28]
mov dword [esp + 8], ebx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 0x2c], ecx
call sym._memcpy
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0xc], ebx
mov dword [edi], 0
add ebx, dword [esp + 0x28]
mov dword [edi + 0x10], ecx
mov dword [edi + 4], 0
test esi, esi
je 0x6b40e011
mov dword [esi], edi
mov dword [ebp], ebx
jmp 0x6b40dec9
mov dword [esp + 0x10], 0x149
mov dword [esp + 0xc], str.crypto_asn1_a_object.c
mov dword [esp + 8], 0x41
mov dword [esp + 4], 0xc4
mov dword [esp], 0xd
call sym.libcrypto_1_1.dll_ERR_put_error
test esi, esi
je 0x6b40e051
cmp dword [esi], edi
je 0x6b40df3c
mov dword [esp], edi
xor edi, edi
call sym.libcrypto_1_1.dll_ASN1_OBJECT_free
jmp 0x6b40dec9
mov dword [esp + 0x10], 0x155
mov dword [esp + 0xc], str.crypto_asn1_a_object.c
mov dword [esp + 8], 0x41
mov dword [esp + 4], 0x7b
mov dword [esp], 0xd
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b40dec9
call sym.___stack_chk_fail
lea esi, [esi]
lea esi, [esi]