Function at 0x415cf0
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 0x47d2c5
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4b4294]
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 0x415e63
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 SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x415e88
push 3
call fcn.00424fbb
mov ecx, eax
call fcn.004252a1
test al, al
je 0x415e63
push str.Error_opening_file___s_
lea ecx, [ebp + 0xc0]
call fcn.0040317d
and dword [ebp - 4], 0
lea ecx, [ebp + 0x60]
push str._s_failed_with__s
call fcn.0040317d
push 0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.004250e4
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.0040aca6
push esi
push eax
lea eax, [ebp + 0x60]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp + 0xa8]
push eax
call fcn.0040acd5
add esp, 0x28
push eax
push str.getCheckSum
push 0x2e
push str.c:jenkinsworkspace8_2_build_windows_i586_cygwin_sans_NASjdk8u4211068install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov byte [ebp - 4], 4
call fcn.00424fbb
mov ecx, eax
call fcn.004252ad
lea ecx, [ebp + 0xa8]
call fcn.00405bc4
lea ecx, [ebp + 0x90]
call fcn.00405bc4
lea ecx, [ebp + 0x78]
call fcn.00405bc4
lea ecx, [ebp + 0x60]
call fcn.00405bc4
lea ecx, [ebp + 0xc0]
call fcn.00405bc4
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.0044f332
add ebp, 0x8fc
leave
ret
cmp dword [ebp + 0x910], 0x8004
jne 0x415e99
xor eax, eax
inc eax
jmp 0x415ea8
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 0x415f8c
push 3
call fcn.00424fbb
mov ecx, eax
call fcn.004252a1
test al, al
je 0x415f80
push str._s_failed_with__s
lea ecx, [ebp + 0xc0]
call fcn.0040317d
push 0
mov dword [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp + 0xa8]
push eax
call fcn.004250e4
add esp, 0xc
mov esi, eax
push str.CryptAcquireContext
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 6
call fcn.0040317d
push esi
push eax
lea eax, [ebp + 0xc0]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0040acd5
add esp, 0x10
push eax
push str.getCheckSum
push 0x3b
push str.c:jenkinsworkspace8_2_build_windows_i586_cygwin_sans_NASjdk8u4211068install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov byte [ebp - 4], 8
call fcn.00424fbb
mov ecx, eax
call fcn.004252ad
lea ecx, [ebp + 0x78]
call fcn.00405bc4
lea ecx, [ebp + 0x90]
call fcn.00405bc4
lea ecx, [ebp + 0xa8]
call fcn.00405bc4
lea ecx, [ebp + 0xc0]
call fcn.00405bc4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x415e63
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 0x41607e
push 3
call fcn.00424fbb
mov ecx, eax
call fcn.004252a1
test al, al
je 0x416067
push str._s_failed_with__s
lea ecx, [ebp + 0xc0]
call fcn.0040317d
push 0
mov dword [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp + 0xa8]
push eax
call fcn.004250e4
add esp, 0xc
mov esi, eax
push 0x4898bc
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 0xa
call fcn.0040317d
push esi
push eax
lea eax, [ebp + 0xc0]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0040acd5
add esp, 0x10
push eax
push str.getCheckSum
push 0x41
push str.c:jenkinsworkspace8_2_build_windows_i586_cygwin_sans_NASjdk8u4211068install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov byte [ebp - 4], 0xc
call fcn.00424fbb
mov ecx, eax
call fcn.004252ad
lea ecx, [ebp + 0x78]
call fcn.00405bc4
lea ecx, [ebp + 0x90]
call fcn.00405bc4
lea ecx, [ebp + 0xa8]
call fcn.00405bc4
lea ecx, [ebp + 0xc0]
call fcn.00405bc4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x415e63
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 0x4161af
cmp dword [ebp - 0x14], 0
je 0x4161af
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 0x4160eb
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 0x4160a1
mov dword [ebp - 0x10], ebx
jmp 0x4162bd
push 3
call fcn.00424fbb
mov ecx, eax
call fcn.004252a1
test al, al
je 0x4161a7
push str._s_failed_with__s
lea ecx, [ebp + 0xc0]
call fcn.0040317d
push 0
mov dword [ebp - 4], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp + 0xa8]
push eax
call fcn.004250e4
add esp, 0xc
mov esi, eax
push 0x4898cc
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 0xe
call fcn.0040317d
push esi
push eax
lea eax, [ebp + 0xc0]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0040acd5
add esp, 0x10
push eax
push str.getCheckSum
push 0x4c
push str.c:jenkinsworkspace8_2_build_windows_i586_cygwin_sans_NASjdk8u4211068install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov byte [ebp - 4], 0x10
call fcn.00424fbb
mov ecx, eax
call fcn.004252ad
lea ecx, [ebp + 0x78]
call fcn.00405bc4
lea ecx, [ebp + 0x90]
call fcn.00405bc4
lea ecx, [ebp + 0xa8]
call fcn.00405bc4
lea ecx, [ebp + 0xc0]
call fcn.00405bc4
mov dword [ebp - 0x10], ebx
jmp 0x4162bb
mov dword [ebp - 0x10], ebx
test esi, esi
je 0x4162bd
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 0x416214
mov ebx, dword [ebp - 0x24]
xor edx, edx
mov byte [ebx], 0
cmp dword [ebp - 0x10], edx
jbe 0x416208
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 0x4161e3
mov eax, dword [ebp - 0x28]
mov byte [ebx + eax], 0
jmp 0x4162bd
push 3
call fcn.00424fbb
mov ecx, eax
call fcn.004252a1
test al, al
je 0x4162bb
push str._s_failed_with__s
lea ecx, [ebp + 0x48]
call fcn.0040317d
push 0
mov dword [ebp - 4], 0x11
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp]
push eax
call fcn.004250e4
add esp, 0xc
mov esi, eax
push 0x4898dc
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0x12
call fcn.0040317d
push esi
push eax
lea eax, [ebp + 0x48]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.0040acd5
add esp, 0x10
push eax
push str.getCheckSum
push 0x5e
push str.c:jenkinsworkspace8_2_build_windows_i586_cygwin_sans_NASjdk8u4211068install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov byte [ebp - 4], 0x14
call fcn.00424fbb
mov ecx, eax
call fcn.004252ad
lea ecx, [ebp + 0x30]
call fcn.00405bc4
lea ecx, [ebp + 0x18]
call fcn.00405bc4
lea ecx, [ebp]
call fcn.00405bc4
lea ecx, [ebp + 0x48]
call fcn.00405bc4
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 0x415e65