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

Disassembly:
mov eax, dword [0x10077880]
push ebx
push esi
push edi
mov ecx, dword [eax + 0xcc]
mov eax, dword [0x100778f0]
and ecx, 2
push 0x100701dc
push 0x58a
or ecx, 1
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_cli.c
push 2
push 0x10077880
lea esi, [eax + ecx*4]
call fcn.10012320
add esp, 0x14
mov edx, 3
mov ecx, 0x10077880
push 2
push esi
push str.server_version
push 0x592
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_cli.c
call fcn.100123e0
mov edi, dword [0x10077880]
add esp, 0x14
movzx eax, byte [esi]
movzx ebx, byte [esi + 1]
test byte [edi + 0xcc], 2
je 0x10028c40
mov edx, 0x101
sub edx, eax
mov eax, 0x100
sub eax, ebx
cmp ebx, 0xff
lea ecx, [eax + 1]
cmovne ecx, eax
jmp 0x10028c44
mov edx, eax
mov ecx, ebx
cmp edx, 3
jl 0x10028ea2
cmp ecx, 2
jl 0x10028ea2
movzx eax, byte [edi + 0xc8]
cmp edx, eax
jg 0x10028ea2
movzx eax, byte [edi + 0xc9]
cmp ecx, eax
jg 0x10028ea2
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, 0x10077880
call fcn.100123e0
mov eax, dword [0x100778fc]
add esp, 0x14
sub eax, esi
add eax, dword [0x100778f0]
cmp eax, edi
jge 0x10028ce4
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 0x10077880
call fcn.10012320
add esp, 0x14
mov dl, 2
push 0x32
call fcn.1000a220
mov eax, 0xffff8680
add esp, 4
pop edi
pop esi
pop ebx
ret
mov eax, dword [0x100778bc]
push dword [eax + 0x1e0]
call fcn.1004b0ed
add esp, 4
push edi
push 1
call fcn.1004b0e2
mov ecx, dword [0x100778bc]
add esp, 8
mov dword [ecx + 0x1e0], eax
mov eax, dword [0x100778bc]
push edi
mov eax, dword [eax + 0x1e0]
test eax, eax
jne 0x10028d45
push str.alloc_failed___d_bytes_
push 0x5b8
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_cli.c
push 1
push 0x10077880
call fcn.10012320
add esp, 0x18
mov eax, 0xffff8100
pop edi
pop esi
pop ebx
ret
push esi
push eax
call fcn.10047450
mov eax, dword [0x100778bc]
add esp, 0xc
mov edx, 1
mov byte [eax + 0x1e4], bl
mov eax, dword [0x100778bc]
mov dword [0x10077884], 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 [0x100778bc]
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 [0x100778bc]
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 [0x100778bc]
lea ecx, [ecx + 0x378]
call fcn.10013660
call fcn.100073e0
push str.__parse_hello_verify_request
push 0x5c5
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_cli.c
push 2
push 0x10077880
call fcn.10012320
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 0x10077880
call fcn.10012320
add esp, 0x14
mov dl, 2
push 0x46
call fcn.1000a220
add esp, 4
mov eax, 0xffff9180
pop edi
pop esi
pop ebx
ret