Function at 0x5375b0
Capabilities:
Hash data using sha1

Disassembly:
push 0xffffffffffffffff
push 0x5e5c83
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x64c874]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0xfc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x10c]
lea edi, [ebp + 0x238]
lea esi, [esp + 0x1c]
mov dword [esp + 0x28], ebp
call fcn.0048fed0
xor ebx, ebx
mov dword [esp + 0x104], ebx
mov edi, dword [esp + 0x1c]
test byte [edi + 0x4f8], 8
je 0x537631
mov dword [esp + 0x104], 0xffffffff
mov esi, dword [esp + 0x20]
cmp esi, ebx
jmp 0x537a2f
test byte [ebp + 0x34b], 1
je 0x537650
mov dword [esp + 0x104], 0xffffffff
mov esi, dword [esp + 0x20]
cmp esi, ebx
jmp 0x537a2f
mov eax, dword [ebp + 0x138]
mov eax, dword [eax + 0x108]
cmp eax, ebx
mov dword [esp + 0x24], eax
jne 0x53767d
lea eax, [esp + 0x1c]
mov dword [esp + 0x104], 0xffffffff
call fcn.00565750
jmp 0x537a5b
mov ecx, dword [edi + 0xa8]
mov ecx, dword [ecx + 0x90]
cmp eax, ecx
mov dword [esp + 0x18], ecx
jl 0x537715
xor edi, edi
cmp ecx, ebx
mov dword [esp + 0x14], edi
jle 0x5376ef
push edi
mov ecx, ebp
call fcn.00538740
test al, al
jne 0x5376e2
mov edx, dword [ebp]
mov eax, dword [edx + 0x64]
push edi
mov ecx, ebp
call eax
mov eax, dword [ebp + 0x294]
test eax, eax
lea esi, [ebp + 0x290]
je 0x5376d0
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 2
jne 0x5376d5
call fcn.00543100
lea ebx, [esp + 0x14]
call fcn.004cdd60
mov ebp, dword [esp + 0x28]
add edi, 1
cmp edi, dword [esp + 0x18]
mov dword [esp + 0x14], edi
jl 0x53769f
mov dword [esp + 0x104], 0xffffffff
mov esi, dword [esp + 0x20]
test esi, esi
je 0x537a5b
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jmp 0x537a3b
mov dword [esp + 0xd4], 0xf
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
lea eax, [ebp + 0x21c]
push eax
lea esi, [esp + 0xdc]
mov byte [esp + 0x108], 1
call fcn.004a90b0
cmp dword [esp + 0xd8], ebx
jne 0x53776d
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.004a8890
mov edx, dword [eax]
push 4
lea eax, [esp + 0x18]
mov dword [esp + 0x18], edx
push eax
jmp 0x5377af
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0xdc]
call fcn.004a8900
mov edx, dword [eax]
mov dword [esp + 0xa8], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0xac], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0xb0], edx
mov eax, dword [eax + 0xc]
push 0x10
lea ecx, [esp + 0xac]
mov dword [esp + 0xb8], eax
push ecx
lea ecx, [esp + 0xc4]
call fcn.0040b860
mov eax, dword [edi + 0xa8]
add eax, 0x140
push 0x14
push eax
lea eax, [esp + 0xc4]
call fcn.004320d0
cmp dword [esp + 0xd4], 0x10
mov eax, dword [esp + 0xc0]
jae 0x5377ed
lea eax, [esp + 0xc0]
mov edx, dword [esp + 0xd0]
push edx
push eax
lea eax, [esp + 0x54]
call fcn.0049d4d0
xor edx, edx
mov ecx, eax
lea edi, [esp + 0xa8]
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], edx
call fcn.00502a50
add ebp, 0x290
mov edx, edi
mov dword [esp + 0x14], 0
jmp 0x537848
mov edx, dword [esp + 0x48]
xor eax, eax
lea ecx, [eax + 4]
lea ecx, [ecx]
movzx esi, byte [edx]
shl eax, 8
or eax, esi
add edx, 1
sub ecx, 1
jne 0x537850
mov dword [esp + 0x48], edx
xor edx, edx
div dword [esp + 0x18]
mov eax, dword [ebp + 8]
cmp dword [ebp + 4], eax
mov dword [esp + 0x30], eax
mov edi, edx
mov dword [esp + 0x2c], edi
jbe 0x537881
call fcn.005b8b18
mov ebx, dword [ebp + 8]
cmp dword [ebp + 4], ebx
jbe 0x53788e
call fcn.005b8b18
mov esi, dword [ebp + 4]
cmp esi, dword [ebp + 8]
jbe 0x53789b
call fcn.005b8b18
cmp esi, ebx
je 0x5378ab
nop
cmp dword [esi], edi
je 0x5378ab
add esi, 4
cmp esi, ebx
jne 0x5378a0
cmp ebp, ebp
je 0x5378b4
call fcn.005b8b18
cmp esi, dword [esp + 0x30]
jne 0x537920
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
mov edx, dword [eax + 0x64]
push edi
call edx
mov eax, dword [ebp + 4]
test eax, eax
je 0x5378d7
mov ecx, dword [ebp + 8]
sub ecx, eax
sar ecx, 2
jne 0x5378de
mov esi, ebp
call fcn.00543100
lea ebx, [esp + 0x2c]
mov esi, ebp
call fcn.004cdd60
mov ecx, dword [ebp + 4]
test ecx, ecx
jne 0x5378f4
xor eax, eax
jmp 0x5378fc
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp eax, dword [esp + 0x24]
jge 0x5379e9
test ecx, ecx
jne 0x53790e
xor eax, eax
jmp 0x537916
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp eax, dword [esp + 0x18]
je 0x5379e9
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, 5
mov dword [esp + 0x14], eax
jl 0x537844
xor edi, edi
lea edx, [esp + 0xa8]
push edx
lea eax, [edi + 0x14]
lea esi, [esp + 0x50]
mov dword [esp + 0x50], 0x67452301
mov dword [esp + 0x54], 0xefcdab89
mov dword [esp + 0x58], 0x98badcfe
mov dword [esp + 0x5c], 0x10325476
mov dword [esp + 0x60], 0xc3d2e1f0
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], edi
call fcn.00502b50
xor eax, eax
add esp, 4
mov ecx, esi
lea edi, [esp + 0x34]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call fcn.00502a50
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
lea edx, [esp + 0xa8]
mov dword [esp + 0x14], 0
jmp 0x537848
cmp dword [esp + 0xd4], 0x10
jb 0x537a03
mov edx, dword [esp + 0xc0]
push edx
call fcn.0059b877
add esp, 4
xor eax, eax
mov dword [esp + 0x104], 0xffffffff
mov esi, dword [esp + 0x20]
mov dword [esp + 0xd4], 0xf
mov dword [esp + 0xd0], eax
mov byte [esp + 0xc0], al
cmp esi, eax
je 0x537a5b
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x537a5b
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
or edx, 0xffffffff
lea ecx, [esi + 8]
lock xadd dword [ecx], edx
jne 0x537a5b
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [esp + 0xfc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.005b88a9
add esp, 0xf4
ret 4