Function at 0x419e50
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4255d8
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x43300c]
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 esi, edx
mov eax, ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], eax
push 0xf0000020
push 1
push 0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x419ec0
mov eax, dword [esi]
push 0
push dword [esi + 0x10]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x30], 0
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x40], 4
push eax
push 4
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ebx, 0xf
ja 0x419f2f
push ebx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov byte [ebp + ebx - 0x28], 0
mov edi, dword [ebp - 0x28]
jmp 0x419fb8
cmp ebx, 0x7fffffff
ja 0x41a12f
mov esi, ebx
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x419f6e
mov esi, closesocket
mov ecx, SQLGetDiagRec
push ecx
call fcn.0042357e
add esp, 4
test eax, eax
je 0x41a101
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x419fa2
mov eax, 0x16
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x1000
jb 0x419f8f
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x41a134
jmp 0x419f52
test eax, eax
je 0x419fa0
push eax
call fcn.0042357e
add esp, 4
mov edi, eax
jmp 0x419fa2
xor edi, edi
push ebx
push 0
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], esi
call sub.VCRUNTIME140.dll_memset
mov byte [edi + ebx], 0
mov dword [ebp - 0x28], edi
add esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
push ecx
cmovae eax, edi
push eax
push 2
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push ecx
lea ecx, [ebp - 0x108]
call fcn.0040f870
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
lea ebx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ebx, dword [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
add eax, ecx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], eax
cmp ebx, eax
je 0x41a082
mov bl, byte [ebx]
lea eax, [ebp - 0x58]
push 0
push 2
push eax
call dword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
add esp, 0xc
lea ecx, [ebp - 0xf8]
mov esi, eax
push 0x423490
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___]
push dword [esi + 0xc]
mov edi, eax
push dword [esi + 8]
mov eax, dword [edi]
mov eax, dword [eax + 4]
add eax, edi
push eax
mov eax, dword [esi]
call eax
mov eax, dword [edi]
add esp, 0xc
mov ecx, edi
mov eax, dword [eax + 4]
mov byte [eax + edi + 0x40], 0x30
movzx eax, bl
push 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_]
mov ebx, dword [ebp - 0x3c]
inc ebx
mov dword [ebp - 0x3c], ebx
cmp ebx, dword [ebp - 0x34]
jne 0x41a023
mov esi, dword [ebp - 0x44]
lea ecx, [ebp - 0xf0]
push esi
call fcn.0040fa30
mov eax, dword [ebp - 0x108]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x108], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x10c], eax
lea ecx, [ebp - 0xf0]
call fcn.0040f7c0
lea ecx, [ebp - 0xe8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x41a111
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a107
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41a107
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004235ae
add esp, 8
mov eax, esi
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.00423570
mov esp, ebp
pop ebp
ret
call fcn.00401880
call fcn.004017e0
int3