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

Disassembly:
push 0x98
mov eax, 0x10094544
call fcn.1008f84a
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 0x1007b656
dec eax
jne 0x1007b656
push 0x14
jmp 0x1007b658
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.10020b05
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 0x1007b6a4
lea eax, [ebp - 0xa0]
cmp edi, eax
je 0x1007b6c0
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 0x1007b6f2
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.1008f922
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 0x1007b6df
push ebx
push esi
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1007b6df
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 0x1007b6df
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 0x1007b7c9
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 [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
mov al, byte [esi + eax]
cmp al, bl
jne 0x1007b78d
push 0x100cae5c
lea ecx, [ebp - 0x18]
call dword [0x100b5fc8]
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
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 0x1007b7aa
cmp al, 0xf
movzx eax, al
push eax
lea eax, [ebp + 0x10]
ja 0x1007b79f
push str._02x
jmp 0x1007b7a4
push 0x100cae68
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 0x1007b74b
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 [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
cmp dword [ebp - 0x10], ebx
je 0x1007b7ed
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 0x1007b7fe
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x14], ebx
je 0x1007b80c
push dword [ebp - 0x14]
call sub.mfc90u.dll_delete__
pop ecx
xor ebx, ebx
inc ebx
jmp 0x1007b6df