Function at 0x566f00
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, 0xd8
movups xmmword [rsp + 0xc0], xmm6
mov rax, qword [rcx + 0xa8]
mov rsi, qword [rax + 0x2d8]
mov qword [rsp + 0x58], 0
mov r12, rdx
mov r13, rcx
call sym.EVP_MD_CTX_new
lea rdx, [rsp + 0x70]
mov rcx, r12
mov qword [rsp + 0x60], 0
mov r14, rax
call sym.WPACKET_get_total_written
test eax, eax
je 0x5673e0
test r14, r14
je 0x567618
mov rdx, qword [r13 + 0xa8]
pxor xmm6, xmm6
movups xmmword [rsp + 0xa0], xmm6
mov rax, qword [rdx + 0x238]
mov ebx, dword [rax + 0x1c]
movups xmmword [rsp + 0xb0], xmm6
test bl, 0x48
je 0x567050
mov dword [rsp + 0x3c], 0
mov qword [rsp + 0x40], 0
test byte [rax + 0x20], 0x44
jne 0x566fb9
test dword [rax + 0x1c], 0x1c8
je 0x567490
xor esi, esi
test ebx, 0x1c8
je 0x5670f0
mov rax, qword [r13 + 0x488]
mov rdx, qword [rax + 0x200]
test rdx, rdx
je 0x567520
cmp byte [rdx], 0
je 0x567520
mov rax, rdx
xor r8d, r8d
jmp 0x566ffd
cmp r8d, 0x80000000
je 0x567520
add rax, 1
add r8d, 1
cmp byte [rax], 0
jne 0x566ff0
and r8d, 0x7fffffff
cmp r8d, 0x80
ja 0x567030
mov r9d, 2
mov rcx, r12
call sym.WPACKET_sub_memcpy__
test eax, eax
jne 0x5670f0
lea rax, str.ssl_statem_statem_srvr.c
mov dword [rsp + 0x28], 0xa80
mov r9d, 0x44
mov qword [rsp + 0x20], rax
jmp 0x5673fa
test ebx, 0x102
je 0x567458
mov rax, qword [r13 + 0x488]
mov ecx, dword [rax + 0x18]
test ecx, ecx
jne 0x567640
mov rdi, qword [rax + 8]
xor r15d, r15d
test rdi, rdi
je 0x5677c0
mov rcx, rdi
call sym.EVP_PKEY_security_bits
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov rcx, r13
mov r8d, eax
mov edx, 0x40007
call sym.ssl_security
test eax, eax
je 0x5678ec
mov rbp, qword [r13 + 0xa8]
cmp qword [rbp + 0x240], 0
je 0x567800
mov dword [rsp + 0x28], 0xa0d
lea rax, str.ssl_statem_statem_srvr.c
mov r9d, 0x44
mov edx, 0x50
mov rcx, r13
mov qword [rsp + 0x20], rax
mov r8d, 0x1ec
call sym.ossl_statem_fatal
jmp 0x567410
mov eax, ebx
xor ebp, ebp
lea r15, [rsp + 0xa0]
and eax, 0x20
lea rdi, [rsp + 0x98]
mov dword [rsp + 0x34], eax
mov eax, ebx
and eax, 0x102
mov dword [rsp + 0x38], eax
cmp qword [r15 + rbp*8], 0
je 0x567192
cmp rbp, 2
je 0x567330
mov edx, 2
mov rcx, r12
call sym.WPACKET_start_sub_packet_len__
test eax, eax
je 0x567545
mov rcx, qword [r15 + rbp*8]
call sym.BN_num_bits
mov r8, rdi
mov rcx, r12
lea edx, [rax + 0xe]
add eax, 7
cmovns edx, eax
sar edx, 3
movsxd rdx, edx
call sym.WPACKET_allocate_bytes
test eax, eax
je 0x567898
mov rcx, r12
call sym.WPACKET_close
test eax, eax
je 0x567898
mov rcx, qword [r15 + rbp*8]
mov rdx, qword [rsp + 0x98]
add rbp, 1
call sym.BN_bn2bin
cmp rbp, 4
jne 0x567116
and ebx, 0x84
jne 0x5674d0
test rsi, rsi
je 0x5678a8
mov rax, qword [r13 + 0xa8]
mov rax, qword [rax + 0x2e0]
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x567550
lea rdx, [rsp + 0x78]
mov rcx, rsi
call sym.tls1_lookup_md
test eax, eax
je 0x567550
lea rdx, [rsp + 0x68]
mov rcx, r12
call sym.WPACKET_get_length
test eax, eax
je 0x56776f
mov rax, qword [r13 + 8]
mov rax, qword [rax + 0xc0]
test byte [rax + 0x60], 2
je 0x567217
movzx edx, word [rsi + 8]
mov r8d, 2
mov rcx, r12
call sym.WPACKET_put_bytes__
test eax, eax
je 0x567a3e
mov rcx, rbx
call sym.EVP_PKEY_size
mov r9d, 2
lea r8, [rsp + 0x80]
mov rcx, r12
movsxd rdx, eax
mov qword [rsp + 0x98], rdx
call sym.WPACKET_sub_reserve_bytes__
test eax, eax
je 0x56791e
mov qword [rsp + 0x20], rbx
mov r8, qword [rsp + 0x78]
xor r9d, r9d
mov rcx, r14
lea rdx, [rsp + 0x60]
call sym.EVP_DigestSignInit
test eax, eax
jle 0x56791e
cmp dword [rsi + 0x14], 0x390
je 0x5679ab
mov rax, qword [r13 + 0x88]
mov r9, qword [rsp + 0x68]
mov rcx, r13
lea rdx, [rsp + 0x90]
mov r8, qword [rsp + 0x70]
add r8, qword [rax + 8]
call sym.construct_key_exchange_tbs
test rax, rax
je 0x56740d
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x80]
mov rcx, r14
lea r8, [rsp + 0x98]
mov r9, qword [rsp + 0x90]
call sym.EVP_DigestSign
mov rcx, qword [rsp + 0x90]
mov r8d, 0xb0b
lea rdx, str.ssl_statem_statem_srvr.c
mov ebx, eax
call sym.CRYPTO_free
test ebx, ebx
jle 0x567322
mov rdx, qword [rsp + 0x98]
mov r9d, 2
lea r8, [rsp + 0x88]
mov rcx, r12
call sym.WPACKET_sub_allocate_bytes__
test eax, eax
je 0x567322
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x80], rax
je 0x5678a8
mov dword [rsp + 0x28], 0xb0e
jmp 0x567558
mov edx, dword [rsp + 0x34]
test edx, edx
jne 0x567530
mov edx, 2
mov rcx, r12
call sym.WPACKET_start_sub_packet_len__
test eax, eax
je 0x567545
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x56713c
mov rcx, qword [rsp + 0xa0]
call sym.BN_num_bits
mov rcx, qword [rsp + 0xb0]
mov dword [rsp + 0x48], eax
call sym.BN_num_bits
mov r8d, dword [rsp + 0x48]
lea ecx, [rax + 0xe]
lea edx, [r8 + 0xe]
add r8d, 7
cmovns edx, r8d
sar edx, 3
add eax, 7
cmovs eax, ecx
sar eax, 3
sub edx, eax
movsxd rdx, edx
test rdx, rdx
je 0x56713c
mov r8, rdi
mov rcx, r12
mov qword [rsp + 0x48], rdx
call sym.WPACKET_allocate_bytes
mov rdx, qword [rsp + 0x48]
test eax, eax
je 0x567a7d
mov rcx, qword [rsp + 0x98]
mov r8, rdx
xor edx, edx
call sym.memset
jmp 0x56713c
lea rax, str.ssl_statem_statem_srvr.c
mov dword [rsp + 0x28], 0x9cb
mov r9d, 0x44
mov qword [rsp + 0x20], rax
mov r8d, 0x1ec
mov edx, 0x50
mov rcx, r13
call sym.ossl_statem_fatal
xor r15d, r15d
mov rcx, r15
call sym.EVP_PKEY_free
mov rcx, qword [rsp + 0x58]
mov r8d, 0xb1c
lea rdx, str.ssl_statem_statem_srvr.c
call sym.CRYPTO_free
mov rcx, r14
call sym.EVP_MD_CTX_free
xor eax, eax
movups xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
test bl, 0x84
je 0x567588
mov r15, qword [rdx + 0x240]
test r15, r15
je 0x567680
lea rax, str.ssl_statem_statem_srvr.c
mov dword [rsp + 0x28], 0xa2c
mov r9d, 0x44
mov qword [rsp + 0x20], rax
jmp 0x5673fa
test rsi, rsi
jne 0x566fbb
lea rax, str.ssl_statem_statem_srvr.c
mov r9d, 0x44
mov edx, 0x32
mov dword [rsp + 0x28], 0xa6f
mov qword [rsp + 0x20], rax
mov r8d, 0x1ec
mov rcx, r13
xor r15d, r15d
call sym.ossl_statem_fatal
jmp 0x567410
mov r8d, 1
mov edx, 3
mov rcx, r12
call sym.WPACKET_put_bytes__
test eax, eax
je 0x5674ff
xor edx, edx
mov r8d, 1
mov rcx, r12
call sym.WPACKET_put_bytes__
test eax, eax
jne 0x567710
lea rax, str.ssl_statem_statem_srvr.c
mov dword [rsp + 0x28], 0xac5
mov r9d, 0x44
mov qword [rsp + 0x20], rax
jmp 0x5673fa
xor r8d, r8d
jmp 0x56701a
mov edx, 1
mov rcx, r12
call sym.WPACKET_start_sub_packet_len__
test eax, eax
jne 0x567351
mov dword [rsp + 0x28], 0xa94
jmp 0x567558
mov dword [rsp + 0x28], 0xad9
lea rax, str.ssl_statem_statem_srvr.c
mov r9d, 0x44
mov edx, 0x50
mov rcx, r13
mov qword [rsp + 0x20], rax
mov r8d, 0x1ec
call sym.ossl_statem_fatal
jmp 0x56740d
test bl, 0x20
je 0x56792b
mov rdx, qword [r13 + 0x7d8]
test rdx, rdx
je 0x567798
mov r8, qword [r13 + 0x7e0]
test r8, r8
je 0x567798
mov rcx, qword [r13 + 0x7e8]
test rcx, rcx
je 0x567798
mov r9, qword [r13 + 0x7f0]
test r9, r9
je 0x567798
movq xmm0, rdx
movq xmm1, r8
movq xmm2, r9
mov dword [rsp + 0x3c], 0
mov qword [rsp + 0x40], 0
punpcklqdq xmm0, xmm1
movups xmmword [rsp + 0xa0], xmm0
movq xmm0, rcx
punpcklqdq xmm0, xmm2
movups xmmword [rsp + 0xb0], xmm0
jmp 0x566fa6
lea rax, str.ssl_statem_statem_srvr.c
mov dword [rsp + 0x28], 0x9d1
mov r9d, 0x41
mov qword [rsp + 0x20], rax
jmp 0x5673fa
mov rcx, r13
call sym.ssl_get_auto_dh
mov rdi, rax
call sym.EVP_PKEY_new
mov r15, rax
test rax, rax
je 0x56777c
test rdi, rdi
je 0x56777c
mov r8, rdi
mov edx, 0x1c
mov rcx, rax
mov rdi, r15
call sym.EVP_PKEY_assign
jmp 0x56707e
mov edx, 0xfffffffe
mov rcx, r13
call sym.tls1_shared_group
movzx eax, ax
mov dword [rsp + 0x3c], eax
test eax, eax
je 0x56794a
mov rdi, qword [r13 + 0xa8]
mov rcx, r13
mov edx, eax
call sym.ssl_generate_pkey_group
mov qword [rdi + 0x240], rax
mov rax, qword [r13 + 0xa8]
mov rcx, qword [rax + 0x240]
test rcx, rcx
je 0x567410
lea rdx, [rsp + 0x58]
call sym.EVP_PKEY_get1_tls_encodedpoint
mov qword [rsp + 0x40], rax
test rax, rax
je 0x567a4b
mov rax, qword [r13 + 0xa8]
movups xmmword [rsp + 0xa0], xmm6
movups xmmword [rsp + 0xb0], xmm6
mov rax, qword [rax + 0x238]
jmp 0x566fa6
mov edx, dword [rsp + 0x3c]
mov r8d, 1
mov rcx, r12
call sym.WPACKET_put_bytes__
test eax, eax
je 0x5674ff
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x58]
mov r9d, 1
mov rcx, r12
call sym.WPACKET_sub_memcpy__
test eax, eax
je 0x5674ff
mov rcx, qword [rsp + 0x58]
mov r8d, 0xaca
lea rdx, str.ssl_statem_statem_srvr.c
call sym.CRYPTO_free
mov qword [rsp + 0x58], 0
jmp 0x56719e
mov dword [rsp + 0x28], 0xae0
jmp 0x567558
mov rcx, rdi
call sym.DH_free
mov dword [rsp + 0x28], 0x9ea
jmp 0x5670c3
lea rax, str.ssl_statem_statem_srvr.c
mov dword [rsp + 0x28], 0xa59
mov r9d, 0x166
mov qword [rsp + 0x20], rax
jmp 0x5673fa
mov rax, qword [rax + 0x10]
test rax, rax
je 0x5678ba
mov r8d, 0x400
xor edx, edx
mov rcx, r13
call rax
mov rcx, rax
call sym.ssl_dh_to_pkey
mov r15, rax
mov rdi, rax
test rax, rax
jne 0x56707e
mov dword [rsp + 0x28], 0x9f8
jmp 0x5670c3
mov rcx, rdi
call sym.ssl_generate_pkey
mov qword [rbp + 0x240], rax
mov rax, qword [r13 + 0xa8]
mov rcx, qword [rax + 0x240]
test rcx, rcx
je 0x56797c
call sym.EVP_PKEY_get0_DH
mov rdi, rax
test rax, rax
je 0x567a31
mov rcx, r15
lea r15, [rsp + 0xa0]
call sym.EVP_PKEY_free
xor r8d, r8d
mov rdx, r15
mov rcx, rdi
lea r9, [rsp + 0xa8]
call sym.DH_get0_pqg
lea rdx, [rsp + 0xb0]
xor r8d, r8d
mov rcx, rdi
call sym.DH_get0_key
mov rax, qword [r13 + 0xa8]
mov dword [rsp + 0x3c], 0
mov qword [rsp + 0x40], 0
mov rax, qword [rax + 0x238]
jmp 0x566fa6
mov dword [rsp + 0x28], 0xab0
jmp 0x567558
mov rcx, r14
call sym.EVP_MD_CTX_free
mov eax, 1
jmp 0x567439
lea rax, str.ssl_statem_statem_srvr.c
mov r9d, 0xab
mov edx, 0x50
mov dword [rsp + 0x28], 0xa00
mov qword [rsp + 0x20], rax
mov r8d, 0x1ec
mov rcx, r13
call sym.ossl_statem_fatal
jmp 0x567410
lea rax, str.ssl_statem_statem_srvr.c
mov r9d, 0x18a
mov edx, 0x28
mov dword [rsp + 0x28], 0xa07
mov qword [rsp + 0x20], rax
mov r8d, 0x1ec
mov rcx, r13
call sym.ossl_statem_fatal
jmp 0x567410
mov dword [rsp + 0x28], 0xaf5
jmp 0x567558
lea rax, str.ssl_statem_statem_srvr.c
mov dword [rsp + 0x28], 0xa65
mov r9d, 0xfa
mov qword [rsp + 0x20], rax
jmp 0x5673fa
lea rax, str.ssl_statem_statem_srvr.c
mov r9d, 0x13b
mov edx, 0x28
mov dword [rsp + 0x28], 0xa35
mov qword [rsp + 0x20], rax
mov r8d, 0x1ec
mov rcx, r13
call sym.ossl_statem_fatal
jmp 0x567410
lea rax, str.ssl_statem_statem_srvr.c
mov r9d, 0x44
xor r8d, r8d
mov rcx, r13
mov dword [rsp + 0x28], 0xa15
mov edx, 0x50
mov qword [rsp + 0x20], rax
call sym.ossl_statem_fatal
jmp 0x567410
mov rcx, qword [rsp + 0x60]
mov r9d, 6
mov edx, 0xffffffff
mov qword [rsp + 0x20], 0
mov r8d, 0x1001
call sym.RSA_pkey_ctx_ctrl
test eax, eax
jle 0x5679ff
mov rcx, qword [rsp + 0x60]
mov r9d, 0xffffffff
mov edx, 0x18
mov qword [rsp + 0x20], 0
mov r8d, 0x1002
call sym.RSA_pkey_ctx_ctrl
test eax, eax
jg 0x567277
lea rax, str.ssl_statem_statem_srvr.c
mov r9d, 6
mov edx, 0x50
mov dword [rsp + 0x28], 0xafd
mov qword [rsp + 0x20], rax
mov r8d, 0x1ec
mov rcx, r13
call sym.ossl_statem_fatal
jmp 0x56740d
mov dword [rsp + 0x28], 0xa1b
jmp 0x5670c3
mov dword [rsp + 0x28], 0xae7
jmp 0x567558
lea rax, str.ssl_statem_statem_srvr.c
mov r9d, 0x10
mov edx, 0x50
mov dword [rsp + 0x28], 0xa45
mov qword [rsp + 0x20], rax
mov r8d, 0x1ec
mov rcx, r13
call sym.ossl_statem_fatal
jmp 0x567410
mov dword [rsp + 0x28], 0xaa5
jmp 0x567558