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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb8ae
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4f6440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x40], 0
movups xmm0, xmmword [str.0123456789abcdef]
mov al, byte [0x4ea3d8]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [ebp - 0x4c], al
mov byte [esi], 0
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x40], 1
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x4045a1
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x404596
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x40447b
mov eax, dword [edi]
push 0
push dword [edi + 0x10]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x40458d
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x10
push eax
lea eax, [ebp - 0x20]
push eax
push 2
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x40458d
xor edi, edi
cmp dword [ebp - 0x28], edi
jbe 0x40458d
movzx eax, byte [ebp + edi - 0x20]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
shr eax, 4
mov al, byte [ebp + eax - 0x5c]
mov byte [ebp - 0x34], al
mov eax, ecx
sub eax, edx
cmp eax, 1
jb 0x40450d
mov dword [ebp - 0x24], esi
lea eax, [edx + 1]
mov dword [esi + 0x10], eax
cmp ecx, 0xf
jbe 0x4044f2
mov eax, dword [esi]
mov dword [ebp - 0x24], eax
movsx ecx, byte [ebp - 0x34]
movzx eax, cl
shl cx, 8
or cx, ax
mov eax, dword [ebp - 0x24]
mov byte [eax + edx], cl
mov byte [eax + edx + 1], 0
jmp 0x404522
push dword [ebp - 0x34]
mov byte [ebp - 0x44], 0
mov ecx, esi
push 1
push dword [ebp - 0x44]
push 1
call fcn.0041f010
movzx eax, byte [ebp + edi - 0x20]
mov ecx, dword [esi + 0x14]
and eax, 0xf
mov edx, dword [esi + 0x10]
mov al, byte [ebp + eax - 0x5c]
mov byte [ebp - 0x38], al
mov eax, ecx
sub eax, edx
cmp eax, 1
jb 0x40456e
mov dword [ebp - 0x24], esi
lea eax, [edx + 1]
mov dword [esi + 0x10], eax
cmp ecx, 0xf
jbe 0x404553
mov eax, dword [esi]
mov dword [ebp - 0x24], eax
movsx ecx, byte [ebp - 0x38]
movzx eax, cl
shl cx, 8
or cx, ax
mov eax, dword [ebp - 0x24]
mov byte [eax + edx], cl
mov byte [eax + edx + 1], 0
jmp 0x404583
push dword [ebp - 0x38]
mov byte [ebp - 0x3c], 0
mov ecx, esi
push 1
push dword [ebp - 0x3c]
push 1
call fcn.0041f010
inc edi
cmp edi, dword [ebp - 0x28]
jb 0x4044c1
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, esi
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.0049f18e
mov esp, ebp
pop ebp
ret