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 0x4c935e
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4f2480]
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 [0x4e743c]
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 0x404631
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 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 - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x40461d
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 0x40461d
xor edi, edi
cmp dword [ebp - 0x28], edi
jbe 0x40461d
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 0x40459d
mov dword [ebp - 0x24], esi
lea eax, [edx + 1]
mov dword [esi + 0x10], eax
cmp ecx, 0xf
jbe 0x404582
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 0x4045b2
push dword [ebp - 0x34]
mov byte [ebp - 0x44], 0
mov ecx, esi
push 1
push dword [ebp - 0x44]
push 1
call fcn.0041d810
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 0x4045fe
mov dword [ebp - 0x24], esi
lea eax, [edx + 1]
mov dword [esi + 0x10], eax
cmp ecx, 0xf
jbe 0x4045e3
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 0x404613
push dword [ebp - 0x38]
mov byte [ebp - 0x3c], 0
mov ecx, esi
push 1
push dword [ebp - 0x3c]
push 1
call fcn.0041d810
inc edi
cmp edi, dword [ebp - 0x28]
jb 0x404551
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.0049d991
mov esp, ebp
pop ebp
ret