Function at 0x414620
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 0x467c5b
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x494284]
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 0x414793
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 0x4147b8
push 3
call fcn.00418029
mov ecx, eax
call fcn.0041829a
test al, al
je 0x414793
push str.Error_opening_file___s_
lea ecx, [ebp + 0xc0]
call fcn.00402913
and dword [ebp - 4], 0
lea ecx, [ebp + 0x60]
push str._s_failed_with__s
call fcn.00402913
push 0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.004180dd
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.004117f3
push esi
push eax
lea eax, [ebp + 0x60]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp + 0xa8]
push eax
call fcn.0040b5a6
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.00418029
mov ecx, eax
call fcn.004182a6
lea ecx, [ebp + 0xa8]
call fcn.00407d8d
lea ecx, [ebp + 0x90]
call fcn.00407d8d
lea ecx, [ebp + 0x78]
call fcn.00407d8d
lea ecx, [ebp + 0x60]
call fcn.00407d8d
lea ecx, [ebp + 0xc0]
call fcn.00407d8d
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.0043f9b7
add ebp, 0x8fc
leave
ret
cmp dword [ebp + 0x910], 0x8004
jne 0x4147c9
xor eax, eax
inc eax
jmp 0x4147d8
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 0x4148bc
push 3
call fcn.00418029
mov ecx, eax
call fcn.0041829a
test al, al
je 0x4148b0
push str._s_failed_with__s
lea ecx, [ebp + 0xc0]
call fcn.00402913
push 0
mov dword [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp + 0xa8]
push eax
call fcn.004180dd
add esp, 0xc
mov esi, eax
push str.CryptAcquireContext
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 6
call fcn.00402913
push esi
push eax
lea eax, [ebp + 0xc0]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0040b5a6
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.00418029
mov ecx, eax
call fcn.004182a6
lea ecx, [ebp + 0x78]
call fcn.00407d8d
lea ecx, [ebp + 0x90]
call fcn.00407d8d
lea ecx, [ebp + 0xa8]
call fcn.00407d8d
lea ecx, [ebp + 0xc0]
call fcn.00407d8d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x414793
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 0x4149ae
push 3
call fcn.00418029
mov ecx, eax
call fcn.0041829a
test al, al
je 0x414997
push str._s_failed_with__s
lea ecx, [ebp + 0xc0]
call fcn.00402913
push 0
mov dword [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp + 0xa8]
push eax
call fcn.004180dd
add esp, 0xc
mov esi, eax
push 0x471b64
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 0xa
call fcn.00402913
push esi
push eax
lea eax, [ebp + 0xc0]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0040b5a6
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.00418029
mov ecx, eax
call fcn.004182a6
lea ecx, [ebp + 0x78]
call fcn.00407d8d
lea ecx, [ebp + 0x90]
call fcn.00407d8d
lea ecx, [ebp + 0xa8]
call fcn.00407d8d
lea ecx, [ebp + 0xc0]
call fcn.00407d8d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x414793
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 0x414adf
cmp dword [ebp - 0x14], 0
je 0x414adf
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 0x414a1b
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 0x4149d1
mov dword [ebp - 0x10], ebx
jmp 0x414bed
push 3
call fcn.00418029
mov ecx, eax
call fcn.0041829a
test al, al
je 0x414ad7
push str._s_failed_with__s
lea ecx, [ebp + 0xc0]
call fcn.00402913
push 0
mov dword [ebp - 4], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp + 0xa8]
push eax
call fcn.004180dd
add esp, 0xc
mov esi, eax
push 0x471b74
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 0xe
call fcn.00402913
push esi
push eax
lea eax, [ebp + 0xc0]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0040b5a6
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.00418029
mov ecx, eax
call fcn.004182a6
lea ecx, [ebp + 0x78]
call fcn.00407d8d
lea ecx, [ebp + 0x90]
call fcn.00407d8d
lea ecx, [ebp + 0xa8]
call fcn.00407d8d
lea ecx, [ebp + 0xc0]
call fcn.00407d8d
mov dword [ebp - 0x10], ebx
jmp 0x414beb
mov dword [ebp - 0x10], ebx
test esi, esi
je 0x414bed
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 0x414b44
mov ebx, dword [ebp - 0x24]
xor edx, edx
mov byte [ebx], 0
cmp dword [ebp - 0x10], edx
jbe 0x414b38
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 0x414b13
mov eax, dword [ebp - 0x28]
mov byte [ebx + eax], 0
jmp 0x414bed
push 3
call fcn.00418029
mov ecx, eax
call fcn.0041829a
test al, al
je 0x414beb
push str._s_failed_with__s
lea ecx, [ebp + 0x48]
call fcn.00402913
push 0
mov dword [ebp - 4], 0x11
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp]
push eax
call fcn.004180dd
add esp, 0xc
mov esi, eax
push 0x471b84
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0x12
call fcn.00402913
push esi
push eax
lea eax, [ebp + 0x48]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.0040b5a6
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.00418029
mov ecx, eax
call fcn.004182a6
lea ecx, [ebp + 0x30]
call fcn.00407d8d
lea ecx, [ebp + 0x18]
call fcn.00407d8d
lea ecx, [ebp]
call fcn.00407d8d
lea ecx, [ebp + 0x48]
call fcn.00407d8d
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 0x414795