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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426558
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x43400c]
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 - 0x40], 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 0x41aad0
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 - 0x3c]
mov dword [ebp - 0x30], 0
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x3c], 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 0x41ab3f
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 0x41abc8
cmp ebx, 0x7fffffff
ja 0x41ad28
mov esi, ebx
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x41ab7e
mov esi, bind
mov ecx, SQLGetDiagRec
push ecx
call fcn.0042455e
add esp, 4
test eax, eax
je 0x41acfa
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x41abb2
mov eax, 0x16
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x1000
jb 0x41ab9f
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x41ad2d
jmp 0x41ab62
test eax, eax
je 0x41abb0
push eax
call fcn.0042455e
add esp, 4
mov edi, eax
jmp 0x41abb2
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 - 0x100]
call fcn.00411090
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
lea edi, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
add eax, ecx
mov dword [ebp - 0x34], eax
cmp edi, eax
je 0x41ac7b
mov bl, byte [edi]
lea eax, [ebp - 0x50]
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 - 0xf0]
mov esi, eax
push 0x424470
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 edx, esi
mov ecx, eax
call fcn.0041dad0
mov ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov byte [eax + ecx + 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_]
inc edi
cmp edi, dword [ebp - 0x34]
jne 0x41ac30
mov esi, dword [ebp - 0x40]
lea ecx, [ebp - 0xe8]
push esi
call fcn.00411250
mov eax, dword [ebp - 0x100]
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 - 0x100]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x104], eax
lea ecx, [ebp - 0xe8]
call fcn.00410fe0
lea ecx, [ebp - 0xe0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x98]
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 0x41ad0a
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ad00
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41ad00
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0042458e
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.00424550
mov esp, ebp
pop ebp
ret
call fcn.00401880
call fcn.004017e0
int3