Function at 0x414f60
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 0x467392
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x494244]
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 0x4150d3
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 0x4150f8
push 3
call fcn.004185e3
mov ecx, eax
call fcn.0041879e
test al, al
je 0x4150d3
push str.Error_opening_file___s_
lea ecx, [ebp + 0xc0]
call fcn.00402f72
and dword [ebp - 4], 0
lea ecx, [ebp + 0x60]
push str._s_failed_with__s
call fcn.00402f72
push 0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.004185e9
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.00412137
push esi
push eax
lea eax, [ebp + 0x60]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp + 0xa8]
push eax
call fcn.0040bb48
add esp, 0x28
push eax
push str.getCheckSum
push 0x2e
push str.c:jenkinsworkspace8_2_build_windows_x64_cygwin_sans_NASjdk8u381237install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov byte [ebp - 4], 4
call fcn.004185e3
mov ecx, eax
call fcn.004187aa
lea ecx, [ebp + 0xa8]
call fcn.004083fa
lea ecx, [ebp + 0x90]
call fcn.004083fa
lea ecx, [ebp + 0x78]
call fcn.004083fa
lea ecx, [ebp + 0x60]
call fcn.004083fa
lea ecx, [ebp + 0xc0]
call fcn.004083fa
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.00440cd7
add ebp, 0x8fc
leave
ret
cmp dword [ebp + 0x910], 0x8004
jne 0x415109
xor eax, eax
inc eax
jmp 0x415118
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 0x4151fc
push 3
call fcn.004185e3
mov ecx, eax
call fcn.0041879e
test al, al
je 0x4151f0
push str._s_failed_with__s
lea ecx, [ebp + 0xc0]
call fcn.00402f72
push 0
mov dword [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp + 0xa8]
push eax
call fcn.004185e9
add esp, 0xc
mov esi, eax
push str.CryptAcquireContext
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 6
call fcn.00402f72
push esi
push eax
lea eax, [ebp + 0xc0]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0040bb48
add esp, 0x10
push eax
push str.getCheckSum
push 0x3b
push str.c:jenkinsworkspace8_2_build_windows_x64_cygwin_sans_NASjdk8u381237install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov byte [ebp - 4], 8
call fcn.004185e3
mov ecx, eax
call fcn.004187aa
lea ecx, [ebp + 0x78]
call fcn.004083fa
lea ecx, [ebp + 0x90]
call fcn.004083fa
lea ecx, [ebp + 0xa8]
call fcn.004083fa
lea ecx, [ebp + 0xc0]
call fcn.004083fa
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4150d3
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 0x4152ee
push 3
call fcn.004185e3
mov ecx, eax
call fcn.0041879e
test al, al
je 0x4152d7
push str._s_failed_with__s
lea ecx, [ebp + 0xc0]
call fcn.00402f72
push 0
mov dword [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp + 0xa8]
push eax
call fcn.004185e9
add esp, 0xc
mov esi, eax
push 0x471b50
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 0xa
call fcn.00402f72
push esi
push eax
lea eax, [ebp + 0xc0]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0040bb48
add esp, 0x10
push eax
push str.getCheckSum
push 0x41
push str.c:jenkinsworkspace8_2_build_windows_x64_cygwin_sans_NASjdk8u381237install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov byte [ebp - 4], 0xc
call fcn.004185e3
mov ecx, eax
call fcn.004187aa
lea ecx, [ebp + 0x78]
call fcn.004083fa
lea ecx, [ebp + 0x90]
call fcn.004083fa
lea ecx, [ebp + 0xa8]
call fcn.004083fa
lea ecx, [ebp + 0xc0]
call fcn.004083fa
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x4150d3
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 0x41541f
cmp dword [ebp - 0x14], 0
je 0x41541f
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 0x41535b
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 0x415311
mov dword [ebp - 0x10], ebx
jmp 0x41552d
push 3
call fcn.004185e3
mov ecx, eax
call fcn.0041879e
test al, al
je 0x415417
push str._s_failed_with__s
lea ecx, [ebp + 0xc0]
call fcn.00402f72
push 0
mov dword [ebp - 4], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp + 0xa8]
push eax
call fcn.004185e9
add esp, 0xc
mov esi, eax
push 0x471b60
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 0xe
call fcn.00402f72
push esi
push eax
lea eax, [ebp + 0xc0]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0040bb48
add esp, 0x10
push eax
push str.getCheckSum
push 0x4c
push str.c:jenkinsworkspace8_2_build_windows_x64_cygwin_sans_NASjdk8u381237install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov byte [ebp - 4], 0x10
call fcn.004185e3
mov ecx, eax
call fcn.004187aa
lea ecx, [ebp + 0x78]
call fcn.004083fa
lea ecx, [ebp + 0x90]
call fcn.004083fa
lea ecx, [ebp + 0xa8]
call fcn.004083fa
lea ecx, [ebp + 0xc0]
call fcn.004083fa
mov dword [ebp - 0x10], ebx
jmp 0x41552b
mov dword [ebp - 0x10], ebx
test esi, esi
je 0x41552d
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 0x415484
mov ebx, dword [ebp - 0x24]
xor edx, edx
mov byte [ebx], 0
cmp dword [ebp - 0x10], edx
jbe 0x415478
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 0x415453
mov eax, dword [ebp - 0x28]
mov byte [ebx + eax], 0
jmp 0x41552d
push 3
call fcn.004185e3
mov ecx, eax
call fcn.0041879e
test al, al
je 0x41552b
push str._s_failed_with__s
lea ecx, [ebp + 0x48]
call fcn.00402f72
push 0
mov dword [ebp - 4], 0x11
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp]
push eax
call fcn.004185e9
add esp, 0xc
mov esi, eax
push 0x471b70
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0x12
call fcn.00402f72
push esi
push eax
lea eax, [ebp + 0x48]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.0040bb48
add esp, 0x10
push eax
push str.getCheckSum
push 0x5e
push str.c:jenkinsworkspace8_2_build_windows_x64_cygwin_sans_NASjdk8u381237install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov byte [ebp - 4], 0x14
call fcn.004185e3
mov ecx, eax
call fcn.004187aa
lea ecx, [ebp + 0x30]
call fcn.004083fa
lea ecx, [ebp + 0x18]
call fcn.004083fa
lea ecx, [ebp]
call fcn.004083fa
lea ecx, [ebp + 0x48]
call fcn.004083fa
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 0x4150d5