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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a16fb
mov eax, dword fs:[0]
push eax
mov eax, 0x11d4
call fcn.004725a0
mov eax, dword [0x4cc3d0]
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, dword [ebp + 8]
xor esi, esi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1058], edi
mov dword [ebp - 0x1054], 0
mov dword [ebp - 0x1028], 0
mov dword [ebp - 0x1068], edi
mov dword [ebp - 0x1018], esi
mov dword [ebp - 0x1014], 0xf
mov byte [ebp - 0x1028], 0
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], esi
jb 0x464d3c
mov eax, dword [eax]
push 1
push 0x40
push 0x20
push eax
lea ecx, [ebp - 0x11e0]
call fcn.004199b0
mov eax, dword [ebp - 0x11e0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x11e0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x11e4], eax
cmp dword [ebp - 0x1184], 0
mov byte [ebp - 4], 1
jne 0x464dd3
mov eax, dword [ebp - 0x1028]
mov ecx, dword [ebp - 0x1020]
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi], eax
mov eax, dword [ebp - 0x1024]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 0x101c]
mov dword [edi + 0xc], ecx
lea ecx, [ebp - 0x11e0]
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], 0xf
call fcn.0041bcd0
jmp 0x464f6a
push 0xf0000000
push 0x18
push 0
push 0
lea eax, [ebp - 0x1048]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x464f17
lea eax, [ebp - 0x1044]
push eax
push 0
push 0
push 0x800c
push dword [ebp - 0x1048]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x464f09
mov eax, dword [ebp - 0x11e0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x11d4], 1
jne 0x464e7d
mov esi, dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
push 0x1000
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x11e0]
call fcn.00422160
movzx eax, word [ebp - 0x11d8]
push 0
push eax
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x1044]
call esi
test eax, eax
je 0x464efd
mov eax, dword [ebp - 0x11e0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x11d4], 1
je 0x464e30
lea ecx, [ebp - 0x11e0]
call fcn.00466e70
push 0
lea eax, [ebp - 0x1058]
mov dword [ebp - 0x104c], 0
push eax
lea eax, [ebp - 0x104c]
mov dword [ebp - 0x1058], 4
push eax
push 4
push dword [ebp - 0x1044]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x4652d6
mov ebx, dword [ebp - 0x104c]
xor eax, eax
xor esi, esi
mov dword [ebp - 0x1050], eax
mov dword [ebp - 0x1064], esi
mov dword [ebp - 0x1060], eax
mov dword [ebp - 0x105c], eax
test ebx, ebx
je 0x464ff1
cmp ebx, 0x7fffffff
ja 0x465346
jmp 0x464f88
push dword [ebp - 0x1044]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x1048]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [ebp - 0x1028]
mov ecx, edi
push eax
call fcn.00419e20
lea ecx, [ebp - 0x11e0]
call fcn.0041bcd0
mov edx, dword [ebp - 0x1014]
cmp edx, 0x10
jb 0x464f6a
mov ecx, dword [ebp - 0x1028]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x464f60
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465341
push edx
push ecx
call fcn.00471e9b
add esp, 8
mov eax, edi
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.00472108
mov esp, ebp
pop ebp
ret
cmp ebx, 0x1000
jb 0x464fb7
lea eax, [ebx + 0x23]
cmp eax, ebx
jbe 0x46534b
push eax
call fcn.00471e6b
add esp, 4
test eax, eax
je 0x465341
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x464fc2
push ebx
call fcn.00471e6b
add esp, 4
mov esi, eax
push ebx
lea eax, [esi + ebx]
mov dword [ebp - 0x1064], esi
push 0
push esi
mov dword [ebp - 0x1050], eax
mov dword [ebp - 0x105c], eax
call fcn.00473e20
mov ebx, dword [ebp - 0x1050]
add esp, 0xc
mov dword [ebp - 0x1060], ebx
jmp 0x464ff3
xor ebx, ebx
push 0
lea eax, [ebp - 0x104c]
mov byte [ebp - 4], 2
push eax
push esi
push 2
push dword [ebp - 0x1044]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x4652a6
mov dword [ebp - 0x1118], 0x4add68
mov dword [ebp - 0x1108], 0x4add70
mov dword [ebp - 0x10a8], 0
mov dword [ebp - 0x1088], 0
mov dword [ebp - 0x1084], 0
mov dword [ebp - 0x1080], 0
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push 0
push 0
lea eax, [ebp - 0x1100]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x1118]
mov dword [ebp - 0x1054], 2
call fcn.00419c20
mov eax, dword [ebp - 0x1108]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1108]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x110c], eax
mov eax, dword [ebp - 0x1118]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1118]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x111c], eax
mov eax, dword [ebp - 0x1118]
mov dword [ebp - 4], 7
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x1118]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x111c], eax
lea ecx, [ebp - 0x1100]
call fcn.00463340
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x10c8], 0
mov dword [ebp - 0x10c4], 0
mov eax, dword [ebp - 0x1108]
lea ecx, [ebp - 0x10f4]
mov byte [ebp - 4], 8
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx], eax
mov eax, dword [ebp - 0x1108]
mov eax, dword [eax + 4]
mov byte [ebp + eax - 0x10c8], 0x30
cmp esi, ebx
je 0x4651af
mov edi, esi
mov bl, byte [edi]
lea eax, [ebp - 0x1128]
push 0
push 2
push eax
call fcn.00471487
lea edx, [ebp - 0x1108]
push dword [eax + 0xc]
mov ecx, dword [eax]
push dword [eax + 8]
mov eax, dword [ebp - 0x1108]
mov eax, dword [eax + 4]
add eax, edx
push eax
call ecx
add esp, 0x18
movzx eax, bl
lea ecx, [ebp - 0x1108]
push eax
call fcn.00463ba0
inc edi
cmp edi, dword [ebp - 0x1050]
jne 0x465160
mov edi, dword [ebp - 0x1068]
mov eax, dword [ebp - 0x10c4]
xor edx, edx
and al, 0x22
mov dword [ebp - 0x1040], 0
mov byte [ebp - 4], 9
mov ecx, edx
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 0xf
mov byte [ebp - 0x1040], 0
mov dword [ebp - 0x1054], 0x22
cmp al, 2
je 0x465219
mov eax, dword [ebp - 0x10e0]
mov ebx, dword [eax]
test ebx, ebx
je 0x465219
mov eax, dword [ebp - 0x10f0]
mov ecx, ebx
cmp ebx, dword [ebp - 0x10c8]
cmovb ecx, dword [ebp - 0x10c8]
mov edx, dword [eax]
sub ecx, edx
jmp 0x465242
test byte [ebp - 0x10c4], 4
jne 0x465242
mov eax, dword [ebp - 0x10e4]
mov ebx, dword [eax]
test ebx, ebx
je 0x465242
mov eax, dword [ebp - 0x10f4]
mov edx, dword [eax]
mov eax, dword [ebp - 0x10d4]
mov ecx, dword [eax]
sub ecx, edx
add ecx, ebx
test edx, edx
je 0x465253
push ecx
push edx
lea ecx, [ebp - 0x1040]
call fcn.0041fc30
mov eax, dword [ebp - 0x1040]
lea ecx, [ebp - 0x1118]
mov dword [ebp - 0x1028], eax
mov eax, dword [ebp - 0x103c]
mov dword [ebp - 0x1024], eax
mov eax, dword [ebp - 0x1038]
mov dword [ebp - 0x1020], eax
mov eax, dword [ebp - 0x1034]
mov dword [ebp - 0x101c], eax
mov eax, dword [ebp - 0x1030]
mov dword [ebp - 0x1018], eax
mov eax, dword [ebp - 0x102c]
mov dword [ebp - 0x1014], eax
call fcn.004649f0
test esi, esi
je 0x4652d6
mov ecx, dword [ebp - 0x105c]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x4652cc
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465341
push ecx
push esi
call fcn.00471e9b
add esp, 8
push dword [ebp - 0x1044]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x1048]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [ebp - 0x1028]
mov ecx, edi
push eax
call fcn.00419e20
lea ecx, [ebp - 0x11e0]
call fcn.0041bcd0
mov edx, dword [ebp - 0x1014]
cmp edx, 0x10
jb 0x464f6a
mov ecx, dword [ebp - 0x1028]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x464f60
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x464f60
call fcn.0047d41e
call fcn.00402a00
call fcn.004029d0
int3