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

Disassembly:
push 0x908
mov eax, 0x453c18
call fcn.0043df18
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 0x410327
cmp dword [0x4774c0], edi
jg 0x410320
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x86c]
push eax
call fcn.00412c59
add esp, 0xc
mov esi, eax
mov eax, dword [ebp - 0x8fc]
mov dword [ebp - 4], ebx
cmp eax, ebx
jne 0x410294
mov eax, str._null_
push eax
push str.Error_opening_file___s_
lea ecx, [ebp - 0x888]
call fcn.004141eb
pop ecx
pop ecx
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 0x10
jb 0x4102b3
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x4102bb
mov eax, dword [eax]
push esi
push eax
push str._s_failed_with__s
lea ecx, [ebp - 0x850]
call fcn.004141eb
add esp, 0xc
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x4102dc
mov eax, dword [eax]
push eax
push 0x2e
push edi
mov ebx, str.getCheckSum
mov edi, str.c:workspace8_2_build_windows_i586_cygwinjdk8u1026817.ncinstall_srcwindowswrapperscommonUpdateUtils.hpp
mov esi, 0x4774c0
call fcn.004037c2
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x850]
call fcn.00405db8
push esi
push 1
lea ecx, [ebp - 0x888]
call fcn.00405db8
push esi
push 1
lea ecx, [ebp - 0x86c]
call fcn.00405db8
xor eax, eax
jmp 0x410782
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 0x410407
cmp dword [0x4774c0], edi
jg 0x4103f6
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x850]
push eax
call fcn.00412c59
add esp, 0xc
mov esi, eax
push str.CryptAcquireContext
lea ecx, [ebp - 0x888]
mov dword [ebp - 4], edi
call fcn.00405ba6
mov byte [ebp - 4], 4
cmp dword [esi + 0x14], 0x10
jb 0x410389
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x410391
mov eax, dword [eax]
push esi
push eax
push str._s_failed_with__s
lea ecx, [ebp - 0x86c]
call fcn.004141eb
add esp, 0xc
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0x10
jb 0x4103b2
mov eax, dword [eax]
push eax
push 0x3b
push edi
mov ebx, str.getCheckSum
mov edi, str.c:workspace8_2_build_windows_i586_cygwinjdk8u1026817.ncinstall_srcwindowswrapperscommonUpdateUtils.hpp
mov esi, 0x4774c0
call fcn.004037c2
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x86c]
call fcn.00405db8
push esi
push 1
lea ecx, [ebp - 0x888]
call fcn.00405db8
push esi
push 1
lea ecx, [ebp - 0x850]
call fcn.00405db8
push dword [ebp - 0x900]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x410320
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 0x4104fe
cmp dword [0x4774c0], edi
jg 0x4104e0
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x850]
push eax
call fcn.00412c59
add esp, 0xc
mov esi, eax
push 0x460244
lea ecx, [ebp - 0x888]
mov dword [ebp - 4], 6
call fcn.00405ba6
mov byte [ebp - 4], 7
cmp dword [esi + 0x14], 0x10
jb 0x410471
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x410479
mov eax, dword [eax]
push esi
push eax
push str._s_failed_with__s
lea ecx, [ebp - 0x86c]
call fcn.004141eb
add esp, 0xc
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 0x10
jb 0x41049a
mov eax, dword [eax]
push eax
push 0x41
push edi
mov ebx, str.getCheckSum
mov edi, str.c:workspace8_2_build_windows_i586_cygwinjdk8u1026817.ncinstall_srcwindowswrapperscommonUpdateUtils.hpp
mov esi, 0x4774c0
call fcn.004037c2
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x86c]
call fcn.00405db8
push esi
push 1
lea ecx, [ebp - 0x888]
call fcn.00405db8
push esi
push 1
lea ecx, [ebp - 0x850]
call fcn.00405db8
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 0x410320
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, 0x800
jmp 0x410535
cmp dword [ebp - 0x90c], ebx
je 0x41061f
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 0x41055c
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 0x41050b
jmp 0x41061f
cmp dword [0x4774c0], 3
jg 0x410619
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8a4]
push eax
call fcn.00412c59
add esp, 0xc
mov esi, eax
push 0x460254
lea ecx, [ebp - 0x888]
mov dword [ebp - 4], 9
call fcn.00405ba6
mov byte [ebp - 4], 0xa
cmp dword [esi + 0x14], 0x10
jb 0x4105a5
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x4105ad
mov eax, dword [eax]
push esi
push eax
push str._s_failed_with__s
lea ecx, [ebp - 0x86c]
call fcn.004141eb
add esp, 0xc
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 0x10
jb 0x4105ce
mov eax, dword [eax]
push eax
push 0x4c
push 3
mov ebx, str.getCheckSum
mov edi, str.c:workspace8_2_build_windows_i586_cygwinjdk8u1026817.ncinstall_srcwindowswrapperscommonUpdateUtils.hpp
mov esi, 0x4774c0
call fcn.004037c2
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x86c]
call fcn.00405db8
push esi
push 1
lea ecx, [ebp - 0x888]
call fcn.00405db8
or dword [ebp - 4], 0xffffffff
push esi
push 1
lea ecx, [ebp - 0x8a4]
call fcn.00405db8
xor ebx, ebx
mov dword [ebp - 0x8fc], ebx
mov dword [ebp - 0x904], 0x20
cmp dword [ebp - 0x8fc], ebx
je 0x410757
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 0x410698
mov esi, dword [ebp - 0x914]
xor edi, edi
mov byte [esi], bl
cmp dword [ebp - 0x904], ebx
jbe 0x410690
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 0x410665
mov byte [esi + 0x40], bl
jmp 0x410757
cmp dword [0x4774c0], 3
jg 0x410751
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8f8]
push eax
call fcn.00412c59
add esp, 0xc
mov esi, eax
push 0x460264
lea ecx, [ebp - 0x8dc]
mov dword [ebp - 4], 0xc
call fcn.00405ba6
mov byte [ebp - 4], 0xd
cmp dword [esi + 0x14], 0x10
jb 0x4106e1
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x4106e9
mov eax, dword [eax]
push esi
push eax
push str._s_failed_with__s
lea ecx, [ebp - 0x8c0]
call fcn.004141eb
add esp, 0xc
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 0x10
jb 0x41070a
mov eax, dword [eax]
push eax
push 0x5e
push 3
mov ebx, str.getCheckSum
mov edi, str.c:workspace8_2_build_windows_i586_cygwinjdk8u1026817.ncinstall_srcwindowswrapperscommonUpdateUtils.hpp
mov esi, 0x4774c0
call fcn.004037c2
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x8c0]
call fcn.00405db8
push esi
push 1
lea ecx, [ebp - 0x8dc]
call fcn.00405db8
push esi
push 1
lea ecx, [ebp - 0x8f8]
call fcn.00405db8
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.0043df9b
ret