Function at 0x412d7b
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push 0x914
mov eax, 0x4600df
call fcn.0043a6dd
mov ebx, edx
mov eax, ecx
mov dword [ebp - 0x920], eax
mov esi, str.0123456789abcdef
lea edi, [ebp - 0x878]
xor ecx, ecx
push ecx
push 0x8000000
movsd dword es:[edi], dword [esi]
push 3
push ecx
push 1
movsd dword es:[edi], dword [esi]
push SysReAllocString
push eax
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]
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x412ee0
cmp dword [0x48e68c], 3
jg 0x412ed9
push str.Error_opening_file___s_
lea ecx, [ebp - 0x87c]
call fcn.004069c2
and dword [ebp - 4], 0
lea ecx, [ebp - 0x84c]
push str._s_failed_with__s
call fcn.004069c2
push 0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x8ac]
call fcn.00417fe5
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.004157dc
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.0040beae
pop ecx
pop ecx
push eax
push str.getCheckSum
push 0x2e
push str.c:jenkinsworkspace8_2_build_windows_i586_cygwinjdk8u3332551install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov ecx, 0x48e68c
mov byte [ebp - 4], 4
call fcn.00417d0d
lea ecx, [ebp - 0x894]
call fcn.00406b80
lea ecx, [ebp - 0x864]
call fcn.00406b80
lea ecx, [ebp - 0x8ac]
call fcn.00406b80
lea ecx, [ebp - 0x84c]
call fcn.00406b80
lea ecx, [ebp - 0x87c]
call fcn.00406b80
xor eax, eax
jmp 0x413306
push 0xf0000000
push 0x18
xor esi, esi
lea eax, [ebp - 0x91c]
push esi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x412fbe
cmp dword [0x48e68c], 3
jg 0x412fb2
push str._s_failed_with__s
lea ecx, [ebp - 0x84c]
call fcn.004069c2
push esi
mov dword [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x864]
call fcn.00417fe5
mov esi, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x894]
mov dword [esp], str.CryptAcquireContext
call fcn.004069c2
push esi
push eax
lea edx, [ebp - 0x84c]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8ac]
call fcn.0040beae
pop ecx
pop ecx
push eax
push str.getCheckSum
push 0x3b
push str.c:jenkinsworkspace8_2_build_windows_i586_cygwinjdk8u3332551install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov ecx, 0x48e68c
mov byte [ebp - 4], 8
call fcn.00417d0d
lea ecx, [ebp - 0x8ac]
call fcn.00406b80
lea ecx, [ebp - 0x894]
call fcn.00406b80
lea ecx, [ebp - 0x864]
call fcn.00406b80
lea ecx, [ebp - 0x84c]
call fcn.00406b80
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x412ed9
lea eax, [ebp - 0x918]
push eax
push esi
push esi
push 0x800c
push dword [ebp - 0x91c]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x4130ad
cmp dword [0x48e68c], 3
jg 0x413094
push str._s_failed_with__s
lea ecx, [ebp - 0x84c]
call fcn.004069c2
push esi
mov dword [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x864]
call fcn.00417fe5
mov esi, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x894]
mov dword [esp], 0x4775a4
call fcn.004069c2
push esi
push eax
lea edx, [ebp - 0x84c]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x8ac]
call fcn.0040beae
pop ecx
pop ecx
push eax
push str.getCheckSum
push 0x41
push str.c:jenkinsworkspace8_2_build_windows_i586_cygwinjdk8u3332551install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov ecx, 0x48e68c
mov byte [ebp - 4], 0xc
call fcn.00417d0d
lea ecx, [ebp - 0x8ac]
call fcn.00406b80
lea ecx, [ebp - 0x894]
call fcn.00406b80
lea ecx, [ebp - 0x864]
call fcn.00406b80
lea ecx, [ebp - 0x84c]
call fcn.00406b80
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push dword [ebp - 0x91c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x412ed9
push esi
jmp 0x4130de
cmp dword [ebp - 0x910], 0
je 0x4131bc
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 0x413103
push 0
lea eax, [ebp - 0x910]
push eax
push 0x800
lea eax, [ebp - 0x834]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test esi, esi
jne 0x4130b0
jmp 0x4131bc
cmp dword [0x48e68c], 3
jg 0x4131ba
push str._s_failed_with__s
lea ecx, [ebp - 0x84c]
call fcn.004069c2
push 0
mov dword [ebp - 4], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x864]
call fcn.00417fe5
mov esi, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x894]
mov dword [esp], 0x4775b4
call fcn.004069c2
push esi
push eax
lea edx, [ebp - 0x84c]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x8ac]
call fcn.0040beae
pop ecx
pop ecx
push eax
push str.getCheckSum
push 0x4c
push str.c:jenkinsworkspace8_2_build_windows_i586_cygwinjdk8u3332551install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov ecx, 0x48e68c
mov byte [ebp - 4], 0x10
call fcn.00417d0d
lea ecx, [ebp - 0x8ac]
call fcn.00406b80
lea ecx, [ebp - 0x894]
call fcn.00406b80
lea ecx, [ebp - 0x864]
call fcn.00406b80
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84c]
call fcn.00406b80
xor esi, esi
mov dword [ebp - 0x914], 0x20
test esi, esi
je 0x4132e3
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 0x41322e
xor edx, edx
mov byte [ebx], 0
cmp dword [ebp - 0x914], edx
jbe 0x413225
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 0x4131fa
mov byte [ebx + 0x40], 0
jmp 0x4132e3
cmp dword [0x48e68c], 3
jg 0x4132e1
push str._s_failed_with__s
lea ecx, [ebp - 0x8c4]
call fcn.004069c2
push 0
mov dword [ebp - 4], 0x11
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x90c]
call fcn.00417fe5
mov esi, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x8f4]
mov dword [esp], 0x4775c4
call fcn.004069c2
push esi
push eax
lea edx, [ebp - 0x8c4]
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x8dc]
call fcn.0040beae
pop ecx
pop ecx
push eax
push str.getCheckSum
push 0x5e
push str.c:jenkinsworkspace8_2_build_windows_i586_cygwinjdk8u3332551install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov ecx, 0x48e68c
mov byte [ebp - 4], 0x14
call fcn.00417d0d
lea ecx, [ebp - 0x8dc]
call fcn.00406b80
lea ecx, [ebp - 0x8f4]
call fcn.00406b80
lea ecx, [ebp - 0x90c]
call fcn.00406b80
lea ecx, [ebp - 0x8c4]
call fcn.00406b80
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.0043a687
ret