Function at 0x140caa830
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rcx + 8]
mov rbx, rcx
cmp eax, 0x10
je 0x140ca9da1
cmp qword [rcx + 0x70], 0
je 0x140ca9da1
mov dword [rsp + 0x28], eax
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
lea rax, str.server_state:__d
mov qword [rsp + 0x58], rdi
mov r9d, 0x1193
mov qword [rsp + 0x20], rax
mov edx, 2
call fcn.140caf730
mov rcx, rbx
call fcn.140ca0400
mov edi, eax
test eax, eax
jne 0x140ca9977
mov rax, qword [rbx]
cmp byte [rax + 5], 1
jne 0x140ca992b
mov rax, qword [rbx + 0x70]
cmp byte [rax + 7], 1
jne 0x140ca992b
mov rcx, rbx
call fcn.140c9ffa0
mov edi, eax
test eax, eax
jne 0x140ca9977
movsxd rdx, dword [rbx + 8]
cmp edx, 0x12
ja case.0x140ca994a.16
lea r8, [0x140000000]
mov ecx, dword [r8 + rdx*4 + 0xca9dac]
add rcx, r8
jmp rcx
mov eax, edi
mov dword [rbx + 8], 1
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
ret
mov rcx, rbx
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
jmp 0x140caa830
mov eax, 0xffff9580
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
ret
mov rcx, rbx
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
jmp 0x140cae170
mov rcx, rbx
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
jmp 0x140c9adc0
mov rcx, rbx
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
jmp 0x140caeb40
mov rcx, rbx
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
jmp 0x140cadbb0
lea rax, [0x140dc3e98]
mov r9d, 0xe3c
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 2
mov rcx, rbx
call fcn.140caf730
mov rax, qword [rbx + 0x160]
mov qword [rbx + 0x170], 4
mov dword [rbx + reloc.WS2_32.dll_shutdown8], 0x16
mov byte [rax], reloc.WS2_32.dll_ntohl
mov rax, qword [rbx]
inc dword [rbx + 8]
cmp byte [rax + 5], 1
jne 0x140ca9a23
mov rcx, rbx
call fcn.140ca1bd0
mov rcx, rbx
call fcn.140ca21b0
mov edi, eax
test eax, eax
je 0x140ca9a68
mov dword [rsp + 0x28], eax
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
lea rax, str.mbedtls_ssl_write_handshake_msg
mov r9d, 0xe4b
mov edx, 1
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.140caf800
mov eax, edi
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
ret
mov rax, qword [rbx]
cmp byte [rax + 5], 1
jne 0x140ca9ab6
mov rcx, rbx
call fcn.140c9ffa0
mov edi, eax
test eax, eax
je 0x140ca9ab6
mov dword [rsp + 0x28], eax
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
lea rax, str.mbedtls_ssl_flight_transmit
mov r9d, 0xe52
mov edx, 1
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.140caf800
mov eax, edi
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
ret
lea rax, str.__write_server_hello_done
mov r9d, 0xe57
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 2
mov rcx, rbx
call fcn.140caf730
xor edi, edi
mov eax, edi
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
ret
mov rcx, rbx
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
jmp 0x140c99bf0
mov rcx, rbx
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
jmp 0x140cabfe0
mov rcx, rbx
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
jmp 0x140caa220
mov rcx, rbx
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
jmp 0x140ca0960
mov rcx, rbx
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
jmp 0x140c99ed0
mov rax, qword [rbx + 0x70]
mov rcx, rbx
cmp byte [rax + 5], 0
je 0x140ca9cf7
lea rax, [0x140dc4158]
mov qword [rsp + 0x50], rsi
mov r9d, 0x115a
mov qword [rsp + 0x20], rax
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov edx, 2
call fcn.140caf730
mov rax, qword [rbx + 0x160]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x48]
mov dword [rbx + reloc.WS2_32.dll_shutdown8], 0x16
mov qword [rsp + 0x20], rcx
mov byte [rax], 4
mov r8, qword [rbx + 0x160]
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x68]
lea r9, [r8 + 0x4000]
add r8, 0xa
mov rcx, qword [rax + 0xe8]
call qword [rax + 0xd8]
xor edi, edi
test eax, eax
je 0x140ca9c01
mov dword [rsp + 0x28], eax
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
lea rax, str.mbedtls_ssl_ticket_write
mov r9d, 0x116f
mov edx, 1
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.140caf800
mov qword [rsp + 0x48], rdi
mov ecx, dword [rsp + 0x40]
mov rax, qword [rbx + 0x160]
shr ecx, 0x18
mov byte [rax + 4], cl
mov ecx, dword [rsp + 0x40]
mov rax, qword [rbx + 0x160]
shr ecx, 0x10
mov byte [rax + 5], cl
mov rax, qword [rbx + 0x160]
mov ecx, dword [rsp + 0x40]
shr ecx, 8
mov byte [rax + 6], cl
mov rcx, qword [rbx + 0x160]
movzx eax, byte [rsp + 0x40]
mov byte [rcx + 7], al
mov rax, qword [rbx + 0x160]
mov rcx, qword [rsp + 0x48]
shr rcx, 8
mov byte [rax + 8], cl
mov rcx, qword [rbx + 0x160]
movzx eax, byte [rsp + 0x48]
mov byte [rcx + 9], al
mov rcx, rbx
mov rax, qword [rsp + 0x48]
add rax, 0xa
mov qword [rbx + 0x170], rax
mov rax, qword [rbx + 0x70]
mov byte [rax + 5], dil
call fcn.140ca21b0
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov esi, eax
mov rcx, rbx
test eax, eax
je 0x140ca9cc9
mov dword [rsp + 0x28], eax
mov r9d, 0x117e
lea rax, str.mbedtls_ssl_write_handshake_msg
mov edx, 1
mov qword [rsp + 0x20], rax
call fcn.140caf800
mov edi, esi
mov rsi, qword [rsp + 0x50]
mov eax, edi
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
ret
lea rax, str.__write_new_session_ticket
mov r9d, 0x1182
mov edx, 2
mov qword [rsp + 0x20], rax
call fcn.140caf730
mov rsi, qword [rsp + 0x50]
mov eax, edi
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
ret
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
jmp 0x140ca20f0
mov rcx, rbx
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
jmp 0x140c9b130
lea rax, str.handshake:_done
mov r9d, 0x11fc
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 2
mov rcx, rbx
call fcn.140caf730
mov eax, edi
mov dword [rbx + 8], reloc.WS2_32.dll_ntohs
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
ret
mov rcx, rbx
call fcn.140c99820
mov eax, edi
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
ret
mov dword [rsp + 0x28], edx
lea rax, str.invalid_state__d
mov edx, 1
mov qword [rsp + 0x20], rax
mov r9d, 0x1205
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov rcx, rbx
call fcn.140caf730
mov rdi, qword [rsp + 0x58]
mov eax, 0xffff8f00
add rsp, 0x30
pop rbx
ret
mov eax, 0xffff8f00
add rsp, 0x30
pop rbx
ret
push rbx
push rdi
sub rsp, 0x88
mov rax, qword [0x140f4c000]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rax, qword [rcx + 0x70]
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov r9d, 0x10b2
mov edx, 2
mov rdi, rcx
mov rbx, qword [rax + 0x18]
lea rax, [0x140dc4070]
mov qword [rsp + 0x20], rax
call fcn.140caf730
mov eax, dword [rbx + 0x18]
dec eax
cmp eax, 9
ja case.0x140caa288.5
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0xcaa6c0]
add rcx, rdx
jmp rcx
mov rax, qword [rdi + 0x68]
mov rcx, rdi
cmp qword [rax + 0x70], 0
jne 0x140caa2c5
lea rax, str.__skip_parse_certificate_verify
mov r9d, 0x10bc
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 2
call fcn.140caf730
inc dword [rdi + 8]
xor eax, eax
jmp 0x140caa57a
xor edx, edx
call fcn.140ca1490
mov ebx, eax
test eax, eax
je 0x140caa303
mov dword [rsp + 0x28], eax
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
lea rax, str.mbedtls_ssl_read_record
mov r9d, 0x10cb
mov edx, 1
mov qword [rsp + 0x20], rax
mov rcx, rdi
call fcn.140caf800
mov eax, ebx
jmp 0x140caa57a
inc dword [rdi + 8]
cmp dword [rdi + 0xe8], 0x16
jne 0x140caa65f
mov rcx, qword [rdi + 0xd8]
cmp byte [rcx], 0xf
jne 0x140caa65f
mov rax, qword [rdi]
mov ebx, reloc.WS2_32.dll_inet_ntoa
mov r8d, 4
cmp byte [rax + 5], 1
mov rax, qword [rdi + 0x68]
cmovne ebx, r8d
mov rdx, qword [rax + 0x70]
test rdx, rdx
jne 0x140caa350
mov eax, 0xffff9400
jmp 0x140caa57a
cmp dword [rdi + 0x18], 3
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0xb8], r12
lea r12, [rdx + 0x168]
mov qword [rsp + 0x80], r13
je 0x140caa3b7
mov edx, r8d
mov rcx, r12
call fcn.140c6a3d0
test eax, eax
lea rcx, [rsp + 0x48]
lea rsi, [rsp + 0x38]
mov r13d, reloc.WS2_32.dll_sendto
cmovne rsi, rcx
mov ecx, eax
neg ecx
mov ecx, 0x24
sbb ebp, ebp
and ebp, 4
test eax, eax
cmove r13d, ecx
jmp 0x140caa4bd
lea rax, [rbx + 2]
cmp rax, qword [rdi + 0x120]
jbe 0x140caa3f4
lea rax, str.bad_certificate_verify_message
mov r9d, 0x10fc
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 1
mov rcx, rdi
call fcn.140caf730
mov eax, 0xffff8280
jmp 0x140caa55a
movzx ecx, byte [rcx + rbx]
call fcn.140c99b60
mov ebp, eax
test eax, eax
je 0x140caa62f
mov rcx, qword [rdi + 0xd8]
movzx edx, byte [rbx + rcx]
mov rcx, rdi
call fcn.140c9a950
test eax, eax
jne 0x140caa62f
mov rcx, qword [rdi + 0xd8]
xor r13d, r13d
movzx ecx, byte [rbx + rcx + 1]
call fcn.140c9a130
test eax, eax
jne 0x140caa46a
lea rax, str.peer_not_adhering_to_requested_sig_alg_for_verify_message
mov r9d, 0x111c
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 1
mov rcx, rdi
call fcn.140caf730
mov eax, 0xffff8280
jmp 0x140caa55a
mov edx, eax
mov rcx, r12
call fcn.140c6a3d0
test eax, eax
jne 0x140caa4a8
lea rax, str.sig_alg_doesnt_match_cert_key
mov r9d, 0x1124
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 1
mov rcx, rdi
call fcn.140caf730
mov eax, 0xffff8280
jmp 0x140caa55a
add rbx, 2
lea rsi, [rsp + 0x38]
cmp ebp, 4
lea rax, [rsp + 0x48]
cmove rsi, rax
mov rdx, qword [rdi + 0x120]
mov qword [rsp + 0x78], r14
lea r14, [rbx + 2]
cmp r14, rdx
jbe 0x140caa4ff
lea rax, str.bad_certificate_verify_message
mov r9d, 0x1131
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 1
mov rcx, rdi
call fcn.140caf730
mov eax, 0xffff8280
jmp 0x140caa555
mov rax, qword [rdi + 0xd8]
mov qword [rsp + 0x70], r15
movzx ecx, byte [rbx + rax]
movzx r15d, byte [rbx + rax + 1]
shl rcx, 8
or r15, rcx
mov rcx, rdi
lea rax, [r15 + r14]
cmp rax, rdx
je 0x140caa591
lea rax, str.bad_certificate_verify_message
mov r9d, 0x1139
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 1
call fcn.140caf730
mov eax, 0xffff8280
mov r15, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
mov r12, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov r13, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140cbacb0
add rsp, 0x88
pop rdi
pop rbx
ret
mov rax, qword [rdi + 0x70]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
call qword [rax + 0x28]
mov rdx, qword [rdi + 0xd8]
mov r9, r13
add rdx, r14
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rdx
mov r8, rsi
mov edx, ebp
mov rcx, r12
call fcn.140c6a6b0
mov ebx, eax
mov rcx, rdi
test eax, eax
je 0x140caa5fd
mov dword [rsp + 0x28], eax
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
lea rax, str.mbedtls_pk_verify
mov r9d, 0x1146
mov edx, 1
mov qword [rsp + 0x20], rax
call fcn.140caf800
mov eax, ebx
jmp 0x140caa550
call fcn.140ca1d60
lea rax, str.__parse_certificate_verify
mov r9d, 0x114c
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 2
mov rcx, rdi
call fcn.140caf730
xor eax, eax
jmp 0x140caa550
lea rax, str.peer_not_adhering_to_requested_sig_alg_for_verify_message
mov r9d, 0x1107
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 1
mov rcx, rdi
call fcn.140caf730
mov eax, 0xffff8280
jmp 0x140caa55a
lea rax, str.bad_certificate_verify_message
mov r9d, 0x10d4
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 1
mov rcx, rdi
call fcn.140caf730
mov eax, 0xffff8280
jmp 0x140caa57a
lea rax, str.__skip_parse_certificate_verify
mov r9d, 0x10b5
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 2
mov rcx, rdi
call fcn.140caf730
inc dword [rdi + 8]
xor eax, eax
jmp 0x140caa57a
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa8
xor esi, esi
lea rax, [0x140dc3360]
lea r15, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov dword [rsp + 0xf8], esi
mov r8, r15
mov dword [rsp + 0xf0], esi
mov r9d, 0x569
mov qword [rsp + 0x20], rax
mov edx, 2
mov rbx, rcx
call fcn.140caf730
mov ebp, esi
mov r12d, 1
mov r13d, 5
mov r14d, reloc.WS2_32.dll_listen
lea rdi, str.client_hello_v3__message_len.:__d
cmp dword [rbx + 0xc], 0
je 0x140caa8a3
mov ebp, r12d
jmp 0x140caa8c3
test ebp, ebp
jne 0x140caa8c3
mov rdx, r13
mov rcx, rbx
call fcn.140c9f8b0
mov edi, eax
test eax, eax
jne 0x140caaa4f
lea rdi, str.client_hello_v3__message_len.:__d
mov rax, qword [rbx]
mov rcx, r13
mov rsi, qword [rbx + 0xc0]
mov r9d, 0x591
mov r8, r15
mov edx, 4
cmp byte [rax + 5], r12b
lea rax, str.record_header
cmove rcx, r14
mov qword [rsp + 0x30], rcx
mov rcx, rbx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call fcn.140caeeb0
movzx eax, byte [rsi]
mov r9d, 0x59d
mov dword [rsp + 0x28], eax
mov r8, r15
lea rax, str.client_hello_v3__message_type:__d
mov edx, 3
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.140caf730
cmp byte [rsi], 0x16
mov r8, r15
jne 0x140cabf53
mov rax, qword [rbx + 0xc8]
mov r9d, 0x5a5
mov edx, 3
movzx ecx, byte [rax]
movzx eax, byte [rax + 1]
shl ecx, 8
or ecx, eax
mov dword [rsp + 0x28], ecx
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call fcn.140caf730
movzx eax, byte [rsi + 2]
mov r9d, 0x5a8
movzx ecx, byte [rsi + 1]
mov r8, r15
mov dword [rsp + 0x30], eax
mov edx, 3
mov dword [rsp + 0x28], ecx
lea rax, str.client_hello_v3__protocol_version:___d:_d_
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.140caf730
mov rax, qword [rbx]
lea r9, [rsi + 1]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x100]
movzx r8d, byte [rax + 5]
call fcn.140ca17f0
cmp dword [rsp + 0x100], 3
jl 0x140cabf48
mov rax, qword [rbx]
cmp byte [rax + 5], r12b
jne 0x140caaa7f
cmp dword [rbx + 0xc], 0
jne 0x140caaa7f
mov rcx, qword [rbx + 0xb8]
cmp byte [rcx], 0
jne 0x140caaaa3
cmp byte [rcx + 1], 0
jne 0x140caaaa3
mov eax, dword [rcx + 2]
mov dword [rbx + 0x182], eax
movzx eax, word [rcx + 6]
mov rcx, rbx
mov word [rbx + 0x186], ax
call fcn.140c9ebc0
mov rcx, rbx
test eax, eax
je 0x140caaa7a
lea rax, str.replayed_record__discarding
mov r9d, 0x5c7
mov r8, r15
mov qword [rsp + 0x20], rax
mov edx, r12d
call fcn.140caf730
xor eax, eax
mov qword [rbx + 0x108], rax
mov qword [rbx + 0xf8], rax
jmp 0x140caa891
mov r9d, 0x57c
lea rax, str.mbedtls_ssl_fetch_input
mov dword [rsp + 0x28], edi
mov r8, r15
mov qword [rsp + 0x20], rax
mov edx, r12d
mov rcx, rbx
call fcn.140caf800
mov eax, edi
jmp 0x140cabf75
call fcn.140c9ec70
mov rax, qword [rbx + 0xc8]
movzx esi, byte [rax]
movzx eax, byte [rax + 1]
shl rsi, 8
or rsi, rax
cmp dword [rbx + 0xc], 0
je 0x140caaab1
mov rsi, qword [rbx + 0x120]
jmp 0x140caab11
mov r9d, 0x5bf
mov r8, r15
jmp 0x140cabf59
mov rcx, rbx
cmp rsi, 0x4000
jbe 0x140caaacb
mov r9d, 0x5dd
mov r8, r15
jmp 0x140cabf5c
mov rax, qword [rbx]
cmp byte [rax + 5], r12b
cmovne r14, r13
lea rdx, [rsi + r14]
call fcn.140c9f8b0
mov edi, eax
test eax, eax
je 0x140caaaf0
mov r9d, 0x5e3
jmp 0x140caaa55
mov rax, qword [rbx]
cmp byte [rax + 5], r12b
jne 0x140caab06
lea rax, [rsi + 0xd]
mov qword [rbx + 0x108], rax
jmp 0x140caab11
mov qword [rbx + 0xf8], 0
mov r13, qword [rbx + 0xd8]
lea rax, str.record_contents
mov qword [rsp + 0x30], rsi
mov ebp, 4
mov qword [rsp + 0x28], r13
mov edx, ebp
mov r9d, 0x5f2
mov qword [rsp + 0x20], rax
mov r8, r15
mov rcx, rbx
call fcn.140caeeb0
mov rax, qword [rbx + 0x70]
mov r8, rsi
mov rdx, r13
mov rcx, rbx
call qword [rax + 0x20]
mov rax, qword [rbx]
mov edi, reloc.WS2_32.dll_inet_ntoa
mov ecx, edi
mov r8, r15
cmp byte [rax + 5], r12b
cmovne ecx, ebp
cmp rsi, rcx
mov rcx, rbx
jae 0x140caab7d
mov r9d, 0x5ff
jmp 0x140cabf5c
movzx eax, byte [r13]
mov r9d, 0x603
mov dword [rsp + 0x28], eax
mov edx, 3
lea rax, str.client_hello_v3__handshake_type:__d
mov qword [rsp + 0x20], rax
call fcn.140caf730
mov r8, r15
cmp byte [r13], r12b
je 0x140caabb6
mov r9d, 0x606
jmp 0x140cabf59
movzx eax, byte [r13 + 2]
mov r9d, 0x60b
movzx ecx, byte [r13 + 1]
mov edx, 3
shl ecx, 8
or ecx, eax
movzx eax, byte [r13 + 3]
shl ecx, 8
or ecx, eax
lea rax, str.client_hello_v3__handshake_len.:__d
mov dword [rsp + 0x28], ecx
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.140caf730
movzx eax, byte [r13 + 1]
test al, al
je 0x140caac24
mov dword [rsp + 0x28], eax
mov r9d, 0x60f
lea rax, str.bad_client_hello_message:__u___0
mov r8, r15
mov edx, r12d
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.140caf730
jmp 0x140cabf70
mov rax, qword [rbx]
movzx r9d, byte [r13 + 3]
movzx edx, byte [rax + 5]
movzx eax, byte [r13 + 2]
shl eax, 8
mov ecx, eax
or rcx, r9
mov r8d, eax
cmp dl, r12b
mov rax, rdi
cmovne rax, rbp
add rcx, rax
cmp rsi, rcx
je 0x140caac8f
mov eax, r9d
mov rcx, rbx
or eax, r8d
mov r9d, 0x617
mov dword [rsp + 0x38], eax
cmp dl, r12b
lea rax, str.bad_client_hello_message:__u____u___u
mov r8, r15
cmovne edi, ebp
mov edx, r12d
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call fcn.140caf730
jmp 0x140cabf70
cmp dl, r12b
jne 0x140caade5
mov rax, qword [rbx + 0xd8]
movzx ecx, byte [rax + 4]
movzx edx, byte [rax + 5]
shl ecx, 8
or ecx, edx
cmp dword [rbx + 0xc], r12d
jne 0x140caacf7
mov rdx, qword [rbx + 0x70]
mov eax, dword [rdx + 0x464]
cmp ecx, eax
je 0x140caaced
mov dword [rsp + 0x30], eax
mov r9d, 0x62a
mov dword [rsp + 0x28], ecx
lea rax, str.bad_client_hello_message_seq:__u__expected__u_
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov r8, r15
mov edx, r12d
call fcn.140caf730
jmp 0x140cabf70
inc eax
mov dword [rdx + 0x464], eax
jmp 0x140caad0d
mov rax, qword [rbx + 0x70]
mov dword [rax + 0x460], ecx
inc ecx
mov rax, qword [rbx + 0x70]
mov dword [rax + 0x464], ecx
mov r8, qword [rbx + 0xd8]
movzx eax, byte [r8 + 2]
movzx ecx, byte [r8 + 6]
movzx r9d, byte [r8 + 1]
movzx edx, byte [r8 + 9]
shl r9d, 8
or r9d, eax
shl edx, 8
movzx eax, byte [r8 + 3]
shl ecx, 8
shl r9d, 8
or r9d, eax
movzx eax, byte [r8 + 0xa]
or edx, eax
mov dword [rsp + 0x38], r9d
movzx eax, byte [r8 + 0xb]
mov r9d, 0x640
shl edx, 8
or edx, eax
movzx eax, byte [r8 + 7]
or ecx, eax
mov dword [rsp + 0x30], edx
movzx eax, byte [r8 + 8]
mov edx, ebp
shl ecx, 8
mov r8, r15
or ecx, eax
lea rax, str.fragment_offset_u_fragment_length_u_length_u
mov dword [rsp + 0x28], ecx
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.140caf730
mov rcx, qword [rbx + 0xd8]
cmp byte [rcx + 6], 0
jne 0x140caadbb
cmp byte [rcx + 7], 0
jne 0x140caadbb
cmp byte [rcx + 8], 0
jne 0x140caadbb
movzx eax, word [rcx + 1]
cmp ax, word [rcx + 9]
jne 0x140caadbb
movzx eax, byte [rcx + 3]
cmp al, byte [rcx + 0xb]
je 0x140caade5
lea rax, str.ClientHello_fragmentation_not_supported
mov r9d, 0x643
mov r8, r15
mov qword [rsp + 0x20], rax
mov edx, r12d
mov rcx, rbx
call fcn.140caf730
mov eax, 0xffff8f80
jmp 0x140cabf75
mov rax, qword [rbx]
mov rcx, rdi
mov r8, r15
cmp byte [rax + 5], r12b
cmovne rcx, rbp
add r13, rcx
sub rsi, rcx
mov qword [rsp + 0x78], r13
mov rcx, rbx
cmp rsi, 0x26
jae 0x140caae15
mov r9d, 0x662
jmp 0x140cabf5c
mov qword [rsp + 0x30], 2
lea rax, str.client_hello__version
mov qword [rsp + 0x28], r13
mov r9d, 0x669
mov edx, 3
mov qword [rsp + 0x20], rax
call fcn.140caeeb0
mov rax, qword [rbx]
lea rdx, [rbx + 0x18]
mov r9, r13
lea rcx, [rbx + 0x14]
movzx r8d, byte [rax + 5]
call fcn.140ca17f0
mov rcx, qword [rbx + 0x70]
movzx eax, byte [rbx + 0x14]
mov byte [rcx], al
mov rcx, qword [rbx + 0x70]
movzx eax, byte [rbx + 0x18]
mov byte [rcx + 1], al
mov rdx, qword [rbx]
mov r8d, dword [rbx + 0x14]
movzx r10d, byte [rdx + 2]
cmp r8d, r10d
jl 0x140cabefb
movzx eax, byte [rdx + 3]
mov r9d, dword [rbx + 0x18]
cmp r9d, eax
jl 0x140cabefb
movzx eax, byte [rdx]
cmp r8d, eax
jle 0x140caaea3
mov dword [rbx + 0x14], eax
movzx eax, byte [rdx + 1]
jmp 0x140caaeac
movzx eax, byte [rdx + 1]
cmp r9d, eax
jle 0x140caaeaf
mov dword [rbx + 0x18], eax
mov qword [rsp + 0x30], 0x20
lea rax, str.client_hello__random_bytes
lea rdi, [r13 + 2]
mov r9d, 0x686
mov qword [rsp + 0x28], rdi
mov r8, r15
mov edx, 3
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.140caeeb0
mov rax, qword [rbx + 0x70]
movups xmm0, xmmword [rdi]
movups xmmword [rax + 0x6a8], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rax + 0x6b8], xmm1
movzx ebp, byte [r13 + 0x22]
cmp rbp, 0x20
ja 0x140cabef0
lea rax, [rbp + 0x24]
cmp rax, rsi
ja 0x140cabef0
mov qword [rsp + 0x30], rbp
lea rax, str.client_hello__session_id
lea rdi, [r13 + 0x23]
mov r9d, 0x697
mov qword [rsp + 0x28], rdi
mov r8, r15
mov edx, 3
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.140caeeb0
mov rax, qword [rbx + 0x68]
xorps xmm0, xmm0
mov rdx, rdi
mov qword [rax + 0x18], rbp
mov rax, qword [rbx + 0x68]
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
mov r8, qword [rbx + 0x68]
lea rcx, [r8 + 0x20]
mov r8, qword [r8 + 0x18]
call fcn.140cfb740
mov rax, qword [rbx]
lea r14, [rbp + 0x23]
mov qword [rsp + 0x68], r14
cmp byte [rax + 5], r12b
jne 0x140cab0c7
movzx edi, byte [r14 + r13]
mov r8, r15
mov rcx, rbx
lea rbp, [rdi + r14]
lea rax, [rbp + 3]
cmp rax, rsi
jbe 0x140caafcd
lea rax, str.bad_client_hello_message
mov r9d, 0x6a8
mov edx, r12d
mov qword [rsp + 0x20], rax
call fcn.140caf730
mov r8b, 0x46
mov dl, 2
mov rcx, rbx
call fcn.140ca1a70
jmp 0x140cabf70
mov qword [rsp + 0x30], rdi
lea rax, str.client_hello__cookie
inc r14
mov r9d, 0x6af
add r14, r13
mov edx, 3
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call fcn.140caeeb0
mov rcx, qword [rbx]
mov r10, qword [rcx + 0xc8]
test r10, r10
je 0x140cab08c
cmp dword [rbx + 0xc], 0
jne 0x140cab08c
mov rax, qword [rbx + 0x1a8]
mov r8, rdi
mov r9, qword [rbx + 0x1a0]
mov rdx, r14
mov rcx, qword [rcx + 0xd0]
mov qword [rsp + 0x20], rax
call r10
mov r8, r15
mov edx, 2
mov rcx, rbx
test eax, eax
je 0x140cab068
lea rax, str.cookie_verification_failed
mov r9d, 0x6ba
mov qword [rsp + 0x20], rax
call fcn.140caf730
mov rax, qword [rbx + 0x70]
mov byte [rax + 0x470], r12b
jmp 0x140cab0be
lea rax, str.cookie_verification_passed
mov r9d, 0x6bd
mov qword [rsp + 0x20], rax
call fcn.140caf730
mov rax, qword [rbx + 0x70]
mov byte [rax + 0x470], 0
jmp 0x140cab0be
mov r8, r15
mov rcx, rbx
test rdi, rdi
je 0x140cab0a2
mov r9d, 0x6c6
jmp 0x140cabf5c
lea rax, str.cookie_verification_skipped
mov r9d, 0x6ca
mov edx, 2
mov qword [rsp + 0x20], rax
call fcn.140caf730
lea r14, [rbp + 1]
mov qword [rsp + 0x68], r14
movzx eax, byte [r14 + r13]
shl eax, 8
movsxd rbp, eax
movzx eax, byte [r14 + r13 + 1]
or rbp, rax
mov qword [rsp + 0x80], rbp
cmp rbp, 2
jb 0x140cabee5
lea rax, [rbp + 3]
add rax, r14
cmp rax, rsi
ja 0x140cabee5
test r12b, bpl
jne 0x140cabee5
mov qword [rsp + 0x30], rbp
lea rax, [r13 + 2]
add rax, r14
mov r9d, 0x6e2
mov qword [rsp + 0x28], rax
mov r8, r15
lea rax, str.client_hello__ciphersuitelist
mov edx, 3
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.140caeeb0
lea rdx, [rbp + 2]
add rdx, r14
movzx ecx, byte [rdx + r13]
lea rax, [rcx - 1]
cmp rax, 0xf
ja 0x140cabeda
lea rdi, [rdx + 1]
add rdi, rcx
cmp rdi, rsi
ja 0x140cabeda
mov qword [rsp + 0x30], rcx
lea rax, [r13 + 1]
add rax, rdx
mov r9d, 0x6f5
mov qword [rsp + 0x28], rax
mov r8, r15
lea rax, str.client_hello__compression
mov edx, 3
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.140caeeb0
mov rax, qword [rbx + 0x68]
xor ecx, ecx
mov dword [rax + 0x14], ecx
mov rax, qword [rbx]
cmp byte [rax + 5], r12b
jne 0x140cab1af
mov rax, qword [rbx + 0x68]
mov dword [rax + 0x14], ecx
cmp rsi, rdi
jbe 0x140cab21a
lea rax, [rdi + 2]
cmp rsi, rax
jae 0x140cab1ef
mov r9d, 0x712
lea rax, str.bad_client_hello_message
mov r8, r15
mov edx, r12d
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.140caf730
mov r8b, gethostbyaddr
mov dl, 2
mov rcx, rbx
call fcn.140ca1a70
jmp 0x140cabf70
movzx eax, byte [rdi + r13]
movzx ecx, byte [rdi + r13 + 1]
shl rax, 8
or rcx, rax
mov qword [rsp + 0x50], rcx
lea rax, [rcx + 2]
add rax, rdi
cmp rsi, rax
je 0x140cab21f
mov r9d, 0x71c
jmp 0x140cab1c3
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x30], rcx
lea rax, [r13 + 2]
add rax, rdi
mov r9d, 0x726
mov qword [rsp + 0x28], rax
mov r8, r15
mov qword [rsp + 0x60], rax
mov edx, 3
lea rax, str.client_hello_extensions
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.140caeeb0
mov r8, qword [rsp + 0x50]
test r8, r8
je 0x140caba89
mov r13, qword [rsp + 0x60]
lea rbp, str.found_truncated_hmac_extension
lea r14, str.found_encrypt_then_mac_extension
lea r10, str.unknown_extension_found:__u__ignoring_
lea r11, str.found_renegotiation_extension
lea rsi, str.found_max_fragment_length_extension
lea r9, [0x140000000]
cmp r8, 4
jb 0x140caba7e
movzx ecx, byte [r13 + 3]
movzx eax, byte [r13 + 1]
movzx edx, byte [r13]
shl edx, 8
or edx, eax
mov dword [rsp + 0x58], ecx
movzx eax, byte [r13 + 2]
mov edi, eax
mov dword [rsp + 0x108], eax
shl edi, 8
or edi, ecx
lea ecx, [rdi + 4]
cmp rcx, r8
ja 0x140caba73
cmp edx, 0xff01
ja case.0x140cab304.10
je 0x140cab85e
cmp edx, 0x23
ja case.0x140cab304.10
movzx eax, byte [r9 + rdx + 0xcabfb8]
mov ecx, dword [r9 + rax*4 + 0xcabf8c]
add rcx, r9
jmp rcx
lea rax, str.found_ServerName_extension
mov r9d, 0x73d
mov r8, r15
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call fcn.140caf730
mov rax, qword [rbx]
cmp qword [rax + 0x90], 0
je 0x140cab487
mov r8d, edi
lea rdx, [r13 + 4]
mov rcx, rbx
call fcn.140cacb50
test eax, eax
jne 0x140cabf75
jmp 0x140cab487
lea rax, str.found_signature_algorithms_extension
mov r9d, 0x758
mov r8, r15
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call fcn.140caf730
mov r8d, edi
lea rdx, [r13 + 4]
mov rcx, rbx
call fcn.140cad000
test eax, eax
jne 0x140cabf75
mov edi, r12d
mov dword [rsp + 0xf0], r12d
jmp 0x140cab48e
lea rax, str.found_supported_elliptic_curves_extension
mov r9d, 0x767
mov r8, r15
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call fcn.140caf730
mov ecx, edi
cmp rcx, 2
jb 0x140cab946
movzx eax, byte [r13 + 5]
movzx ebp, byte [r13 + 4]
shl rbp, 8
or rbp, rax
lea rax, [rbp + 2]
cmp rax, rcx
jne 0x140cab93e
test r12b, bpl
jne 0x140cab93e
mov rax, qword [rbx + 0x70]
cmp qword [rax + 0x3a0], 0
jne 0x140cab936
mov eax, reloc.WS2_32.dll_inet_ntoa
mov rsi, rbp
shr rsi, 1
mov edx, 8
inc rsi
cmp rsi, 0xc
cmova rsi, rax
mov rcx, rsi
call fcn.140cd7980
mov r14, rax
test rax, rax
je 0x140cab91d
mov rcx, qword [rbx + 0x70]
lea rdi, [r13 + 6]
mov qword [rcx + 0x3a0], rax
test rbp, rbp
je 0x140cab479
cmp rsi, r12
jbe 0x140cab479
movzx eax, byte [rdi]
movzx ecx, byte [rdi + 1]
shl ax, 8
or cx, ax
call fcn.140c7e2c0
test rax, rax
je 0x140cab46f
mov qword [r14], rax
add r14, 8
dec rsi
add rdi, 2
sub rbp, 2
jne 0x140cab448
lea rbp, str.found_truncated_hmac_extension
lea r14, str.found_encrypt_then_mac_extension
mov edi, dword [rsp + 0xf0]
mov esi, dword [rsp + 0xf8]
movzx eax, byte [rsp + 0x58]
lea r13, [r13 + 4]
mov r8, qword [rsp + 0x50]
movzx ecx, byte [rsp + 0x108]
shl rcx, 8
or rcx, rax
mov rax, 0xfffffffffffffffc
sub rax, rcx
add r8, rax
mov qword [rsp + 0x50], r8
lea r13, [rcx + r13]
mov qword [rsp + 0x60], r13
jne 0x140cab278
mov r13, qword [rsp + 0x78]
mov r14, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x80]
lea r8, [r13 + 2]
add r8, r14
jmp 0x140caba94
lea rax, str.found_supported_point_formats_extension
mov r9d, 0x770
mov r8, r15
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call fcn.140caf730
mov rax, qword [rbx + 0x70]
mov edx, edi
or byte [rax + 3], r12b
test edi, edi
je 0x140cab97f
movzx ecx, byte [r13 + 4]
lea rax, [rcx + 1]
cmp rax, rdx
jne 0x140cab97f
lea rdx, [r13 + 5]
test rcx, rcx
je 0x140cab487
movzx eax, byte [rdx]
cmp al, 2
jb 0x140cab558
inc rdx
sub rcx, r12
jne 0x140cab544
jmp 0x140cab487
mov ecx, eax
mov r9d, 0x181
mov rax, qword [rbx + 0x70]
mov r8, r15
mov dword [rax + 0x2f0], ecx
mov rcx, rbx
movzx eax, byte [rdx]
mov edx, 4
mov dword [rsp + 0x28], eax
lea rax, str.point_format_selected:__d
mov qword [rsp + 0x20], rax
call fcn.140caf730
jmp 0x140cab487
mov r9d, 0x788
mov qword [rsp + 0x20], rsi
mov r8, r15
mov edx, 3
mov rcx, rbx
call fcn.140caf730
cmp edi, r12d
jne 0x140cab98a
movzx ecx, byte [r13 + 4]
cmp cl, 5
jae 0x140cab98a
mov rax, qword [rbx + 0x68]
mov byte [rax], cl
jmp 0x140cab487
mov r9d, 0x793
mov qword [rsp + 0x20], rbp
mov r8, r15
mov edx, 3
mov rcx, rbx
call fcn.140caf730
test edi, edi
jne 0x140cab9bc
mov rax, qword [rbx]
mov esi, dword [rsp + 0xf8]
mov edi, dword [rsp + 0xf0]
cmp byte [rax + 0xf], r12b
jne 0x140cab495
mov rax, qword [rbx + 0x68]
mov dword [rax + 0x94], r12d
jmp 0x140cab495
mov r9d, 0x7a9
mov qword [rsp + 0x20], r14
mov r8, r15
mov edx, 3
mov rcx, rbx
call fcn.140caf730
test edi, edi
jne 0x140cab9c7
mov rax, qword [rbx]
cmp byte [rax + 0xa], r12b
jne 0x140cab487
cmp dword [rbx + 0x18], 0
mov esi, dword [rsp + 0xf8]
mov edi, dword [rsp + 0xf0]
je 0x140cab495
mov rax, qword [rbx + 0x68]
mov dword [rax + 0x98], r12d
jmp 0x140cab495
lea rax, str.found_extended_master_secret_extension
mov r9d, 0x7b4
mov r8, r15
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call fcn.140caf730
test edi, edi
jne 0x140cab9d2
mov rax, qword [rbx]
cmp byte [rax + 0xb], r12b
jne 0x140cab487
cmp dword [rbx + 0x18], 0
mov esi, dword [rsp + 0xf8]
mov edi, dword [rsp + 0xf0]
je 0x140cab495
mov rax, qword [rbx + 0x70]
mov byte [rax + 6], r12b
jmp 0x140cab495
lea rax, str.found_session_ticket_extension
mov r9d, 0x7bf
mov r8, r15
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call fcn.140caf730
mov r8d, edi
lea rdx, [r13 + 4]
mov rcx, rbx
call fcn.140cacda0
test eax, eax
jne 0x140cabf75
jmp 0x140cab487
lea rax, str.found_alpn_extension
mov r9d, 0x7ca
mov r8, r15
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call fcn.140caf730
mov rax, qword [rbx]
mov edx, edi
cmp qword [rax + 0x188], 0
je 0x140cab487
cmp rdx, 4
jb 0x140caba0f
movzx eax, byte [r13 + 4]
movzx ecx, byte [r13 + 5]
shl rax, 8
or rcx, rax
lea rax, [rdi - 2]
cmp rcx, rax
jne 0x140caba0f
lea r8, [r13 + 6]
add r13, 4
add r13, rdx
mov qword [rsp + 0x90], r8
mov rcx, r8
cmp r8, r13
je 0x140cab7b6
nop word [rax + rax]
movzx edx, byte [rcx]
mov rax, r13
inc rcx
sub rax, rcx
cmp rdx, rax
ja 0x140caba0f
test rdx, rdx
je 0x140cab9dd
add rcx, rdx
cmp rcx, r13
jne 0x140cab790
mov rax, qword [rbx]
mov rcx, qword [rax + 0x188]
mov qword [rsp + 0x70], rcx
mov rax, qword [rcx]
test rax, rax
je 0x140cab9f6
mov r14, rax
nop dword [rax]
nop dword [rax + rax]
mov rbp, 0xffffffffffffffff
inc rbp
cmp byte [rax + rbp], 0
jne 0x140cab7e7
mov rdi, r8
cmp r8, r13
je 0x140cab832
nop dword [rax + rax]
movzx esi, byte [rdi]
inc rdi
cmp rsi, rbp
jne 0x140cab81d
mov r8d, esi
mov rdx, r14
mov rcx, rdi
call fcn.140cfb640
test eax, eax
je 0x140cab84d
add rdi, rsi
cmp rdi, r13
jne 0x140cab800
mov rcx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x90]
mov r14, qword [rcx + 8]
add rcx, 8
mov qword [rsp + 0x70], rcx
test r14, r14
je 0x140cab9f6
mov rax, r14
jmp 0x140cab7e0
mov r13, qword [rsp + 0x60]
mov qword [rbx + 0x198], r14
jmp 0x140cab479
mov r9d, 0x74a
mov qword [rsp + 0x20], r11
mov r8, r15
mov edx, 3
mov rcx, rbx
call fcn.140caf730
cmp dword [rbx + 0xc], 0
mov esi, r12d
mov dword [rsp + 0xf8], r12d
mov ecx, edi
je 0x140cab8d2
mov r8, qword [rbx + 0x1b8]
lea rax, [r8 + 1]
cmp rcx, rax
jne 0x140caba28
movzx eax, byte [r13 + 4]
cmp rax, r8
jne 0x140caba28
lea rdx, [rbx + 0x1cc]
lea rcx, [r13 + 5]
call fcn.140c8c420
test eax, eax
jne 0x140caba28
mov edi, dword [rsp + 0xf0]
jmp 0x140cab495
cmp rcx, rsi
jne 0x140caba37
cmp byte [r13 + 4], 0
jne 0x140caba37
mov edi, dword [rsp + 0xf0]
mov dword [rbx + 0x1b0], r12d
jmp 0x140cab495
mov dword [rsp + 0x28], edx
mov r9d, 0x7e0
mov edx, 3
mov qword [rsp + 0x20], r10
mov r8, r15
mov rcx, rbx
call fcn.140caf730
jmp 0x140cab487
mov r8b, 0x50
mov dl, 2
mov rcx, rbx
mov edi, 0xffff8100
call fcn.140ca1a70
mov eax, edi
jmp 0x140cabf75
mov r9d, 0x142
jmp 0x140cab94c
mov r9d, 0x13a
jmp 0x140cab94c
mov r9d, 0x132
lea rax, str.bad_client_hello_message
mov r8, r15
mov edx, r12d
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.140caf730
mov r8b, gethostbyaddr
mov dl, 2
mov rcx, rbx
mov edi, 0xffff8700
call fcn.140ca1a70
mov eax, edi
jmp 0x140cabf75
mov r9d, 0x170
jmp 0x140cab1c3
lea rax, str.bad_client_hello_message
mov r9d, 0x1b1
mov r8, r15
mov qword [rsp + 0x20], rax
mov edx, r12d
mov rcx, rbx
call fcn.140caf730
mov r8b, 0x2f
mov dl, 2
mov rcx, rbx
call fcn.140ca1a70
jmp 0x140cabf70
mov r9d, 0x208
jmp 0x140cab1c3
mov r9d, 0x21f
jmp 0x140cab1c3
mov r9d, 0x237
jmp 0x140cab1c3
mov r8b, 0x2f
mov dl, 2
mov rcx, rbx
mov edi, 0xffff8700
call fcn.140ca1a70
mov eax, edi
jmp 0x140cabf75
mov r8b, 0x78
mov dl, 2
mov rcx, rbx
mov edi, 0xffff8700
call fcn.140ca1a70
mov eax, edi
jmp 0x140cabf75
mov r8b, gethostbyaddr
mov dl, 2
mov rcx, rbx
mov edi, 0xffff8700
call fcn.140ca1a70
mov eax, edi
jmp 0x140cabf75
mov r9d, 0xbc
lea rax, str.non_matching_renegotiation_info
jmp 0x140caba44
mov r9d, 0xc5
lea rax, str.non_zero_length_renegotiation_info
mov r8, r15
mov qword [rsp + 0x20], rax
mov edx, r12d
mov rcx, rbx
mov rsi, rbx
mov edi, 0xffff8700
call fcn.140caf730
mov r8b, 0x28
mov dl, 2
mov rcx, rbx
call fcn.140ca1a70
mov eax, edi
jmp 0x140cabf75
mov r9d, 0x735
jmp 0x140cab1c3
mov r9d, 0x72c
jmp 0x140cab1c3
lea r8, [r13 + 2]
xor esi, esi
add r8, r14
xor edi, edi
mov rdx, r8
lea r9, [r14 + r13]
sub rdx, r14
sub rdx, r13
sub rdx, 2
nop word [rax + rax]
movzx eax, byte [r8]
movzx ecx, byte [r9 + rdx + 3]
shl eax, 8
or ecx, eax
cmp ecx, 0x5600
je 0x140cabb31
add r8, 2
add rdx, 2
cmp rdx, rbp
jb 0x140cabab0
test edi, edi
jne 0x140cabafb
mov edi, 4
mov rcx, rbx
mov edx, edi
call fcn.140c98420
mov rcx, qword [rbx + 0x70]
xor edx, edx
test eax, eax
cmove edx, edi
add rcx, 8
call fcn.140c9aca0
lea rcx, [r13 + 2]
add rcx, r14
lea rdx, [r14 + r13]
mov rax, rcx
sub rax, r14
sub rax, r13
sub rax, 2
cmp byte [rcx], 0
jne 0x140cabb1f
cmp byte [rax + rdx + 3], 0xff
je 0x140cabb95
add rcx, 2
add rax, 2
cmp rax, rbp
jb 0x140cabb13
jmp 0x140cabbf6
lea rax, str.received_FALLBACK_SCSV
mov r9d, 0x7ed
mov r8, r15
mov qword [rsp + 0x20], rax
mov edx, 2
mov rcx, rbx
call fcn.140caf730
mov rax, qword [rbx]
movzx ecx, byte [rax + 1]
cmp dword [rbx + 0x18], ecx
jge 0x140cabad4
lea rax, str.inapropriate_fallback
mov r9d, 0x7f0
mov r8, r15
mov qword [rsp + 0x20], rax
mov edx, r12d
mov rcx, rbx
call fcn.140caf730
mov r8b, 0x56
mov dl, 2
mov rcx, rbx
call fcn.140ca1a70
jmp 0x140cabf70
lea rax, str.received_TLS_EMPTY_RENEGOTIATION_INFO
mov r9d, 0x816
mov r8, r15
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call fcn.140caf730
cmp dword [rbx + 0xc], r12d
jne 0x140cabbef
lea rax, str.received_RENEGOTIATION_SCSV_during_renegotiation
mov r9d, 0x81a
mov r8, r15
mov qword [rsp + 0x20], rax
mov edx, r12d
mov rcx, rbx
call fcn.140caf730
mov r8b, 0x28
mov dl, 2
mov rcx, rbx
call fcn.140ca1a70
jmp 0x140cabf70
mov dword [rbx + 0x1b0], r12d
mov ecx, dword [rbx + 0x1b0]
cmp ecx, r12d
je 0x140cabc19
mov rax, qword [rbx]
cmp byte [rax + 7], 2
jne 0x140cabc19
mov r9d, 0x82a
lea rax, str.legacy_renegotiation__breaking_off_handshake
jmp 0x140cabc68
cmp dword [rbx + 0xc], r12d
jne 0x140cabc8d
cmp ecx, r12d
jne 0x140cabc37
test esi, esi
jne 0x140cabc52
mov r9d, 0x831
lea rax, str.renegotiation_info_extension_missing__secure_
jmp 0x140cabc68
test ecx, ecx
jne 0x140cabc8d
mov rax, qword [rbx]
cmp byte [rax + 7], cl
jne 0x140cabc56
mov r9d, 0x836
lea rax, str.legacy_renegotiation_not_allowed
jmp 0x140cabc68
test ecx, ecx
jne 0x140cabc8d
cmp esi, r12d
jne 0x140cabc8d
mov r9d, 0x83b
lea rax, str.renegotiation_info_extension_present__legacy_
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov r8, r15
mov edx, r12d
call fcn.140caf730
mov r8b, 0x28
mov dl, 2
mov rcx, rbx
call fcn.140ca1a70
jmp 0x140cabf70
movsxd rcx, dword [rbx + 0x18]
mov rax, qword [rbx]
mov qword [rsp + 0xf0], 0
mov rcx, qword [rax + rcx*8 + 0x38]
mov qword [rsp + 0x108], rcx
cmp dword [rcx], 0
je 0x140cabea3
lea rax, [r14 + r13]
lea r12, [r14 + r13]
mov qword [rsp + 0xf8], rax
xor r13d, r13d
mov r14, rcx
xor r15d, r15d
lea rsi, [r12 + 2]
mov rdi, rsi
sub rdi, qword [rsp + 0x68]
sub rdi, qword [rsp + 0x78]
sub rdi, 2
nop word [rax + rax]
movzx ecx, byte [rdi + rax + 3]
movzx eax, byte [rsi]
mov edx, dword [r14]
shl eax, 8
or ecx, eax
cmp ecx, edx
jne 0x140cabd37
lea r8, [rsp + 0xf0]
mov rcx, rbx
mov r15d, 1
call fcn.140ca9e00
test eax, eax
jne 0x140cabf75
mov rbp, qword [rsp + 0xf0]
test rbp, rbp
jne 0x140cabd62
mov rbp, qword [rsp + 0x80]
mov rax, qword [rsp + 0xf8]
add rsi, 2
add rdi, 2
cmp rdi, rbp
jb 0x140cabcf0
add r14, 4
inc r13
cmp dword [r14], 0
je 0x140cabe54
jmp 0x140cabccf
mov rax, qword [rbp + 8]
lea rdi, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x28], rax
mov r9d, 0x884
lea rax, str.selected_ciphersuite:__s
mov r8, rdi
mov edx, 2
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.140caf730
mov rax, qword [rsp + 0x108]
mov rcx, qword [rbx + 0x68]
mov eax, dword [rax + r13*4]
mov dword [rcx + 0x10], eax
mov rax, qword [rbx + 0x70]
mov qword [rax + 0x18], rbp
mov rax, qword [rbx]
inc dword [rbx + 8]
cmp byte [rax + 5], r15b
jne 0x140cabdc3
mov rcx, rbx
call fcn.140ca1830
cmp dword [rbx + 0x18], 3
jne 0x140cabe2b
mov rcx, rbp
call fcn.140ca4cc0
test eax, eax
je 0x140cabe01
mov rcx, qword [rbx + 0x70]
mov edx, eax
add rcx, 8
call fcn.140c9acb0
mov ecx, eax
call fcn.140c99b00
movzx eax, al
mov r9d, 0x89b
mov dword [rsp + 0x28], eax
lea rax, str.client_hello_v3__signature_algorithm_ext:__d
jmp 0x140cabe16
mov dword [rsp + 0x28], 0
lea rax, str.no_hash_algorithm_for_signature_algorithm__u___should_not_happen
mov r9d, 0x89e
mov r8, rdi
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call fcn.140caf730
lea rax, str.__parse_client_hello
mov r9d, 0x8a3
mov r8, rdi
mov qword [rsp + 0x20], rax
mov edx, 2
mov rcx, rbx
call fcn.140caf730
xor eax, eax
jmp 0x140cabf75
test r15d, r15d
je 0x140cabe96
lea rax, str.got_ciphersuites_in_common__but_none_of_them_usable
mov r9d, 0x878
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 1
mov rcx, rbx
call fcn.140caf730
mov r8b, 0x28
mov dl, 2
mov rcx, rbx
call fcn.140ca1a70
mov eax, 0xffff9680
jmp 0x140cabf75
lea r15, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov r12d, 1
lea rax, str.got_no_ciphersuites_in_common
mov r9d, 0x87d
mov r8, r15
mov qword [rsp + 0x20], rax
mov edx, r12d
mov rcx, rbx
call fcn.140caf730
mov r8b, 0x28
mov dl, 2
mov rcx, rbx
call fcn.140ca1a70
mov eax, 0xffff8c80
jmp 0x140cabf75
mov r9d, 0x6ee
jmp 0x140cab1c3
mov r9d, 0x6db
jmp 0x140cab1c3
mov r9d, 0x691
jmp 0x140cab1c3
movzx eax, byte [rdx + 3]
mov r9d, 0x676
mov dword [rsp + 0x40], eax
mov edx, r12d
mov eax, dword [rbx + 0x18]
mov rcx, rbx
mov dword [rsp + 0x38], r10d
mov dword [rsp + 0x30], eax
lea rax, str.client_only_supports_ssl_smaller_than_minimum___d:_d______d:_d_
mov dword [rsp + 0x28], r8d
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.140caf730
mov r8b, 0x46
mov dl, 2
mov rcx, rbx
call fcn.140ca1a70
mov eax, 0xffff9180
jmp 0x140cabf75
mov r9d, 0x5b1
mov r8, r15
jmp 0x140cabf59
mov r9d, 0x5a0
mov rcx, rbx
lea rax, str.bad_client_hello_message
mov edx, r12d
mov qword [rsp + 0x20], rax
call fcn.140caf730
mov eax, 0xffff8700
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x30
mov rax, qword [rcx + 0x70]
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov r9d, 0xf8d
mov edx, 2
mov rbx, rcx
mov rbp, qword [rax + 0x18]
lea rax, [0x140dc3f78]
mov qword [rsp + 0x20], rax
call fcn.140caf730
mov edx, 1
mov rcx, rbx
call fcn.140ca1490
mov edi, eax
test eax, eax
je 0x140cac06c
mov dword [rsp + 0x28], eax
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
lea rax, str.mbedtls_ssl_read_record
mov r9d, 0xf9c
mov edx, 1
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.140caf800
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rbx + 0xd8]
mov edx, reloc.WS2_32.dll_inet_ntoa
mov rax, qword [rbx]
mov r8d, 4
mov rdi, qword [rbx + 0x120]
cmp byte [rax + 5], 1
cmovne edx, r8d
add rdi, rcx
add rdx, rcx
cmp dword [rbx + 0xe8], 0x16
mov qword [rsp + 0x40], rdx
je 0x140cac0df
lea rax, str.bad_client_key_exchange_message
mov r9d, 0xfa4
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 1
mov rcx, rbx
call fcn.140caf730
mov eax, 0xffff8400
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
cmp byte [rcx], 0x10
je 0x140cac11f
lea rax, str.bad_client_key_exchange_message
mov r9d, 0xfa9
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 1
mov rcx, rbx
call fcn.140caf730
mov eax, 0xffff8400
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov ecx, dword [rbp + 0x18]
mov qword [rsp + 0x48], rsi
cmp ecx, 2
jne 0x140cac227
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140caa6f0
mov esi, eax
test eax, eax
je 0x140cac177
lea rcx, str.ssl_parse_client_dh_public
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov rcx, rbx
mov r9d, 0xfb0
mov edx, 1
call fcn.140caf800
mov eax, esi
jmp 0x140cac7ca
cmp qword [rsp + 0x40], rdi
je 0x140cac18c
mov r9d, 0xfb5
mov rcx, rbx
jmp 0x140cac46e
mov r8, qword [rbx]
mov rcx, qword [rbx + 0x70]
mov rax, qword [r8 + 0x70]
mov qword [rsp + 0x28], rax
lea r9, [rcx + 0x10]
mov rax, qword [r8 + 0x68]
lea rdx, [rcx + 0x6e8]
mov r8d, 0x424
mov qword [rsp + 0x20], rax
add rcx, 0x40
call fcn.140cf7d60
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov rcx, rbx
test eax, eax
je 0x140cac1f7
mov dword [rsp + 0x28], eax
mov r9d, 0xfbe
lea rax, str.mbedtls_dhm_calc_secret
mov edx, 1
mov qword [rsp + 0x20], rax
call fcn.140caf800
mov eax, 0xffff8300
jmp 0x140cac7ca
mov rax, qword [rbx + 0x70]
mov r9d, 0xfc2
add rax, 0xc0
mov edx, 3
mov qword [rsp + 0x28], rax
lea rax, str.DHM:_K
mov qword [rsp + 0x20], rax
call fcn.140caf530
jmp 0x140cac76d
lea eax, [rcx - 3]
cmp eax, 1
jbe 0x140cac663
lea eax, [rcx - 9]
cmp eax, 1
jbe 0x140cac663
cmp ecx, 5
jne 0x140cac2e7
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140cac7e0
mov esi, eax
test eax, eax
je 0x140cac28f
lea rcx, str.ssl_parse_client_psk_identity
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov rcx, rbx
mov r9d, 0xfe9
mov edx, 1
call fcn.140caf800
mov eax, esi
jmp 0x140cac7ca
mov rcx, rbx
cmp qword [rsp + 0x40], rdi
je 0x140cac2a4
mov r9d, 0xfee
jmp 0x140cac46e
mov edx, dword [rbp + 0x18]
call fcn.140c9a150
mov edi, eax
test eax, eax
je 0x140cac76d
lea rcx, str.mbedtls_ssl_psk_derive_premaster
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov rcx, rbx
mov r9d, 0xffb
mov edx, 1
call fcn.140caf800
mov eax, edi
jmp 0x140cac7ca
cmp ecx, 7
jne 0x140cac3c7
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140cac7e0
mov esi, eax
test eax, eax
je 0x140cac337
lea rcx, str.ssl_parse_client_psk_identity
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov rcx, rbx
mov r9d, 0x100e
mov edx, 1
call fcn.140caf800
mov eax, esi
jmp 0x140cac7ca
mov rdx, qword [rsp + 0x40]
mov r9d, 2
mov r8, rdi
mov rcx, rbx
call fcn.140cac9d0
mov edi, eax
mov rcx, rbx
test eax, eax
je 0x140cac384
mov dword [rsp + 0x28], eax
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
lea rax, str.ssl_parse_encrypted_pms
mov r9d, 0x101b
mov edx, 1
mov qword [rsp + 0x20], rax
call fcn.140caf800
mov eax, edi
jmp 0x140cac7ca
mov edx, dword [rbp + 0x18]
call fcn.140c9a150
mov edi, eax
test eax, eax
je 0x140cac76d
lea rcx, str.mbedtls_ssl_psk_derive_premaster
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov rcx, rbx
mov r9d, 0x1021
mov edx, 1
call fcn.140caf800
mov eax, edi
jmp 0x140cac7ca
cmp ecx, 6
jne 0x140cac4d8
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140cac7e0
mov esi, eax
test eax, eax
je 0x140cac417
lea rcx, str.ssl_parse_client_psk_identity
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov rcx, rbx
mov r9d, 0x1029
mov edx, 1
call fcn.140caf800
mov eax, esi
jmp 0x140cac7ca
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140caa6f0
mov esi, eax
test eax, eax
je 0x140cac45e
lea rcx, str.ssl_parse_client_dh_public
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov rcx, rbx
mov r9d, 0x102d
mov edx, 1
call fcn.140caf800
mov eax, esi
jmp 0x140cac7ca
mov rcx, rbx
cmp qword [rsp + 0x40], rdi
je 0x140cac495
mov r9d, 0x103a
lea rax, str.bad_client_key_exchange
mov edx, 1
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
call fcn.140caf730
mov eax, 0xffff8400
jmp 0x140cac7ca
mov edx, dword [rbp + 0x18]
call fcn.140c9a150
mov edi, eax
test eax, eax
je 0x140cac76d
lea rcx, str.mbedtls_ssl_psk_derive_premaster
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov rcx, rbx
mov r9d, 0x1040
mov edx, 1
call fcn.140caf800
mov eax, edi
jmp 0x140cac7ca
cmp ecx, 8
jne 0x140cac5e8
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140cac7e0
mov esi, eax
test eax, eax
je 0x140cac528
lea rcx, str.ssl_parse_client_psk_identity
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov rcx, rbx
mov r9d, 0x1048
mov edx, 1
call fcn.140caf800
mov eax, esi
jmp 0x140cac7ca
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rbx + 0x70]
sub rdi, rdx
mov r8, rdi
add rcx, 0x138
call fcn.140cf8820
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov rcx, rbx
test eax, eax
je 0x140cac57b
mov dword [rsp + 0x28], eax
mov r9d, 0x104e
lea rax, str.mbedtls_ecdh_read_public
mov edx, 1
mov qword [rsp + 0x20], rax
call fcn.140caf800
mov eax, 0xffff8380
jmp 0x140cac7ca
mov rax, qword [rbx + 0x70]
mov r9d, 0x105b
add rax, 0x138
mov dword [rsp + 0x28], 1
mov edx, 3
mov qword [rsp + 0x20], rax
call fcn.140caf8c0
mov edx, dword [rbp + 0x18]
mov rcx, rbx
call fcn.140c9a150
mov edi, eax
test eax, eax
je 0x140cac76d
lea rcx, str.mbedtls_ssl_psk_derive_premaster
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov rcx, rbx
mov r9d, 0x105f
mov edx, 1
call fcn.140caf800
mov eax, edi
jmp 0x140cac7ca
cmp ecx, 1
mov rcx, rbx
jne 0x140cac636
xor r9d, r9d
mov r8, rdi
call fcn.140cac9d0
mov edi, eax
test eax, eax
je 0x140cac76d
mov dword [rsp + 0x28], eax
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
lea rax, str.ssl_parse_parse_encrypted_pms_secret
mov r9d, 0x1067
mov edx, 1
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.140caf800
mov eax, edi
jmp 0x140cac7ca
lea rax, str.should_never_happen
mov r9d, 0x107f
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 1
call fcn.140caf730
mov eax, 0xffff9400
jmp 0x140cac7ca
mov rcx, qword [rbx + 0x70]
sub rdi, rdx
add rcx, 0x138
mov r8, rdi
call fcn.140cf8820
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov rcx, rbx
test eax, eax
je 0x140cac6b1
mov dword [rsp + 0x28], eax
mov r9d, 0xfcf
lea rax, str.mbedtls_ecdh_read_public
mov edx, 1
mov qword [rsp + 0x20], rax
call fcn.140caf800
mov eax, 0xffff8380
jmp 0x140cac7ca
mov rax, qword [rbx + 0x70]
mov r9d, 0xfd4
add rax, 0x138
mov dword [rsp + 0x28], 1
mov edx, 3
mov qword [rsp + 0x20], rax
call fcn.140caf8c0
mov r9, qword [rbx]
mov rcx, qword [rbx + 0x70]
mov rax, qword [r9 + 0x70]
mov qword [rsp + 0x28], rax
lea r8, [rcx + 0x6e8]
mov rax, qword [r9 + 0x68]
lea rdx, [rcx + 0x10]
mov r9d, 0x400
mov qword [rsp + 0x20], rax
add rcx, 0x138
call fcn.140cf8290
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov rcx, rbx
test eax, eax
je 0x140cac746
mov dword [rsp + 0x28], eax
mov r9d, 0xfdb
lea rax, str.mbedtls_ecdh_calc_secret
mov edx, 1
mov qword [rsp + 0x20], rax
call fcn.140caf800
mov eax, 0xffff8300
jmp 0x140cac7ca
mov rax, qword [rbx + 0x70]
mov r9d, 0xfe0
add rax, 0x138
mov dword [rsp + 0x28], 2
mov edx, 3
mov qword [rsp + 0x20], rax
call fcn.140caf8c0
mov rcx, rbx
call fcn.140c98920
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov edi, eax
mov rcx, rbx
test eax, eax
je 0x140cac7a9
mov dword [rsp + 0x28], eax
mov r9d, 0x1084
lea rax, str.mbedtls_ssl_derive_keys
mov edx, 1
mov qword [rsp + 0x20], rax
call fcn.140caf800
mov eax, edi
jmp 0x140cac7ca
inc dword [rbx + 8]
lea rax, str.__parse_client_key_exchange
mov r9d, 0x108a
mov qword [rsp + 0x20], rax
mov edx, 2
call fcn.140caf730
xor eax, eax
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
push rbx
push rsi
push r12
sub rsp, 0x60
mov rax, qword [rcx + 0x70]
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov r12, qword [rcx + 0x160]
mov r9d, 0xbab
mov edx, 2
mov rsi, rcx
add r12, 0x4000
mov rbx, qword [rax + 0x18]
lea rax, [0x140dc3c70]
mov qword [rsp + 0x20], rax
call fcn.140caf730
inc dword [rsi + 8]
mov rax, qword [rsi + 0x70]
movzx edx, byte [rax + 4]
cmp dl, 3
jne 0x140cadc0c
mov rax, qword [rsi]
movzx edx, byte [rax + 6]
mov eax, dword [rbx + 0x18]
dec eax
cmp eax, 9
ja case.0x140cadc2e.5
lea r8, [0x140000000]
cdqe
mov ecx, dword [r8 + rax*4 + 0xcadec8]
add rcx, r8
jmp rcx
test dl, dl
je case.0x140cadc2e.5
mov rax, qword [rsi + 0x160]
xor ebx, ebx
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x40], r15
mov r15d, ebx
mov word [rax + 5], 0x4001
lea rdi, [rax + 4]
mov qword [rsp + 0x90], rbp
mov byte [rdi], 2
add rdi, 3
cmp dword [rsi + 0x18], 3
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x80], rbx
jne 0x140cadcec
mov rax, qword [rsi]
mov r14, qword [rax + 0x128]
mov eax, dword [r14]
test eax, eax
je 0x140cadcd8
lea rbx, [rdi + 2]
mov ecx, eax
call fcn.140c99b00
movzx ebp, al
test al, al
je 0x140cadcca
mov edx, ebp
mov rcx, rsi
call fcn.140c9a950
test eax, eax
jne 0x140cadcca
mov byte [rbx], bpl
add r15, 4
mov byte [rbx + 1], 1
mov byte [rbx + 2], bpl
mov byte [rbx + 3], 3
add rbx, 4
mov eax, dword [r14 + 4]
add r14, 4
test eax, eax
jne 0x140cadc97
xor ebx, ebx
mov rax, r15
mov byte [rdi + 1], r15b
shr rax, 8
add r15, 2
mov byte [rdi], al
add rdi, r15
mov rcx, qword [rsi]
add rdi, 2
cmp byte [rcx + 0x12], 1
jne 0x140cade00
mov rax, qword [rsi + 0x70]
mov rbp, qword [rax + 0x3c8]
test rbp, rbp
jne 0x140cadd1d
mov rbp, qword [rcx + 0x118]
test rbp, rbp
je 0x140cade00
mov qword [rsp + 0x50], r13
cmp dword [rbp + 0x38], 0
je 0x140caddfb
cmp r12, rdi
jb 0x140caddd5
movzx r14d, word [rbp + 0x90]
mov rcx, r12
sub rcx, rdi
lea rax, [r14 + 2]
cmp rcx, rax
jb 0x140caddd5
mov byte [rdi + 1], r14b
movzx eax, r14w
shr ax, 8
mov r8d, r14d
mov byte [rdi], al
add rdi, 2
mov rdx, qword [rbp + 0x98]
mov rcx, rdi
mov rbx, rdi
call fcn.140cfb740
lea rax, str.requested_DN
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rbx
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov r9d, 0xc2d
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rsi
add rdi, r14
call fcn.140caeeb0
mov rbx, qword [rsp + 0x80]
add r14w, 2
mov rbp, qword [rbp + 0x260]
add bx, r14w
mov qword [rsp + 0x80], rbx
test rbp, rbp
jne 0x140cadd22
jmp 0x140caddfb
lea rax, str.skipping_CAs:_buffer_too_short
mov r9d, 0xc24
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 1
mov rcx, rsi
call fcn.140caf730
mov r13, qword [rsp + 0x50]
mov rax, qword [rsi + 0x160]
movzx ecx, bx
sub rdi, qword [rsp + 0x88]
mov qword [rsi + 0x170], rdi
mov dword [rsi + reloc.WS2_32.dll_shutdown8], 0x16
mov byte [rax], reloc.WS2_32.dll_listen
mov rax, qword [rsi + 0x160]
shr cx, 8
mov byte [rax + r15 + 7], cl
mov rcx, rsi
mov rax, qword [rsi + 0x160]
mov byte [rax + r15 + 8], bl
call fcn.140ca21b0
mov ebx, eax
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
lea rax, str.__write_certificate_request
mov r9d, 0xc3b
mov edx, 2
mov qword [rsp + 0x20], rax
mov rcx, rsi
call fcn.140caf730
mov r15, qword [rsp + 0x40]
mov eax, ebx
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x90]
add rsp, 0x60
pop r12
pop rsi
pop rbx
ret
lea rax, str.__skip_write_certificate_request
mov r9d, 0xbb8
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 2
mov rcx, rsi
call fcn.140caf730
xor eax, eax
add rsp, 0x60
pop r12
pop rsi
pop rbx
ret
push rbx
push r14
sub rsp, 0x108
mov rax, qword [0x140f4c000]
xor rax, rsp
mov qword [rsp + 0xe0], rax
lea rax, [0x140dc3ba0]
mov r9d, 0xab7
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 2
mov rbx, rcx
call fcn.140caf730
mov rcx, qword [rbx]
movzx r9d, byte [rcx + 5]
cmp r9b, 1
jne 0x140cae227
mov rax, qword [rbx + 0x70]
cmp byte [rax + 0x470], 0
je 0x140cae227
lea rax, str.client_hello_was_not_authenticated
mov r9d, 0xabc
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 2
mov rcx, rbx
call fcn.140caf730
lea rax, str.__write_server_hello
mov r9d, 0xabd
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 2
mov rcx, rbx
call fcn.140caf730
mov rcx, rbx
call fcn.140cadef0
jmp 0x140caeb21
cmp qword [rcx + 0x68], 0
jne 0x140cae25e
lea rax, str.no_RNG_provided
mov r9d, 0xac4
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 1
mov rcx, rbx
call fcn.140caf730
mov eax, 0xffff8c00
jmp 0x140caeb21
mov edx, dword [rbx + 0x18]
mov r8d, r9d
mov ecx, dword [rbx + 0x14]
mov qword [rsp + 0x130], rsi
mov qword [rsp + 0x100], rdi
mov qword [rsp + 0xf8], r13
mov r13, qword [rbx + 0x160]
lea r9, [r13 + 4]
lea rsi, [r13 + 4]
call fcn.140ca2b60
movzx eax, byte [r13 + 5]
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
movzx ecx, byte [r13 + 4]
mov r9d, 0xad7
mov dword [rsp + 0x30], eax
mov edx, 3
mov dword [rsp + 0x28], ecx
lea rax, str.server_hello__chosen_version:___d:_d_
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.140caf730
xor ecx, ecx
call fcn.140cde0b0
mov rcx, rax
mov qword [rsp + 0x28], rax
sar rcx, 0x18
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov byte [r13 + 6], cl
mov r9d, 0xadf
mov rcx, rax
mov byte [r13 + 9], al
sar rcx, 0x10
mov edx, 3
mov byte [r13 + 7], cl
mov rcx, rax
sar rcx, 8
lea rax, str.server_hello__current_time:__lld
mov byte [r13 + 8], cl
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.140caf730
mov rax, qword [rbx]
lea rdx, [r13 + 0xa]
mov r8d, 0x1c
mov rcx, qword [rax + 0x70]
call qword [rax + 0x68]
test eax, eax
jne 0x140caeb09
mov rax, qword [rbx + 0x70]
lea rcx, [r13 + 6]
movups xmm0, xmmword [rcx]
mov qword [rsp + 0x128], rbp
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0xf0], r15
mov r9d, 0xaf0
movups xmmword [rax + 0x6c8], xmm0
mov r15d, 0x20
mov edx, 3
movups xmm1, xmmword [rcx + 0x10]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rcx
mov rcx, rbx
movups xmmword [rax + 0x6d8], xmm1
lea rax, str.server_hello__random_bytes
mov qword [rsp + 0x20], rax
call fcn.140caeeb0
mov rax, qword [rbx + 0x70]
mov rdi, qword [rbx + 0x68]
cmp byte [rax + 2], 1
je 0x140cae4e0
cmp qword [rdi + 0x18], 0
je 0x140cae4e0
mov rax, qword [rbx]
cmp qword [rax + 0x78], 0
je 0x140cae4e0
cmp dword [rbx + 0xc], 0
jne 0x140cae4e0
lea rcx, [rsp + 0x40]
call fcn.140c9a760
mov rax, qword [rdi + 0x18]
lea rdx, [rdi + 0x20]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x60]
mov r8, qword [rdi + 0x18]
call fcn.140cfb740
mov rax, qword [rbx]
lea rdx, [rsp + 0x40]
mov rcx, qword [rax + 0x88]
call qword [rax + 0x78]
test eax, eax
jne 0x140cae4d6
mov eax, dword [rsp + 0x50]
cmp dword [rdi + 0x10], eax
jne 0x140cae4d6
mov eax, dword [rsp + 0x54]
cmp dword [rdi + 0x14], eax
jne 0x140cae4d6
mov rcx, rdi
call fcn.140c9a710
lea rax, [rsp + 0x40]
xor edx, edx
movups xmm0, xmmword [rax]
mov r8d, 0xa0
lea rcx, [rsp + 0x40]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdi + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdi + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdi + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdi + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdi + 0x60], xmm0
movups xmm0, xmmword [rax + 0x70]
movups xmmword [rdi + 0x70], xmm0
movups xmm1, xmmword [rax + 0x80]
movups xmmword [rdi + 0x80], xmm1
movups xmm0, xmmword [rax + 0x90]
movups xmmword [rdi + 0x90], xmm0
call fcn.140cfbde0
lea rax, str.session_successfully_restored_from_cache
mov r9d, 0xaa5
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call fcn.140caf730
mov rax, qword [rbx + 0x70]
mov byte [rax + 2], 1
lea rcx, [rsp + 0x40]
call fcn.140c9a710
mov rax, qword [rbx + 0x70]
xor ebp, ebp
cmp byte [rax + 2], bpl
jne 0x140cae6c1
inc dword [rbx + 8]
xor ecx, ecx
call fcn.140cde0b0
mov rcx, qword [rbx + 0x68]
mov qword [rcx + 8], rax
mov rax, qword [rbx + 0x70]
mov rcx, qword [rbx + 0x68]
cmp byte [rax + 5], bpl
je 0x140cae69c
mov qword [rcx + 0x18], rbp
xorps xmm0, xmm0
mov rax, qword [rbx + 0x68]
mov r15d, ebp
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
mov rax, qword [rbx + 0x68]
movzx ecx, byte [rax + 0x18]
mov byte [rsi + 0x22], cl
add rsi, 0x23
mov r8, qword [rbx + 0x68]
mov rcx, rsi
lea rdx, [r8 + 0x20]
mov r8, qword [r8 + 0x18]
call fcn.140cfb740
mov rax, qword [rbx + 0x68]
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x28], r15
mov r9d, 0xb25
mov edx, 3
mov rcx, rbx
add rsi, qword [rax + 0x18]
lea rax, str.server_hello__session_id_len.:__zu
mov qword [rsp + 0x20], rax
call fcn.140caf730
lea rax, [r13 + 0x27]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rax
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
lea rax, str.server_hello__session_id
mov r9d, 0xb26
mov edx, 3
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.140caeeb0
mov rax, qword [rbx + 0x70]
lea rdx, [0x140d32e90]
lea rcx, [0x140d306a8]
mov r9d, 0xb28
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
cmp byte [rax + 2], bpl
lea rax, str._s_session_has_been_resumed
cmovne rcx, rdx
mov edx, 3
mov qword [rsp + 0x28], rcx
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.140caf730
mov rax, qword [rbx + 0x68]
mov ecx, dword [rax + 0x10]
sar ecx, 8
mov byte [rsi], cl
mov rax, qword [rbx + 0x68]
movzx ecx, byte [rax + 0x10]
mov byte [rsi + 1], cl
mov rax, qword [rbx + 0x68]
movzx ecx, byte [rax + 0x14]
mov byte [rsi + 2], cl
add rsi, 3
mov rcx, qword [rbx + 0x68]
mov ecx, dword [rcx + 0x10]
call fcn.140ca4c80
mov qword [rsp + 0x28], rax
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
lea rax, str.server_hello__chosen_ciphersuite:__s
mov r9d, 0xb2f
mov edx, 3
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.140caf730
mov rax, qword [rbx + 0x68]
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov r9d, 0xb31
mov edx, 3
mov ecx, dword [rax + 0x14]
lea rax, str.server_hello__compress_alg.:_0x_02X
mov dword [rsp + 0x28], ecx
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.140caf730
cmp dword [rbx + 0x1b0], 1
lea r14, [rsi + 2]
je 0x140cae711
mov rdi, rbp
jmp 0x140cae7ad
mov qword [rcx + 0x18], r15
mov r8, r15
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x68]
add rdx, r15
mov rcx, qword [rax + 0x70]
call qword [rax + 0x68]
test eax, eax
je 0x140cae52a
jmp 0x140caeaf9
mov rax, qword [rbx + 0x68]
mov rcx, rbx
mov r15, qword [rax + 0x18]
mov dword [rbx + 8], reloc.WS2_32.dll_inet_ntoa
call fcn.140c98920
mov edi, eax
test eax, eax
je 0x140cae52a
mov dword [rsp + 0x28], eax
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
lea rax, str.mbedtls_ssl_derive_keys
mov r9d, 0xb14
mov edx, 1
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.140caf800
jmp 0x140caeaf7
lea rax, str.server_hello__secure_renegotiation_extension
mov r9d, 0x957
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call fcn.140caf730
mov word [r14], 0x1ff
lea rdi, [r14 + 3]
mov eax, dword [rbx + 0xc]
mov byte [r14 + 2], bpl
test eax, eax
je 0x140cae7a1
movzx eax, byte [rbx + 0x1b8]
lea rdx, [rbx + 0x1cc]
add al, al
inc al
mov byte [rdi], al
movzx eax, byte [rbx + 0x1b8]
add al, al
mov byte [rdi + 1], al
add rdi, 2
mov r8, qword [rbx + 0x1b8]
mov rcx, rdi
call fcn.140cfb740
mov r8, qword [rbx + 0x1b8]
lea rdx, [rbx + 0x1c0]
add rdi, r8
mov rcx, rdi
call fcn.140cfb740
add rdi, qword [rbx + 0x1b8]
jmp 0x140cae7aa
mov word [rdi], 1
add rdi, 2
sub rdi, r14
mov rax, qword [rbx + 0x68]
lea r14, [rdi + rsi]
cmp byte [rax], bpl
jne 0x140cae7bf
mov rax, rbp
jmp 0x140cae7fd
lea rax, str.server_hello__max_fragment_length_extension
mov r9d, 0x97d
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call fcn.140caf730
mov dword [r14 + 2], 0x1000100
mov rax, qword [rbx + 0x68]
movzx ecx, byte [rax]
mov eax, 5
mov byte [r14 + 6], cl
add rdi, rax
mov r15d, 4
mov rax, qword [rbx + 0x68]
lea r14, [rsi + rdi]
cmp dword [rax + 0x94], ebp
jne 0x140cae81b
mov rax, rbp
jmp 0x140cae84c
lea rax, str.server_hello__adding_truncated_hmac_extension
mov r9d, 0x8b4
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call fcn.140caf730
mov rax, r15
mov dword [r14 + 2], 0x400
add rdi, rax
lea r14, [rsi + rdi]
cmp dword [rbx + 0x18], ebp
jne 0x140cae862
mov rax, qword [rbx + 0x68]
mov dword [rax + 0x98], ebp
mov rcx, qword [rbx + 0x68]
mov ecx, dword [rcx + 0x10]
call fcn.140ca4be0
test rax, rax
je 0x140cae886
mov ecx, dword [rax + 0x10]
call fcn.140c91260
test rax, rax
je 0x140cae886
cmp dword [rax + 4], 2
je 0x140cae890
mov rax, qword [rbx + 0x68]
mov dword [rax + 0x98], ebp
mov rax, qword [rbx + 0x68]
cmp dword [rax + 0x98], ebp
jne 0x140cae8a1
mov rax, rbp
jmp 0x140cae8d2
lea rax, str.server_hello__adding_encrypt_then_mac_extension
mov r9d, 0x90e
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call fcn.140caf730
mov rax, r15
mov dword [r14 + 2], 0x1600
add rdi, rax
mov rax, qword [rbx + 0x70]
lea r14, [rsi + rdi]
cmp byte [rax + 6], bpl
je 0x140cae91b
cmp dword [rbx + 0x18], ebp
je 0x140cae91b
lea rax, str.server_hello__adding_extended_master_secret_extension
mov r9d, 0x928
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call fcn.140caf730
mov rax, r15
mov dword [r14 + 2], 0x1700
jmp 0x140cae91e
mov rax, rbp
add rdi, rax
mov rax, qword [rbx + 0x70]
lea r14, [rsi + rdi]
cmp byte [rax + 5], bpl
jne 0x140cae934
mov r15, rbp
jmp 0x140cae962
lea rax, str.server_hello__adding_session_ticket_extension
mov r9d, 0x940
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call fcn.140caf730
mov dword [r14 + 2], 0x2300
mov rcx, qword [rbx + 0x68]
add rdi, r15
mov ecx, dword [rcx + 0x10]
call fcn.140ca4be0
mov rcx, rax
call fcn.140ca4c10
test eax, eax
je 0x140cae9cd
mov rax, qword [rbx + 0x70]
lea r14, [rsi + rdi]
test byte [rax + 3], 1
jne 0x140cae990
mov rax, rbp
jmp 0x140cae9ca
lea rax, str.server_hello__supported_point_formats_extension
mov r9d, 0x99a
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call fcn.140caf730
mov eax, 6
mov dword [r14 + 2], 0x2000b00
mov word [r14 + 6], 1
add rdi, rax
cmp qword [rbx + 0x198], rbp
je 0x140caea62
lea rax, str.server_hello__adding_alpn_extension
mov r9d, 0x9dd
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call fcn.140caf730
mov word [rsi + rdi + 2], 0x1000
mov r8, 0xffffffffffffffff
mov rax, qword [rbx + 0x198]
inc r8
cmp byte [rax + r8], bpl
jne 0x140caea15
lea rbp, [r8 + 7]
lea rax, [rbp - 4]
shr rax, 8
lea rcx, [rsi + 9]
mov byte [rsi + rdi + 4], al
add rcx, rdi
lea eax, [rbp - 4]
mov byte [rsi + rdi + 5], al
lea rax, [rbp - 6]
shr rax, 8
mov byte [rsi + rdi + 6], al
lea eax, [rbp - 6]
mov byte [rsi + rdi + 7], al
lea eax, [rbp - 7]
mov byte [rsi + rdi + 8], al
mov rdx, qword [rbx + 0x198]
call fcn.140cfb740
lea rax, str.server_hello__total_extension_length:__zu
add rdi, rbp
mov qword [rsp + 0x28], rdi
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov r9d, 0xb75
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rbx
call fcn.140caf730
test rdi, rdi
je 0x140caeaa9
mov byte [rsi + 1], dil
mov rax, rdi
shr rax, 8
mov byte [rsi], al
add rsi, 2
add rsi, rdi
mov rax, qword [rbx + 0x160]
sub rsi, r13
mov qword [rbx + 0x170], rsi
mov rcx, rbx
mov dword [rbx + reloc.WS2_32.dll_shutdown8], 0x16
mov byte [rax], 2
call fcn.140ca21b0
mov edi, eax
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
lea rax, str.__write_server_hello
mov r9d, 0xb86
mov edx, 2
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.140caf730
mov eax, edi
mov rbp, qword [rsp + 0x128]
mov r15, qword [rsp + 0xf0]
mov rsi, qword [rsp + 0x130]
mov rdi, qword [rsp + 0x100]
mov r13, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140cbacb0
add rsp, 0x108
pop r14
pop rbx
ret
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 0x70]
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
xor esi, esi
mov r9d, 0xde1
mov qword [rsp + 0x60], rsi
mov edx, 2
mov rdi, rcx
mov rbx, qword [rax + 0x18]
lea rax, [0x140dc3df8]
mov qword [rsp + 0x20], rax
call fcn.140caf730
mov edx, dword [rbx + 0x18]
mov ecx, edx
sub ecx, 1
je 0x140caed46
sub ecx, 4
je 0x140caed46
sub ecx, 2
je 0x140caed46
sub ecx, 2
je 0x140caed46
cmp ecx, 1
je 0x140caed46
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.140cad440
mov ebx, eax
test eax, eax
je 0x140caec21
cmp eax, 0xffff9b00
jne 0x140caec08
lea rax, str.__write_server_key_exchange__pending_
mov r9d, 0xe10
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 2
mov rcx, rdi
call fcn.140caf730
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
mov qword [rdi + 0x170], rsi
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x140caecb7
mov rcx, qword [rdi + 0x170]
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov rax, qword [rdi + 0x160]
mov r9d, 0xe21
shr rdx, 8
mov byte [rcx + rax], dl
inc qword [rdi + 0x170]
mov rdx, qword [rdi + 0x170]
mov rcx, qword [rdi + 0x160]
movzx eax, byte [rsp + 0x60]
mov byte [rdx + rcx], al
mov rcx, rdi
mov rax, qword [rsp + 0x60]
inc qword [rdi + 0x170]
mov rdx, qword [rdi + 0x170]
add rdx, qword [rdi + 0x160]
mov qword [rsp + 0x30], rax
lea rax, str.my_signature
mov qword [rsp + 0x28], rdx
mov edx, 3
mov qword [rsp + 0x20], rax
call fcn.140caeeb0
mov rax, qword [rsp + 0x60]
add qword [rdi + 0x170], rax
mov rax, qword [rdi + 0x160]
mov rcx, rdi
mov dword [rdi + reloc.WS2_32.dll_shutdown8], 0x16
mov byte [rax], reloc.WS2_32.dll_inet_ntoa
inc dword [rdi + 8]
call fcn.140ca21b0
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov ebx, eax
mov rcx, rdi
test eax, eax
je 0x140caed18
mov dword [rsp + 0x28], eax
mov r9d, 0xe2f
lea rax, str.mbedtls_ssl_write_handshake_msg
mov edx, 1
mov qword [rsp + 0x20], rax
call fcn.140caf800
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
lea rax, str.__write_server_key_exchange
mov r9d, 0xe33
mov edx, 2
mov qword [rsp + 0x20], rax
call fcn.140caf730
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
sub edx, 9
je 0x140caed54
cmp edx, 1
jne 0x140caee6e
mov rax, qword [rdi + 0x70]
test rax, rax
je 0x140caed69
mov rax, qword [rax + 0x3b8]
test rax, rax
jne 0x140caed7b
mov rax, qword [rdi]
mov rbx, rsi
mov rax, qword [rax + 0x110]
test rax, rax
je 0x140caed7f
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.140c6a500
cmp eax, 2
je 0x140caedc6
mov rcx, rbx
call fcn.140c6a500
cmp eax, 3
je 0x140caedc6
lea rax, str.server_key_not_ECDH_capable
mov r9d, 0xc4d
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 1
mov rcx, rdi
call fcn.140caf730
mov ebx, 0xffff9300
jmp 0x140caee32
movups xmm0, xmmword [rbx]
lea rcx, [rsp + 0x40]
movaps xmmword [rsp + 0x40], xmm0
call fcn.140c6a500
sub eax, 2
je 0x140caede7
sub eax, 1
je 0x140caede7
cmp eax, 1
jne 0x140caedec
mov rsi, qword [rsp + 0x48]
mov rcx, qword [rdi + 0x70]
xor r8d, r8d
add rcx, 0x138
mov rdx, rsi
call fcn.140cf84d0
mov ebx, eax
test eax, eax
je 0x140caee6e
mov dword [rsp + 0x28], eax
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
lea rax, str.mbedtls_ecdh_get_params
mov r9d, 0xc54
mov edx, 1
mov qword [rsp + 0x20], rax
mov rcx, rdi
call fcn.140caf800
lea rax, str.ssl_get_ecdh_params_from_cert
mov dword [rsp + 0x28], ebx
mov r9d, 0xded
mov qword [rsp + 0x20], rax
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov edx, 1
mov rcx, rdi
call fcn.140caf800
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
lea rax, str.__skip_write_server_key_exchange
mov r9d, 0xdf5
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov qword [rsp + 0x20], rax
mov edx, 2
mov rcx, rdi
call fcn.140caf730
inc dword [rdi + 8]
mov rbx, qword [rsp + 0x68]
xor eax, eax
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret