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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468f53
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x4a5590]
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 0x47abfc
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
call fcn.0040a110
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x41623b
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x41609b
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 0x4160e3
lea eax, [ebp - 0x234]
push eax
mov ecx, edi
call fcn.00409c80
cmp dword [ebp - 0x220], 8
jb 0x41629b
push dword [ebp - 0x234]
call fcn.0044d639
add esp, 4
jmp 0x41629b
push esi
call fcn.0044bdc0
mov ebx, eax
mov eax, dword [ebp + 0xc]
add esp, 4
cmp dword [ebp + 0x20], 8
mov dword [ebp - 0x244], ebx
jae 0x416100
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 0x416232
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 0x416232
push 0
push esi
push ebx
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x416224
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 0x416218
push dword [ebp - 0x238]
call fcn.0044bdc0
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 0x416209
xor esi, esi
cmp dword [ebp - 0x238], esi
jbe 0x416209
jmp 0x4161d0
movzx eax, byte [esi + ebx]
push eax
push 0x47bc18
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.0041e0a0
add esp, 0x10
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.004093f0
inc esi
cmp esi, dword [ebp - 0x238]
jb 0x4161d0
push ebx
call fcn.0044d60a
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.0044d60a
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 0x41627d
mov eax, dword [ebp - 0x224]
inc eax
je 0x41628f
add eax, eax
push eax
lea eax, [ebp - 0x234]
push eax
push edi
call fcn.0044c5c0
mov ecx, dword [ebp - 0x220]
add esp, 0xc
jmp 0x41628f
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 0x4162c5
push dword [ebp + 0xc]
call fcn.0044d639
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.0044c32d
mov esp, ebp
pop ebp
ret 0x1c