Function at 0x4a40d0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x62aabc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push 0x56dd3c
push 0x3af
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 2
push ebx
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x8c], 0
call fcn.004a8a60
add esp, 0x14
cmp dword [ebx + 8], 0
jne 0x4a4131
push 5
push ebx
call fcn.0049b660
mov esi, eax
add esp, 8
test esi, esi
jne 0x4a424e
mov eax, dword [ebx]
xor ecx, ecx
mov esi, dword [ebx + 0x68]
cmp byte [eax + 9], 1
sete cl
lea ecx, [ecx*8 + 5]
push ecx
push esi
push str.record_header
push 0x3cb
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 4
push ebx
call fcn.004a8320
movzx eax, byte [esi]
push eax
push str.client_hello__message_type:__d
push 0x3d7
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
call fcn.004a8a60
add esp, 0x34
cmp byte [esi], 0x16
jne 0x4a570a
mov eax, dword [ebx + 0x70]
movzx ecx, byte [eax]
movzx eax, byte [eax + 1]
shl ecx, 8
or ecx, eax
push ecx
push str.client_hello__message_len.:__d
push 0x3e0
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
call fcn.004a8a60
movzx eax, byte [esi + 2]
push eax
movzx eax, byte [esi + 1]
push eax
push str.client_hello__protocol_version:___d:_d_
push 0x3e3
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
call fcn.004a8a60
mov eax, dword [ebx]
add esp, 0x34
cmp byte [eax + 9], 1
jne 0x4a4284
cmp dword [ebx + 8], 0
jne 0x4a4284
mov ecx, dword [ebx + 0x64]
cmp byte [ecx], 0
jne 0x4a42a5
cmp byte [ecx + 1], 0
jne 0x4a42a5
mov eax, dword [ecx + 2]
mov dword [ebx + 0xea], eax
mov ax, word [ecx + 6]
push ebx
mov word [ebx + 0xee], ax
call fcn.0049aa80
add esp, 4
test eax, eax
je 0x4a427b
push str.replayed_record__discarding
push 0x3fb
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 1
push ebx
call fcn.004a8a60
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x88], 0
jmp 0x4a4113
push esi
push str.mbedtls_ssl_fetch_input
push 0x3c4
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 1
push ebx
call fcn.004a8b10
add esp, 0x18
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054f742
mov esp, ebp
pop ebp
ret
push ebx
call fcn.0049ab80
add esp, 4
mov eax, dword [ebx + 0x70]
push edi
movzx edi, byte [eax]
movzx eax, byte [eax + 1]
shl edi, 8
or edi, eax
cmp dword [ebx + 8], 0
je 0x4a42d4
mov edi, dword [ebx + 0xa8]
jmp 0x4a435d
push str.bad_client_hello_message
push 0x3f1
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 1
push ebx
call fcn.004a8a60
add esp, 0x14
mov eax, 0xffff9a00
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054f742
mov esp, ebp
pop ebp
ret
cmp edi, 0x4000
jbe 0x4a430c
push str.bad_client_hello_message
push 0x414
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 1
push ebx
call fcn.004a8a60
add esp, 0x14
mov eax, 0xffff9a00
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054f742
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
xor ecx, ecx
cmp byte [eax + 9], 1
sete cl
lea ecx, [ecx*8 + 5]
add ecx, edi
push ecx
push ebx
call fcn.0049b660
mov esi, eax
add esp, 8
test esi, esi
je 0x4a4340
push esi
push str.mbedtls_ssl_fetch_input
push 0x41b
jmp 0x4a53c1
mov eax, dword [ebx]
cmp byte [eax + 9], 1
jne 0x4a4353
lea eax, [edi + 0xd]
mov dword [ebx + 0x90], eax
jmp 0x4a435d
mov dword [ebx + 0x88], 0
mov esi, dword [ebx + 0x78]
push edi
push esi
push str.record_contents
push 0x42a
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 4
push ebx
mov dword [ebp - 0xa4], esi
call fcn.004a8320
mov eax, dword [ebx + 0x40]
push edi
push esi
push ebx
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [ebx]
xor ecx, ecx
add esp, 0x28
cmp byte [eax + 9], 1
sete cl
lea ecx, [ecx*8 + 4]
cmp edi, ecx
jae 0x4a43b2
push str.bad_client_hello_message
push 0x438
jmp 0x4a486c
movzx eax, byte [esi]
push eax
push str.client_hello_v3__handshake_type:__d
push 0x43c
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
call fcn.004a8a60
add esp, 0x18
cmp byte [esi], 1
je 0x4a4405
push str.bad_client_hello_message
push 0x440
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 1
push ebx
call fcn.004a8a60
add esp, 0x14
mov eax, 0xffff8900
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054f742
mov esp, ebp
pop ebp
ret
movzx ecx, byte [esi + 1]
movzx eax, byte [esi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 3]
shl ecx, 8
or ecx, eax
push ecx
push str.client_hello_v3__handshake_len.:__u
push 0x446
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
mov dword [ebp - 0x9c], ecx
call fcn.004a8a60
mov al, byte [esi + 1]
add esp, 0x18
test al, al
je 0x4a4477
movzx eax, al
push eax
push str.bad_client_hello_message:__u___0
push 0x44d
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 1
push ebx
call fcn.004a8a60
add esp, 0x18
mov eax, 0xffff8d00
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054f742
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [ebp - 0x9c]
mov al, byte [eax + 9]
cmp al, 1
mov byte [ebp - 0xa9], al
sete dl
lea edx, [edx*8 + 4]
lea eax, [edx + ecx]
cmp edi, eax
je 0x4a44d0
push ecx
push edx
push edi
push str.bad_client_hello_message:__u____u___u
push 0x457
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 1
push ebx
call fcn.004a8a60
add esp, 0x20
mov eax, 0xffff8d00
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054f742
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 0xa9], 1
jne 0x4a461c
mov eax, dword [ebx + 0x78]
mov cl, byte [eax + 4]
mov al, byte [eax + 5]
movzx ecx, cl
shl ecx, 8
movzx eax, al
or ecx, eax
cmp dword [ebx + 8], 1
jne 0x4a453f
mov edx, dword [ebx + 0x40]
mov eax, dword [edx + 0x224]
cmp ecx, eax
je 0x4a4536
push eax
push ecx
push str.bad_client_hello_message_seq:__u__expected__u_
push 0x46e
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 1
push ebx
call fcn.004a8a60
add esp, 0x1c
mov eax, 0xffff8d00
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054f742
mov esp, ebp
pop ebp
ret
inc eax
mov dword [edx + 0x224], eax
jmp 0x4a4552
mov eax, dword [ebx + 0x40]
mov dword [eax + 0x220], ecx
inc ecx
mov eax, dword [ebx + 0x40]
mov dword [eax + 0x224], ecx
mov ecx, dword [ebx + 0x78]
movzx esi, byte [ecx + 6]
movzx eax, byte [ecx + 7]
movzx edx, byte [ecx + 9]
shl esi, 8
or esi, eax
shl edx, 8
movzx eax, byte [ecx + 8]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 0xa]
or edx, eax
movzx eax, byte [ecx + 0xb]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 1]
shl eax, 8
mov dword [ebp - 0x94], eax
movzx eax, byte [ecx + 2]
or dword [ebp - 0x94], eax
shl dword [ebp - 0x94], 8
movzx eax, byte [ecx + 3]
mov ecx, dword [ebp - 0x94]
or ecx, eax
mov dword [ebp - 0x9c], edx
push ecx
push edx
push esi
push str.fragment_offset_u_fragment_length_u_length_u
push 0x488
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 4
push ebx
mov dword [ebp - 0x94], ecx
call fcn.004a8a60
add esp, 0x20
test esi, esi
jne 0x4a45e6
mov eax, dword [ebp - 0x94]
cmp eax, dword [ebp - 0x9c]
je 0x4a4616
push str.ClientHello_fragmentation_not_supported
push 0x48b
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 1
push ebx
call fcn.004a8a60
add esp, 0x14
mov eax, 0xffff8f80
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054f742
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0xa4]
mov eax, dword [ebx]
xor ecx, ecx
cmp byte [eax + 9], 1
sete cl
lea ecx, [ecx*8 + 4]
add esi, ecx
sub edi, ecx
mov dword [ebp - 0xa4], esi
cmp edi, 0x26
jae 0x4a464c
push str.bad_client_hello_message
push 0x4ac
jmp 0x4a486c
push 2
push esi
push str.client_hello__version
push 0x4b3
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
call fcn.004a8320
mov eax, dword [ebx]
movzx eax, byte [eax + 9]
push eax
push esi
call fcn.0049d320
movzx ecx, ax
add esp, 0x24
mov eax, dword [ebx + 0x3c]
mov dword [ebx + 0x10], ecx
mov dword [eax + 4], ecx
cmp dword [ebx + 0x10], 0x303
je 0x4a46c5
push str.server_only_supports_TLS_1.2
push 0x4ba
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 1
push ebx
call fcn.004a8a60
push 0x46
push 2
push ebx
call fcn.0049d5a0
add esp, 0x20
mov eax, 0xffff9180
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054f742
mov esp, ebp
pop ebp
ret
push 0x20
add esi, 2
push esi
push str.client_hello__random_bytes
push 0x4c3
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
call fcn.004a8320
movups xmm0, xmmword [esi]
mov eax, dword [ebx + 0x40]
add esp, 0x1c
movups xmmword [eax + 0x3fc], xmm0
movups xmm0, xmmword [esi + 0x10]
mov esi, dword [ebp - 0xa4]
movups xmmword [eax + 0x40c], xmm0
movzx ecx, byte [esi + 0x22]
mov dword [ebp - 0xa8], ecx
cmp ecx, 0x20
ja 0x4a56d0
lea eax, [ecx + 0x24]
cmp eax, edi
ja 0x4a56d0
push ecx
add esi, 0x23
push esi
push str.client_hello__session_id
push 0x4d5
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
call fcn.004a8320
mov eax, dword [ebx + 0x3c]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0xa8]
mov dword [eax + 0x14], ecx
mov eax, dword [ebx + 0x3c]
movups xmmword [eax + 0x18], xmm0
movups xmmword [eax + 0x28], xmm0
mov eax, dword [ebx + 0x3c]
push dword [eax + 0x14]
add eax, 0x18
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx]
add esp, 0x28
mov ecx, dword [ebp - 0xa8]
mov esi, dword [ebp - 0xa4]
add ecx, 0x23
cmp byte [eax + 9], 1
jne 0x4a48b3
movzx edx, byte [ecx + esi]
lea eax, [ecx + esi]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa8], edx
lea eax, [edx + ecx]
mov dword [ebp - 0xa0], eax
add eax, 3
cmp eax, edi
jbe 0x4a47b7
push str.bad_client_hello_message
push 0x4e8
jmp 0x4a56da
mov eax, dword [ebp - 0x9c]
push edx
inc eax
push eax
push str.client_hello__cookie
push 0x4ef
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
mov dword [ebp - 0x9c], eax
call fcn.004a8320
mov eax, dword [ebx]
add esp, 0x1c
mov ecx, dword [eax + 0x54]
test ecx, ecx
je 0x4a4859
cmp dword [ebx + 8], 0
jne 0x4a4859
push dword [ebx + 0x100]
push dword [ebx + 0xfc]
push dword [ebp - 0xa8]
push dword [ebp - 0x9c]
push dword [eax + 0x58]
call ecx
add esp, 0x14
test eax, eax
je 0x4a4836
push str.cookie_verification_failed
push 0x4fc
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 2
push ebx
call fcn.004a8a60
mov eax, dword [ebx + 0x40]
mov byte [eax + 0x21c], 1
jmp 0x4a48a9
push str.cookie_verification_passed
push 0x501
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 2
push ebx
call fcn.004a8a60
mov eax, dword [ebx + 0x40]
mov byte [eax + 0x21c], 0
jmp 0x4a48a9
cmp dword [ebp - 0xa8], 0
je 0x4a4892
push str.bad_client_hello_message
push 0x50c
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 1
push ebx
call fcn.004a8a60
add esp, 0x14
mov eax, 0xffff8d00
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054f742
mov esp, ebp
pop ebp
ret
push str.cookie_verification_skipped
push 0x510
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 2
push ebx
call fcn.004a8a60
mov ecx, dword [ebp - 0xa0]
add esp, 0x14
inc ecx
movzx eax, byte [ecx + esi]
movzx edx, byte [ecx + esi + 1]
shl eax, 8
or edx, eax
mov dword [ebp - 0xa8], edx
cmp edx, 2
jb 0x4a56c4
lea eax, [edx + ecx]
mov dword [ebp - 0x9c], eax
add eax, 3
cmp eax, edi
ja 0x4a56c4
test dl, 1
jne 0x4a56c4
push edx
lea eax, [ecx + 2]
add eax, esi
push eax
push str.client_hello__ciphersuitelist
push 0x52a
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
mov dword [ebp - 0xa4], eax
call fcn.004a8320
mov edx, dword [ebp - 0x9c]
add esp, 0x1c
add edx, 2
mov dword [ebp - 0xa0], edx
movzx ecx, byte [edx + esi]
mov dword [ebp - 0x9c], ecx
lea eax, [ecx - 1]
cmp eax, 0xf
ja 0x4a56b8
lea eax, [edx + 1]
add eax, ecx
cmp eax, edi
ja 0x4a56b8
push ecx
lea eax, [edx + 1]
add eax, esi
push eax
push str.client_hello__compression
push 0x541
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
call fcn.004a8320
mov ecx, dword [ebp - 0xa0]
add esp, 0x1c
inc ecx
add ecx, dword [ebp - 0x9c]
cmp edi, ecx
jbe 0x4a49bc
lea eax, [ecx + 2]
cmp edi, eax
jae 0x4a498e
push str.bad_client_hello_message
push 0x54b
jmp 0x4a56da
movzx eax, byte [ecx + esi]
lea edx, [ecx + esi]
movzx esi, byte [edx + 1]
shl eax, 8
or esi, eax
lea eax, [ecx + 2]
add eax, esi
mov dword [ebp - 0x90], esi
cmp edi, eax
je 0x4a49c9
push str.bad_client_hello_message
push 0x556
jmp 0x4a56da
xor edx, edx
mov dword [ebp - 0x90], edx
lea edx, [ecx + esi]
xor esi, esi
push esi
lea edi, [edx + 2]
push edi
push str.client_hello_extensions
push 0x560
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
mov dword [ebp - 0x98], edi
call fcn.004a8320
add esp, 0x1c
test esi, esi
je 0x4a52a0
cmp esi, 4
jb 0x4a5291
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
mov esi, dword [ebp - 0x98]
movzx edi, byte [edi + 2]
shl ecx, 8
or ecx, eax
shl edi, 8
movzx eax, byte [esi + 3]
or edi, eax
mov dword [ebp - 0x94], edi
lea eax, [edi + 4]
cmp eax, dword [ebp - 0x90]
ja 0x4a5282
cmp ecx, 0xff01
ja case.0x4a4a55.2
je 0x4a4fc3
cmp ecx, 0x36
ja case.0x4a4a55.2
movzx eax, byte [ecx + 0x4a5768]
jmp dword [eax*4 + 0x4a573c]
push str.found_ServerName_extension
push 0x57a
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
call fcn.004a8a60
lea eax, [esi + 4]
add eax, edi
push eax
lea eax, [esi + 4]
push eax
push ebx
call fcn.00496d10
add esp, 0x20
test eax, eax
jne 0x4a50f5
jmp 0x4a4bc1
push str.found_signature_algorithms_extension
push 0x58f
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
call fcn.004a8a60
lea eax, [esi + 4]
add eax, edi
push eax
lea eax, [esi + 4]
push eax
push ebx
call fcn.00496ef0
add esp, 0x20
test eax, eax
jne 0x4a50f5
mov ecx, 1
mov dword [ebp - 0x8c], ecx
jmp 0x4a4bc7
push str.found_supported_elliptic_curves_extension
push 0x59c
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
call fcn.004a8a60
add esp, 0x14
cmp edi, 2
jb 0x4a50b1
movzx ecx, byte [esi + 4]
movzx eax, byte [esi + 5]
shl ecx, 8
or ecx, eax
mov dword [ebp - 0xa0], ecx
lea eax, [ecx + 2]
cmp eax, edi
jne 0x4a50a5
test cl, 1
jne 0x4a50a5
mov eax, dword [ebx + 0x40]
cmp dword [eax + 0x1b4], 0
jne 0x4a5080
mov edi, ecx
mov eax, 0xe
shr edi, 1
inc edi
cmp edi, 0xe
push 4
cmova edi, eax
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov edx, eax
add esp, 8
mov dword [ebp - 0x9c], edx
test edx, edx
je 0x4a5072
mov ecx, dword [ebx + 0x40]
add esi, 6
cmp dword [ebp - 0xa0], 0
mov dword [ecx + 0x1b4], edx
jbe 0x4a4bbb
cmp edi, 1
jbe 0x4a4bbb
movzx eax, byte [esi]
movzx ecx, byte [esi + 1]
shl ax, 8
or cx, ax
movzx eax, cx
push eax
call fcn.004b96e0
add esp, 4
test eax, eax
je 0x4a4ba5
mov edx, dword [ebp - 0x9c]
mov dword [edx], eax
add edx, 4
mov dword [ebp - 0x9c], edx
dec edi
mov eax, dword [ebp - 0xa0]
add esi, 2
sub eax, 2
mov dword [ebp - 0xa0], eax
test eax, eax
jne 0x4a4b70
mov edi, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x88]
mov esi, dword [ebp - 0x90]
mov eax, 0xfffffffc
sub eax, edi
add esi, eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x90], esi
lea eax, [eax + 4]
lea eax, [eax + edi]
mov dword [ebp - 0x98], eax
je 0x4a5276
mov edi, eax
jmp 0x4a49f6
push str.found_supported_point_formats_extension
push 0x5a4
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
call fcn.004a8a60
mov eax, dword [ebx + 0x40]
add esp, 0x14
or byte [eax + 1], 1
test edi, edi
je 0x4a5106
movzx esi, byte [esi + 4]
lea eax, [esi + 1]
cmp eax, edi
jne 0x4a5106
mov edx, dword [ebp - 0x98]
add edx, 5
test esi, esi
je 0x4a4bc1
nop word [eax + eax]
mov cl, byte [edx]
test cl, cl
je 0x4a4c66
cmp cl, 1
je 0x4a4c66
inc edx
sub esi, 1
jne 0x4a4c50
jmp 0x4a4bc1
mov eax, dword [ebx + 0x40]
mov byte [eax + 0xcc], cl
movzx eax, byte [edx]
push eax
push str.point_format_selected:__d
push 0x114
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 4
push ebx
call fcn.004a8a60
add esp, 0x18
jmp 0x4a4bc1
push str.found_max_fragment_length_extension
push 0x5ba
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
call fcn.004a8a60
add esp, 0x14
cmp edi, 1
jne 0x4a5110
mov cl, byte [esi + 4]
cmp cl, 5
jae 0x4a5110
mov eax, dword [ebx + 0x3c]
mov byte [eax], cl
jmp 0x4a4bc1
push str.found_CID_extension
push 0x5c4
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
call fcn.004a8a60
mov eax, dword [ebx]
add esp, 0x14
cmp byte [eax + 9], 1
jne 0x4a5177
cmp edi, 1
jb 0x4a5164
mov cl, byte [esi + 4]
add esi, 5
mov eax, dword [ebp - 0x94]
movzx edi, cl
dec eax
cmp eax, edi
jne 0x4a5151
cmp byte [ebx + 0x145], 0
jne 0x4a4d3a
push str.Client_sent_CID_extension__but_CID_disabled
push 0x198
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
call fcn.004a8a60
add esp, 0x14
jmp 0x4a4bbb
cmp edi, 0x20
ja 0x4a514a
mov eax, dword [ebx + 0x40]
push edi
push esi
mov byte [eax + 0x248], 1
mov eax, dword [ebx + 0x40]
mov byte [eax + 0x269], cl
mov eax, dword [ebx + 0x40]
add eax, 0x249
push eax
call sub.VCRUNTIME140.dll_memcpy
push str.Use_of_CID_extension_negotiated
push 0x1a8
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
call fcn.004a8a60
push edi
push esi
push str.Client_CID
push 0x1a9
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
call fcn.004a8320
add esp, 0x3c
jmp 0x4a4bbb
push str.found_encrypt_then_mac_extension
push 0x5ce
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
call fcn.004a8a60
add esp, 0x14
test edi, edi
jne 0x4a51ca
mov eax, dword [ebx]
cmp byte [eax + 0xd], 1
jne 0x4a4bc1
mov eax, dword [ebx + 0x3c]
mov dword [eax + 0x7c], 1
jmp 0x4a4bc1
push str.found_extended_master_secret_extension
push 0x5d8
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
call fcn.004a8a60
add esp, 0x14
test edi, edi
jne 0x4a51d1
mov eax, dword [ebx]
mov edx, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x8c]
cmp byte [eax + 0xe], 1
jne 0x4a4bcd
mov eax, dword [ebx + 0x40]
mov byte [eax + 0xc], 1
jmp 0x4a4bcd
push str.found_session_ticket_extension
push 0x5e2
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
call fcn.004a8a60
lea eax, [ebp - 0x84]
push eax
call fcn.004976a0
mov eax, dword [ebx]
add esp, 0x18
cmp dword [eax + 0x60], 0
je 0x4a4bc1
cmp dword [eax + 0x5c], 0
je 0x4a4bc1
mov eax, dword [ebx + 0x40]
push edi
push str.ticket_length:__zu
push 0x1f5
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
mov byte [eax + 4], 1
call fcn.004a8a60
add esp, 0x18
test edi, edi
je 0x4a4bc1
cmp dword [ebx + 8], 0
je 0x4a4eac
push str.ticket_rejected:_renegotiating
push 0x1fd
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
call fcn.004a8a60
add esp, 0x14
jmp 0x4a4bc1
mov ecx, dword [ebx]
lea eax, [esi + 4]
push edi
push eax
lea eax, [ebp - 0x84]
push eax
push dword [ecx + 0x64]
mov eax, dword [ecx + 0x60]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4a4f22
lea eax, [ebp - 0x84]
push eax
call fcn.00497650
add esp, 4
cmp esi, 0xffff8e80
jne 0x4a4eee
push str.ticket_is_not_authentic
push 0x20b
jmp 0x4a4e97
cmp esi, 0xffff9280
jne 0x4a4f02
push str.ticket_is_expired
push 0x20d
jmp 0x4a4e97
push esi
push str.mbedtls_ssl_ticket_parse
push 0x20f
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 1
push ebx
call fcn.004a8b10
add esp, 0x18
jmp 0x4a4bc1
mov esi, dword [ebx + 0x3c]
mov eax, dword [esi + 0x14]
push eax
mov dword [ebp - 0x70], eax
lea eax, [esi + 0x18]
push eax
lea eax, [ebp - 0x6c]
push eax
call sub.VCRUNTIME140.dll_memcpy
push esi
call fcn.00497650
mov edi, dword [ebx + 0x3c]
lea eax, [ebp - 0x84]
mov ecx, 0x20
lea esi, [ebp - 0x84]
push 0x80
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004b66d0
push str.session_successfully_restored_from_ticket
push 0x221
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
call fcn.004a8a60
mov eax, dword [ebx + 0x40]
add esp, 0x2c
mov byte [eax], 1
mov eax, dword [ebx + 0x40]
mov byte [eax + 4], 0
jmp 0x4a4bbb
push str.found_alpn_extension
push 0x5ec
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
call fcn.004a8a60
lea eax, [esi + 4]
add eax, edi
push eax
lea eax, [esi + 4]
push eax
push ebx
call fcn.00496670
add esp, 0x20
test eax, eax
jne 0x4a50f5
jmp 0x4a4bc1
push str.found_renegotiation_extension
push 0x583
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
call fcn.004a8a60
add esp, 0x14
mov edx, 1
cmp dword [ebx + 8], 0
mov dword [ebp - 0x88], edx
je 0x4a502e
mov ecx, dword [ebx + 0x108]
lea eax, [ecx + 1]
cmp edi, eax
jne 0x4a501f
movzx eax, byte [esi + 4]
cmp eax, ecx
jne 0x4a501f
push ecx
lea eax, [ebx + 0x118]
push eax
lea eax, [esi + 5]
push eax
call fcn.004bedc0
add esp, 0xc
test eax, eax
je 0x4a4bc1
mov eax, 0x70
mov ecx, str.non_matching_renegotiation_info
jmp 0x4a522e
cmp edi, 1
jne 0x4a5224
cmp byte [esi + 4], 0
jne 0x4a5224
mov ecx, dword [ebp - 0x8c]
mov dword [ebx + 0x104], edx
jmp 0x4a4bcd
push ecx
push str.unknown_extension_found:__u__ignoring_
push 0x601
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
call fcn.004a8a60
add esp, 0x18
jmp 0x4a4bc1
mov esi, 0xffff8100
mov byte [ebp - 0x90], 0x50
jmp 0x4a50d7
push str.bad_client_hello_message
push 0xcc
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 1
push ebx
call fcn.004a8a60
mov esi, 0xffff9a00
mov byte [ebp - 0x90], 0x2f
jmp 0x4a50d4
push str.bad_client_hello_message
push 0xc3
jmp 0x4a50bb
push str.bad_client_hello_message
push 0xba
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 1
push ebx
call fcn.004a8a60
mov byte [ebp - 0x90], 0x32
mov esi, 0xffff8d00
add esp, 0x14
push dword [ebp - 0x90]
mov byte [ebp - 0x98], 2
push dword [ebp - 0x98]
push ebx
call fcn.0049d5a0
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054f742
mov esp, ebp
pop ebp
ret
mov eax, 0xfd
jmp 0x4a51d6
push str.bad_client_hello_message
push 0x15d
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 1
push ebx
call fcn.004a8a60
push 0x2f
push 2
push ebx
call fcn.0049d5a0
add esp, 0x20
mov eax, 0xffff9a00
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054f742
mov esp, ebp
pop ebp
ret
mov eax, 0x19e
jmp 0x4a517c
mov esi, 0xffff8d00
mov byte [ebp - 0x90], 0x32
mov eax, 0x18d
jmp 0x4a5188
mov esi, 0xffff8d00
mov byte [ebp - 0x90], 0x32
mov eax, 0x182
jmp 0x4a5188
mov eax, 0x174
mov byte [ebp - 0x90], 0x2f
mov esi, 0xffff9a00
push str.bad_client_hello_message
push eax
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 1
push ebx
mov byte [ebp - 0x98], 2
call fcn.004a8a60
push dword [ebp - 0x90]
push dword [ebp - 0x98]
push ebx
call fcn.0049d5a0
add esp, 0x20
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054f742
mov esp, ebp
pop ebp
ret
mov eax, 0x1b7
jmp 0x4a51d6
mov eax, 0x1d0
push str.bad_client_hello_message
push eax
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 1
push ebx
mov esi, ebx
mov byte [ebp - 0x90], 2
mov byte [ebp - 0xa0], 0x32
call fcn.004a8a60
push dword [ebp - 0xa0]
push dword [ebp - 0x90]
push esi
call fcn.0049d5a0
add esp, 0x20
mov eax, 0xffff8d00
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054f742
mov esp, ebp
pop ebp
ret
mov eax, 0x7b
mov ecx, str.non_zero_length_renegotiation_info
push ecx
push eax
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 1
push ebx
mov byte [ebp - 0x9c], 0x28
mov byte [ebp - 0xa8], 2
call fcn.004a8a60
push dword [ebp - 0x9c]
push dword [ebp - 0xa8]
push ebx
call fcn.0049d5a0
add esp, 0x20
mov eax, 0xffff9200
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054f742
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x4a52a0
mov dword [ebp - 0x88], edx
jmp 0x4a52b0
push str.bad_client_hello_message
push 0x571
jmp 0x4a56da
push str.bad_client_hello_message
push 0x567
jmp 0x4a56da
mov eax, dword [ebx + 0x40]
xor ecx, ecx
mov dword [eax + 0x24], 0x2010203
mov word [eax + 0x28], cx
mov edi, dword [ebp - 0xa4]
xor ecx, ecx
mov edx, dword [ebp - 0xa8]
mov eax, edi
cmp byte [eax], 0
jne 0x4a52cb
cmp byte [eax + 1], 0xff
je 0x4a52d7
add ecx, 2
add eax, 2
cmp ecx, edx
jb 0x4a52c0
jmp 0x4a5310
push str.received_TLS_EMPTY_RENEGOTIATION_INFO
push 0x62e
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
call fcn.004a8a60
add esp, 0x14
cmp dword [ebx + 8], 1
jne 0x4a5306
push str.received_RENEGOTIATION_SCSV_during_renegotiation
push 0x633
jmp 0x4a5688
mov dword [ebx + 0x104], 1
mov ecx, dword [ebx + 0x104]
cmp ecx, 1
je 0x4a533e
mov eax, dword [ebx]
cmp byte [eax + 0xb], 2
jne 0x4a533e
mov edx, str.legacy_renegotiation__breaking_off_handshake
mov ecx, 0x644
push edx
push ecx
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
mov eax, ebx
push 1
push eax
jmp 0x4a5690
cmp dword [ebx + 8], 1
jne 0x4a539e
cmp ecx, 1
jne 0x4a536e
mov eax, dword [ebp - 0x88]
test eax, eax
jne 0x4a539a
mov edx, str.renegotiation_info_extension_missing__secure_
mov ecx, 0x64c
push edx
push ecx
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
mov eax, ebx
push 1
push eax
jmp 0x4a5690
test ecx, ecx
jne 0x4a5394
mov eax, dword [ebx]
cmp byte [eax + 0xb], cl
jne 0x4a53e4
mov edx, str.legacy_renegotiation_not_allowed
mov ecx, 0x653
push edx
push ecx
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
mov eax, ebx
push 1
push eax
jmp 0x4a5690
mov eax, dword [ebp - 0x88]
test ecx, ecx
je 0x4a53ea
mov eax, dword [ebx]
mov eax, dword [eax + 0xdc]
test eax, eax
je 0x4a540a
push ebx
call eax
mov esi, eax
add esp, 4
test esi, esi
je 0x4a540a
push esi
push str.f_cert_cb
push 0x66b
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 1
push ebx
call fcn.004a8b10
add esp, 0x18
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054f742
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x88]
cmp eax, 1
jne 0x4a539e
mov edx, str.renegotiation_info_extension_present__legacy_
mov ecx, 0x65a
push edx
push ecx
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
mov eax, ebx
push 1
push eax
jmp 0x4a5690
mov eax, dword [ebx + 0x40]
xor esi, esi
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x90], esi
mov dword [eax + 0x864], 0
mov eax, dword [ebx + 0x40]
mov dword [eax + 0x868], 0
mov eax, dword [ebx]
cmp byte [eax + 0x13], 1
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x88], ecx
jne 0x4a54f2
mov esi, dword [ebp - 0xa4]
xor eax, eax
mov dword [ebp - 0x9c], eax
mov edx, dword [ecx]
xor edi, edi
test edx, edx
je 0x4a54bb
nop dword [eax]
movzx ecx, byte [esi]
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
cmp ecx, edx
jne 0x4a54a7
lea eax, [ebp - 0x90]
mov dword [ebp - 0x94], 1
push eax
push edx
push ebx
call fcn.004a39c0
add esp, 0xc
test eax, eax
jne 0x4a50f5
mov esi, dword [ebp - 0x90]
test esi, esi
jne 0x4a55bc
mov esi, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x88]
inc edi
mov edx, dword [ecx + edi*4]
test edx, edx
jne 0x4a5460
mov eax, dword [ebp - 0x9c]
add eax, 2
add esi, 2
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], esi
cmp eax, dword [ebp - 0xa8]
jb 0x4a5455
mov esi, dword [ebp - 0x94]
test esi, esi
je 0x4a567e
push str.got_ciphersuites_in_common__but_none_of_them_usable
push 0x6a3
jmp 0x4a5688
mov dword [ebp - 0x8c], esi
cmp dword [ecx], esi
je 0x4a567e
mov dword [ebp - 0x98], ecx
nop word [eax + eax]
xor edx, edx
mov dword [ebp - 0xa0], edx
nop dword [eax + eax]
mov edx, dword [ebp - 0x98]
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
mov eax, dword [edx]
mov edx, dword [ebp - 0xa0]
cmp ecx, eax
jne 0x4a5577
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x94], 1
push ecx
push eax
push ebx
call fcn.004a39c0
add esp, 0xc
test eax, eax
jne 0x4a50f5
mov esi, dword [ebp - 0x90]
test esi, esi
jne 0x4a55b6
mov edx, dword [ebp - 0xa0]
mov esi, dword [ebp - 0x94]
add edx, 2
add edi, 2
mov ecx, esi
mov dword [ebp - 0xa0], edx
cmp edx, dword [ebp - 0xa8]
jb 0x4a5520
mov eax, dword [ebp - 0x98]
inc dword [ebp - 0x8c]
add eax, 4
mov dword [ebp - 0x98], eax
cmp dword [eax], 0
je 0x4a5677
mov edi, dword [ebp - 0xa4]
jmp 0x4a5510
mov edi, dword [ebp - 0x8c]
push dword [esi + 4]
push str.selected_ciphersuite:__s
push 0x6b1
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 2
push ebx
call fcn.004a8a60
mov ecx, dword [ebx + 0x3c]
add esp, 0x18
mov eax, dword [ebp - 0x88]
mov eax, dword [eax + edi*4]
mov dword [ecx + 0x10], eax
mov eax, dword [ebx + 0x40]
mov dword [eax + 0x10], esi
mov eax, dword [ebx]
inc dword [ebx + 4]
cmp byte [eax + 9], 1
jne 0x4a5602
push ebx
call fcn.0049d360
add esp, 4
push esi
call fcn.004a0430
add esp, 4
test eax, eax
je 0x4a562e
push eax
mov esi, 0x6c6
mov edi, str.client_hello_v3__signature_algorithm_ext:__u
call fcn.00497b70
movzx eax, al
push eax
push ebx
call fcn.00497c60
add esp, 0xc
jmp 0x4a563a
mov esi, 0x6cb
mov edi, str.no_hash_algorithm_for_signature_algorithm__u___should_not_happen
xor eax, eax
push eax
push edi
push esi
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 3
push ebx
call fcn.004a8a60
push str.__parse_client_hello
push 0x6cf
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 2
push ebx
call fcn.004a8a60
add esp, 0x2c
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054f742
mov esp, ebp
pop ebp
ret
mov esi, ecx
jmp 0x4a54db
push str.got_no_ciphersuites_in_common
push 0x6aa
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 1
push ebx
call fcn.004a8a60
push 0x28
push 2
push ebx
call fcn.0049d5a0
add esp, 0x20
mov eax, 0xffff9200
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054f742
mov esp, ebp
pop ebp
ret
push str.bad_client_hello_message
push 0x53a
jmp 0x4a56da
push str.bad_client_hello_message
push 0x523
jmp 0x4a56da
push str.bad_client_hello_message
push 0x4cf
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 1
push ebx
call fcn.004a8a60
push 0x32
push 2
push ebx
call fcn.0049d5a0
add esp, 0x20
mov eax, 0xffff8d00
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054f742
mov esp, ebp
pop ebp
ret
push str.bad_client_hello_message
push 0x3db
push str.D:UsersphiliDropboxDevelopmentlibmbedtlsmbedtlslibrary_ssl_tls12_server.c
push 1
push ebx
call fcn.004a8a60
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
mov eax, 0xffff8900
pop esi
pop ebx
call fcn.0054f742
mov esp, ebp
pop ebp
ret