Function at 0x100dc9d0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10150880
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x448
mov eax, dword [0x1019a128]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x448], ecx
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x444]
push 0xf0000000
push 1
push 0
push 0
push eax
mov dword [ebp - 0x444], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x100dca57
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov dword [esi + 4], 0x1019abc0
mov eax, dword [esi + 4]
jmp 0x100dca69
mov dword [esi], 0
mov eax, 0x1019ab88
mov dword [esi + 4], 0x1019ab88
mov eax, dword [eax + 4]
cmp eax, dword [0x1019ab8c]
jne 0x100dcd2f
cmp dword [esi], 0
jne 0x100dcd2f
mov edi, dword [ebp - 0x444]
lea eax, [ebp - 0x454]
push esi
push ecx
push eax
push 0x8003
lea edx, [ebp - 0x44c]
mov dword [ebp - 0x454], 0
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x44c], edi
call fcn.100dc620
mov eax, dword [esi + 4]
add esp, 0x10
mov eax, dword [eax + 4]
cmp eax, dword [0x1019ab8c]
jne 0x100dcced
cmp dword [esi], 0
jne 0x100dcced
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x450]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
test byte [eax + ecx + 0xc], 1
jne 0x100dcb76
nop dword [eax]
push 0
push 0x400
lea eax, [ebp - 0x440]
push eax
call fcn.1005fd20
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 8]
mov eax, ecx
or eax, dword [edx + 0xc]
je 0x100dcb76
push 0
push ecx
lea eax, [ebp - 0x440]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x100dcb39
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov dword [esi + 4], 0x1019abc0
mov eax, dword [esi + 4]
jmp 0x100dcb4b
mov dword [esi], 0
mov eax, 0x1019ab88
mov dword [esi + 4], 0x1019ab88
mov eax, dword [eax + 4]
cmp eax, dword [0x1019ab8c]
jne 0x100dcc7c
cmp dword [esi], 0
jne 0x100dcc7c
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
test byte [eax + ecx + 0xc], 1
je 0x100dcaf0
push esi
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push ecx
lea edx, [ebp - 0x44c]
movq qword [ebp - 0x24], xmm0
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x44c], edi
call fcn.100dc770
mov eax, dword [esi + 4]
add esp, 8
mov eax, dword [eax + 4]
cmp eax, dword [0x1019ab8c]
jne 0x100dccb8
cmp dword [esi], 0
jne 0x100dccb8
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
lea eax, [esi*2 + 1]
push eax
call fcn.10006330
mov ecx, dword [ebp - 0x24]
lea eax, [esi + ecx]
mov esi, ecx
cmp esi, eax
je 0x100dcc44
nop dword [eax]
movzx ecx, byte [esi]
mov eax, ecx
mov byte [ebp - 0x16], 0
shr eax, 4
and ecx, 0xf
movzx eax, byte [eax + str.0123456789abcdef]
mov byte [ebp - 0x18], al
movzx eax, byte [ecx + str.0123456789abcdef]
lea ecx, [ebp - 0x18]
mov byte [ebp - 0x17], al
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100dcc20
sub ecx, edx
lea eax, [ebp - 0x18]
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.10002600
mov eax, dword [ebp - 0x20]
inc esi
add eax, dword [ebp - 0x24]
cmp esi, eax
jne 0x100dcbf0
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x448]
movups xmm0, xmmword [ebp - 0x3c]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [esi + 0x10], xmm0
test ecx, ecx
je 0x100dcc68
push ecx
call fcn.1011582b
add esp, 4
test edi, edi
je 0x100dcd57
push edi
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
jmp 0x100dcd57
mov esi, dword [ebp - 0x448]
mov ecx, esi
push 0
push 0x10164d88
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.10002c70
test edi, edi
je 0x100dcd57
push edi
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
jmp 0x100dcd57
mov esi, dword [ebp - 0x448]
mov ecx, esi
push 0
push 0x10164d88
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.10002c70
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x100dcc68
push eax
jmp 0x100dcc60
mov esi, dword [ebp - 0x448]
mov ecx, esi
push 0
push 0x10164d88
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.10002c70
mov eax, dword [ebp - 0x450]
test eax, eax
je 0x100dcd26
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test edi, edi
je 0x100dcd6a
push 0
push edi
jmp 0x100dcd64
mov esi, dword [ebp - 0x448]
mov ecx, esi
push 0
push 0x10164d88
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.10002c70
mov eax, dword [ebp - 0x444]
test eax, eax
je 0x100dcd6a
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101157bc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret