Function at 0x42fb20
Capabilities:
Hash data via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4367c0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4420a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x44]
push 0
push 0x43778c
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.00406720
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004064f0
mov eax, dword [ebp - 0x2c]
lea esi, [edi + 4]
mov dword [edi], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
cmp esi, eax
je 0x42fbc0
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004064f0
cmp dword [ebp - 0x14], 0x10
jb 0x42fbd1
push dword [ebp - 0x28]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp - 0x30], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
jb 0x42fbfb
push dword [ebp - 0x44]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [edi + 0x1c], 0
je 0x42fcbc
mov eax, dword [edi + 0x20]
test eax, eax
je 0x42fcbc
push 0
push dword [ebp + 0xc]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x42fcb5
push str.Updating_hash_failed_
lea ecx, [ebp - 0x78]
call fcn.004033a0
mov dword [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xffffffffffffffff
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x5c]
push 0
lea eax, [ebp - 0x78]
mov dword [ebp - 0x48], 0xf
push eax
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
call fcn.004064f0
mov eax, dword [ebp - 0x60]
mov dword [edi], eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 5
cmp esi, eax
je 0x42fc80
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004064f0
cmp dword [ebp - 0x48], 0x10
jb 0x42fc91
push dword [ebp - 0x5c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp - 0x64], 0x10
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
jb 0x42fd5d
push dword [ebp - 0x78]
jmp 0x42fd55
mov al, 1
jmp 0x42fd5f
push 0x24
push str.Cryptographic_provider_not_acquired_
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.00406720
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004064f0
mov eax, dword [ebp - 0x2c]
mov dword [edi], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
cmp esi, eax
je 0x42fd29
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004064f0
cmp dword [ebp - 0x14], 0x10
jb 0x42fd3a
push dword [ebp - 0x28]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp - 0x30], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x42fd5d
push dword [ebp - 0x44]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004308d0
mov esp, ebp
pop ebp
ret 8