Function at 0x100034a0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038b3a
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
push esi
push edi
mov eax, dword [0x10042040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
push 0xf0000000
push 0x18
push 0
mov dword [ebp - 0x4c], edi
lea eax, [ebp - 0x14]
push 0
mov dword [ebp - 0x2c], 0
push eax
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x10003546
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push 0
test eax, eax
je 0x1000353d
push dword [ebp + 8]
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x1000357e
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xorps xmm0, xmm0
mov eax, edi
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x3c], 4
push eax
push 4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x10003532
mov ecx, dword [ebp - 0x1c]
xor eax, eax
xor esi, esi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
test ecx, ecx
je 0x1000362f
cmp ecx, 0x7fffffff
ja 0x10003908
cmp ecx, 0x1000
jb 0x10003600
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x1000390d
push eax
call fcn.1003786b
add esp, 4
test eax, eax
je 0x10003902
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [ebp - 0x20], esi
mov dword [esi - 4], eax
jmp 0x1000360e
push ecx
call fcn.1003786b
add esp, 4
mov dword [ebp - 0x20], eax
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
push 0
push esi
lea eax, [esi + ecx]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x30], eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov dword [ebp - 0x34], eax
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
push esi
push 2
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x100036c9
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
test esi, esi
je 0x100036b6
mov ecx, dword [ebp - 0x30]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x100036ac
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003902
push ecx
push esi
call fcn.10037cca
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x94]
mov dword [ebp - 0xe4], 0x1003e890
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0x2c], 8
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe4], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xe8], eax
lea ecx, [ebp - 0xe0]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0xe0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 4
mov byte [ebp - 4], 3
cmp esi, dword [ebp - 0x18]
je 0x100037c8
mov edi, dword [ebp - 0x18]
nop word [eax + eax]
mov eax, dword [ebp - 0xe4]
lea ecx, [ebp - 0xe4]
mov eax, dword [eax + 4]
mov byte [ebp + eax - 0xa4], 0x30
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc4], 2
mov dword [ebp + eax - 0xc0], 0
movzx eax, byte [esi]
push eax
push 0x10001fc0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
inc esi
cmp esi, edi
jne 0x10003770
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x20]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov byte [ebp - 4], 4
xorps xmm0, xmm0
mov edx, dword [ebp - 0xa4]
mov eax, edx
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
and al, 0x22
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 0x2c], 0xc
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0x40], 0
cmp al, 2
je 0x1000384b
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
test ecx, ecx
je 0x1000384b
mov eax, dword [ebp - 0xd0]
cmp ecx, dword [ebp - 0xa8]
cmovb ecx, dword [ebp - 0xa8]
mov edx, dword [eax]
sub ecx, edx
jmp 0x1000387c
test dl, 4
jne 0x10003876
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x10003876
mov eax, dword [ebp - 0xd4]
mov edx, dword [eax]
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax]
sub ecx, edx
add ecx, dword [ebp - 0x28]
jmp 0x1000387c
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
test edx, edx
je 0x10003889
push ecx
push edx
mov ecx, edi
call fcn.1000a460
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe4], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xe8], eax
lea ecx, [ebp - 0xe0]
call fcn.1000a130
lea ecx, [ebp - 0xdc]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x94]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
test esi, esi
je 0x100036b6
mov ecx, dword [ebp - 0x30]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x100036ac
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100036ac
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.1000abd0
call fcn.10001eb0
int3