Function at 0x402de0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x461020]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
push 0x40
xorps xmm0, xmm0
mov dword [esp + 0x10], edx
lea eax, [esp + 0x54]
mov dword [esp + 0x20], ecx
push 0
push eax
mov dword [esp + 0x34], 0x67452301
mov dword [esp + 0x38], 0xefcdab89
mov dword [esp + 0x3c], 0x98badcfe
mov dword [esp + 0x40], 0x10325476
mov dword [esp + 0x44], 0xc3d2e1f0
movlpd qword [esp + 0x4c], xmm0
movlpd qword [esp + 0x54], xmm0
call fcn.0042d2f0
mov esi, dword [ebp + 8]
add esp, 0xc
mov edi, dword [ebp + 0xc]
mov eax, esi
mov ecx, edi
xorps xmm0, xmm0
shld ecx, eax, 3
movlpd qword [esp + 0x10], xmm0
shl eax, 3
add dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
adc dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x48]
mov edx, ecx
add edx, esi
adc eax, edi
jne 0x402e8d
cmp edx, 0x3f
ja 0x402e8d
mov ebx, dword [esp + 0x10]
jmp 0x402f5d
mov ebx, 0x40
mov eax, 0
sub ebx, ecx
push ebx
sbb eax, dword [esp + 0x50]
push dword [esp + 0x10]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x58]
add eax, ecx
push eax
call fcn.0042cd70
add esp, 0xc
lea ecx, [esp + 0x50]
sub esi, ebx
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov edx, 0x10
sbb edi, dword [esp + 0x10]
nop dword [eax]
mov eax, dword [ecx]
lea ecx, [ecx + 4]
bswap eax
mov dword [ecx - 4], eax
sub edx, 1
jne 0x402ed0
lea ecx, [esp + 0x28]
call fcn.00403500
test edi, edi
jne 0x402ef1
cmp esi, 0x3f
jbe 0x402f59
mov eax, dword [esp + 0xc]
add esi, 0xffffffc0
mov edx, 0x10
adc edi, 0xffffffff
movups xmm0, xmmword [ebx + eax]
movups xmmword [esp + 0x50], xmm0
movups xmm0, xmmword [ebx + eax + 0x10]
movups xmmword [esp + 0x60], xmm0
movups xmm0, xmmword [ebx + eax + 0x20]
movups xmmword [esp + 0x70], xmm0
movups xmm0, xmmword [ebx + eax + 0x30]
add ebx, 0x40
lea eax, [esp + 0x50]
adc dword [esp + 0x10], 0
movups xmmword [esp + 0x80], xmm0
mov ecx, dword [eax]
lea eax, [eax + 4]
bswap ecx
mov dword [eax - 4], ecx
sub edx, 1
jne 0x402f36
lea ecx, [esp + 0x28]
call fcn.00403500
test edi, edi
ja 0x402ef1
jb 0x402f59
cmp esi, 0x3f
ja 0x402ef1
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0xc]
add eax, ebx
push esi
push eax
lea eax, [esp + 0x58]
add eax, ecx
push eax
call fcn.0042cd70
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov eax, dword [esp + 0x4c]
add ecx, esi
mov dword [esp + 0x48], ecx
adc eax, edi
mov dword [esp + 0x4c], eax
mov eax, 0x3f
mov byte [esp + ecx + 0x50], 0x80
sub eax, dword [esp + 0x48]
push eax
lea eax, [esp + 0x55]
add eax, dword [esp + 0x4c]
push 0
push eax
call fcn.0042d2f0
add esp, 0xc
cmp dword [esp + 0x4c], 0
ja 0x402fd2
cmp dword [esp + 0x48], 0x37
ja 0x402fd2
lea ecx, [esp + 0x50]
mov edx, 0xe
mov eax, dword [ecx]
lea ecx, [ecx + 4]
bswap eax
mov dword [ecx - 4], eax
sub edx, 1
jne 0x402fc1
jmp 0x403009
lea ecx, [esp + 0x50]
mov edx, 0x10
nop dword [eax + eax]
mov eax, dword [ecx]
lea ecx, [ecx + 4]
bswap eax
mov dword [ecx - 4], eax
sub edx, 1
jne 0x402fe0
lea ecx, [esp + 0x28]
call fcn.00403500
push 0x40
lea eax, [esp + 0x54]
push 0
push eax
call fcn.0042d2f0
add esp, 0xc
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x28]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x8c], eax
call fcn.00403500
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov eax, ecx
shr eax, 0x18
pop edi
mov byte [edx], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 1], al
movzx eax, byte [esp + 0x24]
mov byte [edx + 3], al
shr ecx, 8
mov byte [edx + 2], cl
mov ecx, dword [esp + 0x28]
mov eax, ecx
shr eax, 0x18
mov byte [edx + 4], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 5], al
movzx eax, byte [esp + 0x28]
mov byte [edx + 7], al
shr ecx, 8
mov byte [edx + 6], cl
mov ecx, dword [esp + 0x2c]
mov eax, ecx
shr eax, 0x18
mov byte [edx + 8], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 9], al
movzx eax, byte [esp + 0x2c]
shr ecx, 8
mov byte [edx + 0xb], al
mov byte [edx + 0xa], cl
mov ecx, dword [esp + 0x30]
mov eax, ecx
shr eax, 0x18
mov byte [edx + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 0xd], al
movzx eax, byte [esp + 0x30]
shr ecx, 8
mov byte [edx + 0xe], cl
mov ecx, dword [esp + 0x34]
mov byte [edx + 0xf], al
mov eax, ecx
shr eax, 0x18
mov byte [edx + 0x10], al
mov eax, ecx
shr ecx, 8
shr eax, 0x10
mov byte [edx + 0x12], cl
mov ecx, dword [esp + 0x90]
pop esi
mov byte [edx + 0x11], al
movzx eax, byte [esp + 0x30]
pop ebx
xor ecx, esp
mov byte [edx + 0x13], al
call fcn.0042b459
mov esp, ebp
pop ebp
ret