Function at 0x1001c910
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x1006d4cc
push 0x4bb
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
xor eax, eax
push 2
push 0x10077880
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x21c], eax
call fcn.10012320
mov ebx, 4
add esp, 0x14
cmp dword [0x10077888], 0
jne 0x1001c974
mov edx, 5
call fcn.100062e0
mov esi, eax
test esi, esi
jne 0x1001cad5
mov eax, dword [0x10077880]
mov edx, ebx
mov esi, dword [0x100778e4]
mov ecx, 0x10077880
mov eax, dword [eax + 0xcc]
and eax, 2
shl eax, 2
or eax, 5
push eax
push esi
push str.record_header
push 0x4db
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
call fcn.100123e0
movzx eax, byte [esi]
add esp, 0x14
push eax
push str.client_hello_v3__message_type:__d
push 0x4e7
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 3
push 0x10077880
call fcn.10012320
add esp, 0x18
cmp byte [esi], 0x16
jne 0x1001e1bc
mov eax, dword [0x100778e8]
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
shl eax, 8
or ecx, eax
push ecx
push str.client_hello_v3__message_len.:__d
push 0x4f0
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 3
push 0x10077880
call fcn.10012320
movzx eax, byte [esi + 2]
push eax
movzx eax, byte [esi + 1]
push eax
push str.client_hello_v3__protocol_version:___d:_d_
push 0x4f3
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 3
push 0x10077880
call fcn.10012320
movzx ecx, byte [esi + 1]
mov eax, 0x101
mov esi, dword [0x10077880]
sub eax, ecx
add esp, 0x34
mov edx, dword [esi + 0xcc]
and edx, 2
cmove eax, ecx
cmp eax, 3
jl 0x1001e1b0
test edx, edx
je 0x1001cb57
cmp dword [0x10077888], 0
jne 0x1001cb57
mov ecx, dword [0x100778e0]
cmp byte [ecx], 0
jne 0x1001cb7c
cmp byte [ecx + 1], 0
jne 0x1001cb7c
mov eax, dword [ecx + 2]
mov dword [0x10077956], eax
mov ax, word [ecx + 6]
mov word [0x1007795a], ax
call fcn.10008400
test eax, eax
je 0x1001cb4c
push str.replayed_record__discarding
push 0x516
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 1
push 0x10077880
call fcn.10012320
mov dword [0x10077908], 0
mov dword [0x10077900], 0
jmp 0x1001c954
mov eax, dword [0x10077880]
test eax, eax
je 0x1001cb39
cmp dword [eax + 0x10], 0
je 0x1001cb39
cmp dword [0x10075388], 1
jl 0x1001cb39
cmp esi, 0xffff9700
je 0x1001cb39
mov eax, esi
neg eax
push eax
push esi
push str.mbedtls_ssl_fetch_input
push str._s___returned__d___0x_04x__n
lea eax, [ebp - 0x208]
push 0x200
push eax
call fcn.1002f1c0
mov eax, dword [0x10077880]
lea ecx, [ebp - 0x208]
push ecx
push 0x4cc
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 1
push dword [eax + 0x14]
mov eax, dword [eax + 0x10]
call eax
add esp, 0x2c
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10045387
mov esp, ebp
pop ebp
ret
call fcn.100084d0
mov esi, dword [0x10077880]
mov eax, dword [0x100778e8]
movzx edi, byte [eax]
movzx eax, byte [eax + 1]
shl edi, 8
or edi, eax
cmp dword [0x10077888], 0
je 0x1001cb8b
mov edi, dword [0x10077920]
jmp 0x1001cc6d
push str.bad_client_hello_message
push 0x50d
jmp 0x1001e1c6
cmp edi, 0x4000
jbe 0x1001cba2
push str.bad_client_hello_message
push 0x52f
jmp 0x1001e1c6
mov edx, dword [esi + 0xcc]
and edx, 2
shl edx, 2
or edx, 5
add edx, edi
call fcn.100062e0
mov esi, eax
mov eax, dword [0x10077880]
test esi, esi
je 0x1001cc49
test eax, eax
je 0x1001cb39
cmp dword [eax + 0x10], 0
je 0x1001cb39
cmp dword [0x10075388], 1
jl 0x1001cb39
cmp esi, 0xffff9700
je 0x1001cb39
mov eax, esi
neg eax
push eax
push esi
push str.mbedtls_ssl_fetch_input
push str._s___returned__d___0x_04x__n
lea eax, [ebp - 0x208]
push 0x200
push eax
call fcn.1002f1c0
mov eax, dword [0x10077880]
lea ecx, [ebp - 0x208]
push ecx
push 0x536
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 1
push dword [eax + 0x14]
mov eax, dword [eax + 0x10]
call eax
add esp, 0x2c
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10045387
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 0xcc]
and eax, 2
je 0x1001cc63
shl eax, 2
or eax, 5
add eax, edi
mov dword [0x10077908], eax
jmp 0x1001cc6d
mov dword [0x10077900], 0
mov ebx, dword [0x100778f0]
mov edx, 4
push edi
push ebx
push str.record_contents
push 0x545
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
mov ecx, 0x10077880
call fcn.100123e0
mov eax, dword [0x100778bc]
add esp, 0x14
mov eax, dword [eax + 0x450]
push edi
push ebx
push 0x10077880
call eax
mov eax, dword [0x10077880]
add esp, 0xc
mov eax, dword [eax + 0xcc]
and eax, 2
or eax, 1
shl eax, 2
cmp edi, eax
jae 0x1001ccd4
push str.bad_client_hello_message
push 0x553
jmp 0x1001e1c6
movzx eax, byte [ebx]
push eax
push str.client_hello_v3__handshake_type:__d
push 0x557
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 3
push 0x10077880
call fcn.10012320
add esp, 0x18
cmp byte [ebx], 1
je 0x1001cd0a
push str.bad_client_hello_message
push 0x55b
jmp 0x1001e1c6
movzx ecx, byte [ebx + 1]
movzx eax, byte [ebx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 3]
shl ecx, 8
or ecx, eax
push ecx
push str.client_hello_v3__handshake_len.:__d
push 0x560
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 3
push 0x10077880
call fcn.10012320
add esp, 0x18
cmp byte [ebx + 1], 0
jne 0x1001e1a4
mov esi, dword [0x10077880]
movzx ecx, byte [ebx + 2]
movzx eax, byte [ebx + 3]
shl ecx, 8
mov edx, dword [esi + 0xcc]
or ecx, eax
and edx, 2
mov eax, edx
or eax, 1
lea eax, [ecx + eax*4]
cmp edi, eax
jne 0x1001e1a4
test edx, edx
je 0x1001ce1e
mov eax, dword [0x100778f0]
movzx ecx, byte [eax + 4]
movzx eax, byte [eax + 5]
shl ecx, 8
or ecx, eax
cmp dword [0x10077888], 1
jne 0x1001cdd6
mov edx, dword [0x100778bc]
mov eax, dword [edx + 0x1dc]
cmp ecx, eax
je 0x1001cdcd
push eax
push ecx
push str.bad_client_hello_message_seq:__d__expected__d_
push 0x57c
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 1
push 0x10077880
call fcn.10012320
add esp, 0x1c
jmp 0x1001e1da
inc eax
mov dword [edx + 0x1dc], eax
jmp 0x1001cded
mov eax, dword [0x100778bc]
mov dword [eax + 0x1d8], ecx
inc ecx
mov eax, dword [0x100778bc]
mov dword [eax + 0x1dc], ecx
mov ecx, dword [0x100778f0]
cmp byte [ecx + 6], 0
jne 0x1001ce45
cmp byte [ecx + 7], 0
jne 0x1001ce45
cmp byte [ecx + 8], 0
jne 0x1001ce45
movzx eax, word [ecx + 1]
cmp ax, word [ecx + 9]
jne 0x1001ce45
movzx eax, byte [ecx + 3]
cmp al, byte [ecx + 0xb]
jne 0x1001ce45
mov esi, dword [0x10077880]
mov eax, dword [esi + 0xcc]
and eax, 2
or eax, 1
shl eax, 2
sub edi, eax
add ebx, eax
cmp edi, 0x26
jae 0x1001ce79
push str.bad_client_hello_message
push 0x5b2
jmp 0x1001e1c6
push str.ClientHello_fragmentation_not_supported
push 0x592
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 1
push 0x10077880
call fcn.10012320
add esp, 0x14
mov eax, 0xffff8f80
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10045387
mov esp, ebp
pop ebp
ret
push 2
push ebx
push str.client_hello__version
push 0x5b9
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
mov edx, 3
mov ecx, 0x10077880
call fcn.100123e0
mov eax, dword [0x10077880]
add esp, 0x14
movzx ecx, byte [ebx]
test byte [eax + 0xcc], 2
je 0x1001cedd
mov edx, 0x101
sub edx, ecx
mov ecx, 0x100
mov dword [0x10077890], edx
movzx eax, byte [ebx + 1]
sub ecx, eax
mov dword [0x10077894], ecx
cmp ecx, 1
jne 0x1001ceee
mov dword [0x10077894], 2
jmp 0x1001ceee
mov dword [0x10077890], ecx
mov edx, ecx
movzx eax, byte [ebx + 1]
mov dword [0x10077894], eax
mov eax, dword [0x100778bc]
mov dword [eax + 0x8cc], edx
mov eax, dword [0x100778bc]
mov ecx, dword [0x10077894]
mov dword [eax + 0x8d0], ecx
mov edx, dword [0x10077880]
mov esi, dword [0x10077894]
movzx eax, byte [edx + 0xca]
mov dword [ebp - 0x234], eax
cmp dword [0x10077890], eax
jl 0x1001e14f
movzx eax, byte [edx + 0xcb]
cmp esi, eax
jl 0x1001e14f
movzx ecx, byte [edx + 0xc8]
cmp dword [0x10077890], ecx
jle 0x1001cf5c
mov dword [0x10077890], ecx
movzx eax, byte [edx + 0xc9]
jmp 0x1001cf67
movzx eax, byte [edx + 0xc9]
cmp esi, eax
jle 0x1001cf6c
mov dword [0x10077894], eax
push 0x20
lea esi, [ebx + 2]
mov edx, 3
push esi
push str.client_hello__random_bytes
push 0x5d8
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
mov ecx, 0x10077880
call fcn.100123e0
mov eax, dword [0x100778bc]
add esp, 0x14
movups xmm0, xmmword [esi]
movups xmmword [eax + 0x464], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [eax + 0x474], xmm0
movzx ecx, byte [ebx + 0x22]
mov dword [ebp - 0x22c], ecx
cmp ecx, 0x20
ja 0x1001e120
lea eax, [ecx + 0x24]
cmp eax, edi
ja 0x1001e120
push ecx
lea esi, [ebx + 0x23]
mov edx, 3
push esi
push str.client_hello__session_id
push 0x5ea
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
mov ecx, 0x10077880
call fcn.100123e0
mov eax, dword [0x100778b8]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x22c]
add esp, 0x14
mov dword [eax + 0x10], ecx
mov eax, dword [0x100778b8]
movups xmmword [eax + 0x14], xmm0
movups xmmword [eax + 0x24], xmm0
mov eax, dword [0x100778b8]
push dword [eax + 0x10]
add eax, 0x14
push esi
push eax
call fcn.10047450
mov eax, dword [0x10077880]
add esp, 0xc
mov ecx, dword [ebp - 0x22c]
add ecx, 0x23
test byte [eax + 0xcc], 2
je 0x1001d16f
movzx esi, byte [ecx + ebx]
lea edx, [ecx + ebx]
lea eax, [esi + ecx]
mov dword [ebp - 0x220], eax
add eax, 3
cmp eax, edi
jbe 0x1001d085
push str.bad_client_hello_message
push 0x5fd
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 1
push 0x10077880
call fcn.10012320
add esp, 0x14
mov dl, 2
push 0x46
call fcn.1000a220
add esp, 4
jmp 0x1001e1da
lea eax, [edx + 1]
mov ecx, 0x10077880
push esi
push eax
push str.client_hello__cookie
push 0x604
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
mov edx, 3
mov dword [ebp - 0x238], eax
call fcn.100123e0
mov eax, dword [0x10077880]
add esp, 0x14
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x1001d137
cmp dword [0x10077888], 0
jne 0x1001d137
push dword [0x10077970]
push dword [0x1007796c]
push esi
push dword [ebp - 0x238]
push dword [eax + 0x4c]
call ecx
add esp, 0x14
test eax, eax
je 0x1001d10e
push str.cookie_verification_failed
push 0x611
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 2
push 0x10077880
call fcn.10012320
mov eax, dword [0x100778bc]
mov byte [eax + 0x1e4], 1
jmp 0x1001d165
push str.cookie_verification_passed
push 0x616
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 2
push 0x10077880
call fcn.10012320
mov eax, dword [0x100778bc]
mov byte [eax + 0x1e4], 0
jmp 0x1001d165
test esi, esi
je 0x1001d14a
push str.bad_client_hello_message
push 0x621
jmp 0x1001e1c6
push str.cookie_verification_skipped
push 0x625
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 2
push 0x10077880
call fcn.10012320
mov ecx, dword [ebp - 0x220]
add esp, 0x14
inc ecx
movzx eax, byte [ecx + ebx]
movzx edx, byte [ecx + ebx + 1]
shl eax, 8
or edx, eax
mov dword [ebp - 0x238], edx
cmp edx, 2
jb 0x1001e0f1
lea esi, [edx + ecx]
lea eax, [esi + 3]
cmp eax, edi
ja 0x1001e0f1
test dl, 1
jne 0x1001e0f1
push edx
lea eax, [ecx + 2]
mov edx, 3
add eax, ebx
mov ecx, 0x10077880
push eax
push str.client_hello__ciphersuitelist
push 0x63f
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
mov dword [ebp - 0x22c], eax
call fcn.100123e0
movzx ecx, byte [esi + ebx + 2]
lea edx, [esi + ebx]
add esp, 0x14
lea eax, [ecx - 1]
cmp eax, 0xf
ja 0x1001e0c2
add esi, 3
add esi, ecx
cmp esi, edi
ja 0x1001e0c2
push ecx
lea eax, [edx + 3]
mov ecx, 0x10077880
push eax
push str.client_hello__compression
push 0x653
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
mov edx, 3
call fcn.100123e0
mov eax, dword [0x100778b8]
add esp, 0x14
mov dword [eax + 0xc], 0
mov eax, dword [0x10077880]
test byte [eax + 0xcc], 2
je 0x1001d23e
mov eax, dword [0x100778b8]
mov dword [eax + 0xc], 0
cmp edi, esi
jbe 0x1001d2d9
lea eax, [esi + 2]
cmp edi, eax
jae 0x1001d27c
push str.bad_client_hello_message
push 0x674
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 1
push 0x10077880
call fcn.10012320
add esp, 0x14
push 0x32
mov dl, 2
call fcn.1000a220
add esp, 4
jmp 0x1001e1da
movzx eax, byte [esi + ebx]
lea ecx, [esi + ebx]
movzx edx, byte [ecx + 1]
shl eax, 8
or edx, eax
mov dword [ebp - 0x210], edx
jbe 0x1001d299
cmp edx, 4
jb 0x1001d2a2
lea eax, [edx + 2]
add eax, esi
cmp edi, eax
je 0x1001d2d1
push str.bad_client_hello_message
push 0x680
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 1
push 0x10077880
call fcn.10012320
add esp, 0x14
mov dl, 2
push 0x32
call fcn.1000a220
add esp, 4
jmp 0x1001e1da
mov edi, dword [ebp - 0x210]
jmp 0x1001d2e4
xor edi, edi
lea ecx, [esi + ebx]
mov dword [ebp - 0x210], edi
lea ebx, [ecx + 2]
mov edx, 3
push edi
push ebx
push str.client_hello_extensions
push 0x68a
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
mov ecx, 0x10077880
mov dword [ebp - 0x214], ebx
call fcn.100123e0
add esp, 0x14
test edi, edi
je 0x1001dc07
nop dword [eax + eax]
cmp edi, 4
jb 0x1001dbd8
movzx ecx, byte [ebx]
movzx eax, byte [ebx + 1]
movzx esi, byte [ebx + 2]
shl ecx, 8
or ecx, eax
shl esi, 8
movzx eax, byte [ebx + 3]
or esi, eax
mov dword [ebp - 0x234], esi
lea eax, [esi + 4]
cmp eax, edi
ja 0x1001dba9
cmp ecx, 0xff01
ja case.0x1001d375.2
je 0x1001d891
cmp ecx, 0x23
ja case.0x1001d375.2
movzx eax, byte [ecx + 0x1001e21c]
jmp dword [eax*4 + 0x1001e1f0]
push str.found_ServerName_extension
push 0x6a4
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 3
push 0x10077880
call fcn.10012320
mov eax, dword [0x10077880]
add esp, 0x14
cmp dword [eax + 0x2c], 0
je 0x1001d977
push esi
lea edx, [ebx + 4]
call fcn.1001be50
add esp, 4
test eax, eax
jne 0x1001e1df
jmp 0x1001d977
push str.found_signature_algorithms_extension
push 0x6bc
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 3
push 0x10077880
call fcn.10012320
add esp, 0x14
lea edx, [ebx + 4]
push esi
call fcn.1001c090
add esp, 4
test eax, eax
jne 0x1001e1df
mov dword [ebp - 0x21c], 1
jmp 0x1001d977
push str.found_supported_elliptic_curves_extension
push 0x6ca
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 3
push 0x10077880
call fcn.10012320
add esp, 0x14
cmp esi, 2
jb 0x1001d9f2
mov eax, dword [ebp - 0x214]
movzx ebx, byte [ebx + 5]
movzx eax, byte [eax + 4]
shl eax, 8
or ebx, eax
lea eax, [ebx + 2]
cmp eax, esi
jne 0x1001d9e6
test bl, 1
jne 0x1001d9e6
mov eax, dword [0x100778bc]
cmp dword [eax + 0x1b8], 0
jne 0x1001d9da
mov edi, ebx
mov eax, 0xc
shr edi, 1
inc edi
cmp edi, 0xc
push 4
cmova edi, eax
push edi
call fcn.1004b0e2
add esp, 8
mov dword [ebp - 0x228], eax
test eax, eax
je 0x1001d9b8
mov ecx, dword [0x100778bc]
mov esi, dword [ebp - 0x214]
add esi, 6
mov dword [ecx + 0x1b8], eax
test ebx, ebx
je 0x1001d4ee
cmp edi, 1
jbe 0x1001d4ee
movzx ecx, byte [esi]
mov edx, 0x100607e8
movzx eax, byte [esi + 1]
shl cx, 8
or cx, ax
movzx eax, cx
cmp word [edx + 4], ax
je 0x1001d4d0
add edx, 0xc
cmp dword [edx], 0
jne 0x1001d4c0
jmp 0x1001d4e6
test edx, edx
je 0x1001d4e6
mov eax, dword [ebp - 0x228]
mov dword [eax], edx
add eax, 4
mov dword [ebp - 0x228], eax
dec edi
add esi, 2
sub ebx, 2
jne 0x1001d4a5
mov ebx, dword [ebp - 0x214]
mov edi, dword [ebp - 0x210]
jmp 0x1001d977
push 0x1006d818
push 0x6d2
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 3
push 0x10077880
call fcn.10012320
mov eax, dword [0x100778bc]
add esp, 0x14
or dword [eax + 0x8d4], 1
test esi, esi
je 0x1001da32
movzx ecx, byte [ebx + 4]
lea eax, [ecx + 1]
cmp eax, esi
jne 0x1001da32
lea edx, [ebx + 5]
test ecx, ecx
je 0x1001d977
nop dword [eax + eax]
mov al, byte [edx]
test al, al
je 0x1001d565
cmp al, 1
je 0x1001d565
inc edx
sub ecx, 1
jne 0x1001d550
jmp 0x1001d977
movzx ecx, al
mov eax, dword [0x100778bc]
mov dword [eax + 0x160], ecx
movzx eax, byte [edx]
push eax
push str.point_format_selected:__d
push 0x177
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 4
jmp 0x1001d96a
push 0x1006d840
push 0x6e8
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 3
push 0x10077880
call fcn.10012320
add esp, 0x14
cmp esi, 1
jne 0x1001da61
mov cl, byte [ebx + 4]
cmp cl, 5
jae 0x1001da61
mov eax, dword [0x100778b8]
mov byte [eax + 0x78], cl
jmp 0x1001d977
push 0x1006d864
push 0x6f2
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 3
push 0x10077880
call fcn.10012320
add esp, 0x14
test esi, esi
jne 0x1001da90
mov eax, dword [0x10077880]
test dword [eax + 0xcc], 0x8000
je 0x1001d977
mov eax, dword [0x100778b8]
mov dword [eax + 0x7c], 1
jmp 0x1001d977
push 0x1006d884
push 0x6fc
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 3
push 0x10077880
call fcn.10012320
add esp, 0x14
test esi, esi
jne 0x1001dabf
mov eax, dword [0x10077880]
test dword [eax + 0xcc], 0x400
je 0x1001d977
cmp dword [0x10077894], esi
je 0x1001d977
mov eax, dword [0x100778b8]
mov dword [eax + 0x80], 1
jmp 0x1001d977
push 0x1006d8a8
push 0x706
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 3
push 0x10077880
call fcn.10012320
add esp, 0x14
test esi, esi
jne 0x1001daee
mov eax, dword [0x10077880]
test dword [eax + 0xcc], 0x800
je 0x1001d977
cmp dword [0x10077894], esi
je 0x1001d977
mov eax, dword [0x100778bc]
mov dword [eax + 0x8dc], 1
jmp 0x1001d977
push 0x1006d8d0
push 0x710
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 3
push 0x10077880
call fcn.10012320
add esp, 0x14
lea edx, [ebx + 4]
push esi
call fcn.1001c240
add esp, 4
test eax, eax
jne 0x1001e1df
jmp 0x1001d977
push str.found_alpn_extension
push 0x71a
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 3
push 0x10077880
call fcn.10012320
mov eax, dword [0x10077880]
add esp, 0x14
mov edi, dword [eax + 0xa4]
mov dword [ebp - 0x220], edi
test edi, edi
je 0x1001d4f4
cmp esi, 4
jb 0x1001d26b
movzx eax, byte [ebx + 4]
movzx ecx, byte [ebx + 5]
shl eax, 8
or ecx, eax
lea eax, [esi - 2]
cmp ecx, eax
jne 0x1001d26b
lea eax, [ebx + 6]
add ebx, 4
add ebx, esi
mov ecx, eax
mov dword [ebp - 0x228], ebx
cmp eax, ebx
je 0x1001d790
movzx edx, byte [ecx]
mov eax, ebx
inc ecx
sub eax, ecx
cmp edx, eax
ja 0x1001d26b
test edx, edx
je 0x1001db1d
add ecx, edx
cmp ecx, ebx
jne 0x1001d772
mov ebx, dword [edi]
test ebx, ebx
je 0x1001db2e
mov edx, dword [ebp - 0x228]
mov esi, ebx
mov dword [ebp - 0x224], esi
lea ecx, [ebx + 1]
nop dword [eax + eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x1001d7b0
mov eax, dword [ebp - 0x214]
sub ebx, ecx
add eax, 6
mov edi, eax
cmp eax, edx
je 0x1001d84f
nop dword [eax]
movzx ecx, byte [edi]
inc edi
mov dword [ebp - 0x218], ecx
cmp ecx, ebx
jne 0x1001d83f
mov eax, esi
mov edx, edi
mov esi, ecx
sub esi, 4
jb 0x1001d801
nop dword [eax]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x1001d806
add edx, 4
add eax, 4
sub esi, 4
jae 0x1001d7f0
cmp esi, 0xfffffffc
je 0x1001d875
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x1001d833
cmp esi, 0xfffffffd
je 0x1001d875
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x1001d833
cmp esi, 0xfffffffe
je 0x1001d875
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x1001d833
cmp esi, 0xffffffff
je 0x1001d875
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x1001d875
mov esi, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x218]
add edi, ecx
cmp edi, dword [ebp - 0x228]
jne 0x1001d7d0
mov edx, dword [ebp - 0x228]
mov edi, dword [ebp - 0x220]
add edi, 4
mov dword [ebp - 0x220], edi
mov esi, dword [edi]
mov dword [ebp - 0x224], esi
test esi, esi
je 0x1001db2e
mov ebx, esi
jmp 0x1001d7a8
mov eax, dword [ebp - 0x224]
mov ebx, dword [ebp - 0x214]
mov edi, dword [ebp - 0x210]
mov dword [0x10077968], eax
jmp 0x1001d977
push str.found_renegotiation_extension
push 0x6af
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 3
push 0x10077880
call fcn.10012320
add esp, 0x14
mov dword [ebp - 0x230], 1
cmp dword [0x10077888], 0
je 0x1001d93d
mov ecx, dword [0x10077978]
lea eax, [ecx + 1]
cmp esi, eax
jne 0x1001db3f
movzx eax, byte [ebx + 4]
cmp eax, ecx
jne 0x1001db3f
add ebx, 5
mov byte [ebp - 0x209], 0
xor edi, edi
test ecx, ecx
je 0x1001d922
mov edx, 0x10077988
sub ebx, 0x10077988
mov esi, edx
mov al, byte [edx + ebx]
lea edx, [edx + 1]
mov cl, byte [esi]
lea esi, [esi + 1]
xor cl, al
inc edi
or cl, byte [ebp - 0x209]
mov byte [ebp - 0x209], cl
cmp edi, dword [0x10077978]
jb 0x1001d900
cmp byte [ebp - 0x209], 0
jne 0x1001db3f
mov ebx, dword [ebp - 0x214]
mov edi, dword [ebp - 0x210]
jmp 0x1001d977
cmp esi, 1
jne 0x1001db4b
cmp byte [ebx + 4], 0
jne 0x1001db4b
mov dword [0x10077974], esi
jmp 0x1001d977
push ecx
push str.unknown_extension_found:__d__ignoring_
push 0x724
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 3
push 0x10077880
call fcn.10012320
add esp, 0x18
mov ecx, dword [ebp - 0x234]
lea ebx, [ebx + 4]
mov eax, 0xfffffffc
sub eax, ecx
add edi, eax
lea ebx, [ebx + ecx]
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x214], ebx
je 0x1001d9a3
cmp edi, 4
jb 0x1001db7a
test edi, edi
jne 0x1001d320
mov edi, dword [ebp - 0x230]
xor eax, eax
jmp 0x1001dc11
push 0x50
mov dl, 2
call fcn.1000a220
mov eax, 0xffff8100
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10045387
mov esp, ebp
pop ebp
ret
push str.bad_client_hello_message
push 0x134
jmp 0x1001d9fc
push str.bad_client_hello_message
push 0x12b
jmp 0x1001d9fc
push str.bad_client_hello_message
push 0x122
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 1
push 0x10077880
call fcn.10012320
add esp, 0x14
mov dl, 2
push 0x32
call fcn.1000a220
mov eax, 0xffff8700
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10045387
mov esp, ebp
pop ebp
ret
push str.bad_client_hello_message
push 0x164
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 1
push 0x10077880
call fcn.10012320
add esp, 0x14
mov dl, 2
push 0x32
call fcn.1000a220
add esp, 4
jmp 0x1001e1da
push str.bad_client_hello_message
push 0x1a8
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 1
push 0x10077880
call fcn.10012320
add esp, 0x14
mov dl, 2
push 0x2f
call fcn.1000a220
add esp, 4
jmp 0x1001e1da
push str.bad_client_hello_message
push 0x1bb
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 1
push 0x10077880
call fcn.10012320
add esp, 0x14
mov dl, 2
push 0x32
call fcn.1000a220
add esp, 4
jmp 0x1001e1da
push str.bad_client_hello_message
push 0x1d1
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 1
push 0x10077880
call fcn.10012320
add esp, 0x14
mov dl, 2
push 0x32
call fcn.1000a220
add esp, 4
jmp 0x1001e1da
push str.bad_client_hello_message
push 0x1ea
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 1
push 0x10077880
call fcn.10012320
add esp, 0x14
mov dl, 2
push 0x32
call fcn.1000a220
add esp, 4
jmp 0x1001e1da
push 0x2f
mov dl, 2
call fcn.1000a220
add esp, 4
jmp 0x1001e1da
push 0x78
mov dl, 2
call fcn.1000a220
add esp, 4
jmp 0x1001e1da
push str.non_matching_renegotiation_info
push 0xa5
jmp 0x1001db55
push str.non_zero_length_renegotiation_info
push 0xb0
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 1
push 0x10077880
call fcn.10012320
add esp, 0x14
mov dl, 2
push 0x28
call fcn.1000a220
add esp, 4
jmp 0x1001e1da
push str.bad_client_hello_message
push 0x72c
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 1
push 0x10077880
call fcn.10012320
add esp, 0x14
mov dl, 2
push 0x32
call fcn.1000a220
add esp, 4
jmp 0x1001e1da
push str.bad_client_hello_message
push 0x69b
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 1
push 0x10077880
call fcn.10012320
add esp, 0x14
mov dl, 2
push 0x32
call fcn.1000a220
add esp, 4
jmp 0x1001e1da
push str.bad_client_hello_message
push 0x691
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 1
push 0x10077880
call fcn.10012320
add esp, 0x14
mov dl, 2
push 0x32
call fcn.1000a220
add esp, 4
jmp 0x1001e1da
xor eax, eax
xor edi, edi
mov dword [ebp - 0x21c], eax
mov esi, dword [ebp - 0x22c]
mov ecx, esi
mov ebx, dword [ebp - 0x238]
inc ecx
cmp byte [esi + eax], 0x56
jne 0x1001dc2b
cmp byte [ecx], 0
je 0x1001dc8e
add eax, 2
add ecx, 2
cmp eax, ebx
jb 0x1001dc20
cmp dword [ebp - 0x21c], 0
mov edx, edi
jne 0x1001dc69
mov eax, dword [0x10077880]
mov eax, dword [eax + 0x74]
test eax, eax
jne 0x1001dcf3
or eax, 0xffffffff
xor ecx, ecx
test eax, eax
mov eax, 4
cmove ecx, eax
mov eax, dword [0x100778bc]
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov ecx, esi
xor eax, eax
inc ecx
nop
cmp byte [esi + eax], 0
jne 0x1001dc7f
cmp byte [ecx], 0xff
je 0x1001dd1b
add eax, 2
add ecx, 2
cmp eax, ebx
jb 0x1001dc70
jmp 0x1001dd7b
push str.received_FALLBACK_SCSV
push 0x73c
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 2
push 0x10077880
call fcn.10012320
mov eax, dword [0x10077880]
add esp, 0x14
movzx eax, byte [eax + 0xc9]
cmp dword [0x10077894], eax
jge 0x1001dc35
push str.inapropriate_fallback
push 0x740
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 1
push 0x10077880
call fcn.10012320
add esp, 0x14
mov dl, 2
push 0x56
call fcn.1000a220
add esp, 4
jmp 0x1001e1da
mov ecx, dword [eax]
test ecx, ecx
je 0x1001dc50
mov edi, edx
nop
cmp ecx, 4
je 0x1001dd14
mov ecx, dword [eax + 4]
add eax, 4
test ecx, ecx
jne 0x1001dd00
jmp 0x1001dc50
xor eax, eax
jmp 0x1001dc53
push str.received_TLS_EMPTY_RENEGOTIATION_INFO
push 0x768
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 3
push 0x10077880
call fcn.10012320
add esp, 0x14
cmp dword [0x10077888], 1
jne 0x1001dd71
push str.received_RENEGOTIATION_SCSV_during_renegotiation
push 0x76d
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 1
push 0x10077880
call fcn.10012320
add esp, 0x14
mov dl, 2
push 0x28
call fcn.1000a220
add esp, 4
jmp 0x1001e1da
mov dword [0x10077974], 1
mov ecx, dword [0x10077974]
cmp ecx, 1
je 0x1001dda3
mov eax, dword [0x10077880]
mov eax, dword [eax + 0xcc]
and al, 0x30
cmp al, 0x20
jne 0x1001dda3
mov eax, 0x77e
mov ecx, str.legacy_renegotiation__breaking_off_handshake
jmp 0x1001ddee
cmp dword [0x10077888], 1
jne 0x1001de15
cmp ecx, 1
jne 0x1001ddc1
test edi, edi
jne 0x1001de15
mov eax, 0x786
mov ecx, str.renegotiation_info_extension_missing__secure_
jmp 0x1001ddee
test ecx, ecx
jne 0x1001de15
mov eax, dword [0x10077880]
test byte [eax + 0xcc], 0x30
jne 0x1001dddf
mov eax, 0x78d
mov ecx, str.legacy_renegotiation_not_allowed
jmp 0x1001ddee
cmp edi, 1
jne 0x1001de15
mov eax, 0x794
mov ecx, str.renegotiation_info_extension_present__legacy_
push ecx
push eax
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 1
push 0x10077880
call fcn.10012320
add esp, 0x14
mov dl, 2
push 0x28
call fcn.1000a220
add esp, 4
jmp 0x1001e1da
mov ecx, dword [0x10077880]
mov eax, dword [0x10077894]
mov dword [ebp - 0x230], 0
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x234], eax
cmp dword [eax], 0
je 0x1001e082
mov ecx, eax
xor edi, edi
xor eax, eax
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], eax
mov edx, dword [ecx]
mov eax, edx
sar eax, 8
cmp byte [esi], al
jne 0x1001de9b
cmp byte [esi + 1], dl
jne 0x1001de9b
lea eax, [ebp - 0x230]
mov dword [ebp - 0x218], 1
push eax
call fcn.1001c6f0
add esp, 4
test eax, eax
jne 0x1001e1df
mov ebx, dword [ebp - 0x230]
test ebx, ebx
jne 0x1001decd
mov ecx, dword [ebp - 0x220]
mov ebx, dword [ebp - 0x238]
add edi, 2
add esi, 2
cmp edi, ebx
jb 0x1001de54
inc dword [ebp - 0x21c]
add ecx, 4
mov dword [ebp - 0x220], ecx
cmp dword [ecx], 0
je 0x1001e039
mov esi, dword [ebp - 0x22c]
xor edi, edi
mov eax, dword [ebp - 0x218]
jmp 0x1001de4e
push dword [ebx + 4]
push str.selected_ciphersuite:__s
push 0x7cf
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 2
push 0x10077880
call fcn.10012320
mov eax, dword [ebp - 0x21c]
add esp, 0x18
mov ecx, dword [ebp - 0x234]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x100778b8]
mov dword [eax + 8], ecx
mov eax, dword [0x100778cc]
mov dword [eax], ebx
mov eax, dword [0x10077880]
inc dword [0x10077884]
test byte [eax + 0xcc], 2
je 0x1001df25
call fcn.100073e0
cmp dword [0x10077894], 3
jne 0x1001e008
mov eax, dword [ebx + 0x10]
dec eax
cmp eax, 3
ja case.default.0x1001df3f
jmp dword [eax*4 + 0x1001e240]
mov eax, dword [0x100778bc]
jmp 0x1001df55
mov eax, dword [0x100778bc]
add eax, 4
mov eax, dword [eax]
add eax, 0xfffffffd
cmp eax, 5
ja case.default.0x1001df63
jmp dword [eax*4 + 0x1001e250]
mov eax, 1
push eax
push str.client_hello_v3__signature_algorithm_ext:__d
push 0x7e7
jmp 0x1001dff4
mov eax, 2
push eax
push str.client_hello_v3__signature_algorithm_ext:__d
push 0x7e7
jmp 0x1001dff4
mov eax, 3
push eax
push str.client_hello_v3__signature_algorithm_ext:__d
push 0x7e7
jmp 0x1001dff4
mov eax, 4
push eax
push str.client_hello_v3__signature_algorithm_ext:__d
push 0x7e7
jmp 0x1001dff4
mov eax, 5
push eax
push str.client_hello_v3__signature_algorithm_ext:__d
push 0x7e7
jmp 0x1001dff4
mov eax, 6
push eax
push str.client_hello_v3__signature_algorithm_ext:__d
push 0x7e7
jmp 0x1001dff4
xor eax, eax
push eax
push str.client_hello_v3__signature_algorithm_ext:__d
push 0x7e7
jmp 0x1001dff4
push 0
push str.no_hash_algorithm_for_signature_algorithm__d___should_not_happen
push 0x7ec
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 3
push 0x10077880
call fcn.10012320
add esp, 0x18
push str.__parse_client_hello
push 0x7f1
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 2
push 0x10077880
call fcn.10012320
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10045387
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x218], 0
je 0x1001e082
push str.got_ciphersuites_in_common__but_none_of_them_usable
push 0x7c1
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 1
push 0x10077880
call fcn.10012320
add esp, 0x14
mov dl, 2
push 0x28
call fcn.1000a220
add esp, 4
mov eax, 0xffff9680
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10045387
mov esp, ebp
pop ebp
ret
push str.got_no_ciphersuites_in_common
push 0x7c8
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 1
push 0x10077880
call fcn.10012320
add esp, 0x14
mov dl, 2
push 0x28
call fcn.1000a220
add esp, 4
mov eax, 0xffff8c80
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10045387
mov esp, ebp
pop ebp
ret
push str.bad_client_hello_message
push 0x64c
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 1
push 0x10077880
call fcn.10012320
add esp, 0x14
mov dl, 2
push 0x32
call fcn.1000a220
add esp, 4
jmp 0x1001e1da
push str.bad_client_hello_message
push 0x638
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 1
push 0x10077880
call fcn.10012320
add esp, 0x14
mov dl, 2
push 0x32
call fcn.1000a220
add esp, 4
jmp 0x1001e1da
push str.bad_client_hello_message
push 0x5e4
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 1
push 0x10077880
call fcn.10012320
add esp, 0x14
mov dl, 2
push 0x32
call fcn.1000a220
add esp, 4
jmp 0x1001e1da
movzx eax, byte [edx + 0xcb]
push eax
push dword [ebp - 0x234]
mov eax, dword [0x10077890]
push esi
push eax
push str.client_only_supports_ssl_smaller_than_minimum___d:_d______d:_d_
push 0x5c7
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 1
push 0x10077880
call fcn.10012320
add esp, 0x24
mov dl, 2
push 0x46
call fcn.1000a220
add esp, 4
mov eax, 0xffff9180
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10045387
mov esp, ebp
pop ebp
ret
push str.bad_client_hello_message
push 0x566
jmp 0x1001e1c6
push str.bad_client_hello_message
push 0x4fd
jmp 0x1001e1c6
push str.bad_client_hello_message
push 0x4eb
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_srv.c
push 1
push 0x10077880
call fcn.10012320
add esp, 0x14
mov eax, 0xffff8700
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10045387
mov esp, ebp
pop ebp
ret