Function at 0x10058170
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009d9fc
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x100e6018]
xor eax, esp
mov dword [esp + 0x178], eax
push ebx
push esi
push edi
mov eax, dword [0x100e6018]
xor eax, esp
push eax
lea eax, [esp + 0x190]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
cmp dword [eax + 0x14], 8
mov byte [esp + 0x17c], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x114], 0x67452301
mov dword [esp + 0x118], 0xefcdab89
mov dword [esp + 0x11c], 0x98badcfe
mov dword [esp + 0x120], 0x10325476
jb 0x10058208
mov eax, dword [eax]
sub esp, 0xc
lea ecx, [esp + 0x38]
push eax
call fcn.10058a50
push eax
lea ecx, [esp + 0x118]
mov dword [esp + 0x19c], 0
call sym.iImportLib.dll_public:_void___thiscall_elex::safe::MD5::update_class_std::basic_ifstream_char__struct_std::char_traits_char____
mov dword [esp + 0x198], 0xffffffff
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x2c], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [esp + ecx + 0x28], eax
lea ecx, [esp + 0x3c]
call fcn.10058b50
lea ecx, [esp + 0x44]
call dword [sym.imp.MSVCP110.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [esp + 0x9c]
call dword [sym.imp.MSVCP110.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
xor eax, eax
push 0xffffffffffffffff
push eax
push esi
lea ecx, [esp + 0xf0]
mov dword [esp + 0x104], 7
mov dword [esp + 0x100], 0
mov word [esp + 0xf0], ax
call fcn.10008c80
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x118]
mov dword [esp + 0x19c], 1
call sym.iImportLib.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_elex::safe::MD5::toString_void_
push 0xfde9
push eax
lea eax, [esp + 0x104]
push eax
mov byte [esp + 0x1a4], 2
call sym.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::strings::s2ws_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int_
add esp, 0xc
mov byte [esp + 0x198], 4
cmp dword [esp + 0x28], 0x10
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x100582fd
push dword [esp + 0x14]
call edi
add esp, 4
mov edx, dword [esp + 0xf8]
mov ecx, dword [esp + 0xe4]
mov ebx, dword [esp + 0xf4]
cmp edx, 8
lea eax, [esp + 0xe4]
cmovae eax, ecx
mov dword [esp + 0x10], eax
lea eax, [esp + 0xe4]
cmovae eax, ecx
lea esi, [esp + 0xe4]
lea eax, [eax + ebx*2]
cmovae esi, ecx
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
cmp esi, eax
je 0x10058373
push dword [sym.imp.MSVCR110.dll_tolower]
mov edx, esi
push dword [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
call fcn.1001c2a0
mov ebx, dword [esp + 0x100]
add esp, 0xc
cmp dword [esp + 0x110], 8
push dword [esp + 0x10c]
lea eax, [esp + 0x100]
cmovae eax, dword [esp + 0x100]
push eax
push ebx
push ecx
lea ecx, [esp + 0xf4]
call fcn.10010100
test eax, eax
sete bl
cmp dword [esp + 0x110], 8
jb 0x100583bb
push dword [esp + 0xfc]
call edi
add esp, 4
xor eax, eax
cmp dword [esp + 0xf8], 8
mov dword [esp + 0x110], 7
mov dword [esp + 0x10c], 0
mov word [esp + 0xfc], ax
jb 0x100583f1
push dword [esp + 0xe4]
call edi
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x190]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.100947be
mov esp, ebp
pop ebp
ret