Function at 0x140c9a630
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rcx + 8]
mov rbx, rcx
cmp eax, 0x10
je 0x140c99ba1
cmp qword [rcx + 0x70], 0
je 0x140c99ba1
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.140c9f530
mov rcx, rbx
call fcn.140c90200
mov edi, eax
test eax, eax
jne 0x140c99777
mov rax, qword [rbx]
cmp byte [rax + 5], 1
jne 0x140c9972b
mov rax, qword [rbx + 0x70]
cmp byte [rax + 7], 1
jne 0x140c9972b
mov rcx, rbx
call fcn.140c8fda0
mov edi, eax
test eax, eax
jne 0x140c99777
movsxd rdx, dword [rbx + 8]
cmp edx, 0x12
ja case.0x140c9974a.16
lea r8, [0x140000000]
mov ecx, dword [r8 + rdx*4 + 0xc99bac]
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 0x140c9a630
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 0x140c9df70
mov rcx, rbx
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
jmp 0x140c8abc0
mov rcx, rbx
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
jmp 0x140c9e940
mov rcx, rbx
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
jmp 0x140c9d9b0
lea rax, [0x140e69888]
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.140c9f530
mov rax, qword [rbx + 0x160]
mov qword [rbx + 0x170], 4
mov dword [rbx + reloc.WS2_32.dll_shutdown8], 0x16
mov byte [rax], ntohs
mov rax, qword [rbx]
inc dword [rbx + 8]
cmp byte [rax + 5], 1
jne 0x140c99823
mov rcx, rbx
call fcn.140c919d0
mov rcx, rbx
call fcn.140c91fb0
mov edi, eax
test eax, eax
je 0x140c99868
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.140c9f600
mov eax, edi
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
ret
mov rax, qword [rbx]
cmp byte [rax + 5], 1
jne 0x140c998b6
mov rcx, rbx
call fcn.140c8fda0
mov edi, eax
test eax, eax
je 0x140c998b6
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.140c9f600
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.140c9f530
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 0x140c899f0
mov rcx, rbx
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
jmp 0x140c9bde0
mov rcx, rbx
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
jmp 0x140c9a020
mov rcx, rbx
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
jmp 0x140c90760
mov rcx, rbx
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
jmp 0x140c89cd0
mov rax, qword [rbx + 0x70]
mov rcx, rbx
cmp byte [rax + 5], 0
je 0x140c99af7
lea rax, [0x140e69b48]
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.140c9f530
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 0x140c99a01
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.140c9f600
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.140c91fb0
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 0x140c99ac9
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.140c9f600
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.140c9f530
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 0x140c91ef0
mov rcx, rbx
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbx
jmp 0x140c8af30
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.140c9f530
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.140c89620
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.140c9f530
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 [0x14100f500]
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, [0x140e69a60]
mov qword [rsp + 0x20], rax
call fcn.140c9f530
mov eax, dword [rbx + 0x18]
dec eax
cmp eax, 9
ja case.0x140c9a088.5
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0xc9a4c0]
add rcx, rdx
jmp rcx
mov rax, qword [rdi + 0x68]
mov rcx, rdi
cmp qword [rax + 0x70], 0
jne 0x140c9a0c5
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.140c9f530
inc dword [rdi + 8]
xor eax, eax
jmp 0x140c9a37a
xor edx, edx
call fcn.140c91290
mov ebx, eax
test eax, eax
je 0x140c9a103
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.140c9f600
mov eax, ebx
jmp 0x140c9a37a
inc dword [rdi + 8]
cmp dword [rdi + 0xe8], 0x16
jne 0x140c9a45f
mov rcx, qword [rdi + 0xd8]
cmp byte [rcx], 0xf
jne 0x140c9a45f
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 0x140c9a150
mov eax, 0xffff9400
jmp 0x140c9a37a
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 0x140c9a1b7
mov edx, r8d
mov rcx, r12
call fcn.140c5a1d0
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 0x140c9a2bd
lea rax, [rbx + 2]
cmp rax, qword [rdi + 0x120]
jbe 0x140c9a1f4
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.140c9f530
mov eax, 0xffff8280
jmp 0x140c9a35a
movzx ecx, byte [rcx + rbx]
call fcn.140c89960
mov ebp, eax
test eax, eax
je 0x140c9a42f
mov rcx, qword [rdi + 0xd8]
movzx edx, byte [rbx + rcx]
mov rcx, rdi
call fcn.140c8a750
test eax, eax
jne 0x140c9a42f
mov rcx, qword [rdi + 0xd8]
xor r13d, r13d
movzx ecx, byte [rbx + rcx + 1]
call fcn.140c89f30
test eax, eax
jne 0x140c9a26a
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.140c9f530
mov eax, 0xffff8280
jmp 0x140c9a35a
mov edx, eax
mov rcx, r12
call fcn.140c5a1d0
test eax, eax
jne 0x140c9a2a8
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.140c9f530
mov eax, 0xffff8280
jmp 0x140c9a35a
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 0x140c9a2ff
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.140c9f530
mov eax, 0xffff8280
jmp 0x140c9a355
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 0x140c9a391
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.140c9f530
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.140cd9320
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.140c5a4b0
mov ebx, eax
mov rcx, rdi
test eax, eax
je 0x140c9a3fd
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.140c9f600
mov eax, ebx
jmp 0x140c9a350
call fcn.140c91b60
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.140c9f530
xor eax, eax
jmp 0x140c9a350
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.140c9f530
mov eax, 0xffff8280
jmp 0x140c9a35a
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.140c9f530
mov eax, 0xffff8280
jmp 0x140c9a37a
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.140c9f530
inc dword [rdi + 8]
xor eax, eax
jmp 0x140c9a37a
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa8
xor esi, esi
lea rax, [0x140e68d50]
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.140c9f530
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 0x140c9a6a3
mov ebp, r12d
jmp 0x140c9a6c3
test ebp, ebp
jne 0x140c9a6c3
mov rdx, r13
mov rcx, rbx
call fcn.140c8f6b0
mov edi, eax
test eax, eax
jne 0x140c9a84f
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.140c9ecb0
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.140c9f530
cmp byte [rsi], 0x16
mov r8, r15
jne 0x140c9bd53
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.140c9f530
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.140c9f530
mov rax, qword [rbx]
lea r9, [rsi + 1]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x100]
movzx r8d, byte [rax + 5]
call fcn.140c915f0
cmp dword [rsp + 0x100], 3
jl 0x140c9bd48
mov rax, qword [rbx]
cmp byte [rax + 5], r12b
jne 0x140c9a87f
cmp dword [rbx + 0xc], 0
jne 0x140c9a87f
mov rcx, qword [rbx + 0xb8]
cmp byte [rcx], 0
jne 0x140c9a8a3
cmp byte [rcx + 1], 0
jne 0x140c9a8a3
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.140c8e9c0
mov rcx, rbx
test eax, eax
je 0x140c9a87a
lea rax, str.replayed_record__discarding
mov r9d, 0x5c7
mov r8, r15
mov qword [rsp + 0x20], rax
mov edx, r12d
call fcn.140c9f530
xor eax, eax
mov qword [rbx + 0x108], rax
mov qword [rbx + 0xf8], rax
jmp 0x140c9a691
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.140c9f600
mov eax, edi
jmp 0x140c9bd75
call fcn.140c8ea70
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 0x140c9a8b1
mov rsi, qword [rbx + 0x120]
jmp 0x140c9a911
mov r9d, 0x5bf
mov r8, r15
jmp 0x140c9bd59
mov rcx, rbx
cmp rsi, 0x4000
jbe 0x140c9a8cb
mov r9d, 0x5dd
mov r8, r15
jmp 0x140c9bd5c
mov rax, qword [rbx]
cmp byte [rax + 5], r12b
cmovne r14, r13
lea rdx, [rsi + r14]
call fcn.140c8f6b0
mov edi, eax
test eax, eax
je 0x140c9a8f0
mov r9d, 0x5e3
jmp 0x140c9a855
mov rax, qword [rbx]
cmp byte [rax + 5], r12b
jne 0x140c9a906
lea rax, [rsi + 0xd]
mov qword [rbx + 0x108], rax
jmp 0x140c9a911
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.140c9ecb0
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 0x140c9a97d
mov r9d, 0x5ff
jmp 0x140c9bd5c
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.140c9f530
mov r8, r15
cmp byte [r13], r12b
je 0x140c9a9b6
mov r9d, 0x606
jmp 0x140c9bd59
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.140c9f530
movzx eax, byte [r13 + 1]
test al, al
je 0x140c9aa24
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.140c9f530
jmp 0x140c9bd70
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 0x140c9aa8f
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.140c9f530
jmp 0x140c9bd70
cmp dl, r12b
jne 0x140c9abe5
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 0x140c9aaf7
mov rdx, qword [rbx + 0x70]
mov eax, dword [rdx + 0x464]
cmp ecx, eax
je 0x140c9aaed
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.140c9f530
jmp 0x140c9bd70
inc eax
mov dword [rdx + 0x464], eax
jmp 0x140c9ab0d
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.140c9f530
mov rcx, qword [rbx + 0xd8]
cmp byte [rcx + 6], 0
jne 0x140c9abbb
cmp byte [rcx + 7], 0
jne 0x140c9abbb
cmp byte [rcx + 8], 0
jne 0x140c9abbb
movzx eax, word [rcx + 1]
cmp ax, word [rcx + 9]
jne 0x140c9abbb
movzx eax, byte [rcx + 3]
cmp al, byte [rcx + 0xb]
je 0x140c9abe5
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.140c9f530
mov eax, 0xffff8f80
jmp 0x140c9bd75
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 0x140c9ac15
mov r9d, 0x662
jmp 0x140c9bd5c
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.140c9ecb0
mov rax, qword [rbx]
lea rdx, [rbx + 0x18]
mov r9, r13
lea rcx, [rbx + 0x14]
movzx r8d, byte [rax + 5]
call fcn.140c915f0
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 0x140c9bcfb
movzx eax, byte [rdx + 3]
mov r9d, dword [rbx + 0x18]
cmp r9d, eax
jl 0x140c9bcfb
movzx eax, byte [rdx]
cmp r8d, eax
jle 0x140c9aca3
mov dword [rbx + 0x14], eax
movzx eax, byte [rdx + 1]
jmp 0x140c9acac
movzx eax, byte [rdx + 1]
cmp r9d, eax
jle 0x140c9acaf
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.140c9ecb0
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 0x140c9bcf0
lea rax, [rbp + 0x24]
cmp rax, rsi
ja 0x140c9bcf0
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.140c9ecb0
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.140da1510
mov rax, qword [rbx]
lea r14, [rbp + 0x23]
mov qword [rsp + 0x68], r14
cmp byte [rax + 5], r12b
jne 0x140c9aec7
movzx edi, byte [r14 + r13]
mov r8, r15
mov rcx, rbx
lea rbp, [rdi + r14]
lea rax, [rbp + 3]
cmp rax, rsi
jbe 0x140c9adcd
lea rax, str.bad_client_hello_message
mov r9d, 0x6a8
mov edx, r12d
mov qword [rsp + 0x20], rax
call fcn.140c9f530
mov r8b, 0x46
mov dl, 2
mov rcx, rbx
call fcn.140c91870
jmp 0x140c9bd70
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.140c9ecb0
mov rcx, qword [rbx]
mov r10, qword [rcx + 0xc8]
test r10, r10
je 0x140c9ae8c
cmp dword [rbx + 0xc], 0
jne 0x140c9ae8c
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 0x140c9ae68
lea rax, str.cookie_verification_failed
mov r9d, 0x6ba
mov qword [rsp + 0x20], rax
call fcn.140c9f530
mov rax, qword [rbx + 0x70]
mov byte [rax + 0x470], r12b
jmp 0x140c9aebe
lea rax, str.cookie_verification_passed
mov r9d, 0x6bd
mov qword [rsp + 0x20], rax
call fcn.140c9f530
mov rax, qword [rbx + 0x70]
mov byte [rax + 0x470], 0
jmp 0x140c9aebe
mov r8, r15
mov rcx, rbx
test rdi, rdi
je 0x140c9aea2
mov r9d, 0x6c6
jmp 0x140c9bd5c
lea rax, str.cookie_verification_skipped
mov r9d, 0x6ca
mov edx, 2
mov qword [rsp + 0x20], rax
call fcn.140c9f530
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 0x140c9bce5
lea rax, [rbp + 3]
add rax, r14
cmp rax, rsi
ja 0x140c9bce5
test r12b, bpl
jne 0x140c9bce5
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.140c9ecb0
lea rdx, [rbp + 2]
add rdx, r14
movzx ecx, byte [rdx + r13]
lea rax, [rcx - 1]
cmp rax, 0xf
ja 0x140c9bcda
lea rdi, [rdx + 1]
add rdi, rcx
cmp rdi, rsi
ja 0x140c9bcda
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.140c9ecb0
mov rax, qword [rbx + 0x68]
xor ecx, ecx
mov dword [rax + 0x14], ecx
mov rax, qword [rbx]
cmp byte [rax + 5], r12b
jne 0x140c9afaf
mov rax, qword [rbx + 0x68]
mov dword [rax + 0x14], ecx
cmp rsi, rdi
jbe 0x140c9b01a
lea rax, [rdi + 2]
cmp rsi, rax
jae 0x140c9afef
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.140c9f530
mov r8b, gethostbyaddr
mov dl, 2
mov rcx, rbx
call fcn.140c91870
jmp 0x140c9bd70
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 0x140c9b01f
mov r9d, 0x71c
jmp 0x140c9afc3
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.140c9ecb0
mov r8, qword [rsp + 0x50]
test r8, r8
je 0x140c9b889
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 0x140c9b87e
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 0x140c9b873
cmp edx, 0xff01
ja case.0x140c9b104.10
je 0x140c9b65e
cmp edx, 0x23
ja case.0x140c9b104.10
movzx eax, byte [r9 + rdx + 0xc9bdb8]
mov ecx, dword [r9 + rax*4 + 0xc9bd8c]
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.140c9f530
mov rax, qword [rbx]
cmp qword [rax + 0x90], 0
je 0x140c9b287
mov r8d, edi
lea rdx, [r13 + 4]
mov rcx, rbx
call fcn.140c9c950
test eax, eax
jne 0x140c9bd75
jmp 0x140c9b287
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.140c9f530
mov r8d, edi
lea rdx, [r13 + 4]
mov rcx, rbx
call fcn.140c9ce00
test eax, eax
jne 0x140c9bd75
mov edi, r12d
mov dword [rsp + 0xf0], r12d
jmp 0x140c9b28e
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.140c9f530
mov ecx, edi
cmp rcx, 2
jb 0x140c9b746
movzx eax, byte [r13 + 5]
movzx ebp, byte [r13 + 4]
shl rbp, 8
or rbp, rax
lea rax, [rbp + 2]
cmp rax, rcx
jne 0x140c9b73e
test r12b, bpl
jne 0x140c9b73e
mov rax, qword [rbx + 0x70]
cmp qword [rax + 0x3a0], 0
jne 0x140c9b736
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.140cf6480
mov r14, rax
test rax, rax
je 0x140c9b71d
mov rcx, qword [rbx + 0x70]
lea rdi, [r13 + 6]
mov qword [rcx + 0x3a0], rax
test rbp, rbp
je 0x140c9b279
cmp rsi, r12
jbe 0x140c9b279
movzx eax, byte [rdi]
movzx ecx, byte [rdi + 1]
shl ax, 8
or cx, ax
call fcn.140c6e0c0
test rax, rax
je 0x140c9b26f
mov qword [r14], rax
add r14, 8
dec rsi
add rdi, 2
sub rbp, 2
jne 0x140c9b248
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 0x140c9b078
mov r13, qword [rsp + 0x78]
mov r14, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x80]
lea r8, [r13 + 2]
add r8, r14
jmp 0x140c9b894
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.140c9f530
mov rax, qword [rbx + 0x70]
mov edx, edi
or byte [rax + 3], r12b
test edi, edi
je 0x140c9b77f
movzx ecx, byte [r13 + 4]
lea rax, [rcx + 1]
cmp rax, rdx
jne 0x140c9b77f
lea rdx, [r13 + 5]
test rcx, rcx
je 0x140c9b287
movzx eax, byte [rdx]
cmp al, 2
jb 0x140c9b358
inc rdx
sub rcx, r12
jne 0x140c9b344
jmp 0x140c9b287
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.140c9f530
jmp 0x140c9b287
mov r9d, 0x788
mov qword [rsp + 0x20], rsi
mov r8, r15
mov edx, 3
mov rcx, rbx
call fcn.140c9f530
cmp edi, r12d
jne 0x140c9b78a
movzx ecx, byte [r13 + 4]
cmp cl, 5
jae 0x140c9b78a
mov rax, qword [rbx + 0x68]
mov byte [rax], cl
jmp 0x140c9b287
mov r9d, 0x793
mov qword [rsp + 0x20], rbp
mov r8, r15
mov edx, 3
mov rcx, rbx
call fcn.140c9f530
test edi, edi
jne 0x140c9b7bc
mov rax, qword [rbx]
mov esi, dword [rsp + 0xf8]
mov edi, dword [rsp + 0xf0]
cmp byte [rax + 0xf], r12b
jne 0x140c9b295
mov rax, qword [rbx + 0x68]
mov dword [rax + 0x94], r12d
jmp 0x140c9b295
mov r9d, 0x7a9
mov qword [rsp + 0x20], r14
mov r8, r15
mov edx, 3
mov rcx, rbx
call fcn.140c9f530
test edi, edi
jne 0x140c9b7c7
mov rax, qword [rbx]
cmp byte [rax + 0xa], r12b
jne 0x140c9b287
cmp dword [rbx + 0x18], 0
mov esi, dword [rsp + 0xf8]
mov edi, dword [rsp + 0xf0]
je 0x140c9b295
mov rax, qword [rbx + 0x68]
mov dword [rax + 0x98], r12d
jmp 0x140c9b295
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.140c9f530
test edi, edi
jne 0x140c9b7d2
mov rax, qword [rbx]
cmp byte [rax + 0xb], r12b
jne 0x140c9b287
cmp dword [rbx + 0x18], 0
mov esi, dword [rsp + 0xf8]
mov edi, dword [rsp + 0xf0]
je 0x140c9b295
mov rax, qword [rbx + 0x70]
mov byte [rax + 6], r12b
jmp 0x140c9b295
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.140c9f530
mov r8d, edi
lea rdx, [r13 + 4]
mov rcx, rbx
call fcn.140c9cba0
test eax, eax
jne 0x140c9bd75
jmp 0x140c9b287
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.140c9f530
mov rax, qword [rbx]
mov edx, edi
cmp qword [rax + 0x188], 0
je 0x140c9b287
cmp rdx, 4
jb 0x140c9b80f
movzx eax, byte [r13 + 4]
movzx ecx, byte [r13 + 5]
shl rax, 8
or rcx, rax
lea rax, [rdi - 2]
cmp rcx, rax
jne 0x140c9b80f
lea r8, [r13 + 6]
add r13, 4
add r13, rdx
mov qword [rsp + 0x90], r8
mov rcx, r8
cmp r8, r13
je 0x140c9b5b6
nop word [rax + rax]
movzx edx, byte [rcx]
mov rax, r13
inc rcx
sub rax, rcx
cmp rdx, rax
ja 0x140c9b80f
test rdx, rdx
je 0x140c9b7dd
add rcx, rdx
cmp rcx, r13
jne 0x140c9b590
mov rax, qword [rbx]
mov rcx, qword [rax + 0x188]
mov qword [rsp + 0x70], rcx
mov rax, qword [rcx]
test rax, rax
je 0x140c9b7f6
mov r14, rax
nop dword [rax]
nop dword [rax + rax]
mov rbp, 0xffffffffffffffff
inc rbp
cmp byte [rax + rbp], 0
jne 0x140c9b5e7
mov rdi, r8
cmp r8, r13
je 0x140c9b632
nop dword [rax + rax]
movzx esi, byte [rdi]
inc rdi
cmp rsi, rbp
jne 0x140c9b61d
mov r8d, esi
mov rdx, r14
mov rcx, rdi
call fcn.140da1410
test eax, eax
je 0x140c9b64d
add rdi, rsi
cmp rdi, r13
jne 0x140c9b600
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 0x140c9b7f6
mov rax, r14
jmp 0x140c9b5e0
mov r13, qword [rsp + 0x60]
mov qword [rbx + 0x198], r14
jmp 0x140c9b279
mov r9d, 0x74a
mov qword [rsp + 0x20], r11
mov r8, r15
mov edx, 3
mov rcx, rbx
call fcn.140c9f530
cmp dword [rbx + 0xc], 0
mov esi, r12d
mov dword [rsp + 0xf8], r12d
mov ecx, edi
je 0x140c9b6d2
mov r8, qword [rbx + 0x1b8]
lea rax, [r8 + 1]
cmp rcx, rax
jne 0x140c9b828
movzx eax, byte [r13 + 4]
cmp rax, r8
jne 0x140c9b828
lea rdx, [rbx + 0x1cc]
lea rcx, [r13 + 5]
call fcn.140c7c220
test eax, eax
jne 0x140c9b828
mov edi, dword [rsp + 0xf0]
jmp 0x140c9b295
cmp rcx, rsi
jne 0x140c9b837
cmp byte [r13 + 4], 0
jne 0x140c9b837
mov edi, dword [rsp + 0xf0]
mov dword [rbx + 0x1b0], r12d
jmp 0x140c9b295
mov dword [rsp + 0x28], edx
mov r9d, 0x7e0
mov edx, 3
mov qword [rsp + 0x20], r10
mov r8, r15
mov rcx, rbx
call fcn.140c9f530
jmp 0x140c9b287
mov r8b, 0x50
mov dl, 2
mov rcx, rbx
mov edi, 0xffff8100
call fcn.140c91870
mov eax, edi
jmp 0x140c9bd75
mov r9d, 0x142
jmp 0x140c9b74c
mov r9d, 0x13a
jmp 0x140c9b74c
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.140c9f530
mov r8b, gethostbyaddr
mov dl, 2
mov rcx, rbx
mov edi, 0xffff8700
call fcn.140c91870
mov eax, edi
jmp 0x140c9bd75
mov r9d, 0x170
jmp 0x140c9afc3
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.140c9f530
mov r8b, 0x2f
mov dl, 2
mov rcx, rbx
call fcn.140c91870
jmp 0x140c9bd70
mov r9d, 0x208
jmp 0x140c9afc3
mov r9d, 0x21f
jmp 0x140c9afc3
mov r9d, 0x237
jmp 0x140c9afc3
mov r8b, 0x2f
mov dl, 2
mov rcx, rbx
mov edi, 0xffff8700
call fcn.140c91870
mov eax, edi
jmp 0x140c9bd75
mov r8b, 0x78
mov dl, 2
mov rcx, rbx
mov edi, 0xffff8700
call fcn.140c91870
mov eax, edi
jmp 0x140c9bd75
mov r8b, gethostbyaddr
mov dl, 2
mov rcx, rbx
mov edi, 0xffff8700
call fcn.140c91870
mov eax, edi
jmp 0x140c9bd75
mov r9d, 0xbc
lea rax, str.non_matching_renegotiation_info
jmp 0x140c9b844
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.140c9f530
mov r8b, 0x28
mov dl, 2
mov rcx, rbx
call fcn.140c91870
mov eax, edi
jmp 0x140c9bd75
mov r9d, 0x735
jmp 0x140c9afc3
mov r9d, 0x72c
jmp 0x140c9afc3
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 0x140c9b931
add r8, 2
add rdx, 2
cmp rdx, rbp
jb 0x140c9b8b0
test edi, edi
jne 0x140c9b8fb
mov edi, 4
mov rcx, rbx
mov edx, edi
call fcn.140c88220
mov rcx, qword [rbx + 0x70]
xor edx, edx
test eax, eax
cmove edx, edi
add rcx, 8
call fcn.140c8aaa0
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 0x140c9b91f
cmp byte [rax + rdx + 3], 0xff
je 0x140c9b995
add rcx, 2
add rax, 2
cmp rax, rbp
jb 0x140c9b913
jmp 0x140c9b9f6
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.140c9f530
mov rax, qword [rbx]
movzx ecx, byte [rax + 1]
cmp dword [rbx + 0x18], ecx
jge 0x140c9b8d4
lea rax, str.inapropriate_fallback
mov r9d, 0x7f0
mov r8, r15
mov qword [rsp + 0x20], rax
mov edx, r12d
mov rcx, rbx
call fcn.140c9f530
mov r8b, 0x56
mov dl, 2
mov rcx, rbx
call fcn.140c91870
jmp 0x140c9bd70
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.140c9f530
cmp dword [rbx + 0xc], r12d
jne 0x140c9b9ef
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.140c9f530
mov r8b, 0x28
mov dl, 2
mov rcx, rbx
call fcn.140c91870
jmp 0x140c9bd70
mov dword [rbx + 0x1b0], r12d
mov ecx, dword [rbx + 0x1b0]
cmp ecx, r12d
je 0x140c9ba19
mov rax, qword [rbx]
cmp byte [rax + 7], 2
jne 0x140c9ba19
mov r9d, 0x82a
lea rax, str.legacy_renegotiation__breaking_off_handshake
jmp 0x140c9ba68
cmp dword [rbx + 0xc], r12d
jne 0x140c9ba8d
cmp ecx, r12d
jne 0x140c9ba37
test esi, esi
jne 0x140c9ba52
mov r9d, 0x831
lea rax, str.renegotiation_info_extension_missing__secure_
jmp 0x140c9ba68
test ecx, ecx
jne 0x140c9ba8d
mov rax, qword [rbx]
cmp byte [rax + 7], cl
jne 0x140c9ba56
mov r9d, 0x836
lea rax, str.legacy_renegotiation_not_allowed
jmp 0x140c9ba68
test ecx, ecx
jne 0x140c9ba8d
cmp esi, r12d
jne 0x140c9ba8d
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.140c9f530
mov r8b, 0x28
mov dl, 2
mov rcx, rbx
call fcn.140c91870
jmp 0x140c9bd70
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 0x140c9bca3
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 0x140c9bb37
lea r8, [rsp + 0xf0]
mov rcx, rbx
mov r15d, 1
call fcn.140c99c00
test eax, eax
jne 0x140c9bd75
mov rbp, qword [rsp + 0xf0]
test rbp, rbp
jne 0x140c9bb62
mov rbp, qword [rsp + 0x80]
mov rax, qword [rsp + 0xf8]
add rsi, 2
add rdi, 2
cmp rdi, rbp
jb 0x140c9baf0
add r14, 4
inc r13
cmp dword [r14], 0
je 0x140c9bc54
jmp 0x140c9bacf
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.140c9f530
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 0x140c9bbc3
mov rcx, rbx
call fcn.140c91630
cmp dword [rbx + 0x18], 3
jne 0x140c9bc2b
mov rcx, rbp
call fcn.140c94ac0
test eax, eax
je 0x140c9bc01
mov rcx, qword [rbx + 0x70]
mov edx, eax
add rcx, 8
call fcn.140c8aab0
mov ecx, eax
call fcn.140c89900
movzx eax, al
mov r9d, 0x89b
mov dword [rsp + 0x28], eax
lea rax, str.client_hello_v3__signature_algorithm_ext:__d
jmp 0x140c9bc16
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.140c9f530
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.140c9f530
xor eax, eax
jmp 0x140c9bd75
test r15d, r15d
je 0x140c9bc96
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.140c9f530
mov r8b, 0x28
mov dl, 2
mov rcx, rbx
call fcn.140c91870
mov eax, 0xffff9680
jmp 0x140c9bd75
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.140c9f530
mov r8b, 0x28
mov dl, 2
mov rcx, rbx
call fcn.140c91870
mov eax, 0xffff8c80
jmp 0x140c9bd75
mov r9d, 0x6ee
jmp 0x140c9afc3
mov r9d, 0x6db
jmp 0x140c9afc3
mov r9d, 0x691
jmp 0x140c9afc3
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.140c9f530
mov r8b, 0x46
mov dl, 2
mov rcx, rbx
call fcn.140c91870
mov eax, 0xffff9180
jmp 0x140c9bd75
mov r9d, 0x5b1
mov r8, r15
jmp 0x140c9bd59
mov r9d, 0x5a0
mov rcx, rbx
lea rax, str.bad_client_hello_message
mov edx, r12d
mov qword [rsp + 0x20], rax
call fcn.140c9f530
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, [0x140e69968]
mov qword [rsp + 0x20], rax
call fcn.140c9f530
mov edx, 1
mov rcx, rbx
call fcn.140c91290
mov edi, eax
test eax, eax
je 0x140c9be6c
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.140c9f600
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 0x140c9bedf
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.140c9f530
mov eax, 0xffff8400
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
cmp byte [rcx], 0x10
je 0x140c9bf1f
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.140c9f530
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 0x140c9c027
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140c9a4f0
mov esi, eax
test eax, eax
je 0x140c9bf77
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.140c9f600
mov eax, esi
jmp 0x140c9c5ca
cmp qword [rsp + 0x40], rdi
je 0x140c9bf8c
mov r9d, 0xfb5
mov rcx, rbx
jmp 0x140c9c26e
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.140d95460
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov rcx, rbx
test eax, eax
je 0x140c9bff7
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.140c9f600
mov eax, 0xffff8300
jmp 0x140c9c5ca
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.140c9f330
jmp 0x140c9c56d
lea eax, [rcx - 3]
cmp eax, 1
jbe 0x140c9c463
lea eax, [rcx - 9]
cmp eax, 1
jbe 0x140c9c463
cmp ecx, 5
jne 0x140c9c0e7
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140c9c5e0
mov esi, eax
test eax, eax
je 0x140c9c08f
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.140c9f600
mov eax, esi
jmp 0x140c9c5ca
mov rcx, rbx
cmp qword [rsp + 0x40], rdi
je 0x140c9c0a4
mov r9d, 0xfee
jmp 0x140c9c26e
mov edx, dword [rbp + 0x18]
call fcn.140c89f50
mov edi, eax
test eax, eax
je 0x140c9c56d
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.140c9f600
mov eax, edi
jmp 0x140c9c5ca
cmp ecx, 7
jne 0x140c9c1c7
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140c9c5e0
mov esi, eax
test eax, eax
je 0x140c9c137
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.140c9f600
mov eax, esi
jmp 0x140c9c5ca
mov rdx, qword [rsp + 0x40]
mov r9d, 2
mov r8, rdi
mov rcx, rbx
call fcn.140c9c7d0
mov edi, eax
mov rcx, rbx
test eax, eax
je 0x140c9c184
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.140c9f600
mov eax, edi
jmp 0x140c9c5ca
mov edx, dword [rbp + 0x18]
call fcn.140c89f50
mov edi, eax
test eax, eax
je 0x140c9c56d
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.140c9f600
mov eax, edi
jmp 0x140c9c5ca
cmp ecx, 6
jne 0x140c9c2d8
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140c9c5e0
mov esi, eax
test eax, eax
je 0x140c9c217
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.140c9f600
mov eax, esi
jmp 0x140c9c5ca
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140c9a4f0
mov esi, eax
test eax, eax
je 0x140c9c25e
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.140c9f600
mov eax, esi
jmp 0x140c9c5ca
mov rcx, rbx
cmp qword [rsp + 0x40], rdi
je 0x140c9c295
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.140c9f530
mov eax, 0xffff8400
jmp 0x140c9c5ca
mov edx, dword [rbp + 0x18]
call fcn.140c89f50
mov edi, eax
test eax, eax
je 0x140c9c56d
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.140c9f600
mov eax, edi
jmp 0x140c9c5ca
cmp ecx, 8
jne 0x140c9c3e8
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140c9c5e0
mov esi, eax
test eax, eax
je 0x140c9c328
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.140c9f600
mov eax, esi
jmp 0x140c9c5ca
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rbx + 0x70]
sub rdi, rdx
mov r8, rdi
add rcx, 0x138
call fcn.140d95f20
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov rcx, rbx
test eax, eax
je 0x140c9c37b
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.140c9f600
mov eax, 0xffff8380
jmp 0x140c9c5ca
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.140c9f6c0
mov edx, dword [rbp + 0x18]
mov rcx, rbx
call fcn.140c89f50
mov edi, eax
test eax, eax
je 0x140c9c56d
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.140c9f600
mov eax, edi
jmp 0x140c9c5ca
cmp ecx, 1
mov rcx, rbx
jne 0x140c9c436
xor r9d, r9d
mov r8, rdi
call fcn.140c9c7d0
mov edi, eax
test eax, eax
je 0x140c9c56d
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.140c9f600
mov eax, edi
jmp 0x140c9c5ca
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.140c9f530
mov eax, 0xffff9400
jmp 0x140c9c5ca
mov rcx, qword [rbx + 0x70]
sub rdi, rdx
add rcx, 0x138
mov r8, rdi
call fcn.140d95f20
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov rcx, rbx
test eax, eax
je 0x140c9c4b1
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.140c9f600
mov eax, 0xffff8380
jmp 0x140c9c5ca
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.140c9f6c0
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.140d95990
lea r8, str.C:_vcpkg_buildtreesmbedtls_src_v2.28.7_a14e236f0b.cleanlibrary_ssl_srv.c
mov rcx, rbx
test eax, eax
je 0x140c9c546
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.140c9f600
mov eax, 0xffff8300
jmp 0x140c9c5ca
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.140c9f6c0
mov rcx, rbx
call fcn.140c88720
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 0x140c9c5a9
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.140c9f600
mov eax, edi
jmp 0x140c9c5ca
inc dword [rbx + 8]
lea rax, str.__parse_client_key_exchange
mov r9d, 0x108a
mov qword [rsp + 0x20], rax
mov edx, 2
call fcn.140c9f530
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, [0x140e69660]
mov qword [rsp + 0x20], rax
call fcn.140c9f530
inc dword [rsi + 8]
mov rax, qword [rsi + 0x70]
movzx edx, byte [rax + 4]
cmp dl, 3
jne 0x140c9da0c
mov rax, qword [rsi]
movzx edx, byte [rax + 6]
mov eax, dword [rbx + 0x18]
dec eax
cmp eax, 9
ja case.0x140c9da2e.5
lea r8, [0x140000000]
cdqe
mov ecx, dword [r8 + rax*4 + 0xc9dcc8]
add rcx, r8
jmp rcx
test dl, dl
je case.0x140c9da2e.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 0x140c9daec
mov rax, qword [rsi]
mov r14, qword [rax + 0x128]
mov eax, dword [r14]
test eax, eax
je 0x140c9dad8
lea rbx, [rdi + 2]
mov ecx, eax
call fcn.140c89900
movzx ebp, al
test al, al
je 0x140c9daca
mov edx, ebp
mov rcx, rsi
call fcn.140c8a750
test eax, eax
jne 0x140c9daca
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 0x140c9da97
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 0x140c9dc00
mov rax, qword [rsi + 0x70]
mov rbp, qword [rax + 0x3c8]
test rbp, rbp
jne 0x140c9db1d
mov rbp, qword [rcx + 0x118]
test rbp, rbp
je 0x140c9dc00
mov qword [rsp + 0x50], r13
cmp dword [rbp + 0x38], 0
je 0x140c9dbfb
cmp r12, rdi
jb 0x140c9dbd5
movzx r14d, word [rbp + 0x90]
mov rcx, r12
sub rcx, rdi
lea rax, [r14 + 2]
cmp rcx, rax
jb 0x140c9dbd5
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.140da1510
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.140c9ecb0
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 0x140c9db22
jmp 0x140c9dbfb
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.140c9f530
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.140c91fb0
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.140c9f530
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.140c9f530
xor eax, eax
add rsp, 0x60
pop r12
pop rsi
pop rbx
ret
push rbx
push r14
sub rsp, 0x108
mov rax, qword [0x14100f500]
xor rax, rsp
mov qword [rsp + 0xe0], rax
lea rax, [0x140e69590]
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.140c9f530
mov rcx, qword [rbx]
movzx r9d, byte [rcx + 5]
cmp r9b, 1
jne 0x140c9e027
mov rax, qword [rbx + 0x70]
cmp byte [rax + 0x470], 0
je 0x140c9e027
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.140c9f530
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.140c9f530
mov rcx, rbx
call fcn.140c9dcf0
jmp 0x140c9e921
cmp qword [rcx + 0x68], 0
jne 0x140c9e05e
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.140c9f530
mov eax, 0xffff8c00
jmp 0x140c9e921
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.140c92960
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.140c9f530
xor ecx, ecx
call fcn.140cfbf90
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.140c9f530
mov rax, qword [rbx]
lea rdx, [r13 + 0xa]
mov r8d, 0x1c
mov rcx, qword [rax + 0x70]
call qword [rax + 0x68]
test eax, eax
jne 0x140c9e909
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.140c9ecb0
mov rax, qword [rbx + 0x70]
mov rdi, qword [rbx + 0x68]
cmp byte [rax + 2], 1
je 0x140c9e2e0
cmp qword [rdi + 0x18], 0
je 0x140c9e2e0
mov rax, qword [rbx]
cmp qword [rax + 0x78], 0
je 0x140c9e2e0
cmp dword [rbx + 0xc], 0
jne 0x140c9e2e0
lea rcx, [rsp + 0x40]
call fcn.140c8a560
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.140da1510
mov rax, qword [rbx]
lea rdx, [rsp + 0x40]
mov rcx, qword [rax + 0x88]
call qword [rax + 0x78]
test eax, eax
jne 0x140c9e2d6
mov eax, dword [rsp + 0x50]
cmp dword [rdi + 0x10], eax
jne 0x140c9e2d6
mov eax, dword [rsp + 0x54]
cmp dword [rdi + 0x14], eax
jne 0x140c9e2d6
mov rcx, rdi
call fcn.140c8a510
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.140da1bb0
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.140c9f530
mov rax, qword [rbx + 0x70]
mov byte [rax + 2], 1
lea rcx, [rsp + 0x40]
call fcn.140c8a510
mov rax, qword [rbx + 0x70]
xor ebp, ebp
cmp byte [rax + 2], bpl
jne 0x140c9e4c1
inc dword [rbx + 8]
xor ecx, ecx
call fcn.140cfbf90
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 0x140c9e49c
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.140da1510
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.140c9f530
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.140c9ecb0
mov rax, qword [rbx + 0x70]
lea rdx, [0x140dd7400]
lea rcx, [0x140dd4b98]
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.140c9f530
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.140c94a80
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.140c9f530
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.140c9f530
cmp dword [rbx + 0x1b0], 1
lea r14, [rsi + 2]
je 0x140c9e511
mov rdi, rbp
jmp 0x140c9e5ad
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 0x140c9e32a
jmp 0x140c9e8f9
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.140c88720
mov edi, eax
test eax, eax
je 0x140c9e32a
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.140c9f600
jmp 0x140c9e8f7
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.140c9f530
mov word [r14], 0x1ff
lea rdi, [r14 + 3]
mov eax, dword [rbx + 0xc]
mov byte [r14 + 2], bpl
test eax, eax
je 0x140c9e5a1
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.140da1510
mov r8, qword [rbx + 0x1b8]
lea rdx, [rbx + 0x1c0]
add rdi, r8
mov rcx, rdi
call fcn.140da1510
add rdi, qword [rbx + 0x1b8]
jmp 0x140c9e5aa
mov word [rdi], 1
add rdi, 2
sub rdi, r14
mov rax, qword [rbx + 0x68]
lea r14, [rdi + rsi]
cmp byte [rax], bpl
jne 0x140c9e5bf
mov rax, rbp
jmp 0x140c9e5fd
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.140c9f530
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 0x140c9e61b
mov rax, rbp
jmp 0x140c9e64c
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.140c9f530
mov rax, r15
mov dword [r14 + 2], 0x400
add rdi, rax
lea r14, [rsi + rdi]
cmp dword [rbx + 0x18], ebp
jne 0x140c9e662
mov rax, qword [rbx + 0x68]
mov dword [rax + 0x98], ebp
mov rcx, qword [rbx + 0x68]
mov ecx, dword [rcx + 0x10]
call fcn.140c949e0
test rax, rax
je 0x140c9e686
mov ecx, dword [rax + 0x10]
call fcn.140c81060
test rax, rax
je 0x140c9e686
cmp dword [rax + 4], 2
je 0x140c9e690
mov rax, qword [rbx + 0x68]
mov dword [rax + 0x98], ebp
mov rax, qword [rbx + 0x68]
cmp dword [rax + 0x98], ebp
jne 0x140c9e6a1
mov rax, rbp
jmp 0x140c9e6d2
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.140c9f530
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 0x140c9e71b
cmp dword [rbx + 0x18], ebp
je 0x140c9e71b
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.140c9f530
mov rax, r15
mov dword [r14 + 2], 0x1700
jmp 0x140c9e71e
mov rax, rbp
add rdi, rax
mov rax, qword [rbx + 0x70]
lea r14, [rsi + rdi]
cmp byte [rax + 5], bpl
jne 0x140c9e734
mov r15, rbp
jmp 0x140c9e762
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.140c9f530
mov dword [r14 + 2], 0x2300
mov rcx, qword [rbx + 0x68]
add rdi, r15
mov ecx, dword [rcx + 0x10]
call fcn.140c949e0
mov rcx, rax
call fcn.140c94a10
test eax, eax
je 0x140c9e7cd
mov rax, qword [rbx + 0x70]
lea r14, [rsi + rdi]
test byte [rax + 3], 1
jne 0x140c9e790
mov rax, rbp
jmp 0x140c9e7ca
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.140c9f530
mov eax, 6
mov dword [r14 + 2], 0x2000b00
mov word [r14 + 6], 1
add rdi, rax
cmp qword [rbx + 0x198], rbp
je 0x140c9e862
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.140c9f530
mov word [rsi + rdi + 2], 0x1000
mov r8, 0xffffffffffffffff
mov rax, qword [rbx + 0x198]
inc r8
cmp byte [rax + r8], bpl
jne 0x140c9e815
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.140da1510
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.140c9f530
test rdi, rdi
je 0x140c9e8a9
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.140c91fb0
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.140c9f530
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.140cd9320
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, [0x140e697e8]
mov qword [rsp + 0x20], rax
call fcn.140c9f530
mov edx, dword [rbx + 0x18]
mov ecx, edx
sub ecx, 1
je 0x140c9eb46
sub ecx, 4
je 0x140c9eb46
sub ecx, 2
je 0x140c9eb46
sub ecx, 2
je 0x140c9eb46
cmp ecx, 1
je 0x140c9eb46
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.140c9d240
mov ebx, eax
test eax, eax
je 0x140c9ea21
cmp eax, 0xffff9b00
jne 0x140c9ea08
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.140c9f530
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 0x140c9eab7
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.140c9ecb0
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.140c91fb0
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 0x140c9eb18
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.140c9f600
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.140c9f530
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
sub edx, 9
je 0x140c9eb54
cmp edx, 1
jne 0x140c9ec6e
mov rax, qword [rdi + 0x70]
test rax, rax
je 0x140c9eb69
mov rax, qword [rax + 0x3b8]
test rax, rax
jne 0x140c9eb7b
mov rax, qword [rdi]
mov rbx, rsi
mov rax, qword [rax + 0x110]
test rax, rax
je 0x140c9eb7f
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.140c5a300
cmp eax, 2
je 0x140c9ebc6
mov rcx, rbx
call fcn.140c5a300
cmp eax, 3
je 0x140c9ebc6
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.140c9f530
mov ebx, 0xffff9300
jmp 0x140c9ec32
movups xmm0, xmmword [rbx]
lea rcx, [rsp + 0x40]
movaps xmmword [rsp + 0x40], xmm0
call fcn.140c5a300
sub eax, 2
je 0x140c9ebe7
sub eax, 1
je 0x140c9ebe7
cmp eax, 1
jne 0x140c9ebec
mov rsi, qword [rsp + 0x48]
mov rcx, qword [rdi + 0x70]
xor r8d, r8d
add rcx, 0x138
mov rdx, rsi
call fcn.140d95bd0
mov ebx, eax
test eax, eax
je 0x140c9ec6e
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.140c9f600
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.140c9f600
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.140c9f530
inc dword [rdi + 8]
mov rbx, qword [rsp + 0x68]
xor eax, eax
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret