Function at 0x478d60
Capabilities:
Hash data via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x79d218
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x80], ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x40]
mov esi, dword [ebp + 0xc]
push 0x30
push 0
push eax
mov dword [ebp - 0x7c], edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
push 0
push 0x7d7468
call fcn.00407ab0
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], 0
call fcn.00406bb0
lea ecx, [ebp - 0x58]
call fcn.00407a10
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 1
call fcn.00479330
test al, al
je 0x478f98
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x7c], eax
jb 0x478e31
mov esi, dword [esi]
push 0
push 0x7d7468
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00407ab0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], 0
call fcn.00406bb0
mov eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], eax
call fcn.00407a10
movups xmm0, xmmword [ebp - 0x74]
lea ecx, [ebp - 0x74]
mov byte [ebp - 0x74], 0
movups xmmword [ebp - 0x3c], xmm0
movq xmm0, qword [ebp - 0x64]
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
call fcn.00407a10
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00407a10
cmp dword [ebp - 0x24], 0
je 0x478f1a
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x478f1a
push 0
push dword [ebp - 0x7c]
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x478f10
push 0x15
push str.Updating_hash_failed_
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], al
call fcn.00407ab0
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x78], eax
lea ecx, [ebp - 0x74]
lea eax, [ebp - 0x58]
push eax
call fcn.00406bb0
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x40]
call fcn.00479050
jmp 0x478f84
lea ecx, [ebp - 0x40]
call fcn.004790a0
jmp 0x478f98
push 0x24
push str.Cryptographic_provider_not_acquired_
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00407ab0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], 0
call fcn.00406bb0
mov eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], eax
call fcn.00407a10
movups xmm0, xmmword [ebp - 0x74]
mov byte [ebp - 0x74], 0
movups xmmword [ebp - 0x3c], xmm0
movq xmm0, qword [ebp - 0x64]
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
lea ecx, [ebp - 0x74]
call fcn.00407a10
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00407a10
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00406bb0
mov esi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x5c]
mov dword [esi], eax
add esi, 4
lea eax, [ebp - 0x58]
cmp esi, eax
je 0x478fe6
mov ecx, esi
call fcn.00407a10
movups xmm0, xmmword [ebp - 0x58]
mov byte [ebp - 0x58], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x48]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
lea ecx, [ebp - 0x58]
call fcn.00407a10
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.004795e0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x479007
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x479017
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea ecx, [ebp - 0x1c]
call fcn.0040f050
lea ecx, [ebp - 0x3c]
call fcn.00407a10
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret 8