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

Disassembly:
push 0x908
mov eax, 0x4520d1
call fcn.0043c7da
mov eax, dword [ebp + 8]
mov esi, str.0123456789abcdef
lea edi, [ebp - 0x848]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor ebx, ebx
push ebx
push 0x8000000
movsd dword es:[edi], dword [esi]
push 3
movsb byte es:[edi], byte [esi]
pop edi
push edi
push ebx
push 1
push 0x80000000
push eax
mov dword [ebp - 0x8fc], eax
mov dword [ebp - 0x914], ecx
mov dword [ebp - 0x90c], ebx
mov dword [ebp - 0x904], ebx
mov dword [ebp - 0x908], ebx
mov dword [ebp - 0x910], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x900], eax
cmp eax, 0xffffffff
jne 0x410349
cmp dword [0x475304], edi
jg 0x410342
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x86c]
push eax
call fcn.00412c7b
add esp, 0xc
mov esi, eax
mov eax, dword [ebp - 0x8fc]
mov dword [ebp - 4], ebx
cmp eax, ebx
jne 0x4102b6
mov eax, str._null_
push eax
push str.Error_opening_file___s_
lea ecx, [ebp - 0x888]
call fcn.0041420d
pop ecx
pop ecx
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 0x10
jb 0x4102d5
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x4102dd
mov eax, dword [eax]
push esi
push eax
push str._s_failed_with__s
lea ecx, [ebp - 0x850]
call fcn.0041420d
add esp, 0xc
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x4102fe
mov eax, dword [eax]
push eax
push 0x2e
push edi
mov ebx, str.getCheckSum
mov edi, str.c:_reworkspace8_2_build_windows_amd64_cygwinjdk8u17110807install_srcwindowswrapperscommonUpdateUtils.hpp
mov esi, 0x475304
call fcn.004037c6
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x850]
call fcn.00405e00
push esi
push 1
lea ecx, [ebp - 0x888]
call fcn.00405e00
push esi
push 1
lea ecx, [ebp - 0x86c]
call fcn.00405e00
xor eax, eax
jmp 0x4107a4
push 0xf0000000
push 0x18
push ebx
push ebx
lea eax, [ebp - 0x908]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x410429
cmp dword [0x475304], edi
jg 0x410418
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x850]
push eax
call fcn.00412c7b
add esp, 0xc
mov esi, eax
push str.CryptAcquireContext
lea ecx, [ebp - 0x888]
mov dword [ebp - 4], edi
call fcn.00405b78
mov byte [ebp - 4], 4
cmp dword [esi + 0x14], 0x10
jb 0x4103ab
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x4103b3
mov eax, dword [eax]
push esi
push eax
push str._s_failed_with__s
lea ecx, [ebp - 0x86c]
call fcn.0041420d
add esp, 0xc
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0x10
jb 0x4103d4
mov eax, dword [eax]
push eax
push 0x3b
push edi
mov ebx, str.getCheckSum
mov edi, str.c:_reworkspace8_2_build_windows_amd64_cygwinjdk8u17110807install_srcwindowswrapperscommonUpdateUtils.hpp
mov esi, 0x475304
call fcn.004037c6
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x86c]
call fcn.00405e00
push esi
push 1
lea ecx, [ebp - 0x888]
call fcn.00405e00
push esi
push 1
lea ecx, [ebp - 0x850]
call fcn.00405e00
push dword [ebp - 0x900]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x410342
lea eax, [ebp - 0x910]
push eax
push ebx
push ebx
push 0x800c
push dword [ebp - 0x908]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x410520
cmp dword [0x475304], edi
jg 0x410502
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x850]
push eax
call fcn.00412c7b
add esp, 0xc
mov esi, eax
push 0x45f1a8
lea ecx, [ebp - 0x888]
mov dword [ebp - 4], 6
call fcn.00405b78
mov byte [ebp - 4], 7
cmp dword [esi + 0x14], 0x10
jb 0x410493
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x41049b
mov eax, dword [eax]
push esi
push eax
push str._s_failed_with__s
lea ecx, [ebp - 0x86c]
call fcn.0041420d
add esp, 0xc
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 0x10
jb 0x4104bc
mov eax, dword [eax]
push eax
push 0x41
push edi
mov ebx, str.getCheckSum
mov edi, str.c:_reworkspace8_2_build_windows_amd64_cygwinjdk8u17110807install_srcwindowswrapperscommonUpdateUtils.hpp
mov esi, 0x475304
call fcn.004037c6
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x86c]
call fcn.00405e00
push esi
push 1
lea ecx, [ebp - 0x888]
call fcn.00405e00
push esi
push 1
lea ecx, [ebp - 0x850]
call fcn.00405e00
xor ebx, ebx
push dword [ebp - 0x900]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push dword [ebp - 0x908]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x410342
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, 0x800
jmp 0x410557
cmp dword [ebp - 0x90c], ebx
je 0x410641
push ebx
push dword [ebp - 0x90c]
lea eax, [ebp - 0x834]
push eax
push dword [ebp - 0x910]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x41057e
push ebx
lea eax, [ebp - 0x90c]
push eax
push edi
lea eax, [ebp - 0x834]
push eax
push dword [ebp - 0x900]
call esi
mov dword [ebp - 0x8fc], eax
cmp eax, ebx
jne 0x41052d
jmp 0x410641
cmp dword [0x475304], 3
jg 0x41063b
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8a4]
push eax
call fcn.00412c7b
add esp, 0xc
mov esi, eax
push 0x45f1b8
lea ecx, [ebp - 0x888]
mov dword [ebp - 4], 9
call fcn.00405b78
mov byte [ebp - 4], 0xa
cmp dword [esi + 0x14], 0x10
jb 0x4105c7
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x4105cf
mov eax, dword [eax]
push esi
push eax
push str._s_failed_with__s
lea ecx, [ebp - 0x86c]
call fcn.0041420d
add esp, 0xc
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 0x10
jb 0x4105f0
mov eax, dword [eax]
push eax
push 0x4c
push 3
mov ebx, str.getCheckSum
mov edi, str.c:_reworkspace8_2_build_windows_amd64_cygwinjdk8u17110807install_srcwindowswrapperscommonUpdateUtils.hpp
mov esi, 0x475304
call fcn.004037c6
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x86c]
call fcn.00405e00
push esi
push 1
lea ecx, [ebp - 0x888]
call fcn.00405e00
or dword [ebp - 4], 0xffffffff
push esi
push 1
lea ecx, [ebp - 0x8a4]
call fcn.00405e00
xor ebx, ebx
mov dword [ebp - 0x8fc], ebx
mov dword [ebp - 0x904], 0x20
cmp dword [ebp - 0x8fc], ebx
je 0x410779
push ebx
lea eax, [ebp - 0x904]
push eax
lea eax, [ebp - 0x34]
push eax
push 2
push dword [ebp - 0x910]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x4106ba
mov esi, dword [ebp - 0x914]
xor edi, edi
mov byte [esi], bl
cmp dword [ebp - 0x904], ebx
jbe 0x4106b2
movzx eax, byte [ebp + edi - 0x34]
mov ecx, eax
shr ecx, 4
mov cl, byte [ebp + ecx - 0x848]
and eax, 0xf
mov al, byte [ebp + eax - 0x848]
mov byte [esi + edi*2], cl
mov byte [esi + edi*2 + 1], al
inc edi
cmp edi, dword [ebp - 0x904]
jb 0x410687
mov byte [esi + 0x40], bl
jmp 0x410779
cmp dword [0x475304], 3
jg 0x410773
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8f8]
push eax
call fcn.00412c7b
add esp, 0xc
mov esi, eax
push 0x45f1c8
lea ecx, [ebp - 0x8dc]
mov dword [ebp - 4], 0xc
call fcn.00405b78
mov byte [ebp - 4], 0xd
cmp dword [esi + 0x14], 0x10
jb 0x410703
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x41070b
mov eax, dword [eax]
push esi
push eax
push str._s_failed_with__s
lea ecx, [ebp - 0x8c0]
call fcn.0041420d
add esp, 0xc
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 0x10
jb 0x41072c
mov eax, dword [eax]
push eax
push 0x5e
push 3
mov ebx, str.getCheckSum
mov edi, str.c:_reworkspace8_2_build_windows_amd64_cygwinjdk8u17110807install_srcwindowswrapperscommonUpdateUtils.hpp
mov esi, 0x475304
call fcn.004037c6
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x8c0]
call fcn.00405e00
push esi
push 1
lea ecx, [ebp - 0x8dc]
call fcn.00405e00
push esi
push 1
lea ecx, [ebp - 0x8f8]
call fcn.00405e00
xor ebx, ebx
mov dword [ebp - 0x8fc], ebx
push dword [ebp - 0x910]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
push dword [ebp - 0x908]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x900]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x8fc]
call fcn.0043c85d
ret