Function at 0x694ef3
Capabilities:
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8fc]
sub esp, 0x8fc
push 0xffffffffffffffff
push 0x6e7bd2
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x714334]
xor eax, ebp
mov dword [ebp + 0x8f8], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x914]
mov eax, dword [ebp + 0x908]
mov ecx, dword [ebp + 0x904]
mov dword [ebp - 0x24], eax
lea eax, [ebx + ebx]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], eax
cmp dword [ebp + 0x90c], eax
jbe 0x695066
mov esi, str.0123456789abcdef
lea edi, [ebp + 0x64]
push 0x18
xor eax, eax
mov dword [ebp - 0x14], eax
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
push eax
push 0x8000000
push 3
push eax
push 1
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x69508b
push 3
call fcn.00698a5b
mov ecx, eax
call fcn.00698cc4
test al, al
je 0x695066
push str.Error_opening_file___s_
lea ecx, [ebp + 0xc0]
call fcn.00682f12
and dword [ebp - 4], 0
lea ecx, [ebp + 0x60]
push str._s_failed_with__s
call fcn.00682f12
push 0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00698b0f
mov esi, eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp + 0xc0]
push eax
lea eax, [ebp + 0x90]
push eax
call fcn.006920ca
push esi
push eax
lea eax, [ebp + 0x60]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp + 0xa8]
push eax
call fcn.0068bae6
add esp, 0x28
push eax
push str.getCheckSum
push 0x2e
push str.c:jenkinsworkspace8_2_build_windows_x64_cygwin_sans_NASjdk8u411893install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov byte [ebp - 4], 4
call fcn.00698a5b
mov ecx, eax
call fcn.00698cd0
lea ecx, [ebp + 0xa8]
call fcn.00688398
lea ecx, [ebp + 0x90]
call fcn.00688398
lea ecx, [ebp + 0x78]
call fcn.00688398
lea ecx, [ebp + 0x60]
call fcn.00688398
lea ecx, [ebp + 0xc0]
call fcn.00688398
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x8f8]
xor ecx, ebp
call fcn.006c1212
add ebp, 0x8fc
leave
ret
cmp dword [ebp + 0x910], 0x8004
jne 0x69509c
xor eax, eax
inc eax
jmp 0x6950ab
cmp dword [ebp + 0x910], 0x800c
mov eax, esi
cmove eax, esi
push 0xf0000000
push eax
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x69518f
push 3
call fcn.00698a5b
mov ecx, eax
call fcn.00698cc4
test al, al
je 0x695183
push str._s_failed_with__s
lea ecx, [ebp + 0xc0]
call fcn.00682f12
push 0
mov dword [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp + 0xa8]
push eax
call fcn.00698b0f
add esp, 0xc
mov esi, eax
push str.CryptAcquireContext
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 6
call fcn.00682f12
push esi
push eax
lea eax, [ebp + 0xc0]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0068bae6
add esp, 0x10
push eax
push str.getCheckSum
push 0x3b
push str.c:jenkinsworkspace8_2_build_windows_x64_cygwin_sans_NASjdk8u411893install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov byte [ebp - 4], 8
call fcn.00698a5b
mov ecx, eax
call fcn.00698cd0
lea ecx, [ebp + 0x78]
call fcn.00688398
lea ecx, [ebp + 0x90]
call fcn.00688398
lea ecx, [ebp + 0xa8]
call fcn.00688398
lea ecx, [ebp + 0xc0]
call fcn.00688398
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x695066
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push dword [ebp + 0x910]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x695281
push 3
call fcn.00698a5b
mov ecx, eax
call fcn.00698cc4
test al, al
je 0x69526a
push str._s_failed_with__s
lea ecx, [ebp + 0xc0]
call fcn.00682f12
push 0
mov dword [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp + 0xa8]
push eax
call fcn.00698b0f
add esp, 0xc
mov esi, eax
push 0x6f1b50
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 0xa
call fcn.00682f12
push esi
push eax
lea eax, [ebp + 0xc0]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0068bae6
add esp, 0x10
push eax
push str.getCheckSum
push 0x41
push str.c:jenkinsworkspace8_2_build_windows_x64_cygwin_sans_NASjdk8u411893install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov byte [ebp - 4], 0xc
call fcn.00698a5b
mov ecx, eax
call fcn.00698cd0
lea ecx, [ebp + 0x78]
call fcn.00688398
lea ecx, [ebp + 0x90]
call fcn.00688398
lea ecx, [ebp + 0xa8]
call fcn.00688398
lea ecx, [ebp + 0xc0]
call fcn.00688398
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x695066
push 0
lea eax, [ebp - 0x14]
push eax
push 0x800
lea eax, [ebp + 0xd8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test esi, esi
je 0x6953b2
cmp dword [ebp - 0x14], 0
je 0x6953b2
push 0
push dword [ebp - 0x14]
lea eax, [ebp + 0xd8]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x6952ee
push 0
lea eax, [ebp - 0x14]
push eax
push 0x800
lea eax, [ebp + 0xd8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test esi, esi
jne 0x6952a4
mov dword [ebp - 0x10], ebx
jmp 0x6954c0
push 3
call fcn.00698a5b
mov ecx, eax
call fcn.00698cc4
test al, al
je 0x6953aa
push str._s_failed_with__s
lea ecx, [ebp + 0xc0]
call fcn.00682f12
push 0
mov dword [ebp - 4], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp + 0xa8]
push eax
call fcn.00698b0f
add esp, 0xc
mov esi, eax
push 0x6f1b60
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 0xe
call fcn.00682f12
push esi
push eax
lea eax, [ebp + 0xc0]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0068bae6
add esp, 0x10
push eax
push str.getCheckSum
push 0x4c
push str.c:jenkinsworkspace8_2_build_windows_x64_cygwin_sans_NASjdk8u411893install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov byte [ebp - 4], 0x10
call fcn.00698a5b
mov ecx, eax
call fcn.00698cd0
lea ecx, [ebp + 0x78]
call fcn.00688398
lea ecx, [ebp + 0x90]
call fcn.00688398
lea ecx, [ebp + 0xa8]
call fcn.00688398
lea ecx, [ebp + 0xc0]
call fcn.00688398
mov dword [ebp - 0x10], ebx
jmp 0x6954be
mov dword [ebp - 0x10], ebx
test esi, esi
je 0x6954c0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x8d8]
push eax
push 2
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x695417
mov ebx, dword [ebp - 0x24]
xor edx, edx
mov byte [ebx], 0
cmp dword [ebp - 0x10], edx
jbe 0x69540b
movzx ecx, byte [ebp + edx + 0x8d8]
mov eax, ecx
and ecx, 0xf
shr eax, 4
mov al, byte [ebp + eax + 0x64]
mov byte [ebx + edx*2], al
mov al, byte [ebp + ecx + 0x64]
mov byte [ebx + edx*2 + 1], al
inc edx
cmp edx, dword [ebp - 0x10]
jb 0x6953e6
mov eax, dword [ebp - 0x28]
mov byte [ebx + eax], 0
jmp 0x6954c0
push 3
call fcn.00698a5b
mov ecx, eax
call fcn.00698cc4
test al, al
je 0x6954be
push str._s_failed_with__s
lea ecx, [ebp + 0x48]
call fcn.00682f12
push 0
mov dword [ebp - 4], 0x11
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp]
push eax
call fcn.00698b0f
add esp, 0xc
mov esi, eax
push 0x6f1b70
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0x12
call fcn.00682f12
push esi
push eax
lea eax, [ebp + 0x48]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.0068bae6
add esp, 0x10
push eax
push str.getCheckSum
push 0x5e
push str.c:jenkinsworkspace8_2_build_windows_x64_cygwin_sans_NASjdk8u411893install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov byte [ebp - 4], 0x14
call fcn.00698a5b
mov ecx, eax
call fcn.00698cd0
lea ecx, [ebp + 0x30]
call fcn.00688398
lea ecx, [ebp + 0x18]
call fcn.00688398
lea ecx, [ebp]
call fcn.00688398
lea ecx, [ebp + 0x48]
call fcn.00688398
xor esi, esi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x695068