Function at 0x588fa7
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x5a1014]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [esp + 0x10], eax
lea edi, [esp + 0x1c]
mov eax, dword [ebp + 0xc]
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x14], eax
push 0x10
pop ecx
xor eax, eax
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x5c], 0x67452301
mov dword [esp + 0x60], 0xefcdab89
mov dword [esp + 0x64], 0x98badcfe
mov dword [esp + 0x68], 0x10325476
mov dword [esp + 0x6c], 0xc3d2e1f0
call fcn.00588ed4
test eax, eax
je 0x589027
mov dword [eax], ebx
test esi, esi
jne 0x589043
call fcn.00588ed4
test eax, eax
je 0x58920e
mov dword [eax], 0x80004003
jmp 0x58920e
mov eax, dword [esp + 0xc]
cmp eax, 0x10
jb 0x5891ff
add eax, 0xfffffff4
cmp dword [esi + 8], eax
jne 0x5891ff
mov ecx, esi
call fcn.00591929
test al, al
je 0x5891ff
mov edi, dword [esp + 0x10]
test edi, edi
je 0x58902b
cmp dword [esp + 0x14], ebx
je 0x58902b
push 0x405920
push 8
call fcn.0047d69a
mov dword [edi], eax
pop ecx
pop ecx
test eax, eax
jne 0x5890a5
call fcn.00588ed4
test eax, eax
je 0x58920e
mov dword [eax], 0x8007000e
jmp 0x58920e
mov eax, dword [esp + 0x14]
mov dword [eax], 8
cmp dword [esi + 8], 4
jne 0x5890e2
push 0x10
push 0x406118
push esi
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x5890e2
push ecx
push 0x4196f0
mov ecx, dword [edi]
push 8
pop edx
call fcn.00589227
pop ecx
pop ecx
mov bl, 1
jmp 0x58920e
mov eax, 0xa0
cmp dword [esp + 0xc], eax
jne 0x58910d
push eax
push 0x406070
push esi
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x589108
push ecx
push 0x4196f8
jmp 0x5890cf
mov eax, 0xa0
mov edx, dword [esi + 8]
cmp edx, 0x94
jne 0x589158
push eax
push 0x419d38
push esi
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x589133
push ecx
push 0x419708
jmp 0x5890cf
push 0xa0
push 0x419dd8
push esi
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x589155
push ecx
push 0x419700
jmp 0x5890cf
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0xc]
cmp ecx, 0x10
jbe 0x5891d1
lea eax, [esi + 0xc]
mov dword [esp + 0x10], eax
lea eax, [esi + 0xc]
add eax, edx
cmp eax, dword [esp + 0x10]
jb 0x5891d1
lea eax, [edx + 0xc]
cmp ecx, eax
jb 0x5891d1
cmp byte [esi + 0xc], 6
jne 0x5891d1
cmp dword [esp + 0x8c], ebx
jne 0x5891b8
push ecx
push esi
lea eax, [esp + 0x20]
push eax
call fcn.005912ff
cmp dword [esp + 0x8c], ebx
jne 0x5891b8
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00591272
mov dword [esp + 0x8c], 1
mov ecx, dword [edi]
mov al, byte [esp + ebx + 0x84]
sub ecx, ebx
inc ebx
mov byte [ecx + 7], al
cmp ebx, 8
jb 0x5891b8
jmp 0x5890db
push 0x8013141e
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.0055458e
mov esi, eax
call fcn.00588ed4
test eax, eax
je 0x5891ee
mov dword [eax], esi
cmp dword [edi], ebx
je 0x58920e
push dword [edi]
call dword [sym.imp.tbbmalloc.dll_scalable_free]
pop ecx
mov dword [edi], ebx
jmp 0x58920e
call fcn.00588ed4
test eax, eax
je 0x58920e
mov dword [eax], 0x8013141e
mov ecx, dword [esp + 0x94]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047a40f
mov esp, ebp
pop ebp
ret 8