Function at 0x4d91c8
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff2c
mov eax, 0x58e6bc
push ebx
push esi
push edi
call fcn.0054e578
mov dword [ebp - 0xc], 2
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.0055c248
inc dword [ebp - 0xc]
lea edx, [ebp + 8]
mov word [ebp - 0x18], 8
lea eax, [ebp + 8]
call fcn.0055c248
inc dword [ebp - 0xc]
xor edx, edx
mov dword [ebp - 0x2c], edx
xor ecx, ecx
mov dword [ebp - 0x30], ecx
xor eax, eax
mov dword [ebp - 0x34], eax
xor edx, edx
mov word [ebp - 0x18], 0x14
mov dword [ebp - 4], edx
lea edi, [ebp - 0xd4]
inc dword [ebp - 0xc]
xor ecx, ecx
mov word [ebp - 0x18], 8
mov dword [ebp - 0x3c], ecx
mov ecx, 0x25
mov esi, 0x58dac8
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp + 8], 0
je 0x4d924c
mov edi, dword [ebp + 8]
jmp 0x4d9251
mov edi, 0x58df51
cmp dword [ebp + 8], 0
je 0x4d925f
mov eax, dword [ebp + 8]
mov ebx, dword [eax - 4]
jmp 0x4d9261
xor ebx, ebx
cmp ebx, 0x64
jae 0x4d92a9
xor eax, eax
mov edx, 2
push eax
lea eax, [ebp - 4]
dec dword [ebp - 0xc]
call fcn.0055c51c
dec dword [ebp - 0xc]
lea eax, [ebp + 8]
mov edx, 2
call fcn.0055c51c
dec dword [ebp - 0xc]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.0055c51c
pop eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x4d94e6
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x3c]
push ecx
push eax
mov edx, dword [ebp + 0xc]
push edx
call fcn.004d90e4
add esp, 0xc
cmp dword [ebp - 0x3c], 0
je 0x4d92c9
cmp dword [ebp - 0x40], 0xa
jae 0x4d930c
xor eax, eax
mov edx, 2
push eax
lea eax, [ebp - 4]
dec dword [ebp - 0xc]
call fcn.0055c51c
dec dword [ebp - 0xc]
lea eax, [ebp + 8]
mov edx, 2
call fcn.0055c51c
dec dword [ebp - 0xc]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.0055c51c
pop eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x4d94e6
push 0x10
push 1
push 0
push 0
lea ecx, [ebp - 0x2c]
push ecx
call sub.ADVAPI32.DLL_CryptAcquireContextA
push 8
push 1
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call sub.ADVAPI32.DLL_CryptAcquireContextA
test eax, eax
jne 0x4d933a
or ebx, 0xffffffff
jmp 0x4d9469
lea eax, [ebp - 0x30]
lea edx, [ebp - 0xd4]
push eax
push 0
push 0
push 0x94
push edx
mov ecx, dword [ebp - 0x2c]
push ecx
call sub.ADVAPI32.DLL_CryptImportKey
test eax, eax
jne 0x4d9365
mov ebx, 0xfffffffe
jmp 0x4d9469
lea eax, [ebp - 0x34]
push eax
push 0
push 0
push 0x8003
mov edx, dword [ebp - 0x2c]
push edx
call sub.ADVAPI32.DLL_CryptCreateHash
test eax, eax
jne 0x4d9389
mov ebx, 0xfffffffd
jmp 0x4d9469
push 0
push ebx
push edi
mov eax, dword [ebp - 0x34]
push eax
call sub.ADVAPI32.DLL_CryptHashData
test eax, eax
jne 0x4d93a4
mov ebx, 0xfffffffc
jmp 0x4d9469
xor eax, eax
mov dword [ebp - 0x38], eax
xor esi, esi
mov ecx, edi
jmp 0x4d93c7
mov eax, esi
push ecx
cdq
mov ecx, 0xa
inc esi
idiv ecx
pop ecx
xor eax, eax
mov al, byte [ecx]
imul edx, eax
add dword [ebp - 0x38], edx
inc ecx
cmp ebx, esi
ja 0x4d93af
mov ecx, 5
mov eax, dword [ebp - 0x38]
cdq
idiv ecx
mov dword [ebp - 0x38], edx
xor esi, esi
cmp esi, dword [ebp - 0x38]
jge 0x4d9428
mov eax, dword [ebp - 0x3c]
mov edx, esi
mov ecx, dword [ebp - 0x3c]
mov al, byte [eax + esi + 5]
mov ebx, eax
add dl, al
mov eax, dword [ebp - 0x3c]
inc edx
mov byte [eax + esi + 5], dl
push 0
push 0
mov eax, dword [ebp - 0x30]
push eax
mov edx, dword [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x3c]
push ecx
mov eax, dword [ebp - 0x34]
push eax
call sub.ADVAPI32.DLL_CryptVerifySignatureA
dec eax
jne 0x4d941b
mov ebx, 0xfffffffa
jmp 0x4d9469
mov eax, dword [ebp - 0x3c]
mov byte [eax + esi + 5], bl
inc esi
cmp esi, dword [ebp - 0x38]
jl 0x4d93e0
push 0
push 0
mov edx, dword [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x40]
push ecx
mov eax, dword [ebp - 0x3c]
push eax
mov edx, dword [ebp - 0x34]
push edx
call sub.ADVAPI32.DLL_CryptVerifySignatureA
test eax, eax
jne 0x4d944c
mov ebx, 0xfffffffb
jmp 0x4d9469
mov bl, byte [edi + 5]
mov al, byte [edi + 0x14]
mov byte [edi + 5], al
mov byte [edi + 0x14], bl
mov bl, byte [edi + 6]
mov al, byte [edi + 0x15]
mov byte [edi + 6], al
mov byte [edi + 0x15], bl
mov ebx, 1
cmp dword [ebp - 0x34], 0
je 0x4d9478
mov eax, dword [ebp - 0x34]
push eax
call sub.ADVAPI32.DLL_CryptDestroyHash
cmp dword [ebp - 0x3c], 0
je 0x4d9488
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0054d5ac
pop ecx
cmp dword [ebp - 0x30], 0
je 0x4d9497
mov ecx, dword [ebp - 0x30]
push ecx
call sub.ADVAPI32.DLL_CryptDestroyKey
cmp dword [ebp - 0x2c], 0
je 0x4d94a8
push 0
mov eax, dword [ebp - 0x2c]
push eax
call sub.ADVAPI32.DLL_CryptReleaseContext
mov eax, ebx
mov edx, 2
push eax
lea eax, [ebp - 4]
dec dword [ebp - 0xc]
call fcn.0055c51c
dec dword [ebp - 0xc]
lea eax, [ebp + 8]
mov edx, 2
call fcn.0055c51c
dec dword [ebp - 0xc]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.0055c51c
pop eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret