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

Disassembly:
push 0x918
mov eax, 0x4735c6
call fcn.00448ddd
mov dword [ebp - 0x924], edx
mov eax, ecx
mov dword [ebp - 0x920], eax
mov esi, str.0123456789abcdef
lea edi, [ebp - 0x878]
push 0x18
xor ecx, ecx
xor ebx, ebx
inc ebx
mov dword [ebp - 0x910], ecx
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x914], ecx
mov dword [ebp - 0x91c], ecx
mov dword [ebp - 0x918], ecx
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 ecx
push 0x8000000
push 3
push ecx
push ebx
push SysReAllocString
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4141fb
cmp dword [0x4ac0bc], 3
jg 0x4141f4
push str.Error_opening_file___s_
lea ecx, [ebp - 0x87c]
call fcn.00403e12
and dword [ebp - 4], 0
lea ecx, [ebp - 0x84c]
push str._s_failed_with__s
call fcn.00403e12
push 0
mov byte [ebp - 4], bl
call dword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x8ac]
call fcn.004274ff
pop ecx
mov esi, eax
mov eax, dword [ebp - 0x920]
lea ecx, [ebp - 0x87c]
test eax, eax
mov byte [ebp - 4], 2
mov edx, str._null_
cmovne edx, eax
cmp dword [ebp - 0x868], 0x10
push edx
cmovae ecx, dword [ebp - 0x87c]
lea eax, [ebp - 0x864]
push ecx
push eax
call fcn.004261a1
add esp, 0xc
lea eax, [ebp - 0x864]
mov byte [ebp - 4], 3
push esi
push eax
lea edx, [ebp - 0x84c]
lea ecx, [ebp - 0x894]
call fcn.0042b58a
pop ecx
pop ecx
push eax
push str.getCheckSum
push 0x2e
push str.c:jenkinsworkspace8_2_build_windows_i586_cygwinjdk8u281880install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov ecx, 0x4ac0bc
mov byte [ebp - 4], 4
call fcn.00427250
lea ecx, [ebp - 0x894]
call fcn.004049c7
lea ecx, [ebp - 0x864]
call fcn.004049c7
lea ecx, [ebp - 0x8ac]
call fcn.004049c7
lea ecx, [ebp - 0x84c]
call fcn.004049c7
lea ecx, [ebp - 0x87c]
call fcn.004049c7
xor eax, eax
jmp 0x414639
cmp dword [ebp + 8], 0x8004
je 0x414210
cmp dword [ebp + 8], 0x800c
mov ebx, esi
cmove ebx, esi
push 0xf0000000
push ebx
xor ebx, ebx
lea eax, [ebp - 0x91c]
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x4142ed
cmp dword [0x4ac0bc], 3
jg 0x4142e1
push str._s_failed_with__s
lea ecx, [ebp - 0x84c]
call fcn.00403e12
push ebx
mov dword [ebp - 4], 5
call dword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x864]
call fcn.004274ff
mov esi, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x894]
mov dword [esp], str.CryptAcquireContext
call fcn.00403e12
push esi
push eax
lea edx, [ebp - 0x84c]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8ac]
call fcn.0042b58a
pop ecx
pop ecx
push eax
push str.getCheckSum
push 0x3b
push str.c:jenkinsworkspace8_2_build_windows_i586_cygwinjdk8u281880install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov ecx, 0x4ac0bc
mov byte [ebp - 4], 8
call fcn.00427250
lea ecx, [ebp - 0x8ac]
call fcn.004049c7
lea ecx, [ebp - 0x894]
call fcn.004049c7
lea ecx, [ebp - 0x864]
call fcn.004049c7
lea ecx, [ebp - 0x84c]
call fcn.004049c7
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x4141f4
lea eax, [ebp - 0x918]
push eax
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 0x91c]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x4143d8
cmp dword [0x4ac0bc], 3
jg 0x4143bf
push str._s_failed_with__s
lea ecx, [ebp - 0x84c]
call fcn.00403e12
push ebx
mov dword [ebp - 4], 9
call dword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x864]
call fcn.004274ff
mov esi, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x894]
mov dword [esp], 0x48d958
call fcn.00403e12
push esi
push eax
lea edx, [ebp - 0x84c]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x8ac]
call fcn.0042b58a
pop ecx
pop ecx
push eax
push str.getCheckSum
push 0x41
push str.c:jenkinsworkspace8_2_build_windows_i586_cygwinjdk8u281880install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov ecx, 0x4ac0bc
mov byte [ebp - 4], 0xc
call fcn.00427250
lea ecx, [ebp - 0x8ac]
call fcn.004049c7
lea ecx, [ebp - 0x894]
call fcn.004049c7
lea ecx, [ebp - 0x864]
call fcn.004049c7
lea ecx, [ebp - 0x84c]
call fcn.004049c7
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
push ebx
push dword [ebp - 0x91c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x4141f4
push ebx
mov ebx, dword [sym.imp.kernel32.dll_ReadFile]
jmp 0x41440f
cmp dword [ebp - 0x910], 0
je 0x4144e9
push 0
push dword [ebp - 0x910]
lea eax, [ebp - 0x834]
push eax
push dword [ebp - 0x918]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x414430
push 0
lea eax, [ebp - 0x910]
push eax
push 0x800
lea eax, [ebp - 0x834]
push eax
push edi
call ebx
mov esi, eax
test esi, esi
jne 0x4143e1
jmp 0x4144e9
cmp dword [0x4ac0bc], 3
jg 0x4144e7
push str._s_failed_with__s
lea ecx, [ebp - 0x84c]
call fcn.00403e12
push 0
mov dword [ebp - 4], 0xd
call dword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x864]
call fcn.004274ff
mov esi, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x894]
mov dword [esp], 0x48d968
call fcn.00403e12
push esi
push eax
lea edx, [ebp - 0x84c]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x8ac]
call fcn.0042b58a
pop ecx
pop ecx
push eax
push str.getCheckSum
push 0x4c
push str.c:jenkinsworkspace8_2_build_windows_i586_cygwinjdk8u281880install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov ecx, 0x4ac0bc
mov byte [ebp - 4], 0x10
call fcn.00427250
lea ecx, [ebp - 0x8ac]
call fcn.004049c7
lea ecx, [ebp - 0x894]
call fcn.004049c7
lea ecx, [ebp - 0x864]
call fcn.004049c7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84c]
call fcn.004049c7
xor esi, esi
mov dword [ebp - 0x914], 0x20
test esi, esi
je 0x414616
push 0
lea eax, [ebp - 0x914]
push eax
lea eax, [ebp - 0x34]
push eax
push 2
push dword [ebp - 0x918]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x414561
mov ebx, dword [ebp - 0x924]
xor edx, edx
mov byte [ebx], 0
cmp dword [ebp - 0x914], edx
jbe 0x414558
movzx ecx, byte [ebp + edx - 0x34]
mov eax, ecx
and ecx, 0xf
shr eax, 4
mov al, byte [ebp + eax - 0x878]
mov byte [ebx + edx*2], al
mov al, byte [ebp + ecx - 0x878]
mov byte [ebx + edx*2 + 1], al
inc edx
cmp edx, dword [ebp - 0x914]
jb 0x41452d
mov byte [ebx + 0x40], 0
jmp 0x414616
cmp dword [0x4ac0bc], 3
jg 0x414614
push str._s_failed_with__s
lea ecx, [ebp - 0x8c4]
call fcn.00403e12
push 0
mov dword [ebp - 4], 0x11
call dword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x90c]
call fcn.004274ff
mov esi, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x8f4]
mov dword [esp], 0x48d978
call fcn.00403e12
push esi
push eax
lea edx, [ebp - 0x8c4]
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x8dc]
call fcn.0042b58a
pop ecx
pop ecx
push eax
push str.getCheckSum
push 0x5e
push str.c:jenkinsworkspace8_2_build_windows_i586_cygwinjdk8u281880install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov ecx, 0x4ac0bc
mov byte [ebp - 4], 0x14
call fcn.00427250
lea ecx, [ebp - 0x8dc]
call fcn.004049c7
lea ecx, [ebp - 0x8f4]
call fcn.004049c7
lea ecx, [ebp - 0x90c]
call fcn.004049c7
lea ecx, [ebp - 0x8c4]
call fcn.004049c7
xor esi, esi
push dword [ebp - 0x918]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x91c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, esi
call fcn.00448d87
ret