Function at 0x401dff
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
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
lea eax, [ebp - 4]
push eax
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
nop
nop
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x401e60
mov eax, 0x41429c
jmp 0x402045
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
je 0x401e7c
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0040724e
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401e8d
push ebx
call fcn.00407248
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x80000005
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x401ea4
mov eax, 0x41429c
push eax
push 1
mov ebx, 0x194
call fcn.00407c40
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0
push dword [ebp - 0xc]
mov eax, dword [ebp - 8]
test eax, eax
je 0x401ecc
add eax, 8
push eax
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
nop
nop
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x401efe
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
nop
mov eax, 0x41429c
jmp 0x402045
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 2
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
nop
nop
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x401f49
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
nop
mov eax, 0x41429c
jmp 0x402045
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x1bc
call fcn.00407c50
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401f7c
push ebx
call fcn.00407248
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040206d
mov dword [ebp - 0x18], eax
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x18]
push 2
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
nop
nop
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x401fce
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
nop
mov eax, 0x41429c
jmp 0x402045
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
nop
push 0x80000301
push 0
push dword [ebp - 0x10]
push 0x80000005
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x401ff8
mov eax, 0x41429c
push eax
push 2
mov ebx, 0x1a0
call fcn.00407c10
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x402022
push ebx
call fcn.00407248
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x402040
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0040724e
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x402045
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402056
push ebx
call fcn.00407248
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x402066
push ebx
call fcn.00407248
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc