Function at 0x405e70
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
cmp dword [edx + 0x14], 0x10
mov eax, edx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0x110], 0x67452301
mov dword [ebp - 0x10c], 0xefcdab89
mov dword [ebp - 0x108], 0x98badcfe
mov dword [ebp - 0x104], 0x10325476
jb 0x405ec4
mov eax, dword [edx]
push dword [edx + 0x10]
mov edx, eax
lea ecx, [ebp - 0x110]
call fcn.00405db0
add esp, 4
mov byte [ebp - 0x150], 0x80
lea eax, [ebp - 0x14f]
push 0x3f
push 0
push eax
call fcn.0041b810
mov edx, dword [ebp - 0x100]
mov ecx, 0x78
shr edx, 3
mov eax, 0x38
and edx, 0x3f
add esp, 0xc
sub ecx, edx
sub eax, edx
cmp edx, 0x38
lea edx, [ebp - 0x150]
cmovae eax, ecx
lea ecx, [ebp - 0x110]
push eax
call fcn.00405db0
mov ebx, dword [ebp - 0xfc]
xor edx, edx
or edx, dword [ebp - 0x100]
mov eax, ebx
mov ecx, edx
mov byte [ebp - 0xc0], dl
shrd ecx, eax, 8
mov eax, ebx
mov byte [ebp - 0xbc], bl
mov byte [ebp - 0xbf], cl
add esp, 4
mov ecx, edx
shrd ecx, eax, 0x10
mov eax, ebx
shrd edx, eax, 0x18
mov eax, ebx
mov byte [ebp - 0xbe], cl
shr eax, 8
lea ecx, [ebp - 0x110]
mov byte [ebp - 0xbb], al
mov eax, ebx
mov byte [ebp - 0xbd], dl
lea edx, [ebp - 0xf8]
shr eax, 0x10
shr ebx, 0x18
mov byte [ebp - 0xba], al
mov byte [ebp - 0xb9], bl
call fcn.00405c10
movups xmm0, xmmword [ebp - 0x110]
push ecx
lea eax, [ebp - 0x94]
mov dword [ebp - 0x98], 0x4433fc
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x48], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x4c], 0x48
call fcn.004044d0
mov eax, dword [ebp - 0x98]
push 8
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x98], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x9c], eax
mov dword [ebp - 0x94], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00418fe8
add esp, 4
mov esi, eax
push 1
call fcn.00418245
mov dword [esi + 4], eax
add esp, 4
lea eax, [ebp - 0x90]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x88], eax
xor esi, esi
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x94], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 4
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x84]
push 0
push 2
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx], eax
lea eax, [ebp - 0xa8]
push eax
call fcn.0041894f
mov ecx, dword [ebp - 0x98]
lea edx, [ebp - 0x98]
add esp, 0xc
mov ecx, dword [ecx + 4]
push dword [eax + 0xc]
add ecx, edx
push dword [eax + 8]
mov eax, dword [eax]
push ecx
call eax
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x98]
add esp, 0xc
mov eax, dword [eax + 4]
mov byte [ebp + eax - 0x58], 0x30
movzx eax, byte [ebp + esi - 0xb8]
push eax
call fcn.0040f6b0
inc esi
cmp esi, 0x10
jb 0x4060b1
mov edx, dword [ebp - 0x58]
xorps xmm0, xmm0
mov eax, edx
mov dword [edi], 0
and al, 0x22
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
movq qword [ebp - 0xa4], xmm0
mov dword [ebp - 0x9c], 0
cmp al, 2
je 0x40617a
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
test ecx, ecx
je 0x40617a
mov eax, dword [ebp - 0x84]
cmp ecx, dword [ebp - 0x5c]
cmovb ecx, dword [ebp - 0x5c]
mov edx, dword [eax]
sub ecx, edx
jmp 0x4061a7
test dl, 4
jne 0x40619b
mov eax, dword [ebp - 0x78]
mov esi, dword [eax]
test esi, esi
je 0x40619b
mov eax, dword [ebp - 0x88]
mov edx, dword [eax]
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
sub ecx, edx
add ecx, esi
jmp 0x4061a7
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0xa4]
test edx, edx
je 0x4061b4
push ecx
push edx
mov ecx, edi
call fcn.004040a0
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x98], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x9c], eax
lea ecx, [ebp - 0x94]
call fcn.0040f5e0
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x98], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x9c], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x48], vtable.std::ios_base.0
call fcn.00418492
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret