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

Disassembly:
push 0x908
mov eax, 0x437423
call fcn.0042501e
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 0x41023a
cmp dword [0x44b6cc], edi
jg 0x410233
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x86c]
push eax
call fcn.004132b9
add esp, 0xc
mov esi, eax
mov eax, dword [ebp - 0x8fc]
mov dword [ebp - 4], ebx
cmp eax, ebx
jne 0x4101a7
mov eax, str._null_
push eax
push str.Error_opening_file___s_
lea ecx, [ebp - 0x888]
call fcn.0041422e
pop ecx
pop ecx
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 0x10
jb 0x4101c6
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x4101ce
mov eax, dword [eax]
push esi
push eax
push str._s_failed_with__s
lea ecx, [ebp - 0x850]
call fcn.0041422e
add esp, 0xc
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x4101ef
mov eax, dword [eax]
push eax
push 0x2e
push edi
mov ebx, str.getCheckSum
mov edi, str.c:_reworkspace8_2_build_windows_i586_cygwinjdk8u453627install_srcwindowswrapperscommonUpdateUtils.hpp
mov esi, 0x44b6cc
call fcn.0040102d
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x850]
call fcn.00405dcc
push esi
push 1
lea ecx, [ebp - 0x888]
call fcn.00405dcc
push esi
push 1
lea ecx, [ebp - 0x86c]
call fcn.00405dcc
xor eax, eax
jmp 0x410695
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 0x41031a
cmp dword [0x44b6cc], edi
jg 0x410309
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x850]
push eax
call fcn.004132b9
add esp, 0xc
mov esi, eax
push str.CryptAcquireContext
lea ecx, [ebp - 0x888]
mov dword [ebp - 4], edi
call fcn.00405ac0
mov byte [ebp - 4], 4
cmp dword [esi + 0x14], 0x10
jb 0x41029c
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x4102a4
mov eax, dword [eax]
push esi
push eax
push str._s_failed_with__s
lea ecx, [ebp - 0x86c]
call fcn.0041422e
add esp, 0xc
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0x10
jb 0x4102c5
mov eax, dword [eax]
push eax
push 0x3b
push edi
mov ebx, str.getCheckSum
mov edi, str.c:_reworkspace8_2_build_windows_i586_cygwinjdk8u453627install_srcwindowswrapperscommonUpdateUtils.hpp
mov esi, 0x44b6cc
call fcn.0040102d
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x86c]
call fcn.00405dcc
push esi
push 1
lea ecx, [ebp - 0x888]
call fcn.00405dcc
push esi
push 1
lea ecx, [ebp - 0x850]
call fcn.00405dcc
push dword [ebp - 0x900]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x410233
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 0x410411
cmp dword [0x44b6cc], edi
jg 0x4103f3
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x850]
push eax
call fcn.004132b9
add esp, 0xc
mov esi, eax
push 0x43e614
lea ecx, [ebp - 0x888]
mov dword [ebp - 4], 6
call fcn.00405ac0
mov byte [ebp - 4], 7
cmp dword [esi + 0x14], 0x10
jb 0x410384
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x41038c
mov eax, dword [eax]
push esi
push eax
push str._s_failed_with__s
lea ecx, [ebp - 0x86c]
call fcn.0041422e
add esp, 0xc
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 0x10
jb 0x4103ad
mov eax, dword [eax]
push eax
push 0x41
push edi
mov ebx, str.getCheckSum
mov edi, str.c:_reworkspace8_2_build_windows_i586_cygwinjdk8u453627install_srcwindowswrapperscommonUpdateUtils.hpp
mov esi, 0x44b6cc
call fcn.0040102d
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x86c]
call fcn.00405dcc
push esi
push 1
lea ecx, [ebp - 0x888]
call fcn.00405dcc
push esi
push 1
lea ecx, [ebp - 0x850]
call fcn.00405dcc
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 0x410233
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, 0x800
jmp 0x410448
cmp dword [ebp - 0x90c], ebx
je 0x410532
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 0x41046f
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 0x41041e
jmp 0x410532
cmp dword [0x44b6cc], 3
jg 0x41052c
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8a4]
push eax
call fcn.004132b9
add esp, 0xc
mov esi, eax
push 0x43e624
lea ecx, [ebp - 0x888]
mov dword [ebp - 4], 9
call fcn.00405ac0
mov byte [ebp - 4], 0xa
cmp dword [esi + 0x14], 0x10
jb 0x4104b8
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x4104c0
mov eax, dword [eax]
push esi
push eax
push str._s_failed_with__s
lea ecx, [ebp - 0x86c]
call fcn.0041422e
add esp, 0xc
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 0x10
jb 0x4104e1
mov eax, dword [eax]
push eax
push 0x4c
push 3
mov ebx, str.getCheckSum
mov edi, str.c:_reworkspace8_2_build_windows_i586_cygwinjdk8u453627install_srcwindowswrapperscommonUpdateUtils.hpp
mov esi, 0x44b6cc
call fcn.0040102d
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x86c]
call fcn.00405dcc
push esi
push 1
lea ecx, [ebp - 0x888]
call fcn.00405dcc
or dword [ebp - 4], 0xffffffff
push esi
push 1
lea ecx, [ebp - 0x8a4]
call fcn.00405dcc
xor ebx, ebx
mov dword [ebp - 0x8fc], ebx
mov dword [ebp - 0x904], 0x20
cmp dword [ebp - 0x8fc], ebx
je 0x41066a
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 0x4105ab
mov esi, dword [ebp - 0x914]
xor edi, edi
mov byte [esi], bl
cmp dword [ebp - 0x904], ebx
jbe 0x4105a3
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 0x410578
mov byte [esi + 0x40], bl
jmp 0x41066a
cmp dword [0x44b6cc], 3
jg 0x410664
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x8f8]
push eax
call fcn.004132b9
add esp, 0xc
mov esi, eax
push 0x43e634
lea ecx, [ebp - 0x8dc]
mov dword [ebp - 4], 0xc
call fcn.00405ac0
mov byte [ebp - 4], 0xd
cmp dword [esi + 0x14], 0x10
jb 0x4105f4
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x4105fc
mov eax, dword [eax]
push esi
push eax
push str._s_failed_with__s
lea ecx, [ebp - 0x8c0]
call fcn.0041422e
add esp, 0xc
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 0x10
jb 0x41061d
mov eax, dword [eax]
push eax
push 0x5e
push 3
mov ebx, str.getCheckSum
mov edi, str.c:_reworkspace8_2_build_windows_i586_cygwinjdk8u453627install_srcwindowswrapperscommonUpdateUtils.hpp
mov esi, 0x44b6cc
call fcn.0040102d
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x8c0]
call fcn.00405dcc
push esi
push 1
lea ecx, [ebp - 0x8dc]
call fcn.00405dcc
push esi
push 1
lea ecx, [ebp - 0x8f8]
call fcn.00405dcc
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.004250a1
ret