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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100455e8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x10056018]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, edx
mov edi, ecx
push 0
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x54], 0
push 0x10049616
test ebx, ebx
jne 0x100338fd
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], edx
mov byte [edi], dl
call fcn.10032350
jmp 0x10033afe
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
call fcn.10032350
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 0
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push eax
call esi
test eax, eax
jne 0x10033967
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x10033967
push 8
push 1
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
call esi
test eax, eax
je 0x10033a72
lea eax, [ebp - 0x34]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x10033a72
push 0
push dword [ebp + 8]
push ebx
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x10033a72
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x38]
push eax
push 4
push dword [ebp - 0x34]
mov dword [ebp - 0x48], 4
call esi
test eax, eax
je 0x10033a72
mov byte [ebp - 4], 1
push dword [ebp - 0x38]
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new___unsigned_int_]
add esp, 4
mov ebx, eax
push dword [ebp - 0x38]
push 0
push ebx
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x38]
push 0
push eax
push ebx
push 2
push dword [ebp - 0x34]
call esi
test eax, eax
je 0x10033a21
xor esi, esi
cmp esi, dword [ebp - 0x38]
jae 0x10033a21
movzx eax, byte [esi + ebx]
push eax
lea eax, [ebp - 0x44]
push str._02x
push eax
call dword [sym.imp.MSVCR110.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x30]
call fcn.10032350
inc esi
jmp 0x100339f6
push ebx
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
add esp, 4
jmp 0x10033a6b
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x10033a80
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10033a90
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jae 0x10033af0
mov eax, dword [ebp - 0x20]
inc eax
je 0x10033af5
push eax
lea eax, [ebp - 0x30]
push eax
push edi
call dword [sym.imp.MSVCR110.dll_memmove]
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
jmp 0x10033af5
mov eax, dword [ebp - 0x30]
mov dword [edi], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
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 - 0x18]
xor ecx, ebp
call fcn.1003fc71
mov esp, ebp
pop ebp
ret