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

Disassembly:
mov ecx, dword [0x100778cc]
test ecx, ecx
je 0x1000c19f
call fcn.1000dd40
push esi
mov esi, dword [0x100778b8]
test esi, esi
je 0x1000c1db
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x1000c1c1
call fcn.10011980
push dword [esi + 0x64]
call fcn.1004b0ed
add esp, 4
push dword [esi + 0x6c]
call fcn.1004b0ed
mov eax, dword [fcn.10046690]
push 0x88
push 0
push esi
call eax
add esp, 0x10
cmp dword [0x100778bc], 0
je 0x1000c1e9
call fcn.1000df00
cmp dword [0x100778cc], 0
jne 0x1000c206
push 0xd0
push 1
call fcn.1004b0e2
add esp, 8
mov dword [0x100778cc], eax
cmp dword [0x100778b8], 0
jne 0x1000c223
push 0x88
push 1
call fcn.1004b0e2
add esp, 8
mov dword [0x100778b8], eax
mov eax, dword [0x100778bc]
test eax, eax
jne 0x1000c248
push 0x8e0
push 1
call fcn.1004b0e2
add esp, 8
mov dword [0x100778bc], eax
test eax, eax
je 0x1000c4f4
cmp dword [0x100778cc], 0
je 0x1000c4f4
mov eax, dword [0x100778b8]
test eax, eax
je 0x1000c4f4
push edi
push 0x88
push 0
push eax
call fcn.10046690
mov esi, dword [0x100778cc]
push 0x38
push 0
push esi
call fcn.10046690
push 0x40
lea eax, [esi + 0x50]
push 0
push eax
call fcn.10046690
push 0x40
lea eax, [esi + 0x90]
push 0
push eax
call fcn.10046690
xorps xmm0, xmm0
movq qword [esi + 0x38], xmm0
mov dword [esi + 0x40], 0
movq qword [esi + 0x44], xmm0
mov dword [esi + 0x4c], 0
mov edi, dword [0x100778bc]
push 0x144
push 0
lea eax, [edi + 0x84]
push eax
call fcn.10046690
push 0x88
lea eax, [edi + 0x1cc]
push 0
push eax
call fcn.10046690
add esp, 0x48
mov dword [edi + 0x374], 0
lea eax, [edi + 0x454]
push 0x48c
push 0
push eax
call fcn.10046690
push 0x54
lea eax, [edi + 0x258]
push 0
push eax
call fcn.10046690
push 0x58
lea eax, [edi + 0x2b0]
push 0
push eax
call fcn.10046690
push 0x68
lea eax, [edi + 0x30c]
mov dword [edi + 0x254], 0
push 0
push eax
mov dword [edi + 0x258], 0
mov dword [edi + 0x25c], 0x67452301
mov dword [edi + 0x260], 0xefcdab89
mov dword [edi + 0x264], 0x98badcfe
mov dword [edi + 0x268], 0x10325476
mov dword [edi + 0x2ac], 0
mov dword [edi + 0x2b0], 0
mov dword [edi + 0x2b4], 0x67452301
mov dword [edi + 0x2b8], 0xefcdab89
mov dword [edi + 0x2bc], 0x98badcfe
mov dword [edi + 0x2c0], 0x10325476
mov dword [edi + 0x2c4], 0xc3d2e1f0
call fcn.10046690
mov dword [edi + 0x308], 0
mov dword [edi + 0x30c], 0
mov dword [edi + 0x310], 0x6a09e667
mov dword [edi + 0x314], 0xbb67ae85
mov dword [edi + 0x318], 0x3c6ef372
mov dword [edi + 0x31c], 0xa54ff53a
mov dword [edi + 0x320], 0x510e527f
mov dword [edi + 0x324], 0x9b05688c
mov dword [edi + 0x328], 0x1f83d9ab
mov dword [edi + 0x32c], 0x5be0cd19
push 0xd8
lea esi, [edi + 0x378]
mov dword [edi + 0x370], 0
push 0
push esi
call fcn.10046690
mov edx, 1
mov ecx, esi
call fcn.10013660
push 0x7c
lea eax, [edi + 8]
mov dword [edi + 0x450], 0x1000b370
push 0
push eax
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.10046690
add esp, 0x48
lea ecx, [edi + 0x84]
call fcn.10014e60
mov dword [edi + 0x1c8], 3
mov eax, dword [0x10077880]
pop edi
test byte [eax + 0xcc], 2
je 0x1000c4f0
mov ecx, dword [0x100778bc]
mov eax, dword [0x100778c4]
mov dword [ecx + 0x200], eax
mov eax, dword [0x10077880]
mov cl, byte [eax + 0xcc]
mov eax, dword [0x100778bc]
and cl, 1
add cl, cl
mov byte [eax + 0x1ec], cl
cmp dword [0x100778d4], 0
je 0x1000c4f0
push 0
push str.set_timer_to__d_ms
push 0x51
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_tls.c
push 3
push 0x10077880
call fcn.10012320
push 0
push 0
push dword [0x100778d0]
call dword [0x100778d4]
add esp, 0x24
xor eax, eax
pop esi
ret
push str.alloc___of_ssl_sub_contexts_failed
push 0x1a28
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_tls.c
push 1
push 0x10077880
call fcn.10012320
push dword [0x100778bc]
call fcn.1004b0ed
push dword [0x100778cc]
call fcn.1004b0ed
push dword [0x100778b8]
call fcn.1004b0ed
add esp, 0x20
mov dword [0x100778bc], 0
mov dword [0x100778cc], 0
mov eax, 0xffff8100
mov dword [0x100778b8], 0
pop esi
ret