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

Disassembly:
push 0x940
mov eax, 0x4584af
call fcn.00441e9a
mov eax, dword [ebp + 8]
mov esi, str.0123456789abcdef
lea edi, [ebp - 0x8b8]
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
xor esi, esi
inc esi
push esi
push SysReAllocString
push eax
mov dword [ebp - 0x934], eax
mov dword [ebp - 0x94c], ecx
mov dword [ebp - 0x948], ebx
mov dword [ebp - 0x93c], ebx
mov dword [ebp - 0x940], ebx
mov dword [ebp - 0x944], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x938], eax
cmp eax, 0xffffffff
jne 0x411f69
cmp dword [0x47d500], edi
jg 0x411f62
push str.Error_opening_file___s_
lea ecx, [ebp - 0x850]
call fcn.00405b5f
push str._s_failed_with__s
lea ecx, [ebp - 0x8c0]
mov dword [ebp - 4], ebx
call fcn.00405b5f
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8a4]
push eax
call fcn.0041495c
add esp, 0xc
mov dword [ebp - 0x938], eax
lea eax, [ebp - 0x888]
push eax
lea eax, [ebp - 0x934]
lea ecx, [ebp - 0x850]
mov byte [ebp - 4], 2
call fcn.004105b5
pop ecx
mov edx, eax
lea eax, [ebp - 0x86c]
push eax
mov eax, dword [ebp - 0x938]
lea ecx, [ebp - 0x8c0]
mov byte [ebp - 4], 3
call fcn.0040b3f5
mov byte [ebp - 4], 4
mov dword [esp], str.getCheckSum
push 0x2e
push str.c:_reworkspace8_2_build_windows_i586_cygwinjdk8u21212974install_srcwindowswrapperscommonUpdateUtils.hpp
push edi
mov edx, eax
mov ecx, 0x47d500
call fcn.0041467b
push ebx
push esi
lea ecx, [ebp - 0x86c]
call fcn.00405e43
push ebx
push esi
lea ecx, [ebp - 0x888]
call fcn.00405e43
push ebx
push esi
lea ecx, [ebp - 0x8a4]
call fcn.00405e43
push ebx
push esi
lea ecx, [ebp - 0x8c0]
call fcn.00405e43
push ebx
push esi
lea ecx, [ebp - 0x850]
call fcn.00405e43
xor eax, eax
jmp 0x412415
push 0xf0000000
push 0x18
push ebx
push ebx
lea eax, [ebp - 0x940]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x41205d
cmp dword [0x47d500], edi
jg 0x41204c
push str._s_failed_with__s
lea ecx, [ebp - 0x850]
call fcn.00405b5f
push ebx
mov dword [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x86c]
push eax
call fcn.0041495c
add esp, 0xc
mov dword [ebp - 0x934], eax
push str.CryptAcquireContext
lea ecx, [ebp - 0x888]
mov byte [ebp - 4], 6
call fcn.00405b5f
mov edx, eax
lea eax, [ebp - 0x8a4]
mov byte [ebp - 4], 7
push eax
mov eax, dword [ebp - 0x934]
lea ecx, [ebp - 0x850]
call fcn.0040b3f5
mov byte [ebp - 4], 8
mov dword [esp], str.getCheckSum
push 0x3b
push str.c:_reworkspace8_2_build_windows_i586_cygwinjdk8u21212974install_srcwindowswrapperscommonUpdateUtils.hpp
push edi
mov edx, eax
mov ecx, 0x47d500
call fcn.0041467b
push ebx
push esi
lea ecx, [ebp - 0x8a4]
call fcn.00405e43
push ebx
push esi
lea ecx, [ebp - 0x888]
call fcn.00405e43
push ebx
push esi
lea ecx, [ebp - 0x86c]
call fcn.00405e43
push ebx
push esi
lea ecx, [ebp - 0x850]
call fcn.00405e43
push dword [ebp - 0x938]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x411f62
lea eax, [ebp - 0x944]
push eax
push ebx
push ebx
push 0x800c
push dword [ebp - 0x940]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x412162
cmp dword [0x47d500], edi
jg 0x412144
push str._s_failed_with__s
lea ecx, [ebp - 0x850]
call fcn.00405b5f
push ebx
mov dword [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x86c]
push eax
call fcn.0041495c
add esp, 0xc
mov dword [ebp - 0x934], eax
push 0x465100
lea ecx, [ebp - 0x888]
mov byte [ebp - 4], 0xa
call fcn.00405b5f
mov edx, eax
lea eax, [ebp - 0x8a4]
mov byte [ebp - 4], 0xb
push eax
mov eax, dword [ebp - 0x934]
lea ecx, [ebp - 0x850]
call fcn.0040b3f5
mov byte [ebp - 4], 0xc
mov dword [esp], str.getCheckSum
push 0x41
push str.c:_reworkspace8_2_build_windows_i586_cygwinjdk8u21212974install_srcwindowswrapperscommonUpdateUtils.hpp
push edi
mov edx, eax
mov ecx, 0x47d500
call fcn.0041467b
push ebx
push esi
lea ecx, [ebp - 0x8a4]
call fcn.00405e43
push ebx
push esi
lea ecx, [ebp - 0x888]
call fcn.00405e43
push ebx
push esi
lea ecx, [ebp - 0x86c]
call fcn.00405e43
push ebx
push esi
lea ecx, [ebp - 0x850]
call fcn.00405e43
push dword [ebp - 0x938]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push dword [ebp - 0x940]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x411f62
push ebx
lea eax, [ebp - 0x948]
push eax
push 0x800
lea eax, [ebp - 0x834]
push eax
push dword [ebp - 0x938]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4121d4
cmp dword [ebp - 0x948], ebx
je 0x4122b0
push ebx
push dword [ebp - 0x948]
lea eax, [ebp - 0x834]
push eax
push dword [ebp - 0x944]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x4121e3
push ebx
lea eax, [ebp - 0x948]
push eax
push 0x800
lea eax, [ebp - 0x834]
push eax
push dword [ebp - 0x938]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x934], eax
cmp eax, ebx
jne 0x41218a
jmp 0x4122b0
cmp dword [0x47d500], 3
jg 0x4122aa
push str._s_failed_with__s
lea ecx, [ebp - 0x850]
call fcn.00405b5f
push ebx
mov dword [ebp - 4], 0xd
call edi
push eax
lea eax, [ebp - 0x86c]
push eax
call fcn.0041495c
add esp, 0xc
mov dword [ebp - 0x934], eax
push 0x465110
lea ecx, [ebp - 0x888]
mov byte [ebp - 4], 0xe
call fcn.00405b5f
mov edx, eax
lea eax, [ebp - 0x8a4]
mov byte [ebp - 4], 0xf
push eax
mov eax, dword [ebp - 0x934]
lea ecx, [ebp - 0x850]
call fcn.0040b3f5
mov byte [ebp - 4], 0x10
mov dword [esp], str.getCheckSum
push 0x4c
push str.c:_reworkspace8_2_build_windows_i586_cygwinjdk8u21212974install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov edx, eax
mov ecx, 0x47d500
call fcn.0041467b
push ebx
push esi
lea ecx, [ebp - 0x8a4]
call fcn.00405e43
push ebx
push esi
lea ecx, [ebp - 0x888]
call fcn.00405e43
push ebx
push esi
lea ecx, [ebp - 0x86c]
call fcn.00405e43
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp - 0x850]
call fcn.00405e43
mov dword [ebp - 0x934], ebx
mov dword [ebp - 0x93c], 0x20
cmp dword [ebp - 0x934], ebx
je 0x4123ea
push ebx
lea eax, [ebp - 0x93c]
push eax
lea eax, [ebp - 0x34]
push eax
push 2
push dword [ebp - 0x944]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x412329
mov edi, dword [ebp - 0x94c]
xor esi, esi
mov byte [edi], bl
cmp dword [ebp - 0x93c], ebx
jbe 0x412321
movzx eax, byte [ebp + esi - 0x34]
mov ecx, eax
shr ecx, 4
mov cl, byte [ebp + ecx - 0x8b8]
and eax, 0xf
mov al, byte [ebp + eax - 0x8b8]
mov byte [edi + esi*2], cl
mov byte [edi + esi*2 + 1], al
inc esi
cmp esi, dword [ebp - 0x93c]
jb 0x4122f6
mov byte [edi + 0x40], bl
jmp 0x4123ea
cmp dword [0x47d500], 3
jg 0x4123e4
push str._s_failed_with__s
lea ecx, [ebp - 0x8dc]
call fcn.00405b5f
push ebx
mov dword [ebp - 4], 0x11
call edi
push eax
lea eax, [ebp - 0x914]
push eax
call fcn.0041495c
add esp, 0xc
mov edi, eax
push 0x465120
lea ecx, [ebp - 0x930]
mov byte [ebp - 4], 0x12
call fcn.00405b5f
mov edx, eax
lea eax, [ebp - 0x8f8]
push eax
mov eax, edi
lea ecx, [ebp - 0x8dc]
mov byte [ebp - 4], 0x13
call fcn.0040b3f5
mov byte [ebp - 4], 0x14
mov dword [esp], str.getCheckSum
push 0x5e
push str.c:_reworkspace8_2_build_windows_i586_cygwinjdk8u21212974install_srcwindowswrapperscommonUpdateUtils.hpp
push 3
mov edx, eax
mov ecx, 0x47d500
call fcn.0041467b
push ebx
push esi
lea ecx, [ebp - 0x8f8]
call fcn.00405e43
push ebx
push esi
lea ecx, [ebp - 0x930]
call fcn.00405e43
push ebx
push esi
lea ecx, [ebp - 0x914]
call fcn.00405e43
push ebx
push esi
lea ecx, [ebp - 0x8dc]
call fcn.00405e43
mov dword [ebp - 0x934], ebx
push dword [ebp - 0x944]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
push dword [ebp - 0x940]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x938]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x934]
call fcn.00441f1d
ret