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

Disassembly:
push ebp
mov ebp, eax
push edi
push esi
push ebx
sub esp, 0x6c
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x30], edx
mov dword [esp + 0x4c], ecx
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x2c], eax
mov esi, dword [ebx + 0x10]
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 0x54], 0
test ebp, ebp
je case.0x6b4204d6.3
mov dword [esp + 0x28], 0
test esi, esi
je 0x6b4204b7
mov eax, dword [esi + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x94]
add eax, 1
mov dword [esp + 0x34], eax
cmp eax, 0x1e
jg 0x6b420970
cmp byte [ebx], 6
ja case.0x6b4204d6.3
movzx eax, byte [ebx]
jmp dword [eax*4 + 0x6b5cb8fc]
xor eax, eax
mov ecx, dword [esp + 0x5c]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b420fb7
add esp, 0x6c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x84], 0xffffffff
mov eax, dword [eax]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
jne 0x6b420532
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0x10
mov eax, dword [esp + 0x2c]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x1c], eax
mov eax, edi
movsx edi, al
mov eax, dword [esp + 0x88]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x3c], eax
mov dword [esp + 8], eax
lea eax, [esp + 0x53]
mov dword [esp + 4], eax
lea eax, [esp + 0x52]
mov dword [esp], eax
lea eax, [esp + 0x4c]
call sym._asn1_check_tlen
test eax, eax
je 0x6b420cf8
cmp eax, 0xffffffff
je 0x6b420f6a
test esi, esi
je 0x6b4205a8
test byte [esi + 4], 4
jne 0x6b420a88
movzx eax, byte [esp + 0x52]
mov byte [esp + 0x4b], al
cmp byte [esp + 0x53], 0
je 0x6b420d90
mov esi, dword [ebp]
test esi, esi
je 0x6b420dc8
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x6b4205f4
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 8], ebx
mov dword [esp + 4], ebp
mov dword [esp], 4
call eax
test eax, eax
je 0x6b4209c0
mov eax, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
xor esi, esi
test eax, eax
jg 0x6b420961
mov dword [esp + 0x38], 0
cmp byte [esp + 0x52], 0
je 0x6b420bf0
cmp dword [esp + 0x4c], 1
jle 0x6b420631
mov eax, dword [esp + 0x54]
cmp byte [eax], 0
jne 0x6b420631
cmp byte [eax + 1], 0
je 0x6b420f74
mov dword [esp + 0x10], 0x17d
mov dword [esp + 0xc], str.crypto_asn1_tasn_dec.c
mov dword [esp + 8], 0x89
mov dword [esp + 4], 0x78
mov dword [esp], 0xd
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b42099c
mov eax, dword [esp + 0x28]
test eax, eax
je 0x6b420695
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 8], ebx
mov dword [esp + 4], ebp
mov dword [esp], 4
call eax
test eax, eax
je 0x6b4209c0
mov eax, dword [ebp]
test eax, eax
je 0x6b420cc0
mov dword [esp + 4], ebx
mov dword [esp], ebp
call sym._asn1_get_choice_selector
mov edx, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
test eax, eax
js 0x6b4206f8
cmp edx, eax
jle 0x6b4206f8
lea eax, [eax + eax*4]
mov dword [esp], ebp
lea esi, [esi + eax*4]
mov dword [esp + 4], esi
call sym._asn1_get_field_ptr
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._asn1_template_free
mov dword [esp + 8], ebx
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebp
call sym._asn1_set_choice_selector
mov edx, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
lea esi, [esi]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x38], 0
mov eax, dword [eax]
mov dword [esp + 0x54], eax
test edx, edx
jle 0x6b42076c
lea eax, [esp + 0x54]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 4], esi
mov dword [esp], ebp
call sym._asn1_get_field_ptr
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x3c]
mov dword [esp], esi
mov edi, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov eax, edi
call sym._asn1_template_ex_d2i
cmp eax, 0xffffffff
je 0x6b420d70
mov ecx, edi
mov edi, dword [esp + 0x40]
test eax, eax
jle 0x6b420e50
mov edx, dword [ebx + 0xc]
cmp dword [esp + 0x38], edx
jne 0x6b420a30
mov eax, edi
test al, al
jne 0x6b420f5e
mov dword [esp + 0x10], 0x109
mov dword [esp + 0xc], str.crypto_asn1_tasn_dec.c
mov dword [esp + 8], 0x8f
mov dword [esp + 4], 0x78
mov dword [esp], 0xd
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b42099c
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x51]
lea edx, [esp + 0x58]
mov eax, dword [eax]
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], 0
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp], 0
call sym._asn1_check_tlen
test eax, eax
je 0x6b420d30
cmp byte [esp + 0x51], 0
jne 0x6b4209f0
mov eax, dword [esp + 0x58]
cmp eax, 0x1e
ja 0x6b420c80
mov edx, dword [ebx + 4]
test dword [eax*4 + 0x6b5cb9a0], edx
je 0x6b420c80
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, ebp
mov dword [esp], ebx
call sym._asn1_d2i_ex_primitive
jmp 0x6b4204e2
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
mov dword [esp], ebp
mov dword [esp + 0x1c], eax
mov eax, edi
movsx edi, al
mov eax, dword [esp + 0x88]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call dword [esi + 0x10]
jmp 0x6b4204e2
mov eax, dword [ebx + 8]
test eax, eax
je 0x6b420d40
cmp dword [esp + 0x84], 0xffffffff
jne 0x6b420ab0
mov ecx, edi
test cl, cl
jne 0x6b420ab0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov dword [esp], eax
mov eax, ebp
mov dword [esp + 4], 0
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x4c]
call sym._asn1_template_ex_d2i
jmp 0x6b4204e2
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], ebp
call sym._asn1_do_adb
test eax, eax
je 0x6b420950
mov dword [esp + 4], eax
mov dword [esp], ebp
mov dword [esp + 0x38], eax
call sym._asn1_get_field_ptr
mov edx, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._asn1_template_free
mov eax, dword [ebx + 0xc]
add esi, 1
add edi, 0x14
cmp esi, eax
jge 0x6b420ae8
test dword [edi], 0x300
je 0x6b420953
jmp 0x6b420918
mov dword [esp + 0x10], 0xa0
mov dword [esp + 0xc], str.crypto_asn1_tasn_dec.c
mov dword [esp + 8], 0xc9
mov dword [esp + 4], 0x78
mov dword [esp], 0xd
call sym.libcrypto_1_1.dll_ERR_put_error
mov eax, dword [ebx + 0x18]
mov dword [esp + 4], str.Type
mov dword [esp], 2
mov dword [esp + 8], eax
call sym.libcrypto_1_1.dll_ERR_add_error_data
xor eax, eax
jmp 0x6b4204e2
mov dword [esp + 0x10], 0x1a6
mov dword [esp + 0xc], str.crypto_asn1_tasn_dec.c
mov dword [esp + 8], 0x64
mov dword [esp + 4], 0x78
mov dword [esp], 0xd
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b42099c
mov eax, edi
test al, al
jne 0x6b420f6a
mov dword [esp + 0x10], 0xc7
mov dword [esp + 0xc], str.crypto_asn1_tasn_dec.c
mov dword [esp + 8], 0x8b
mov dword [esp + 4], 0x78
mov dword [esp], 0xd
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b42099c
mov eax, dword [esp + 0x38]
mov dword [esp + 8], ebx
mov dword [esp], ebp
mov dword [esp + 4], eax
call sym._asn1_set_choice_selector
mov edi, dword [esp + 0x28]
test edi, edi
je 0x6b420a71
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 8], ebx
mov dword [esp + 4], ebp
mov dword [esp], 5
call eax
test eax, eax
je 0x6b4209c0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
mov dword [ecx], eax
mov eax, 1
jmp 0x6b4204e2
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x54]
mov byte [esp + 0x4b], 1
sub eax, dword [ecx]
mov ecx, dword [esp + 0x38]
sub ecx, eax
mov dword [esp + 0x4c], ecx
jmp 0x6b4205b1
mov dword [esp + 0x10], 0xae
mov dword [esp + 0xc], str.crypto_asn1_tasn_dec.c
mov dword [esp + 8], 0xaa
mov dword [esp + 4], 0x78
mov dword [esp], 0xd
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b42099c
mov dword [esp + 0x38], 0
mov edi, dword [ebx + 8]
test eax, eax
jle 0x6b42060c
mov dword [esp + 0x44], ebp
jmp 0x6b420b6d
mov eax, dword [ebx + 0xc]
xor edx, edx
sub eax, 1
cmp eax, dword [esp + 0x38]
je 0x6b420b1b
mov edx, dword [esi]
and edx, 1
mov eax, dword [esp + 0x34]
mov dword [esp + 4], edx
mov dword [esp], esi
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
call sym._asn1_template_ex_d2i
test eax, eax
je 0x6b420e1b
cmp eax, 0xffffffff
je 0x6b420ce0
sub ebp, dword [esp + 0x54]
add dword [esp + 0x4c], ebp
add dword [esp + 0x38], 1
add edi, 0x14
mov eax, dword [esp + 0x38]
cmp dword [ebx + 0xc], eax
jle 0x6b420f55
mov ebp, dword [esp + 0x44]
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov dword [esp], ebp
call sym._asn1_do_adb
mov esi, eax
test eax, eax
je 0x6b42099c
mov dword [esp + 4], eax
mov dword [esp], ebp
call sym._asn1_get_field_ptr
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x40], eax
test ecx, ecx
je 0x6b420f2e
mov ebp, dword [esp + 0x54]
cmp ecx, 1
jle 0x6b420b08
cmp byte [ebp], 0
jne 0x6b420b08
cmp byte [ebp + 1], 0
jne 0x6b420b08
mov eax, ebp
mov ebp, dword [esp + 0x44]
add eax, 2
cmp byte [esp + 0x52], 0
mov dword [esp + 0x54], eax
je 0x6b420efd
sub ecx, 2
mov byte [esp + 0x52], 0
mov dword [esp + 0x4c], ecx
cmp byte [esp + 0x4b], 0
jne 0x6b420c03
mov edx, dword [esp + 0x4c]
test edx, edx
jne 0x6b420f86
mov eax, dword [esp + 0x38]
cmp dword [ebx + 0xc], eax
jle 0x6b420e94
mov dword [esp + 0x2c], ebx
mov esi, eax
jmp 0x6b420c54
test byte [eax], 1
je 0x6b420de9
mov dword [esp + 4], eax
add edi, 0x14
add esi, 1
mov dword [esp], ebp
call sym._asn1_get_field_ptr
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._asn1_template_free
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0xc], esi
jle 0x6b420e92
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov dword [esp], ebp
call sym._asn1_do_adb
mov ebx, eax
test eax, eax
jne 0x6b420c20
mov ebx, dword [esp + 0x2c]
jmp 0x6b42099c
mov eax, edi
test al, al
jne 0x6b420f6a
mov dword [esp + 0x10], 0xcf
mov dword [esp + 0xc], str.crypto_asn1_tasn_dec.c
mov dword [esp + 8], 0x8c
mov dword [esp + 4], 0x78
mov dword [esp], 0xd
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b42099c
mov dword [esp + 4], ebx
mov dword [esp], ebp
call sym.libcrypto_1_1.dll_ASN1_item_ex_new
test eax, eax
je 0x6b420f48
mov edx, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
jmp 0x6b4206f8
mov eax, dword [esp + 0x40]
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._asn1_template_free
jmp 0x6b420b58
mov dword [esp + 0x10], 0x122
mov dword [esp + 0xc], str.crypto_asn1_tasn_dec.c
mov dword [esp + 8], 0x3a
mov dword [esp + 4], 0x78
mov dword [esp], 0xd
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b42099c
mov dword [esp + 0x10], 0xbe
jmp 0x6b420d00
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov eax, edi
movsx edi, al
mov eax, dword [esp + 0x88]
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
jmp 0x6b420858
add dword [esp + 0x38], 1
mov edx, dword [ebx + 0xc]
add esi, 0x14
mov eax, dword [esp + 0x38]
cmp edx, eax
jg 0x6b42071a
mov edi, dword [esp + 0x40]
jmp 0x6b42076c
mov dword [esp + 0x10], 0x12e
mov dword [esp + 0xc], str.crypto_asn1_tasn_dec.c
mov dword [esp + 8], 0x95
mov dword [esp + 4], 0x78
mov dword [esp], 0xd
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b42099c
mov dword [esp + 4], ebx
mov dword [esp], ebp
call sym.libcrypto_1_1.dll_ASN1_item_ex_new
test eax, eax
jne 0x6b4205c7
mov dword [esp + 0x10], 0x133
jmp 0x6b420d00
mov dword [esp + 0x10], 0x196
mov ebx, dword [esp + 0x2c]
mov esi, eax
mov dword [esp + 0xc], str.crypto_asn1_tasn_dec.c
mov dword [esp + 8], 0x79
mov dword [esp + 4], 0x78
mov dword [esp], 0xd
call sym.libcrypto_1_1.dll_ERR_put_error
mov eax, dword [ebx + 0x18]
mov dword [esp + 0xc], 0x6b5cb8e4
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 4], str.Field
mov dword [esp + 8], eax
mov dword [esp], 4
call sym.libcrypto_1_1.dll_ERR_add_error_data
xor eax, eax
jmp 0x6b4204e2
mov dword [esp + 4], esi
mov dword [esp], ecx
call sym._asn1_template_free
mov dword [esp + 0x10], 0xfd
mov dword [esp + 0xc], str.crypto_asn1_tasn_dec.c
mov dword [esp + 8], 0x3a
mov dword [esp + 4], 0x78
mov dword [esp], 0xd
call sym.libcrypto_1_1.dll_ERR_put_error
test esi, esi
je 0x6b42099c
jmp 0x6b420e1b
mov ebx, eax
mov eax, dword [esp + 0x30]
mov edx, dword [eax]
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], ebx
mov dword [esp], ebp
sub eax, edx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym._asn1_enc_save
test eax, eax
je 0x6b4209c0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x6b420ee9
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 8], ebx
mov dword [esp + 4], ebp
mov dword [esp], 5
call eax
test eax, eax
je 0x6b4209c0
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x30]
mov dword [edi], eax
mov eax, 1
jmp 0x6b4204e2
mov dword [esp + 0x10], 0x155
mov dword [esp + 0xc], str.crypto_asn1_tasn_dec.c
mov dword [esp + 8], 0x9f
mov dword [esp + 4], 0x78
mov dword [esp], 0xd
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b42099c
cmp byte [esp + 0x52], 0
mov ebp, dword [esp + 0x44]
jne 0x6b420631
jmp 0x6b420c03
mov dword [esp + 0x10], 0xe6
jmp 0x6b420d00
mov ebp, dword [esp + 0x44]
jmp 0x6b42060c
mov dword [esp + 4], ebx
mov dword [esp], ebp
call sym.libcrypto_1_1.dll_ASN1_item_ex_free
mov eax, 0xffffffff
jmp 0x6b4204e2
add eax, 2
cmp byte [esp + 0x4b], 0
mov dword [esp + 0x54], eax
jne 0x6b420c03
mov dword [esp + 0x10], 0x182
mov dword [esp + 0xc], str.crypto_asn1_tasn_dec.c
mov dword [esp + 8], 0x94
mov dword [esp + 4], 0x78
mov dword [esp], 0xd
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b42099c
call sym.___stack_chk_fail
lea esi, [esi]