Function at 0x526fd0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f2afb
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x64c874]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [esp + 0x38], eax
lea eax, [esi + 0x2e8]
mov edi, edx
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], eax
call dword [0x5fd18c]
mov byte [esp + 0x1c], 1
mov dword [esp + 0xc8], 0
mov ecx, dword [edi + 0xc]
lea eax, [esp + 0x28]
call fcn.00523820
mov eax, dword [eax]
mov ecx, dword [eax + 0x90]
add eax, 8
add ecx, 0xffffffff
cmp dword [edi + 0x10], ecx
jne 0x527076
mov edx, dword [eax + 0x8c]
mov ebx, dword [eax + 0x80]
imul edx, ecx
sub ebx, edx
jmp 0x52707c
mov ebx, dword [eax + 0x8c]
mov eax, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0x20], ebx
je 0x5270ae
mov dword [esp + 0x34], eax
mov ecx, eax
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x5270ae
test eax, eax
je 0x5270ae
push eax
call fcn.004b49f0
mov eax, dword [esp + 0x34]
push eax
call fcn.0059b877
add esp, 4
mov ecx, dword [esi]
lea eax, [ecx + ebx - 1]
cdq
idiv ecx
mov ecx, dword [esi + 0x100]
mov ebx, eax
mov eax, dword [esi + 4]
lea edx, [eax + ebx]
cmp edx, ecx
jl 0x5270e5
xor edi, edi
push edi
push edi
sub eax, ecx
or edx, 0xffffffff
push edx
add eax, ebx
push eax
lea eax, [esp + 0x28]
push eax
push esi
call fcn.005254e0
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x18]
push ecx
push 2
lea edx, [esp + 0x1f]
push edx
lea eax, [esp + 0x34]
push eax
push esi
mov ecx, edi
mov dword [esp + 0x3c], 0
call fcn.00526ca0
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x34], eax
jge 0x52712e
cmp byte [esp + 0x1c], cl
je 0x527311
mov ecx, dword [esp + 0x18]
push ecx
call dword [0x5fd188]
mov eax, dword [esp + 0x34]
jmp 0x527311
cmp byte [esi + 0x1bc], 0
jne 0x5271f7
cmp ebx, ecx
mov dword [esp + 0x54], 0x67452301
mov dword [esp + 0x58], 0xefcdab89
mov dword [esp + 0x5c], 0x98badcfe
mov dword [esp + 0x60], 0x10325476
mov dword [esp + 0x64], 0xc3d2e1f0
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], ecx
jle 0x5271aa
mov eax, dword [esi]
xor edi, edi
cmp eax, dword [esp + 0x20]
jl 0x52717d
lea esi, [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx + 8]
mov ecx, dword [edi + ecx]
mov eax, dword [esi]
push ecx
lea esi, [esp + 0x58]
call fcn.00502b50
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
sub dword [esp + 0x24], eax
add esp, 4
add edi, 0x28
sub ebx, 1
mov esi, edx
jne 0x527173
xor eax, eax
lea ecx, [esp + 0x54]
lea edi, [esp + 0x40]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
call fcn.00502a50
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x24]
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
lea edx, [esp + 0x18]
push edx
push edi
mov edi, dword [esp + 0x34]
lea eax, [esp + 0x1f]
push eax
mov ebx, edi
mov ecx, esi
call fcn.00527390
mov ebx, eax
test ebx, ebx
jge 0x52722e
cmp byte [esp + 0x1c], 0
je 0x527227
mov ecx, dword [esp + 0x18]
push ecx
call dword [0x5fd188]
mov eax, ebx
jmp 0x527311
lea eax, [esi + 0x314]
test eax, eax
je 0x52723d
add eax, 9
jmp 0x52723f
xor eax, eax
cmp dword [edi + 0x18], 0
jne 0x527256
mov edx, dword [esp + 0x28]
push edi
push edx
lea ebx, [esp + 0x40]
call fcn.0052ac90
jmp 0x527278
test eax, eax
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x54]
mov dword [esp + 0x38], edx
je 0x52726a
add eax, 0xfffffff7
jmp 0x52726c
xor eax, eax
push edi
lea ecx, [esp + 0x3c]
push ecx
push eax
call fcn.0052e1f0
mov edx, dword [esi + 4]
cmp edx, dword [esi + 0x100]
jge 0x52729c
cmp byte [esi + 0x10c], 0
je 0x52729c
cmp byte [esi + 0x10d], 0
je 0x5272cf
cmp byte [esp + 0x17], 0
jne 0x5272cf
lea eax, [esi + 0x31d]
test eax, eax
je 0x5272ab
add eax, 0xfffffff7
jmp 0x5272ad
xor eax, eax
cmp edi, dword [eax + 4]
je 0x5272cf
push edi
mov ecx, esi
call fcn.00524ea0
mov eax, dword [esp + 0x28]
push edi
push eax
lea ebx, [esp + 0x40]
lea eax, [esi + 0x31d]
call fcn.0052ac90
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 8]
mov eax, 1
add dword [esi + 0x338], eax
mov ecx, 0
adc dword [esi + 0x33c], ecx
cmp byte [esp + 0x17], cl
je 0x5272fe
add dword [esi + 0x340], eax
adc dword [esi + 0x344], ecx
cmp byte [esp + 0x1c], cl
je 0x52730f
mov edx, dword [esp + 0x18]
push edx
call dword [0x5fd188]
mov eax, edi
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.005b88a9
mov esp, ebp
pop ebp
ret 4