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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
xor ebx, ebx
xor eax, eax
or dword [ebp - 0x10], 0xffffffff
push esi
push edi
mov byte [ebp - 0x44], bl
lea edi, [ebp - 0x43]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
xor eax, eax
test byte [ebp + 0xc], 0x10
mov byte [ebp - 0x18], bl
lea edi, [ebp - 0x17]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x1c], ebx
mov edi, 0x80000002
je 0x495c4a
mov dword [ebp - 0x10], ebx
jmp 0x495f6b
and dword [ebp + 0xc], 0xffffffef
push 4
pop esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4c8e24
push 0x4bdb60
push edi
mov dword [ebp - 4], esi
call dword [fcn.004d7e9c]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4c8e14
push 0x4c8dd0
push edi
mov dword [ebp - 4], esi
call dword [fcn.004d7e9c]
cmp eax, ebx
jne 0x495cd7
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
jne 0x495ccc
push dword [ebp - 0x1c]
push dword [ebp + 0xc]
push 0x4c8dc4
push 0x4c8d98
push 0x4d80e8
call fcn.00410a74
add esp, 0x14
cmp dword [ebp + 0xc], ebx
jne 0x495ccc
cmp dword [ebp - 0x1c], 1
je 0x495f92
cmp dword [ebp - 0x14], esi
je 0x495ce3
cmp dword [ebp - 0x14], 3
je 0x495ce3
xor eax, eax
mov dword [ebp - 0x14], 3
inc eax
jmp 0x495ce6
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4c8d8c
push 0x4c8d6c
push edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], esi
call dword [fcn.004d7e9c]
push ebx
xor esi, esi
inc esi
push esi
push ebx
push ebx
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call dword [sym.imp.ADVAPI32.DLL_CryptAcquireContextW]
cmp eax, ebx
mov dword [ebp + 0xc], eax
mov dword [ebp - 0xc], esi
jne 0x495d62
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
push ebx
push ebx
push ebx
call esi
push eax
push 0x4c8d60
mov ecx, 0x4d80e8
call fcn.0041bcb9
cmp dword [ebp + 8], ebx
je 0x495d58
lea ecx, [ebp - 0x34]
jmp 0x495e5a
call esi
mov dword [ebp - 8], eax
jmp 0x495e87
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
push 0x8003
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.DLL_CryptCreateHash]
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0xc], 2
call esi
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 8], eax
push ebx
jne 0x495da0
push ebx
push ebx
call esi
push eax
push 0x4c8d54
jmp 0x495e48
mov al, byte [ebp + 8]
mov byte [ebp - 0x17], al
push 4
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x30]
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x16], bl
mov byte [ebp - 0x15], bl
call dword [sym.imp.ADVAPI32.DLL_CryptHashData]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0xc], 3
call esi
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 8], eax
push ebx
jne 0x495ddf
push ebx
push ebx
call esi
push eax
push 0x4c8d48
jmp 0x495e48
push 4
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.DLL_CryptHashData]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0xc], 4
call esi
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 8], eax
push ebx
jne 0x495e0f
push ebx
push ebx
call esi
push eax
push 0x4c8d3c
jmp 0x495e48
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x44]
push eax
push 2
push dword [ebp - 0x30]
mov dword [ebp - 4], 0x10
call dword [sym.imp.ADVAPI32.DLL_CryptGetHashParam]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0xc], 5
call esi
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 8], eax
jne 0x495e6c
push ebx
push ebx
push ebx
call esi
push eax
push 0x4c8d30
mov ecx, 0x4d80e8
call fcn.0041bcb9
cmp dword [ebp + 8], ebx
lea ecx, [ebp - 0x34]
je 0x495e8a
call fcn.00495bcd
mov eax, dword [ebp - 0x10]
or eax, 0x1000
jmp 0x495f95
push 0x10
lea eax, [ebp - 0x44]
push eax
push 3
push 0x4c8d18
push 0x4c8cb8
push edi
call fcn.0043ed6b
add esp, 0x18
lea ecx, [ebp - 0x34]
call fcn.00495bcd
push dword [ebp - 0x20]
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x24]
push 0x4c8e14
push 0x4c8c70
push 0x80000001
call fcn.0043ed6b
push dword [ebp - 0x20]
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x24]
push 0x4c8e14
push 0x4c8c20
push edi
call fcn.0043ed6b
push dword [ebp - 0x20]
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x24]
push 0x4c8e14
push 0x4c8c70
push edi
call fcn.0043ed6b
add esp, 0x48
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0x24], eax
je 0x495ef8
mov dword [ebp - 0xc], 7
call esi
mov dword [ebp - 8], eax
cmp dword [ebp - 0x24], ebx
jne 0x495f32
cmp dword [ebp + 0xc], ebx
je 0x495f20
cmp dword [ebp + 8], ebx
jne 0x495f65
push 0x4c8c14
push 0x4c8bf4
push 0x4d80e8
call fcn.00410a74
add esp, 0xc
jmp 0x495f65
cmp dword [ebp + 8], ebx
jne 0x495f65
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x4c8be4
jmp 0x495f53
cmp dword [ebp + 0xc], ebx
je 0x495f43
mov dword [ebp - 0xc], 7
call esi
mov dword [ebp - 8], eax
cmp dword [ebp + 8], ebx
jne 0x495f65
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x4c8bd8
push 0x4c8ba8
push 0x4d80e8
call fcn.00410a74
add esp, 0x14
cmp dword [ebp - 0x1c], 1
je 0x495f92
cmp dword [ebp + 8], ebx
jne 0x495f92
push 4
lea eax, [ebp - 0x1c]
push eax
push 4
push 0x4c8e24
push 0x4c8b84
push edi
mov dword [ebp - 0x1c], 1
call fcn.0043ed6b
add esp, 0x18
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret