Function at 0x570d80
Capabilities:
Hash data using sha1
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0xc6e8
call fcn.0054a000
mov eax, dword [0x5e6e74]
xor eax, esp
mov dword [esp + 0xc6e4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [esp + 0x9c]
push edi
push 0x100
mov edi, ecx
push 0
push eax
mov dword [esp + 0x28], edi
call fcn.0054b0f0
push 0x1f4
lea eax, [esp + 0x1b0]
push 0
push eax
call fcn.0054b0f0
movups xmm0, xmmword [0x5c0e30]
mov al, byte [0x5c0e40]
lea ecx, [edi + 0x2080]
add esp, 0x18
mov byte [esp + 0x90], al
movups xmmword [esp + 0x80], xmm0
push 0x5c0e44
call fcn.0040bcf5
push 0x4c
lea eax, [esp + 0x38]
push 0
push eax
call fcn.0054b0f0
add esp, 0xc
mov dword [esp + 0x20], 0x67452301
mov dword [esp + 0x24], 0xefcdab89
mov dword [esp + 0x28], 0x98badcfe
mov dword [esp + 0x2c], 0x10325476
push 0
push 0x8000000
push 3
push 0
push 1
push SysReAllocString
push esi
mov dword [esp + 0x4c], 0xc3d2e1f0
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [esp + 0x18], edi
cmp edi, 0xffffffff
jne 0x570e82
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xc6e4]
xor ecx, esp
call fcn.00549544
mov esp, ebp
pop ebp
ret 4
push 0
lea eax, [esp + 0x18]
push eax
push 0xc350
lea eax, [esp + 0x3a4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x570fcd
nop word [eax + eax]
mov esi, dword [esp + 0x14]
test esi, esi
je 0x570fcd
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x398]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x10], edx
lea edi, [eax + esi*8]
cmp edi, eax
jae 0x570ed7
inc ecx
mov eax, esi
mov dword [esp + 0x34], edi
shr eax, 0x1d
add ecx, eax
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x570f6b
cmp esi, 0x40
jae 0x570f1c
lea eax, [ecx + esi]
cmp eax, 0x40
jae 0x570f1c
push esi
lea eax, [esp + 0x39c]
push eax
lea eax, [esp + 0x44]
add eax, ecx
push eax
call fcn.0054b4e0
add esp, 0xc
add dword [esp + 0x7c], esi
jmp 0x570fa6
mov edi, 0x40
lea eax, [esp + 0x398]
sub edi, ecx
push edi
push eax
lea eax, [esp + 0x44]
add eax, ecx
push eax
call fcn.0054b4e0
push 1
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x30]
call fcn.00576870
lea eax, [esp + 0x3a8]
sub esi, edi
add eax, edi
push 0x44
mov dword [esp + 0x24], eax
lea eax, [esp + 0x50]
push 0
push eax
call fcn.0054b0f0
mov edx, dword [esp + 0x2c]
add esp, 0x1c
mov edi, esi
shr edi, 6
test edi, edi
je 0x570f8c
push edi
lea ecx, [esp + 0x24]
call fcn.00576870
mov edx, dword [esp + 0x14]
add esp, 4
shl edi, 6
add edx, edi
sub esi, edi
test esi, esi
je 0x570fa6
push esi
push edx
lea eax, [esp + 0x44]
mov dword [esp + 0x84], esi
push eax
call fcn.0054b4e0
add esp, 0xc
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x14]
push 0
push eax
push 0xc350
lea eax, [esp + 0x3a4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x570eb0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x20]
lea ecx, [esp + 0xa0]
call fcn.00578100
xor edx, edx
nop word [eax + eax]
movzx ecx, byte [esp + edx + 0xa0]
mov eax, ecx
and ecx, 0xf
shr eax, 4
movzx eax, byte [esp + eax + 0x80]
mov byte [esp + edx*2 + 0x1a0], al
movzx eax, byte [esp + ecx + 0x80]
movzx ecx, byte [esp + edx + 0xa1]
mov byte [esp + edx*2 + 0x1a1], al
mov eax, ecx
shr eax, 4
and ecx, 0xf
movzx eax, byte [esp + eax + 0x80]
mov byte [esp + edx*2 + 0x1a2], al
movzx eax, byte [esp + ecx + 0x80]
movzx ecx, byte [esp + edx + 0xa2]
mov byte [esp + edx*2 + 0x1a3], al
mov eax, ecx
shr eax, 4
and ecx, 0xf
movzx eax, byte [esp + eax + 0x80]
mov byte [esp + edx*2 + 0x1a4], al
movzx eax, byte [esp + ecx + 0x80]
movzx ecx, byte [esp + edx + 0xa3]
mov byte [esp + edx*2 + 0x1a5], al
mov eax, ecx
shr eax, 4
and ecx, 0xf
movzx eax, byte [esp + eax + 0x80]
mov byte [esp + edx*2 + 0x1a6], al
movzx eax, byte [esp + ecx + 0x80]
movzx ecx, byte [esp + edx + 0xa4]
mov byte [esp + edx*2 + 0x1a7], al
mov eax, ecx
shr eax, 4
and ecx, 0xf
movzx eax, byte [esp + eax + 0x80]
mov byte [esp + edx*2 + 0x1a8], al
movzx eax, byte [esp + ecx + 0x80]
mov byte [esp + edx*2 + 0x1a9], al
add edx, 5
cmp edx, 0x14
jb 0x570ff0
add edx, edx
cmp edx, 0x1f4
jae 0x571123
lea eax, [esp + 0x1a0]
mov byte [esp + edx + 0x1a0], 0
push eax
push ecx
mov ecx, dword [esp + 0x24]
push 5
call fcn.00571fa0
mov ecx, dword [esp + 0xc6ec]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.00549544
mov esp, ebp
pop ebp
ret 4
call fcn.00549aff
int3