Function at 0x40fcf3
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
cmp dword [ebp + 0x10], 0
jne 0x40fd3e
mov dword [ebp + 0xc], 0x8003
mov dword [ebp - 0x20], esp
push 0xf0000020
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x40fd75
push 6
call fcn.00444c22
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 1
xor eax, 1
test eax, eax
je 0x40fdde
mov dword [ebp - 0x20], esp
push 0x28
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x40fdc0
push 6
call fcn.00444c22
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 1
xor eax, 1
test eax, eax
je 0x40fdde
mov eax, 0x4562bc
jmp 0x4101f8
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x40fe11
push 6
call fcn.00444c22
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 1
xor eax, 1
test eax, eax
je 0x40fe56
mov dword [ebp - 0x20], esp
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x40fe4c
push 6
call fcn.00444c22
add esp, 4
mov eax, 0x4562bc
jmp 0x4101f8
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40fe6b
mov eax, 0x45636d
push eax
push 1
mov ebx, 0x194
call fcn.00445ad0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
push 0
push dword [ebp - 0x20]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x40fe98
add eax, 8
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x40feb8
push 6
call fcn.00444c22
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 1
xor eax, 1
test eax, eax
je 0x40ff1f
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x40feee
push 6
call fcn.00444c22
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x40ff15
push 6
call fcn.00444c22
add esp, 4
mov eax, 0x4562bc
jmp 0x4101f8
mov dword [ebp - 0x20], esp
push 0
mov eax, 4
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
push 4
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x40ff5b
push 6
call fcn.00444c22
add esp, 4
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x1bc
call fcn.004457a0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40ff91
push ebx
call fcn.00444c1c
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], esp
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40ffab
add eax, 8
push eax
push 2
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x40ffd0
push 6
call fcn.00444c22
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x18], 0
mov eax, 0
sete al
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x41001f
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x410006
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00444c16
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
test ebx, ebx
je 0x410019
push ebx
call fcn.00444c1c
add esp, 4
pop eax
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
cmp dword [ebp - 4], 0
je 0x41018e
mov eax, dword [ebp - 0x10]
xor ecx, ecx
push eax
lea eax, [ebp - 0x18]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x41018b
mov ebx, dword [ebp - 0x14]
call fcn.0040737e
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x410060
push 4
call fcn.00444c22
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x410073
push 1
call fcn.00444c22
add esp, 4
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov al, byte [ebx]
and eax, 0xff
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1d4
call fcn.004475f0
add esp, 0x10
mov dword [ebp - 0x24], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4100b2
mov eax, 0x4562bc
push eax
push 1
mov ebx, 0x154
call fcn.00446410
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4100d8
push ebx
call fcn.00444c1c
add esp, 4
push dword [ebp - 0x28]
push 0x4ad4b7
mov ecx, 2
call fcn.00401125
add esp, 8
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x410100
push ebx
call fcn.00444c1c
add esp, 4
push 0x80000301
push 0
push 2
push VariantClear
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x41011f
mov eax, 0x4562bc
push eax
push 2
mov ebx, 0x138
call fcn.00448120
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x410145
push ebx
call fcn.00444c1c
add esp, 4
push dword [ebp - 0x30]
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.00401125
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41016b
push ebx
call fcn.00444c1c
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41017f
push ebx
call fcn.00444c1c
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
pop eax
pop ebx
pop ecx
jmp 0x410035
add esp, 0xc
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4101b0
push 6
call fcn.00444c22
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4101d7
push 6
call fcn.00444c22
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4101f3
push eax
mov ebx, eax
call fcn.004010ba
inc eax
push eax
call fcn.00444c16
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4101f8
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x410209
push ebx
call fcn.00444c1c
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x410219
push ebx
call fcn.00444c1c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14