Function at 0x416863
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 0x47c2a6
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4b34c4]
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 0x4169d6
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 0x4169fb
push 3
call fcn.00425c61
mov ecx, eax
call fcn.00425e91
test al, al
je 0x4169d6
push str.Error_opening_file___s_
lea ecx, [ebp + 0xc0]
call fcn.004038cc
and dword [ebp - 4], 0
lea ecx, [ebp + 0x60]
push str._s_failed_with__s
call fcn.004038cc
push 0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00425cdc
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.0040b4e1
push esi
push eax
lea eax, [ebp + 0x60]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp + 0xa8]
push eax
call fcn.0040b510
add esp, 0x28
push eax
push str.getCheckSum
push 0x2e
push str.c:jenkinsworkspace8_2_build_windows_i586_cygwin_sans_NASjdk8u381237install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov byte [ebp - 4], 4
call fcn.00425c61
mov ecx, eax
call fcn.00425e9d
lea ecx, [ebp + 0xa8]
call fcn.004063d7
lea ecx, [ebp + 0x90]
call fcn.004063d7
lea ecx, [ebp + 0x78]
call fcn.004063d7
lea ecx, [ebp + 0x60]
call fcn.004063d7
lea ecx, [ebp + 0xc0]
call fcn.004063d7
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.00450e68
add ebp, 0x8fc
leave
ret
cmp dword [ebp + 0x910], 0x8004
jne 0x416a0c
xor eax, eax
inc eax
jmp 0x416a1b
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 0x416aff
push 3
call fcn.00425c61
mov ecx, eax
call fcn.00425e91
test al, al
je 0x416af3
push str._s_failed_with__s
lea ecx, [ebp + 0xc0]
call fcn.004038cc
push 0
mov dword [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp + 0xa8]
push eax
call fcn.00425cdc
add esp, 0xc
mov esi, eax
push str.CryptAcquireContext
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 6
call fcn.004038cc
push esi
push eax
lea eax, [ebp + 0xc0]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0040b510
add esp, 0x10
push eax
push str.getCheckSum
push 0x3b
push str.c:jenkinsworkspace8_2_build_windows_i586_cygwin_sans_NASjdk8u381237install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov byte [ebp - 4], 8
call fcn.00425c61
mov ecx, eax
call fcn.00425e9d
lea ecx, [ebp + 0x78]
call fcn.004063d7
lea ecx, [ebp + 0x90]
call fcn.004063d7
lea ecx, [ebp + 0xa8]
call fcn.004063d7
lea ecx, [ebp + 0xc0]
call fcn.004063d7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4169d6
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 0x416bf1
push 3
call fcn.00425c61
mov ecx, eax
call fcn.00425e91
test al, al
je 0x416bda
push str._s_failed_with__s
lea ecx, [ebp + 0xc0]
call fcn.004038cc
push 0
mov dword [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp + 0xa8]
push eax
call fcn.00425cdc
add esp, 0xc
mov esi, eax
push 0x48889c
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 0xa
call fcn.004038cc
push esi
push eax
lea eax, [ebp + 0xc0]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0040b510
add esp, 0x10
push eax
push str.getCheckSum
push 0x41
push str.c:jenkinsworkspace8_2_build_windows_i586_cygwin_sans_NASjdk8u381237install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov byte [ebp - 4], 0xc
call fcn.00425c61
mov ecx, eax
call fcn.00425e9d
lea ecx, [ebp + 0x78]
call fcn.004063d7
lea ecx, [ebp + 0x90]
call fcn.004063d7
lea ecx, [ebp + 0xa8]
call fcn.004063d7
lea ecx, [ebp + 0xc0]
call fcn.004063d7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x4169d6
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 0x416d22
cmp dword [ebp - 0x14], 0
je 0x416d22
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 0x416c5e
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 0x416c14
mov dword [ebp - 0x10], ebx
jmp 0x416e30
push 3
call fcn.00425c61
mov ecx, eax
call fcn.00425e91
test al, al
je 0x416d1a
push str._s_failed_with__s
lea ecx, [ebp + 0xc0]
call fcn.004038cc
push 0
mov dword [ebp - 4], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp + 0xa8]
push eax
call fcn.00425cdc
add esp, 0xc
mov esi, eax
push 0x4888ac
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 0xe
call fcn.004038cc
push esi
push eax
lea eax, [ebp + 0xc0]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0040b510
add esp, 0x10
push eax
push str.getCheckSum
push 0x4c
push str.c:jenkinsworkspace8_2_build_windows_i586_cygwin_sans_NASjdk8u381237install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov byte [ebp - 4], 0x10
call fcn.00425c61
mov ecx, eax
call fcn.00425e9d
lea ecx, [ebp + 0x78]
call fcn.004063d7
lea ecx, [ebp + 0x90]
call fcn.004063d7
lea ecx, [ebp + 0xa8]
call fcn.004063d7
lea ecx, [ebp + 0xc0]
call fcn.004063d7
mov dword [ebp - 0x10], ebx
jmp 0x416e2e
mov dword [ebp - 0x10], ebx
test esi, esi
je 0x416e30
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 0x416d87
mov ebx, dword [ebp - 0x24]
xor edx, edx
mov byte [ebx], 0
cmp dword [ebp - 0x10], edx
jbe 0x416d7b
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 0x416d56
mov eax, dword [ebp - 0x28]
mov byte [ebx + eax], 0
jmp 0x416e30
push 3
call fcn.00425c61
mov ecx, eax
call fcn.00425e91
test al, al
je 0x416e2e
push str._s_failed_with__s
lea ecx, [ebp + 0x48]
call fcn.004038cc
push 0
mov dword [ebp - 4], 0x11
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp]
push eax
call fcn.00425cdc
add esp, 0xc
mov esi, eax
push 0x4888bc
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0x12
call fcn.004038cc
push esi
push eax
lea eax, [ebp + 0x48]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.0040b510
add esp, 0x10
push eax
push str.getCheckSum
push 0x5e
push str.c:jenkinsworkspace8_2_build_windows_i586_cygwin_sans_NASjdk8u381237install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov byte [ebp - 4], 0x14
call fcn.00425c61
mov ecx, eax
call fcn.00425e9d
lea ecx, [ebp + 0x30]
call fcn.004063d7
lea ecx, [ebp + 0x18]
call fcn.004063d7
lea ecx, [ebp]
call fcn.004063d7
lea ecx, [ebp + 0x48]
call fcn.004063d7
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 0x4169d8