Function at 0x40b470
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0x110], 0x67452301
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x10c], 0xefcdab89
mov dword [ebp - 0x108], 0x98badcfe
mov dword [ebp - 0x104], 0x10325476
jb 0x40b4c3
mov eax, dword [eax]
push ebx
push esi
push ecx
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.0040b960
push 0x3f
lea eax, [ebp - 0x14f]
mov byte [ebp - 0x150], 0x80
push 0
push eax
call fcn.00422430
mov edx, dword [ebp - 0x100]
mov ecx, 0x78
shr edx, 3
mov eax, 0x38
and edx, 0x3f
sub eax, edx
sub ecx, edx
cmp edx, 0x38
cmovae eax, ecx
push eax
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.0040b960
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
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
mov byte [ebp - 0xbb], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xba], al
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0x110]
shr ebx, 0x18
push eax
mov byte [ebp - 0xbd], dl
mov byte [ebp - 0xb9], bl
call fcn.0040b7b0
movups xmm0, xmmword [ebp - 0x110]
add esp, 0x2c
mov dword [ebp - 0xa8], 0x43fa58
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0xb8], xmm0
push 0
push eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x58], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x5c], 0x48
call fcn.004114c0
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xa8], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xac], eax
lea ecx, [ebp - 0xa4]
call fcn.00408ae0
mov dword [ebp - 0xa4], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
xor esi, esi
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 4
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ebp - 0xa8]
lea ecx, [ebp - 0x94]
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 - 0x10]
push eax
call fcn.00420501
mov ecx, dword [ebp - 0xa8]
lea edx, [ebp - 0xa8]
push dword [eax + 0xc]
mov ecx, dword [ecx + 4]
push dword [eax + 8]
mov eax, dword [eax]
add ecx, edx
push ecx
call eax
mov eax, dword [ebp - 0xa8]
lea ecx, [ebp - 0xa8]
add esp, 0x18
mov eax, dword [eax + 4]
mov byte [ebp + eax - 0x68], 0x30
movzx eax, byte [ebp + esi - 0xb8]
push eax
call fcn.00409330
inc esi
cmp esi, 0x10
jb 0x40b640
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x68]
mov eax, edx
and al, 0x22
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
cmp al, 2
je 0x40b703
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax]
test ecx, ecx
je 0x40b703
mov eax, dword [ebp - 0x94]
cmp ecx, dword [ebp - 0x6c]
cmovb ecx, dword [ebp - 0x6c]
mov edx, dword [eax]
sub ecx, edx
jmp 0x40b72f
push edi
test dl, 4
jne 0x40b728
mov eax, dword [ebp - 0x88]
mov edi, dword [eax]
test edi, edi
je 0x40b728
mov eax, dword [ebp - 0x98]
mov edx, dword [eax]
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
sub ecx, edx
add ecx, edi
jmp 0x40b72e
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
pop edi
test edx, edx
je 0x40b73c
push ecx
push edx
mov ecx, esi
call fcn.00401820
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xa8], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xac], eax
lea ecx, [ebp - 0xa4]
call fcn.004090a0
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xa8], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
lea eax, [ebp - 0x58]
mov ecx, dword [ebp - 0xa8]
push eax
mov edx, dword [ecx + 4]
lea ecx, [edx - 8]
mov dword [ebp + edx - 0xac], ecx
mov dword [ebp - 0x58], vtable.std::ios_base.0
call fcn.004201a9
add esp, 4
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret