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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x238
lea rax, [rsp + 0x80]
mov r12, rdx
mov ebp, r8d
mov r13, r9
mov qword [rsp + 0x20], rax
lea r9, [sym.asn1_cb]
mov r8d, 1
mov edx, 0x2c
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x3c], 0
mov qword [rsp + 0x80], 0xffffffffffffffff
mov dword [rsp + 0x8c], 1
mov dword [rsp + 0x228], 0
call sym.CONF_parse_list
mov esi, eax
test eax, eax
jne 0x592c20
mov ebx, dword [rsp + 0x88]
lea eax, [rbx - 0x10]
cmp eax, 1
ja 0x592650
test r12, r12
je 0x592d70
cmp ebp, 0x31
jg 0x592c30
mov qword [rsp + 0x60], 0
mov r14, qword [rsp + 0x90]
call sym.OPENSSL_sk_new_null
mov r15, rax
test rax, rax
je 0x592d80
test r14, r14
je 0x5925b7
mov rdx, r14
mov rcx, r12
call sym.X509V3_get_section
mov r14, rax
test rax, rax
je 0x592d80
xor edi, edi
add ebp, 1
jmp 0x5925ab
mov edx, edi
mov rcx, r14
call sym.OPENSSL_sk_value
mov rdx, r12
mov r9, r13
mov r8d, ebp
mov rcx, qword [rax + 0x10]
call sym.generate_v3
mov rdx, rax
test rax, rax
je 0x592d83
mov rcx, r15
call sym.OPENSSL_sk_push
test eax, eax
je 0x592d83
add edi, 1
mov rcx, r14
call sym.OPENSSL_sk_num
cmp edi, eax
jl 0x592570
lea rdx, [rsp + 0x60]
mov rcx, r15
cmp ebx, 0x11
je 0x592d60
call sym.i2d_ASN1_SEQUENCE_ANY
mov edi, eax
test edi, edi
js 0x592d83
call sym.ASN1_TYPE_new
mov r13, rax
test rax, rax
je 0x592d83
mov ecx, ebx
call sym.ASN1_STRING_type_new
mov qword [r13 + 8], rax
test rax, rax
je 0x592dbc
mov rdx, qword [rsp + 0x60]
mov dword [r13], ebx
xor ecx, ecx
mov dword [rax], edi
mov qword [rax + 8], rdx
mov qword [rsp + 0x60], 0
mov r8d, 0x1ca
lea rdx, str.crypto_asn1_asn1_gen.c
call sym.CRYPTO_free
mov rcx, r15
lea rdx, [sym.ASN1_TYPE_free]
call sym.OPENSSL_sk_pop_free
mov rdx, r14
mov rcx, r12
call sym.X509V3_section_free
jmp 0x5929bd
mov edi, dword [rsp + 0x8c]
mov r12, qword [rsp + 0x90]
call sym.ASN1_TYPE_new
mov r13, rax
test rax, rax
je 0x592dc6
test r12, r12
je 0x592690
cmp ebx, 0x1e
ja case.0x59268e.0
lea rcx, [0x00614de0]
mov edx, ebx
movsxd rax, dword [rcx + rdx*4]
add rax, rcx
jmp rax
cmp ebx, 0x1e
ja case.0x5926a9.0
lea rcx, [0x00614e5c]
mov edx, ebx
movsxd rax, dword [rcx + rdx*4]
add rax, rcx
jmp rax
lea r12, [0x00614dc0]
cmp edi, 1
jne 0x592cfc
call sym.ASN1_STRING_new
mov qword [r13 + 8], rax
mov rcx, rax
test rax, rax
je 0x592e64
mov r8d, 0xffffffff
mov rdx, r12
call sym.ASN1_STRING_set
test eax, eax
je 0x592e57
mov rcx, qword [r13 + 8]
mov dword [rcx + 4], ebx
call sym.ASN1_TIME_check
test eax, eax
jne case.0x5926a9.5
mov r8d, 0xb8
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x291
lea r9, str.crypto_asn1_asn1_gen.c
call sym.ERR_put_error
jmp 0x592944
lea r12, [0x00614dc0]
cmp edi, 1
je 0x592d25
mov ebp, 0x1000
cmp edi, 2
jne 0x592e05
mov ecx, ebx
call sym.ASN1_tag2bit
lea rcx, [r13 + 8]
mov r9d, ebp
mov rdx, r12
mov dword [rsp + 0x20], eax
mov r8d, 0xffffffff
call sym.ASN1_mbstring_copy
test eax, eax
jg case.0x5926a9.5
mov dword [rsp + 0x20], 0x2ab
mov r8d, 0x41
mov edx, 0xb3
mov ecx, 0xd
lea r9, str.crypto_asn1_asn1_gen.c
call sym.ERR_put_error
jmp 0x592944
lea r12, [0x00614dc0]
cmp edi, 1
jne 0x592c81
xor edx, edx
mov rcx, r12
call sym.OBJ_txt2obj
mov qword [r13 + 8], rax
test rax, rax
jne case.0x5926a9.5
mov r8d, 0xb7
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x27c
lea r9, str.crypto_asn1_asn1_gen.c
call sym.ERR_put_error
jmp 0x592944
lea r12, [0x00614dc0]
call sym.ASN1_STRING_new
mov qword [r13 + 8], rax
test rax, rax
je 0x592d2f
cmp edi, 3
je 0x59297a
cmp edi, 1
je 0x592def
cmp edi, 4
jne 0x592e2e
cmp ebx, 3
jne 0x592e2e
mov qword [rsp + 0x20], rax
lea r9, [sym.bitstr_cb]
mov edx, 0x2c
mov rcx, r12
mov r8d, 1
call sym.CONF_parse_list
test eax, eax
jne case.0x5926a9.5
mov r8d, 0xbc
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x2c6
lea r9, str.crypto_asn1_asn1_gen.c
call sym.ERR_put_error
jmp 0x592944
lea r12, [0x00614dc0]
cmp edi, 1
jne 0x592cd3
mov rdx, r12
xor ecx, ecx
call sym.s2i_ASN1_INTEGER
mov qword [r13 + 8], rax
test rax, rax
jne case.0x5926a9.5
mov r8d, 0xb4
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x271
lea r9, str.crypto_asn1_asn1_gen.c
call sym.ERR_put_error
jmp 0x592944
lea r12, [0x00614dc0]
cmp edi, 1
jne 0x592caa
pxor xmm0, xmm0
lea rdx, [r13 + 8]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x70], r12
movups xmmword [rsp + 0x60], xmm0
call sym.X509V3_get_value_bool
test eax, eax
jne case.0x5926a9.5
mov r8d, 0xb0
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x264
lea r9, str.crypto_asn1_asn1_gen.c
call sym.ERR_put_error
jmp 0x592944
lea r12, [0x00614dc0]
mov r8d, 0xc4
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x2d9
lea r9, str.crypto_asn1_asn1_gen.c
call sym.ERR_put_error
mov r8, r12
lea rdx, str.string
mov ecx, 2
call sym.ERR_add_error_data
mov rcx, r13
xor r13d, r13d
call sym.ASN1_TYPE_free
mov rax, r13
add rsp, 0x238
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rdi, [rsp + 0x58]
mov rcx, r12
mov rdx, rdi
call sym.OPENSSL_hexstr2buf
test rax, rax
je 0x592e71
mov rdx, qword [r13 + 8]
mov qword [rdx + 8], rax
mov eax, dword [rsp + 0x58]
mov dword [rdx + 4], ebx
mov dword [rdx], eax
cmp ebx, 3
jne case.0x5926a9.5
mov rdx, qword [r13 + 8]
mov eax, dword [rdx + 0x10]
and eax, 0xfffffff0
or eax, 8
mov dword [rdx + 0x10], eax
mov dword [r13], ebx
cmp dword [rsp + 0x80], 0xffffffff
jne 0x5929d2
mov ecx, dword [rsp + 0x228]
test ecx, ecx
je 0x592963
lea rdx, [rsp + 0x48]
mov rcx, r13
call sym.i2d_ASN1_TYPE
mov rcx, r13
mov ebp, eax
call sym.ASN1_TYPE_free
mov rax, qword [rsp + 0x48]
cmp dword [rsp + 0x80], 0xffffffff
mov qword [rsp + 0x50], rax
je 0x592a70
mov dword [rsp + 0x20], ebp
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x50]
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x40]
call sym.ASN1_get_object
mov edx, eax
mov r13d, eax
and edx, 0x80
jne 0x592c18
mov rax, qword [rsp + 0x50]
mov r14d, ebp
sub rax, qword [rsp + 0x48]
sub r14d, eax
test r13b, 1
je 0x592c40
mov dword [rsp + 0x3c], 0
mov r13d, 2
mov r8d, dword [rsp + 0x80]
xor ecx, ecx
call sym.ASN1_object_size
mov ebp, eax
jmp 0x592a76
xor r13d, r13d
mov r14d, ebp
movsxd rdx, dword [rsp + 0x228]
mov rax, rdx
lea rdx, [rdx + rdx*4]
lea rbx, [rsp + rdx*4 + 0x84]
test eax, eax
jle 0x592abc
xor edi, edi
nop dword [rax + rax]
mov edx, dword [rbx + 0xc]
mov r8d, dword [rbx]
xor ecx, ecx
add edi, 1
sub rbx, 0x14
add edx, ebp
mov dword [rbx + 0x24], edx
call sym.ASN1_object_size
mov ebp, eax
cmp dword [rsp + 0x228], edi
jg 0x592a98
movsxd rcx, ebp
mov r8d, 0xc3
lea rdx, str.crypto_asn1_asn1_gen.c
call sym.CRYPTO_malloc
mov r15, rax
test rax, rax
je 0x592c18
mov edx, dword [rsp + 0x228]
mov qword [rsp + 0x58], rax
lea rdi, [rsp + 0x58]
lea r12, [rsp + 0x98]
test edx, edx
jle 0x592b4d
nop word [rax + rax]
mov eax, dword [r12 + 4]
mov edx, dword [r12 + 8]
mov rcx, rdi
mov dword [rsp + 0x20], eax
mov r9d, dword [r12]
mov r8d, dword [r12 + 0x10]
call sym.ASN1_put_object
mov eax, dword [r12 + 0xc]
test eax, eax
je 0x592be0
mov rax, qword [rsp + 0x58]
add esi, 1
add r12, 0x14
lea rdx, [rax + 1]
mov qword [rsp + 0x58], rdx
mov byte [rax], 0
cmp esi, dword [rsp + 0x228]
jl 0x592b00
mov r9d, dword [rsp + 0x80]
cmp r9d, 0xffffffff
je 0x592b80
mov eax, dword [rsp + 0x84]
test eax, eax
je 0x592c00
mov dword [rsp + 0x20], eax
mov r8d, dword [rsp + 0x3c]
lea rcx, [rsp + 0x58]
mov edx, r13d
call sym.ASN1_put_object
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
movsxd r8, r14d
call sym.memcpy
lea rdx, [rsp + 0x60]
mov r8d, ebp
xor ecx, ecx
mov qword [rsp + 0x60], r15
call sym.d2i_ASN1_TYPE
mov r13, rax
mov rcx, qword [rsp + 0x48]
mov r8d, 0xe9
lea rdx, str.crypto_asn1_asn1_gen.c
call sym.CRYPTO_free
mov r8d, 0xea
lea rdx, str.crypto_asn1_asn1_gen.c
mov rcx, r15
call sym.CRYPTO_free
jmp 0x592963
add esi, 1
add r12, 0x14
cmp dword [rsp + 0x228], esi
jg 0x592b00
jmp 0x592b4d
lea edx, [r9 - 0x10]
cmp edx, 1
mov edx, 0x20
cmovbe r13d, edx
jmp 0x592b6a
xor r15d, r15d
xor r13d, r13d
jmp 0x592ba9
mov dword [r13], 0xc2
xor r13d, r13d
jmp 0x592963
mov dword [r13], 0xb5
xor r13d, r13d
jmp 0x592963
mov edx, dword [rsp + 0x3c]
and r13d, 0x20
jmp 0x592a53
cmp byte [r12], 0
je case.0x5926a9.5
mov r8d, 0xb6
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x256
lea r9, str.crypto_asn1_asn1_gen.c
call sym.ERR_put_error
jmp 0x592958
mov r8d, 0xbf
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x278
lea r9, str.crypto_asn1_asn1_gen.c
call sym.ERR_put_error
jmp 0x592958
mov r8d, 0xbe
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x25d
lea r9, str.crypto_asn1_asn1_gen.c
call sym.ERR_put_error
jmp 0x592958
mov r8d, 0xb9
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x26c
lea r9, str.crypto_asn1_asn1_gen.c
call sym.ERR_put_error
jmp 0x592958
mov r8d, 0xc1
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x284
lea r9, str.crypto_asn1_asn1_gen.c
call sym.ERR_put_error
jmp 0x592958
mov ebp, 0x1001
jmp 0x592741
mov r8d, 0x41
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x2b4
lea r9, str.crypto_asn1_asn1_gen.c
call sym.ERR_put_error
jmp 0x592958
call sym.i2d_ASN1_SET_ANY
mov edi, eax
jmp 0x5925cf
mov dword [r13], 0xc0
xor r13d, r13d
jmp 0x592963
xor r14d, r14d
mov rcx, qword [rsp + 0x60]
mov r8d, 0x1ca
lea rdx, str.crypto_asn1_asn1_gen.c
xor r13d, r13d
call sym.CRYPTO_free
lea rdx, [sym.ASN1_TYPE_free]
mov rcx, r15
call sym.OPENSSL_sk_pop_free
mov rdx, r14
mov rcx, r12
call sym.X509V3_section_free
jmp 0x592963
mov rcx, qword [rsp + 0x60]
jmp 0x592616
mov r8d, 0x41
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x24b
lea r9, str.crypto_asn1_asn1_gen.c
call sym.ERR_put_error
jmp 0x592963
mov r8d, 0xffffffff
mov rdx, r12
mov rcx, rax
call sym.ASN1_STRING_set
jmp 0x5929a4
mov r8d, 0xb1
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x2a5
lea r9, str.crypto_asn1_asn1_gen.c
call sym.ERR_put_error
jmp 0x592958
mov r8d, 0xaf
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x2cc
lea r9, str.crypto_asn1_asn1_gen.c
call sym.ERR_put_error
jmp 0x592958
mov dword [rsp + 0x20], 0x28c
jmp 0x592771
mov dword [rsp + 0x20], 0x288
jmp 0x592771
mov r8d, 0xb2
mov edx, 0xb3
mov ecx, 0xd
mov dword [rsp + 0x20], 0x2ba
lea r9, str.crypto_asn1_asn1_gen.c
call sym.ERR_put_error
jmp 0x592944