Function at 0x42ea10
Capabilities:
Hash data using sha512

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x380
movsd xmm2, qword [0x5b93a0]
movsd xmm1, qword [0x5b93a8]
xorps xmm0, xmm0
mov esi, ecx
lea ebx, [esp + 0x90]
movaps xmmword [esp + 0x100], xmm0
movaps xmmword [esp + 0xf0], xmm0
movaps xmmword [esp + 0xe0], xmm0
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0x90], xmm0
mov ecx, ebx
movsd qword [esp + 0x110], xmm2
movsd qword [esp + 0x118], xmm1
movsd xmm2, qword [0x5b93b0]
movsd xmm1, qword [0x5b93b8]
movsd qword [esp + 0x120], xmm2
movsd qword [esp + 0x128], xmm1
movsd xmm2, qword [0x5b93c0]
movsd xmm1, qword [0x5b93c8]
movsd qword [esp + 0x130], xmm2
movsd qword [esp + 0x138], xmm1
movsd xmm2, qword [0x5b93d0]
movsd xmm1, qword [0x5b93d8]
movsd qword [esp + 0x140], xmm2
movsd qword [esp + 0x148], xmm1
mov dword [esp + 0x154], 0
mov dword [esp + 0x150], 0
mov dword [esp + 0x158], 0x5b93a0
mov dword [esp + 0x160], 0
push 0x20
call fcn.0042db10
add esp, 4
lea edi, [esp + 0x1c0]
push 0xd8
push ebx
push edi
call fcn.004ef180
add esp, 0xc
mov eax, dword [esp + 0x288]
movaps xmm2, xmmword [esp + 0x140]
movaps xmm1, xmmword [esp + 0x130]
movaps xmm0, xmmword [esp + 0x150]
mov eax, dword [eax + 0x50]
movaps xmmword [esp + 0x1a0], xmm2
movaps xmmword [esp + 0x190], xmm1
movaps xmm2, xmmword [esp + 0x110]
movaps xmm1, xmmword [esp + 0x120]
movaps xmmword [esp + 0x1b0], xmm0
cmp eax, 0x81
movaps xmmword [esp + 0x180], xmm1
movaps xmmword [esp + 0x170], xmm2
jae 0x42eef7
lea ecx, [esp + 0x298]
lea edx, [esp + 0x170]
push dword [esp + 0x290]
push eax
push edi
call fcn.0042dd10
add esp, 0xc
mov eax, dword [esp + 0x298]
mov ebx, dword [eax + 0x48]
cmp ebx, 0x40
ja 0x42eef7
cmp ebx, 0x1f
jbe 0x42eef7
lea eax, [esp + 0x29c]
movsd xmm1, qword [eax + 0x10]
movsd xmm0, qword [eax + 0x18]
movsd xmm2, qword [eax]
movsd qword [esp + 0x1d0], xmm1
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0x1d8], xmm0
movsd qword [esp + 0x1c0], xmm2
movsd qword [esp + 0x1c8], xmm1
push edi
call fcn.004e1790
add esp, 4
movsd xmm1, qword [esp + 0x1d0]
movsd xmm0, qword [esp + 0x1d8]
movsd xmm2, qword [esp + 0x1c0]
movsd qword [esp + 0x10], xmm1
movsd xmm1, qword [esp + 0x1c8]
movsd qword [esp + 0x18], xmm0
movsd qword [esp], xmm2
movsd qword [esp + 8], xmm1
movzx eax, byte [0x6019e4]
cmp al, 2
jne 0x42eeed
xorps xmm0, xmm0
mov eax, esp
movaps xmmword [esp + 0x250], xmm0
movaps xmmword [esp + 0x240], xmm0
movaps xmmword [esp + 0x230], xmm0
movaps xmmword [esp + 0x220], xmm0
movaps xmmword [esp + 0x210], xmm0
movaps xmmword [esp + 0x200], xmm0
movaps xmmword [esp + 0x1f0], xmm0
movaps xmmword [esp + 0x1e0], xmm0
movaps xmmword [esp + 0x1d0], xmm0
movaps xmmword [esp + 0x1c0], xmm0
push 0
push eax
push edi
call fcn.004e1660
add esp, 0xc
lea eax, [esp + 0x2dc]
push 0xa0
push edi
push eax
call fcn.004ef180
add esp, 0xc
cmp ebx, 0x40
jne 0x42eef7
movsd xmm0, qword [esp + 0x2d4]
movsd xmm1, qword [esp + 0x2c4]
lea eax, [esp + 0x68]
movsd qword [esi + 0x38], xmm0
movsd xmm0, qword [esp + 0x2cc]
movsd qword [esi + 0x28], xmm1
movsd xmm1, qword [esp + 0x30c]
movsd qword [esi + 0x30], xmm0
movsd xmm0, qword [esp + 0x2bc]
movsd qword [esp + 0x48], xmm1
xorps xmm1, xmm1
movsd qword [esp + 0x190], xmm1
movsd qword [esi + 0x20], xmm0
movsd xmm0, qword [esp + 0x324]
movsd qword [esp + 0x60], xmm0
movsd xmm0, qword [esp + 0x31c]
movsd qword [esp + 0x58], xmm0
movsd xmm0, qword [esp + 0x314]
movsd qword [esp + 0x50], xmm0
movsd xmm0, qword [esp + 0x304]
movsd qword [esp + 0x40], xmm0
movsd xmm0, qword [esp + 0x34c]
movsd qword [esp + 0x88], xmm0
movsd xmm0, qword [esp + 0x344]
movsd qword [esp + 0x80], xmm0
movsd xmm0, qword [esp + 0x33c]
movsd qword [esp + 0x78], xmm0
movsd xmm0, qword [esp + 0x334]
movsd qword [esp + 0x70], xmm0
movsd xmm0, qword [esp + 0x32c]
movsd qword [esp + 0x68], xmm0
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x180], xmm0
movaps xmmword [esp + 0x170], xmm0
push eax
lea edi, [esp + 0x174]
push edi
call fcn.004e12b0
add esp, 8
xorps xmm0, xmm0
movsd qword [esp + 0xb0], xmm0
xorps xmm0, xmm0
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0x90], xmm0
push edi
lea eax, [esp + 0x2e0]
push eax
lea ebx, [esp + 0x98]
push ebx
call fcn.004e12e0
add esp, 0xc
xorps xmm0, xmm0
lea eax, [esp + 0x40]
movsd qword [esp + 0x1e0], xmm0
xorps xmm0, xmm0
movaps xmmword [esp + 0x1d0], xmm0
movaps xmmword [esp + 0x1c0], xmm0
push edi
push eax
lea edi, [esp + 0x1c8]
push edi
call fcn.004e12e0
add esp, 0xc
lea eax, [esp + 0x20]
push edi
push eax
call fcn.004e1370
add esp, 8
push ebx
call fcn.004e12c0
add esp, 4
shl al, 7
movsd xmm2, qword [esp + 0x18]
xor byte [esp + 0x3f], al
movsd xmm1, qword [esp + 0x30]
movsd xmm0, qword [esp + 0x38]
movsd xmm3, qword [esp + 0x20]
movsd qword [esi + 0x50], xmm1
movsd xmm1, qword [esp + 0x28]
movsd qword [esi + 0x58], xmm0
movsd qword [esi + 0x40], xmm3
movsd qword [esi + 0x48], xmm1
movsd xmm1, qword [esp + 0x10]
movsd qword [esi + 0x18], xmm2
movsd xmm2, qword [esp]
movsd qword [esi + 0x10], xmm1
movsd xmm1, qword [esp + 8]
movsd qword [esi], xmm2
movsd qword [esi + 8], xmm1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.00500310
jmp 0x42ec72
ud2