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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x70]
mov ebp, dword [esp + 0x74]
mov esi, dword [esp + 0x78]
mov dword [esp + 0x28], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0x4c], eax
xor eax, eax
call sym.libcrypto_1_1.dll_EVP_ENCODE_CTX_new
mov ebx, eax
test eax, eax
je 0x6b538040
mov dword [esp], eax
call sym.libcrypto_1_1.dll_EVP_EncodeInit
mov dword [esp], ebp
call sym._strlen
mov dword [esp + 8], 0xb
mov dword [esp + 4], 0x6b610726
mov dword [esp], edi
mov dword [esp + 0x2c], eax
call sym.libcrypto_1_1.dll_BIO_write
cmp eax, 0xb
je 0x6b537ec0
mov edx, 7
xor esi, esi
mov dword [esp + 0x10], 0x292
xor edi, edi
mov dword [esp + 0xc], str.crypto_pem_pem_lib.c
mov dword [esp + 8], edx
mov dword [esp + 4], 0x72
mov dword [esp], 9
call sym.libcrypto_1_1.dll_ERR_put_error
mov dword [esp], ebx
call sym.libcrypto_1_1.dll_EVP_ENCODE_CTX_free
mov dword [esp + 0xc], 0x294
mov dword [esp + 8], str.crypto_pem_pem_lib.c
mov dword [esp + 4], 0x2000
mov dword [esp], esi
call sym.libcrypto_1_1.dll_CRYPTO_clear_free
mov eax, dword [esp + 0x4c]
xor eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b538135
add esp, 0x5c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], ebp
mov dword [esp], edi
mov dword [esp + 8], eax
call sym.libcrypto_1_1.dll_BIO_write
cmp eax, dword [esp + 0x2c]
jne 0x6b537e46
mov dword [esp + 8], 6
mov dword [esp + 4], 0x6b610732
mov dword [esp], edi
call sym.libcrypto_1_1.dll_BIO_write
cmp eax, 6
jne 0x6b537e46
mov dword [esp], esi
call sym._strlen
test eax, eax
je 0x6b537f50
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], edi
mov dword [esp + 0x30], eax
call sym.libcrypto_1_1.dll_BIO_write
mov edx, dword [esp + 0x30]
cmp eax, edx
jne 0x6b537e46
mov dword [esp + 8], 1
mov dword [esp + 4], 0x6b610739
mov dword [esp], edi
call sym.libcrypto_1_1.dll_BIO_write
cmp eax, 1
jne 0x6b537e46
lea esi, [esi]
mov dword [esp + 8], 0x276
mov dword [esp + 4], str.crypto_pem_pem_lib.c
mov dword [esp], 0x2000
call sym.libcrypto_1_1.dll_CRYPTO_malloc
mov esi, eax
test eax, eax
je 0x6b538040
mov edx, dword [esp + 0x80]
test edx, edx
jle 0x6b538120
xor edx, edx
xor ecx, ecx
lea eax, [esp + 0x48]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebp
mov edi, edx
mov ebp, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ebx
jmp 0x6b537fc2
sub dword [esp + 0x80], ebx
add ebp, eax
mov eax, dword [esp + 0x80]
add edi, ebx
test eax, eax
jle 0x6b53804c
mov eax, dword [esp + 0x28]
mov ebx, 0x1400
mov dword [esp + 4], esi
cmp dword [esp + 0x80], 0x1400
cmovle ebx, dword [esp + 0x80]
add eax, edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_EVP_EncodeUpdate
test eax, eax
je 0x6b53802e
mov eax, dword [esp + 0x48]
test eax, eax
je 0x6b537fa8
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], esi
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BIO_write
mov ecx, eax
mov eax, dword [esp + 0x48]
cmp ecx, eax
je 0x6b537fa8
mov ebx, dword [esp + 0x30]
mov edx, 7
jmp 0x6b537e4d
mov edx, 0x41
xor esi, esi
jmp 0x6b537e4d
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym.libcrypto_1_1.dll_EVP_EncodeFinal
mov eax, dword [esp + 0x48]
test eax, eax
jle 0x6b538098
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], edi
call sym.libcrypto_1_1.dll_BIO_write
cmp eax, dword [esp + 0x48]
je 0x6b538098
mov edx, 7
jmp 0x6b537e4d
mov dword [esp + 8], 9
mov dword [esp + 4], 0x6b61073b
mov dword [esp], edi
call sym.libcrypto_1_1.dll_BIO_write
mov edx, 7
cmp eax, 9
jne 0x6b537e4d
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], ebp
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 0x30], edx
call sym.libcrypto_1_1.dll_BIO_write
cmp eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
jne 0x6b537e4d
mov dword [esp + 8], 6
mov dword [esp + 4], 0x6b610732
mov dword [esp], edi
mov dword [esp + 0x2c], edx
call sym.libcrypto_1_1.dll_BIO_write
mov edx, dword [esp + 0x2c]
cmp eax, 6
jne 0x6b537e4d
mov edi, dword [esp + 0x28]
add edi, dword [esp + 0x48]
jne 0x6b537e77
jmp 0x6b537e4d
lea eax, [esp + 0x48]
mov dword [esp + 0x28], 0
mov dword [esp + 0x34], eax
jmp 0x6b53805c
call sym.___stack_chk_fail
lea esi, [esi]