Function at 0x428230
Capabilities:
Hash data using sha1
Hash data using sha256

Disassembly:
mov eax, dword [0x476980]
push ebx
push esi
push edi
mov ecx, dword [eax + 0xcc]
mov eax, dword [0x4769f0]
and ecx, 2
push 0x47003c
push 0x58a
or ecx, 1
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_cli.c
push 2
push 0x476980
lea esi, [eax + ecx*4]
call fcn.00411980
add esp, 0x14
mov edx, 3
mov ecx, 0x476980
push 2
push esi
push str.server_version
push 0x592
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_cli.c
call fcn.00411a40
mov edi, dword [0x476980]
add esp, 0x14
movzx eax, byte [esi]
movzx ebx, byte [esi + 1]
test byte [edi + 0xcc], 2
je 0x4282c0
mov edx, 0x101
sub edx, eax
mov eax, 0x100
sub eax, ebx
cmp ebx, 0xff
lea ecx, [eax + 1]
cmovne ecx, eax
jmp 0x4282c4
mov edx, eax
mov ecx, ebx
cmp edx, 3
jl 0x428522
cmp ecx, 2
jl 0x428522
movzx eax, byte [edi + 0xc8]
cmp edx, eax
jg 0x428522
movzx eax, byte [edi + 0xc9]
cmp ecx, eax
jg 0x428522
mov bl, byte [esi + 2]
mov edx, 3
movzx edi, bl
add esi, 3
push edi
push esi
push str.cookie
push 0x5a8
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_cli.c
mov ecx, 0x476980
call fcn.00411a40
mov eax, dword [0x4769fc]
add esp, 0x14
sub eax, esi
add eax, dword [0x4769f0]
cmp eax, edi
jge 0x428364
push str.cookie_length_does_not_match_incoming_message_size
push 0x5ad
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_cli.c
push 1
push 0x476980
call fcn.00411980
add esp, 0x14
mov dl, 2
push 0x32
call fcn.00409860
mov eax, 0xffff8680
add esp, 4
pop edi
pop esi
pop ebx
ret
mov eax, dword [0x4769bc]
push dword [eax + 0x1e0]
call fcn.0044a73d
add esp, 4
push edi
push 1
call fcn.0044a732
mov ecx, dword [0x4769bc]
add esp, 8
mov dword [ecx + 0x1e0], eax
mov eax, dword [0x4769bc]
push edi
mov eax, dword [eax + 0x1e0]
test eax, eax
jne 0x4283c5
push str.alloc_failed___d_bytes_
push 0x5b8
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_cli.c
push 1
push 0x476980
call fcn.00411980
add esp, 0x18
mov eax, 0xffff8100
pop edi
pop esi
pop ebx
ret
push esi
push eax
call fcn.00446970
mov eax, dword [0x4769bc]
add esp, 0xc
mov edx, 1
mov byte [eax + 0x1e4], bl
mov eax, dword [0x4769bc]
mov dword [0x476984], 1
mov dword [eax + 0x254], 0
mov dword [eax + 0x258], 0
mov dword [eax + 0x25c], 0x67452301
mov dword [eax + 0x260], 0xefcdab89
mov dword [eax + 0x264], 0x98badcfe
mov dword [eax + 0x268], 0x10325476
mov eax, dword [0x4769bc]
mov dword [eax + 0x2ac], 0
mov dword [eax + 0x2b0], 0
mov dword [eax + 0x2b4], 0x67452301
mov dword [eax + 0x2b8], 0xefcdab89
mov dword [eax + 0x2bc], 0x98badcfe
mov dword [eax + 0x2c0], 0x10325476
mov dword [eax + 0x2c4], 0xc3d2e1f0
mov eax, dword [0x4769bc]
mov dword [eax + 0x308], 0
mov dword [eax + 0x30c], 0
mov dword [eax + 0x310], 0x6a09e667
mov dword [eax + 0x314], 0xbb67ae85
mov dword [eax + 0x318], 0x3c6ef372
mov dword [eax + 0x31c], 0xa54ff53a
mov dword [eax + 0x320], 0x510e527f
mov dword [eax + 0x324], 0x9b05688c
mov dword [eax + 0x328], 0x1f83d9ab
mov dword [eax + 0x32c], 0x5be0cd19
mov dword [eax + 0x370], 0
mov ecx, dword [0x4769bc]
lea ecx, [ecx + 0x378]
call fcn.00412cc0
call fcn.00406a10
push str.__parse_hello_verify_request
push 0x5c5
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_cli.c
push 2
push 0x476980
call fcn.00411980
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
ret
push str.bad_server_version
push 0x59f
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_cli.c
push 1
push 0x476980
call fcn.00411980
add esp, 0x14
mov dl, 2
push 0x46
call fcn.00409860
add esp, 4
mov eax, 0xffff9180
pop edi
pop esi
pop ebx
ret