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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456a3b
mov eax, dword fs:[0]
push eax
mov eax, 0x11d4
call fcn.00426d60
mov eax, dword [0x474298]
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 0x41b96c
mov eax, dword [eax]
push 1
push 0x40
push 0x20
push eax
lea ecx, [ebp - 0x11e0]
call fcn.00419670
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 0x41ba03
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.0041b380
jmp 0x41bb9a
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 0x41bb47
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 0x41bb39
mov eax, dword [ebp - 0x11e0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x11d4], 1
jne 0x41baad
mov esi, dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
push 0x1000
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x11e0]
call fcn.004201c0
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 0x41bb2d
mov eax, dword [ebp - 0x11e0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x11d4], 1
je 0x41ba60
lea ecx, [ebp - 0x11e0]
call fcn.0041dc10
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 0x41bf06
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 0x41bc21
cmp ebx, 0x7fffffff
ja 0x41bf76
jmp 0x41bbb8
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.00419b70
lea ecx, [ebp - 0x11e0]
call fcn.0041b380
mov edx, dword [ebp - 0x1014]
cmp edx, 0x10
jb 0x41bb9a
mov ecx, dword [ebp - 0x1028]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41bb90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bf71
push edx
push ecx
call fcn.0042679c
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.00426a09
mov esp, ebp
pop ebp
ret
cmp ebx, 0x1000
jb 0x41bbe7
lea eax, [ebx + 0x23]
cmp eax, ebx
jbe 0x41bf7b
push eax
call fcn.0042676c
add esp, 4
test eax, eax
je 0x41bf71
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x41bbf2
push ebx
call fcn.0042676c
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.004286d0
mov ebx, dword [ebp - 0x1050]
add esp, 0xc
mov dword [ebp - 0x1060], ebx
jmp 0x41bc23
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 0x41bed6
mov dword [ebp - 0x1118], 0x45d4c0
mov dword [ebp - 0x1108], 0x45d4c8
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.004198a0
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.00419aa0
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 0x41bddf
mov edi, esi
mov bl, byte [edi]
lea eax, [ebp - 0x1128]
push 0
push 2
push eax
call fcn.00425d88
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.0041a530
inc edi
cmp edi, dword [ebp - 0x1050]
jne 0x41bd90
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 0x41be49
mov eax, dword [ebp - 0x10e0]
mov ebx, dword [eax]
test ebx, ebx
je 0x41be49
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 0x41be72
test byte [ebp - 0x10c4], 4
jne 0x41be72
mov eax, dword [ebp - 0x10e4]
mov ebx, dword [eax]
test ebx, ebx
je 0x41be72
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 0x41be83
push ecx
push edx
lea ecx, [ebp - 0x1040]
call fcn.00403080
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.0041b410
test esi, esi
je 0x41bf06
mov ecx, dword [ebp - 0x105c]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x41befc
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bf71
push ecx
push esi
call fcn.0042679c
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.00419b70
lea ecx, [ebp - 0x11e0]
call fcn.0041b380
mov edx, dword [ebp - 0x1014]
cmp edx, 0x10
jb 0x41bb9a
mov ecx, dword [ebp - 0x1028]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41bb90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41bb90
call fcn.0042b0ff
call fcn.00402c70
call fcn.00402c40
int3