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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
mov edi, dword [ebp + 8]
push 0x526a88
push 0x4cf
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 2
push edi
mov dword [ebp - 0x10], 0
call fcn.004a0b30
push 1
push edi
call fcn.00495150
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x49964d
push esi
push str.mbedtls_ssl_read_record
push 0x4d4
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 1
push edi
call fcn.004a0be0
add esp, 0x18
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x80], 0x16
push ebx
mov ebx, dword [edi + 0x78]
je 0x499701
cmp dword [edi + 8], 1
jne 0x4996d1
mov ecx, dword [edi + 0xc]
mov eax, dword [edi]
inc ecx
mov dword [edi + 0xc], ecx
mov eax, dword [eax + 0xc4]
test eax, eax
js 0x4996a1
cmp ecx, eax
jle 0x4996a1
push str.renegotiation_requested__but_not_honored_by_server
push 0x4e5
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 1
push edi
call fcn.004a0b30
add esp, 0x14
mov eax, 0xffff8900
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.non_handshake_message_during_renegotiation
push 0x4ea
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 1
push edi
call fcn.004a0b30
add esp, 0x14
mov dword [edi + 0xb0], 1
mov eax, 0xffff9500
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.bad_server_hello_message
push 0x4f1
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 1
push edi
call fcn.004a0b30
push 0xa
push 2
push edi
call fcn.00495670
add esp, 0x20
mov eax, 0xffff8900
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
cmp byte [eax + 9], 1
jne 0x499775
cmp byte [ebx], 3
jne 0x49974c
push str.received_hello_verify_request
push 0x4fe
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 2
push edi
call fcn.004a0b30
push str.__parse_server_hello
push 0x4ff
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 2
push edi
call fcn.004a0b30
push edi
call fcn.00499150
add esp, 0x2c
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x40]
push dword [eax + 0x218]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [edi + 0x40]
add esp, 4
mov dword [eax + 0x218], 0
mov eax, dword [edi + 0x40]
mov byte [eax + 0x21c], 0
mov eax, dword [edi]
mov cl, byte [eax + 9]
xor eax, eax
cmp cl, 1
sete al
lea eax, [eax*8 + 0x2a]
cmp dword [edi + 0xa8], eax
jb 0x49a3bd
cmp byte [ebx], 2
jne 0x49a3bd
xor eax, eax
cmp cl, 1
push 2
sete al
lea eax, [eax*8 + 4]
add ebx, eax
push ebx
push str.server_hello__version
push 0x522
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 3
push edi
call fcn.004a03f0
mov eax, dword [edi]
movzx eax, byte [eax + 9]
push eax
push ebx
call fcn.004953f0
movzx ecx, ax
add esp, 0x24
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x10], ecx
mov dword [eax + 4], ecx
mov eax, dword [edi]
mov ecx, dword [edi + 0x10]
mov edx, dword [eax + 4]
cmp ecx, edx
jl 0x49a389
cmp ecx, dword [eax]
jg 0x49a389
movzx ecx, byte [ebx + 2]
lea esi, [ebx + 2]
movzx eax, byte [ebx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 5]
shl ecx, 8
or ecx, eax
push ecx
push str.server_hello__current_time:__lu
push 0x539
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 3
push edi
call fcn.004a0b30
mov eax, dword [edi + 0x40]
movups xmm0, xmmword [esi]
push 0x20
push esi
push str.server_hello__random_bytes
movups xmmword [eax + 0x41c], xmm0
push 0x53f
movups xmm0, xmmword [esi + 0x10]
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 3
movups xmmword [eax + 0x42c], xmm0
movzx eax, byte [ebx + 0x22]
push edi
mov dword [ebp - 4], eax
call fcn.004a03f0
mov esi, dword [ebp - 4]
add esp, 0x34
cmp esi, 0x20
jbe 0x49988a
push str.bad_server_hello_message
push 0x543
jmp 0x49a3c7
mov eax, dword [edi]
mov edx, dword [edi + 0xa8]
mov cl, byte [eax + 9]
xor eax, eax
cmp cl, 1
sete al
lea eax, [eax*8 + 0x2b]
add eax, esi
cmp edx, eax
jbe 0x4998f8
movzx edi, byte [esi + ebx + 0x26]
lea eax, [esi + ebx]
mov dword [ebp - 0x18], eax
movzx eax, byte [eax + 0x27]
shl edi, 8
or edi, eax
mov dword [ebp - 8], edi
mov edi, dword [ebp + 8]
jbe 0x4998cc
cmp dword [ebp - 8], 4
jb 0x4998e4
xor eax, eax
cmp cl, 1
sete al
lea eax, [eax*8 + 0x2c]
add eax, dword [ebp - 8]
add eax, esi
cmp edx, eax
je 0x4998f3
push str.bad_server_hello_message
push 0x551
jmp 0x49a3c7
lea edx, [esi + ebx]
jmp 0x49991e
xor eax, eax
cmp cl, 1
sete al
lea eax, [eax*8 + 0x2a]
add eax, esi
cmp edx, eax
jne 0x49a37d
lea edx, [ebx + esi]
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], edx
movzx ecx, byte [edx + 0x23]
movzx eax, byte [edx + 0x24]
shl ecx, 8
or ecx, eax
mov al, byte [edx + 0x25]
mov dword [ebp - 0xc], ecx
test al, al
je 0x499969
movzx eax, al
push eax
push str.server_hello__bad_compression:__d
push 0x570
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 1
push edi
call fcn.004a0b30
push 0x2f
push 2
push edi
call fcn.00495670
add esp, 0x24
mov eax, 0xffff8f80
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ecx
call fcn.00498410
mov ecx, dword [edi + 0x40]
add esp, 4
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x40]
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x4999b6
mov ebx, dword [ebp - 0xc]
push ebx
push str.ciphersuite_info_for__04x_not_found
push 0x57f
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 1
push edi
call fcn.004a0b30
push 0x50
push 2
push edi
call fcn.00495670
add esp, 0x24
mov eax, 0xffff8f00
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push eax
push edi
call fcn.0048e710
push esi
push str.server_hello__session_id_len.:__zu
push 0x587
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 3
push edi
call fcn.004a0b30
push esi
lea eax, [ebx + 0x23]
push eax
push str.server_hello__session_id
push 0x588
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 3
push edi
mov dword [ebp - 0x14], eax
call fcn.004a03f0
mov ebx, dword [edi + 0x40]
add esp, 0x3c
cmp byte [ebx], 0
je 0x499a75
test esi, esi
je 0x499a75
cmp dword [edi + 8], 0
mov ebx, dword [ebp - 0xc]
jne 0x499a78
mov ecx, dword [edi + 0x3c]
cmp dword [ecx + 0x10], ebx
jne 0x499a78
cmp dword [ecx + 0x14], esi
jne 0x499a78
mov edx, dword [ebp - 0x14]
add ecx, 0x18
sub esi, 4
jb 0x499a35
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x499a3a
add ecx, 4
add edx, 4
sub esi, 4
jae 0x499a24
cmp esi, 0xfffffffc
je 0x499a67
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x499a70
cmp esi, 0xfffffffd
je 0x499a67
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x499a70
cmp esi, 0xfffffffe
je 0x499a67
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x499a70
cmp esi, 0xffffffff
je 0x499a67
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x499a70
mov dword [edi + 4], 0xc
jmp 0x499ab1
mov esi, dword [ebp - 4]
jmp 0x499a78
mov ebx, dword [ebp - 0xc]
mov eax, dword [edi + 0x40]
inc dword [edi + 4]
push 0
mov byte [eax], 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, dword [edi + 0x3c]
push esi
push dword [ebp - 0x14]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov eax, dword [edi + 0x3c]
mov dword [eax + 0x10], ebx
mov eax, dword [edi + 0x3c]
mov dword [eax + 0x14], esi
mov eax, dword [edi + 0x3c]
add eax, 0x18
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x10
mov eax, dword [edi + 0x40]
mov edx, 0x51e7c4
mov ecx, 0x516b9c
cmp byte [eax], 0
cmove ecx, edx
push ecx
push str._s_session_has_been_resumed
push 0x5a4
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 3
push edi
call fcn.004a0b30
push ebx
push str.server_hello__chosen_ciphersuite:__04x
push 0x5a6
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 3
push edi
call fcn.004a0b30
mov ebx, dword [ebp - 0x18]
movzx eax, byte [ebx + 0x25]
push eax
push str.server_hello__compress_alg.:__d
push 0x5a8
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 3
push edi
call fcn.004a0b30
mov eax, dword [edi]
add esp, 0x48
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx]
test edx, edx
je 0x499b34
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + 0x10]
lea ecx, [ecx + 4]
cmp edx, eax
je 0x499b43
mov edx, dword [ecx]
test edx, edx
jne 0x499b27
push str.bad_server_hello_message
push 0x5b2
jmp 0x499c6b
push eax
call fcn.00498410
mov ecx, dword [edi + 0x10]
mov esi, eax
push ecx
push ecx
push esi
push edi
call fcn.0048fd80
add esp, 0x14
test eax, eax
je 0x499b8e
push str.bad_server_hello_message
push 0x5c6
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 1
push edi
call fcn.004a0b30
push 0x28
push 2
push edi
call fcn.00495670
add esp, 0x20
mov eax, 0xffff9200
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [esi + 4]
push str.server_hello__chosen_ciphersuite:__s
push 0x5cf
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 3
push edi
call fcn.004a0b30
push dword [ebp - 8]
lea esi, [ebx + 0x28]
push str.server_hello__total_extension_length:__zu
push 0x5e6
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 2
push edi
mov dword [ebp - 4], esi
call fcn.004a0b30
mov edx, dword [ebp - 8]
add esp, 0x30
test edx, edx
je 0x49a0af
nop word [eax + eax]
movzx ecx, byte [esi]
movzx eax, byte [esi + 1]
movzx ebx, byte [esi + 2]
shl ecx, 8
or ecx, eax
shl ebx, 8
movzx eax, byte [esi + 3]
or ebx, eax
mov dword [ebp - 0xc], ebx
lea eax, [ebx + 4]
cmp eax, edx
ja 0x49a2bf
cmp ecx, 0x17
ja 0x499eb6
je 0x499e7c
lea eax, [ecx - 1]
cmp eax, 0x15
ja case.0x499c29.2
movzx eax, byte [eax + 0x49a404]
jmp dword [eax*4 + 0x49a3f0]
push 0x526d38
push 0x609
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 3
push edi
call fcn.004a0b30
mov eax, dword [edi]
add esp, 0x14
mov al, byte [eax + 0xc]
test al, al
je 0x499c61
cmp ebx, 1
jne 0x499c61
cmp byte [esi + 4], al
je 0x49a084
push str.non_matching_max_fragment_length_extension
push 0x2b2
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 1
push edi
call fcn.004a0b30
push 0x2f
push 2
push edi
call fcn.00495670
add esp, 0x20
mov eax, 0xffff9a00
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x526d70
push 0x624
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 3
push edi
call fcn.004a0b30
mov eax, dword [edi]
add esp, 0x14
cmp byte [eax + 0xd], 0
je 0x49a0fc
test ebx, ebx
jne 0x49a0fc
mov eax, dword [edi + 0x3c]
mov dword [eax + 0x7c], 1
jmp 0x49a084
push 0x526ddc
push 0x64e
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 3
push edi
call fcn.004a0b30
add esp, 0x14
test ebx, ebx
je 0x49a10b
movzx ecx, byte [esi + 4]
lea eax, [ecx + 1]
cmp eax, ebx
jne 0x49a10b
add esi, 5
test ecx, ecx
je 0x499d17
mov dl, byte [esi]
test dl, dl
je 0x499d2f
cmp dl, 1
je 0x499d2f
inc esi
sub ecx, 1
jne 0x499d06
mov esi, 0xffff9200
mov byte [ebp - 0x18], 0x28
mov eax, 0x370
mov ecx, str.no_point_format_in_common
jmp 0x49a11e
mov eax, dword [edi + 0x40]
mov byte [eax + 0xcc], dl
movzx eax, byte [esi]
push eax
push str.point_format_selected:__d
push 0x368
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 4
push edi
call fcn.004a0b30
mov esi, dword [ebp - 4]
add esp, 0x18
jmp 0x49a084
push str.found_alpn_extension
push 0x669
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 3
push edi
call fcn.004a0b30
mov eax, dword [edi]
add esp, 0x14
mov ebx, dword [eax + 0xb4]
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x49a154
mov edx, dword [ebp - 0xc]
cmp edx, 4
jb 0x49a149
movzx ecx, byte [esi + 4]
movzx eax, byte [esi + 5]
shl ecx, 8
or ecx, eax
lea eax, [edx - 2]
cmp ecx, eax
jne 0x49a149
movzx edx, byte [esi + 6]
lea eax, [ecx - 1]
mov dword [ebp - 0x1c], edx
cmp edx, eax
jne 0x49a149
mov ebx, dword [ebx]
test ebx, ebx
je 0x499e46
nop dword [eax + eax]
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x499dd5
mov eax, dword [ebp - 0x1c]
sub ecx, edx
cmp eax, ecx
jne 0x499e37
lea ecx, [esi + 7]
mov edx, ebx
mov esi, eax
sub esi, 4
jb 0x499e02
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x499e07
add ecx, 4
add edx, 4
sub esi, 4
jae 0x499df1
cmp esi, 0xfffffffc
je 0x499e6b
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x499e34
cmp esi, 0xfffffffd
je 0x499e6b
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x499e34
cmp esi, 0xfffffffe
je 0x499e6b
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x499e34
cmp esi, 0xffffffff
je 0x499e6b
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x499e6b
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x18], eax
mov ebx, dword [eax]
test ebx, ebx
jne 0x499dd0
push str.ALPN_extension:_no_matching_protocol
push 0x3ee
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 1
push edi
call fcn.004a0b30
mov esi, 0xffff9200
mov byte [ebp - 0xc], 0x28
jmp 0x49a174
mov esi, dword [ebp - 4]
mov dword [edi + 0xf8], ebx
mov ebx, dword [ebp - 0xc]
jmp 0x49a084
push 0x526d94
push 0x632
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 3
push edi
call fcn.004a0b30
mov eax, dword [edi]
add esp, 0x14
cmp byte [eax + 0xe], 0
je 0x49a193
test ebx, ebx
jne 0x49a193
mov eax, dword [edi + 0x40]
mov byte [eax + 0xc], 1
jmp 0x49a084
cmp ecx, 0x23
je 0x49a04f
cmp ecx, 0x36
je 0x499f98
cmp ecx, 0xff01
je 0x499ef0
push ecx
push str.unknown_extension_found:__u__ignoring_
push 0x67d
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 3
push edi
call fcn.004a0b30
add esp, 0x18
jmp 0x49a084
push str.found_renegotiation_extension
push 0x5fb
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 3
push edi
call fcn.004a0b30
add esp, 0x14
mov dword [ebp - 0x10], 1
cmp dword [edi + 8], 0
je 0x499f7a
mov edx, dword [edi + 0x108]
lea ecx, [edx + edx]
lea eax, [ecx + 1]
cmp ebx, eax
jne 0x499f6b
movzx eax, byte [esi + 4]
cmp eax, ecx
jne 0x499f6b
push edx
lea eax, [edi + 0x10c]
push eax
lea eax, [esi + 5]
push eax
call fcn.004b6e80
add esp, 0xc
test eax, eax
jne 0x499f6b
mov ecx, dword [edi + 0x108]
lea eax, [edi + 0x118]
push ecx
push eax
lea eax, [ecx + 5]
add eax, esi
push eax
call fcn.004b6e80
add esp, 0xc
test eax, eax
je 0x49a084
mov eax, 0x287
mov ecx, str.non_matching_renegotiation_info
jmp 0x49a1ac
cmp ebx, 1
jne 0x49a1a2
cmp byte [esi + 4], 0
jne 0x49a1a2
mov dword [edi + 0x104], ebx
jmp 0x49a084
push str.found_CID_extension
push 0x616
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 3
push edi
call fcn.004a0b30
mov eax, dword [edi]
add esp, 0x14
cmp byte [eax + 9], 1
jne 0x49a21d
cmp byte [edi + 0x145], 0
je 0x49a21d
test ebx, ebx
je 0x49a208
mov cl, byte [esi + 4]
add esi, 5
movzx ebx, cl
cmp ebx, 0x20
ja 0x49a1f3
mov eax, dword [ebp - 0xc]
dec eax
cmp eax, ebx
jne 0x49a1de
mov eax, dword [edi + 0x40]
push ebx
push esi
mov byte [eax + 0x248], 1
mov eax, dword [edi + 0x40]
mov byte [eax + 0x269], cl
mov eax, dword [edi + 0x40]
add eax, 0x249
push eax
call sub.VCRUNTIME140.dll_memcpy
push str.Use_of_CID_extension_negotiated
push 0x2f0
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 3
push edi
call fcn.004a0b30
push ebx
push esi
push str.Server_CID
push 0x2f1
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 3
push edi
call fcn.004a03f0
mov ebx, dword [ebp - 0xc]
add esp, 0x3c
mov esi, dword [ebp - 4]
jmp 0x49a084
push 0x526dbc
push 0x63f
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 3
push edi
call fcn.004a0b30
mov eax, dword [edi]
add esp, 0x14
cmp byte [eax + 0x11], 0
je 0x49a281
test ebx, ebx
jne 0x49a281
mov eax, dword [edi + 0x40]
mov byte [eax + 4], 1
mov edx, dword [ebp - 8]
lea esi, [esi + 4]
mov eax, 0xfffffffc
lea esi, [esi + ebx]
sub eax, ebx
mov dword [ebp - 4], esi
add edx, eax
mov dword [ebp - 8], edx
je 0x49a0a7
cmp edx, 4
jb 0x49a25b
test edx, edx
jne 0x499be0
mov eax, dword [edi + 0x40]
cmp byte [eax], 0
je 0x49a2ce
push edi
call fcn.0048d940
mov esi, eax
add esp, 4
test esi, esi
je 0x49a2ce
push esi
push str.mbedtls_ssl_derive_keys
push 0x693
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 1
push edi
call fcn.004a0be0
push 0x50
push 2
push edi
call fcn.00495670
add esp, 0x24
mov eax, esi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x301
mov ecx, str.non_matching_encrypt_then_MAC_extension
jmp 0x49a28b
mov esi, 0xffff8d00
mov byte [ebp - 0x18], 0x32
mov eax, 0x351
mov ecx, str.bad_server_hello_message
push ecx
push eax
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 1
push edi
mov byte [ebp - 0x14], 2
call fcn.004a0b30
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push edi
call fcn.00495670
add esp, 0x20
mov eax, esi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, 0xffff8d00
mov byte [ebp - 0xc], 0x32
jmp 0x49a177
push str.non_matching_ALPN_extension
push 0x3b9
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 1
push edi
call fcn.004a0b30
mov esi, 0xffff8b00
mov byte [ebp - 0xc], 0x6e
add esp, 0x14
push dword [ebp - 0xc]
mov byte [ebp - 8], 2
push dword [ebp - 8]
push edi
call fcn.00495670
add esp, 0xc
mov eax, esi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x31b
mov ecx, str.non_matching_extended_master_secret_extension
jmp 0x49a28b
mov eax, 0x295
mov ecx, str.non_zero_length_renegotiation_info
push ecx
push eax
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 1
push edi
mov byte [ebp - 0x18], 0x28
mov byte [ebp - 0x14], 2
call fcn.004a0b30
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push edi
call fcn.00495670
add esp, 0x20
mov eax, 0xffff9200
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, 0xffff8d00
mov byte [ebp - 0xc], 0x32
mov eax, 0x2e6
mov ecx, str.CID_extension_invalid
jmp 0x49a230
mov esi, 0xffff9a00
mov byte [ebp - 0xc], 0x2f
mov eax, 0x2de
mov ecx, str.CID_extension_invalid
jmp 0x49a230
mov esi, 0xffff8d00
mov byte [ebp - 0xc], 0x32
mov eax, 0x2d3
mov ecx, str.CID_extension_invalid
jmp 0x49a230
mov esi, 0xffff8b00
mov byte [ebp - 0xc], 0x6e
mov eax, 0x2cb
mov ecx, str.CID_extension_unexpected
push ecx
push eax
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 1
push edi
mov byte [ebp - 8], 2
call fcn.004a0b30
push dword [ebp - 0xc]
push dword [ebp - 8]
push edi
call fcn.00495670
add esp, 0x20
mov eax, esi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.bad_server_hello_message
push 0x685
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 1
push edi
call fcn.004a0b30
add esp, 0x14
mov eax, 0xffff8d00
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x335
mov ecx, str.non_matching_session_ticket_extension
push ecx
push eax
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 1
push edi
mov esi, edi
mov byte [ebp - 8], 2
mov byte [ebp - 0xc], 0x6e
call fcn.004a0b30
push dword [ebp - 0xc]
push dword [ebp - 8]
push esi
call fcn.00495670
add esp, 0x20
mov eax, 0xffff8b00
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.bad_server_hello_message
push 0x5f1
jmp 0x49a3c7
mov ecx, dword [edi + 0x104]
test ecx, ecx
jne 0x49a2ec
mov eax, dword [edi]
cmp byte [eax + 0xb], 2
jne 0x49a2ec
mov ecx, 0x6a4
mov edx, str.legacy_renegotiation__breaking_off_handshake
jmp 0x49a330
cmp dword [edi + 8], 1
jne 0x49a35a
cmp ecx, 1
jne 0x49a309
cmp dword [ebp - 0x10], 0
jne 0x49a35a
mov ecx, 0x6ad
mov edx, str.renegotiation_info_extension_missing__secure_
jmp 0x49a330
test ecx, ecx
jne 0x49a35a
mov eax, dword [edi]
cmp byte [eax + 0xb], cl
jne 0x49a320
mov ecx, 0x6b5
mov edx, str.legacy_renegotiation_not_allowed
jmp 0x49a330
cmp dword [ebp - 0x10], 1
jne 0x49a35a
mov ecx, 0x6bd
mov edx, str.renegotiation_info_extension_present__legacy_
push edx
push ecx
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
mov eax, edi
push 1
push eax
call fcn.004a0b30
push 0x28
push 2
push edi
call fcn.00495670
add esp, 0x20
mov eax, 0xffff9200
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.__parse_server_hello
push 0x6cb
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 2
push edi
call fcn.004a0b30
add esp, 0x14
xor eax, eax
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.bad_server_hello_message
push 0x55f
jmp 0x49a3c7
push dword [eax]
push ecx
push edx
push str.server_version_out_of_bounds____min:__0x_x___server:__0x_x___max:__0x_x_
push 0x52d
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 1
push edi
call fcn.004a0b30
push 0x46
push 2
push edi
call fcn.00495670
add esp, 0x2c
mov eax, 0xffff9180
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.bad_server_hello_message
push 0x50f
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_client.c
push 1
push edi
call fcn.004a0b30
push 0x32
push 2
push edi
call fcn.00495670
add esp, 0x20
mov eax, 0xffff8d00
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret