Function at 0x42f870
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing 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 0x55351b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x5932e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 8]
lea ecx, [ebp - 0x60]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x74], edi
movups xmm0, xmmword [0x5713a4]
mov al, byte [0x5713b4]
push 0
push 0x56ff8a
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x28], xmm0
mov byte [ebp - 0x18], al
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.00409ab0
push 0
push 0
push 0
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00430d70
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x42f997
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0
mov dword [edi + 0x10], 0
mov ecx, edi
mov dword [edi + 0x14], 0xf
push 0x56ff8b
mov byte [edi], 0
call fcn.00409ab0
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x42fcc5
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42fcbb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fce7
jmp 0x42fcbb
lea eax, [ebp - 0x40]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x42fa20
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0
mov dword [edi + 0x10], 0
mov ecx, edi
mov dword [edi + 0x14], 0xf
push 0x56ff91
mov byte [edi], 0
call fcn.00409ab0
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x42fcc5
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42fcbb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fcec
jmp 0x42fcbb
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
push 0x1000
lea ecx, [ebp - 0x6c]
movq qword [ebp - 0x6c], xmm0
call fcn.00409780
mov ecx, dword [ebp - 0x70]
push 0
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x6c]
push 0x1000
push esi
call fcn.00430e90
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x7c], eax
test ecx, ecx
jne 0x42fa68
test eax, eax
je 0x42fa9c
push 0
push ecx
push esi
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x42fc44
mov ecx, dword [ebp - 0x70]
push 0
push 0x1000
push esi
call fcn.00430e90
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x42fa68
cmp dword [eax + 0xc], ecx
jne 0x42fa68
push 0
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0x10
push eax
lea eax, [ebp - 0x38]
push eax
push 2
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x42fbd4
xor eax, eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x44], eax
jbe 0x42fbda
nop
movzx eax, byte [ebp + eax - 0x38]
lea edx, [ebp - 0x60]
shr eax, 4
lea ecx, [ebp - 0xa8]
movzx eax, byte [ebp + eax - 0x28]
push eax
call fcn.00431a70
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x70]
mov byte [ebp - 4], 2
mov edx, dword [esi + 0x14]
movzx ecx, byte [ebp + eax - 0x38]
and ecx, 0xf
mov al, byte [ebp + ecx - 0x28]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x48], al
cmp ecx, edx
jae 0x42fb2d
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x42fb20
mov eax, dword [esi]
add eax, ecx
mov cl, byte [ebp - 0x48]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x42fb3f
push dword [ebp - 0x48]
mov byte [ebp - 0x74], 0
push dword [ebp - 0x74]
push ecx
mov ecx, esi
call fcn.00426b60
movups xmm0, xmmword [esi]
lea ecx, [ebp - 0x60]
movups xmmword [ebp - 0x90], xmm0
movq xmm0, qword [esi + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
movq qword [ebp - 0x80], xmm0
mov byte [esi], 0
call fcn.00409830
movups xmm0, xmmword [ebp - 0x90]
movups xmmword [ebp - 0x60], xmm0
movq xmm0, qword [ebp - 0x80]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x94]
movq qword [ebp - 0x50], xmm0
cmp edx, 0x10
jb 0x42fbbf
mov ecx, dword [ebp - 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42fbb5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fce7
push edx
push ecx
call fcn.005150f8
add esp, 8
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp eax, dword [ebp - 0x44]
jb 0x42fad0
mov esi, dword [ebp - 0x6c]
jmp 0x42fbda
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmm0, xmmword [ebp - 0x60]
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x50]
movq qword [edi + 0x10], xmm0
test esi, esi
je 0x42fcc5
mov ecx, dword [ebp - 0x64]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x42fc40
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fcf1
push ecx
push esi
jmp 0x42fcbd
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0
mov dword [edi + 0x10], 0
mov ecx, edi
mov dword [edi + 0x14], 0xf
push 0x56ff92
mov byte [edi], 0
call fcn.00409ab0
test esi, esi
je 0x42f960
mov ecx, dword [ebp - 0x64]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x42fcac
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fcf6
push ecx
push esi
call fcn.005150f8
add esp, 8
jmp 0x42f960
push edx
push ecx
call fcn.005150f8
add esp, 8
mov eax, edi
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.00514e1d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.00519e03
call fcn.00519e03
call fcn.00519e03
call fcn.00519e03
int3