Function at 0x100626fd
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push 0x98
mov eax, 0x100785cc
call fcn.100751fa
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x10]
sub eax, 0x8003
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
je 0x10062728
dec eax
jne 0x10062728
push 0x14
jmp 0x1006272a
push 0x10
pop eax
push eax
mov dword [ebp - 0x20], eax
call sub.mfc90u.dll_new__
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax - 0xc]
lea eax, [esi + esi + 2]
push eax
call sub.mfc90u.dll_new__
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
push 3
push dword [ebp + 8]
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xa4]
push eax
call fcn.1001c35c
mov edi, dword [ebp - 0xa4]
mov edx, dword [ebp - 0x18]
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x10062776
lea eax, [ebp - 0xa0]
cmp edi, eax
je 0x10062792
push edi
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
push 0xf0000000
push 1
push ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x100627c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, ebx
call fcn.100752d2
ret 0xc
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x100627b1
push ebx
push esi
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x100627b1
push ebx
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x14]
push 2
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x100627b1
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
xor esi, esi
cmp dword [ebp - 0x20], ebx
jbe 0x1006289b
mov edi, dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
lea ecx, [ebp + 0x10]
call dword [0x10096f98]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
mov al, byte [esi + eax]
cmp al, bl
jne 0x1006285f
push 0x100a90c4
lea ecx, [ebp - 0x18]
call dword [0x10096ef4]
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 2
call dword [0x10096f88]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x1006287c
cmp al, 0xf
movzx eax, al
push eax
lea eax, [ebp + 0x10]
ja 0x10062871
push str._02x
jmp 0x10062876
push 0x100a90d0
push eax
call edi
add esp, 0xc
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
inc esi
cmp esi, dword [ebp - 0x20]
jb 0x1006281d
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::MakeUpper]
mov ecx, dword [ebp + 0xc]
push eax
call dword [0x10096f88]
cmp dword [ebp - 0x10], ebx
je 0x100628bf
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [ebp - 0x10], ebx
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test eax, eax
je 0x100628d0
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x14], ebx
je 0x100628de
push dword [ebp - 0x14]
call sub.mfc90u.dll_delete__
pop ecx
xor ebx, ebx
inc ebx
jmp 0x100627b1