Function at 0x1000e140
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 0x40
mov dword [ebp - 0x2c4], eax
mov ebx, edx
lea eax, [ebp - 0x248]
push 0
push eax
call fcn.10046690
add esp, 0xc
lea eax, [ebp - 0x2c0]
push 0x5c
push 0
push eax
call fcn.10046690
mov edx, dword [0x100778bc]
lea ecx, [ebp - 0x260]
add esp, 0xc
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0x67452301
lea edx, [edx + 0x464]
mov dword [ebp - 0x254], 0xefcdab89
push 0x40
mov dword [ebp - 0x250], 0x98badcfe
mov dword [ebp - 0x24c], 0x10325476
call fcn.100133d0
mov esi, eax
add esp, 4
test esi, esi
je 0x1000e246
mov eax, dword [0x10077880]
test eax, eax
je 0x1000e4e4
cmp dword [eax + 0x10], 0
je 0x1000e4e4
cmp dword [0x10075388], 1
jl 0x1000e4e4
cmp esi, 0xffff9700
je 0x1000e4e4
mov eax, esi
neg eax
push eax
push esi
push str.mbedtls_md5_update_ret
push str._s___returned__d___0x_04x__n
lea eax, [ebp - 0x208]
push 0x200
push eax
call fcn.1002f1c0
lea ecx, [ebp - 0x208]
push ecx
push 0x25c9
jmp 0x1000e4cd
push dword [ebp + 0xc]
mov edx, dword [ebp - 0x2c4]
lea ecx, [ebp - 0x260]
call fcn.100133d0
mov esi, eax
add esp, 4
test esi, esi
je 0x1000e2c5
mov eax, dword [0x10077880]
test eax, eax
je 0x1000e4e4
cmp dword [eax + 0x10], 0
je 0x1000e4e4
cmp dword [0x10075388], 1
jl 0x1000e4e4
cmp esi, 0xffff9700
je 0x1000e4e4
mov eax, esi
neg eax
push eax
push esi
push str.mbedtls_md5_update_ret
push str._s___returned__d___0x_04x__n
lea eax, [ebp - 0x208]
push 0x200
push eax
call fcn.1002f1c0
lea ecx, [ebp - 0x208]
push ecx
push 0x25ce
jmp 0x1000e4cd
mov edx, ebx
lea ecx, [ebp - 0x260]
call fcn.10013480
mov esi, eax
test esi, esi
je 0x1000e33a
mov eax, dword [0x10077880]
test eax, eax
je 0x1000e4e4
cmp dword [eax + 0x10], 0
je 0x1000e4e4
cmp dword [0x10075388], 1
jl 0x1000e4e4
cmp esi, 0xffff9700
je 0x1000e4e4
mov eax, esi
neg eax
push eax
push esi
push str.mbedtls_md5_finish_ret
push str._s___returned__d___0x_04x__n
lea eax, [ebp - 0x208]
push 0x200
push eax
call fcn.1002f1c0
lea ecx, [ebp - 0x208]
push ecx
push 0x25d3
jmp 0x1000e4cd
mov edx, dword [0x100778bc]
lea ecx, [ebp - 0x2c0]
push 0x40
mov dword [ebp - 0x2b8], 0x67452301
mov dword [ebp - 0x2b4], 0xefcdab89
lea edx, [edx + 0x464]
mov dword [ebp - 0x2b0], 0x98badcfe
mov dword [ebp - 0x2ac], 0x10325476
mov dword [ebp - 0x2a8], 0xc3d2e1f0
call fcn.1001afd0
mov esi, eax
add esp, 4
test esi, esi
je 0x1000e3f0
mov eax, dword [0x10077880]
test eax, eax
je 0x1000e4e4
cmp dword [eax + 0x10], 0
je 0x1000e4e4
cmp dword [0x10075388], 1
jl 0x1000e4e4
cmp esi, 0xffff9700
je 0x1000e4e4
mov eax, esi
neg eax
push eax
push esi
push str.mbedtls_sha1_update_ret
push str._s___returned__d___0x_04x__n
lea eax, [ebp - 0x208]
push 0x200
push eax
call fcn.1002f1c0
lea ecx, [ebp - 0x208]
push ecx
push 0x25df
jmp 0x1000e4cd
push dword [ebp + 0xc]
mov edx, dword [ebp - 0x2c4]
lea ecx, [ebp - 0x2c0]
call fcn.1001afd0
mov esi, eax
add esp, 4
test esi, esi
je 0x1000e46c
mov eax, dword [0x10077880]
test eax, eax
je 0x1000e4e4
cmp dword [eax + 0x10], 0
je 0x1000e4e4
cmp dword [0x10075388], 1
jl 0x1000e4e4
cmp esi, 0xffff9700
je 0x1000e4e4
mov eax, esi
neg eax
push eax
push esi
push str.mbedtls_sha1_update_ret
push str._s___returned__d___0x_04x__n
lea eax, [ebp - 0x208]
push 0x200
push eax
call fcn.1002f1c0
lea ecx, [ebp - 0x208]
push ecx
push 0x25e5
jmp 0x1000e4cd
lea edx, [ebx + 0x10]
lea ecx, [ebp - 0x2c0]
call fcn.1001b080
mov esi, eax
test esi, esi
je 0x1000e4e4
mov eax, dword [0x10077880]
test eax, eax
je 0x1000e4e4
cmp dword [eax + 0x10], 0
je 0x1000e4e4
cmp dword [0x10075388], 1
jl 0x1000e4e4
cmp esi, 0xffff9700
je 0x1000e4e4
mov eax, esi
neg eax
push eax
push esi
push str.mbedtls_sha1_finish_ret
push str._s___returned__d___0x_04x__n
lea eax, [ebp - 0x208]
push 0x200
push eax
call fcn.1002f1c0
lea ecx, [ebp - 0x208]
push ecx
push 0x25eb
mov eax, dword [0x10077880]
push str.C:UserspentesterDownloadsxxxxxxxcs4.5externalmbedtls_2.14.1library_ssl_tls.c
push 1
push dword [eax + 0x14]
mov eax, dword [eax + 0x10]
call eax
add esp, 0x2c
push 0x58
lea eax, [ebp - 0x260]
push 0
push eax
mov eax, dword [fcn.10046690]
call eax
add esp, 0xc
lea eax, [ebp - 0x2c0]
push 0x5c
push 0
push eax
mov eax, dword [fcn.10046690]
call eax
add esp, 0xc
test esi, esi
je 0x1000e51e
push 0x50
mov dl, 2
call fcn.1000a220
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.10045387
mov esp, ebp
pop ebp
ret