Function at 0x5b6520
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x79bb70
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x82f184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0x7d5458
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.00407ab0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], 0
call fcn.00406bb0
mov eax, dword [ebp - 0x40]
lea edi, [esi + 4]
mov dword [esi], eax
lea eax, [ebp - 0x3c]
cmp edi, eax
je 0x5b65bd
mov ecx, edi
call fcn.00407a10
movups xmm0, xmmword [ebp - 0x3c]
mov byte [ebp - 0x3c], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
lea ecx, [ebp - 0x3c]
call fcn.00407a10
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00407a10
cmp dword [esi + 0x1c], 0
lea ecx, [esi + 0x1c]
je 0x5b664c
cmp dword [esi + 0x20], 0
je 0x5b664c
push 0x28
push str.Cryptographic_provider_already_acquired_
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.00407ab0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], 0
call fcn.00406bb0
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.00478350
lea ecx, [ebp - 0x3c]
call fcn.00407a10
lea ecx, [ebp - 0x24]
call fcn.00407a10
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x24]
push 0xf0000020
push 1
push 0
push 0
push ecx
mov dword [esi + 0x28], eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x5b66df
push 0x28
push str.Failed_to_acquire_cryptographic_context.
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], al
call fcn.00407ab0
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
lea eax, [ebp - 0x24]
push eax
call fcn.00406bb0
mov eax, dword [ebp - 0x40]
mov dword [esi], eax
lea eax, [ebp - 0x3c]
cmp edi, eax
je 0x5b6629
mov ecx, edi
call fcn.00407a10
movups xmm0, xmmword [ebp - 0x3c]
mov byte [ebp - 0x3c], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
jmp 0x5b6629
lea eax, [esi + 0x20]
push eax
push 0
push 0
push 0x8003
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x5b6771
push 0x28
push str.Failed_to_acquire_cryptographic_context.
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], al
call fcn.00407ab0
mov dword [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
lea eax, [ebp - 0x24]
push eax
call fcn.00406bb0
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.00478350
lea ecx, [ebp - 0x3c]
call fcn.00407a10
lea ecx, [ebp - 0x24]
call fcn.00407a10
push 0
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi + 0x1c], 0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret