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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468ee3
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 0x47ac50
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
call fcn.0040a100
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x41620b
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x41606b
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 0x4160b3
lea eax, [ebp - 0x234]
push eax
mov ecx, edi
call fcn.00409c70
cmp dword [ebp - 0x220], 8
jb 0x41626b
push dword [ebp - 0x234]
call fcn.0044d5f9
add esp, 4
jmp 0x41626b
push esi
call fcn.0044bd80
mov ebx, eax
mov eax, dword [ebp + 0xc]
add esp, 4
cmp dword [ebp + 0x20], 8
mov dword [ebp - 0x244], ebx
jae 0x4160d0
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 0x416202
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 0x416202
push 0
push esi
push ebx
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x4161f4
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 0x4161e8
push dword [ebp - 0x238]
call fcn.0044bd80
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 0x4161d9
xor esi, esi
cmp dword [ebp - 0x238], esi
jbe 0x4161d9
jmp 0x4161a0
movzx eax, byte [esi + ebx]
push eax
push 0x47bd68
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.0041e060
add esp, 0x10
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.004093e0
inc esi
cmp esi, dword [ebp - 0x238]
jb 0x4161a0
push ebx
call fcn.0044d5ca
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.0044d5ca
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 0x41624d
mov eax, dword [ebp - 0x224]
inc eax
je 0x41625f
add eax, eax
push eax
lea eax, [ebp - 0x234]
push eax
push edi
call fcn.0044c580
mov ecx, dword [ebp - 0x220]
add esp, 0xc
jmp 0x41625f
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 0x416295
push dword [ebp + 0xc]
call fcn.0044d5f9
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.0044c2ed
mov esp, ebp
pop ebp
ret 0x1c