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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a463
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x486850]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x248], 0
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x468378
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
call fcn.00402900
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x40e1db
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x40e03b
lea eax, [ebp + 0xc]
push 0
push 0
push 0
push 0
push ecx
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
test esi, esi
jg 0x40e083
lea eax, [ebp - 0x234]
push eax
mov ecx, edi
call fcn.00402330
cmp dword [ebp - 0x220], 8
jb 0x40e23b
push dword [ebp - 0x234]
call fcn.0043d3af
add esp, 4
jmp 0x40e23b
push esi
call fcn.0043c839
mov ebx, eax
mov eax, dword [ebp + 0xc]
add esp, 4
cmp dword [ebp + 0x20], 8
mov dword [ebp - 0x244], ebx
jae 0x40e0a0
lea eax, [ebp + 0xc]
push 0
push 0
push esi
push ebx
push dword [ebp + 0x1c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0xf0000020
push 1
push 0
push 0
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x40e1d2
lea eax, [ebp - 0x23c]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x240]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x40e1d2
push 0
push esi
push ebx
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x40e1c4
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push 0
lea eax, [ebp - 0x238]
push eax
push 0
push 2
push dword [ebp - 0x23c]
mov dword [ebp - 0x238], 0
call esi
test eax, eax
je 0x40e1b8
push dword [ebp - 0x238]
call fcn.0043c839
add esp, 4
mov ebx, eax
push 0
lea eax, [ebp - 0x238]
push eax
push ebx
push 2
push dword [ebp - 0x23c]
call esi
test eax, eax
je 0x40e1a9
xor esi, esi
cmp dword [ebp - 0x238], esi
jbe 0x40e1a9
jmp 0x40e170
movzx eax, byte [esi + ebx]
push eax
push 0x469170
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.00416e80
add esp, 0x10
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.00401a00
inc esi
cmp esi, dword [ebp - 0x238]
jb 0x40e170
push ebx
call fcn.0043d412
mov ebx, dword [ebp - 0x244]
add esp, 4
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x240]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push ebx
call fcn.0043d412
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
mov ecx, dword [ebp - 0x220]
cmp ecx, 8
jae 0x40e21d
mov eax, dword [ebp - 0x224]
inc eax
je 0x40e22f
add eax, eax
push eax
lea eax, [ebp - 0x234]
push eax
push edi
call fcn.0043d420
mov ecx, dword [ebp - 0x220]
add esp, 0xc
jmp 0x40e22f
mov eax, dword [ebp - 0x234]
mov dword [edi], eax
mov dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x224]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
xor eax, eax
cmp dword [ebp + 0x20], 8
mov word [ebp - 0x234], ax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], 7
jb 0x40e265
push dword [ebp + 0xc]
call fcn.0043d3af
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043d3b4
mov esp, ebp
pop ebp
ret 0x1c