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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c904e
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4f3480]
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 - 0x50], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x54], 0
movups xmm0, xmmword [str.0123456789abcdef]
mov al, byte [0x4e748c]
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x40], 0
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 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 - 0x14], al
mov byte [esi], 0
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x54], 1
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x404631
lea eax, [ebp - 0x40]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x404626
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x40450b
mov eax, dword [edi]
push 0
push dword [edi + 0x10]
push eax
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x40461d
push 0
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x10
push eax
lea eax, [ebp - 0x34]
push eax
push 2
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x40461d
xor edi, edi
cmp dword [ebp - 0x3c], edi
jbe 0x40461d
movzx eax, byte [ebp + edi - 0x34]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
shr eax, 4
mov al, byte [ebp + eax - 0x24]
mov byte [ebp - 0x48], al
mov eax, ecx
sub eax, edx
cmp eax, 1
jb 0x40459d
mov dword [ebp - 0x38], esi
lea eax, [edx + 1]
mov dword [esi + 0x10], eax
cmp ecx, 0xf
jbe 0x404582
mov eax, dword [esi]
mov dword [ebp - 0x38], eax
movsx ecx, byte [ebp - 0x48]
movzx eax, cl
shl cx, 8
or cx, ax
mov eax, dword [ebp - 0x38]
mov byte [eax + edx], cl
mov byte [eax + edx + 1], 0
jmp 0x4045b2
push dword [ebp - 0x48]
mov byte [ebp - 0x58], 0
mov ecx, esi
push 1
push dword [ebp - 0x58]
push 1
call fcn.0041d6c0
movzx eax, byte [ebp + edi - 0x34]
mov ecx, dword [esi + 0x14]
and eax, 0xf
mov edx, dword [esi + 0x10]
mov al, byte [ebp + eax - 0x24]
mov byte [ebp - 0x4c], al
mov eax, ecx
sub eax, edx
cmp eax, 1
jb 0x4045fe
mov dword [ebp - 0x38], esi
lea eax, [edx + 1]
mov dword [esi + 0x10], eax
cmp ecx, 0xf
jbe 0x4045e3
mov eax, dword [esi]
mov dword [ebp - 0x38], eax
movsx ecx, byte [ebp - 0x4c]
movzx eax, cl
shl cx, 8
or cx, ax
mov eax, dword [ebp - 0x38]
mov byte [eax + edx], cl
mov byte [eax + edx + 1], 0
jmp 0x404613
push dword [ebp - 0x4c]
mov byte [ebp - 0x50], 0
mov ecx, esi
push 1
push dword [ebp - 0x50]
push 1
call fcn.0041d6c0
inc edi
cmp edi, dword [ebp - 0x3c]
jb 0x404551
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x44]
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.0049d2bd
mov esp, ebp
pop ebp
ret