Function at 0x505140
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov dword [ebp - 0x24], edx
xorps xmm0, xmm0
mov edx, dword [ebp + 8]
mov dword [ebp - 0x28], ecx
mov ecx, edx
push ebx
push esi
push edi
movlpd qword [ebp - 0xc4], xmm0
lea esi, [ecx + 1]
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0x78], 0x67452301
mov dword [ebp - 0x74], 0xefcdab89
mov dword [ebp - 0x70], 0x98badcfe
mov dword [ebp - 0x6c], 0x10325476
mov dword [ebp - 0x68], 0xc3d2e1f0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5051a4
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x60]
call fcn.00414570
push 4
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00461880
cmp dword [ebp - 0x4c], 0xf
lea eax, [ebp - 0x60]
push dword [ebp - 0x50]
cmova eax, dword [ebp - 0x60]
lea ecx, [ebp - 0xc4]
push eax
call fcn.00461880
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x50536d
mov edi, dword [ebx]
xor ecx, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x38], ecx
movups xmmword [ebp - 0x48], xmm0
mov edx, 0xf
mov byte [ebp - 0x48], cl
mov dword [ebp - 0x34], edx
mov edi, dword [edi + 4]
mov esi, dword [edi]
cmp esi, edi
je 0x5052bd
lea ebx, [esi + 8]
push ebx
lea ecx, [ebp - 0x20]
call fcn.004141c0
mov eax, dword [ebx + 0x18]
mov dword [ebp - 8], eax
test eax, eax
je 0x505276
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 0x30], 0
push 0x7361f8
push eax
call fcn.00506410
add esp, 0xc
lea eax, [ebp - 0x20]
cmp dword [ebp - 0xc], 0xf
lea ecx, [ebp - 0x48]
cmova eax, dword [ebp - 0x20]
push dword [ebp - 0x10]
push eax
call fcn.00413010
lea eax, [ebp - 0x30]
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x505260
sub eax, edx
lea ecx, [ebp - 0x48]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00413010
mov ecx, dword [ebp - 0xc]
cmp ecx, 0xf
jbe 0x5052aa
mov edx, dword [ebp - 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5052a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5053ba
push ecx
push edx
call fcn.005ab85c
add esp, 8
mov esi, dword [esi]
cmp esi, edi
jne 0x505213
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov ebx, dword [ebp + 0xc]
cmp edx, 0xf
lea eax, [ebp - 0x48]
push ecx
cmova eax, dword [ebp - 0x48]
lea ecx, [ebp - 0xc4]
push eax
call fcn.00461880
cmp dword [ebx + 4], 0
je 0x50533d
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x50533d
push eax
mov edx, ebx
lea ecx, [ebp - 0x1c]
call fcn.00504f90
add esp, 4
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 0xf
lea ecx, [ebp - 0xc4]
cmova eax, dword [ebp - 0x1c]
push dword [ebp - 0xc]
push eax
call fcn.00461880
mov ecx, dword [ebp - 8]
cmp ecx, 0xf
jbe 0x50533d
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x505333
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5053b5
push ecx
push edx
call fcn.005ab85c
add esp, 8
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x50536d
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x505363
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5053ba
push ecx
push edx
call fcn.005ab85c
add esp, 8
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0xc4]
push esi
call fcn.00461930
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x5053ac
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5053a2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5053bf
push ecx
push edx
call fcn.005ab85c
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.005c695f
call fcn.005c695f
call fcn.005c695f
int3