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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4a12
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x5365f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
push 0x50
mov edi, ecx
lea ecx, [ebp - 0x76]
xor eax, eax
push esi
mov dword [ebp - 0x144], esi
push ecx
mov dword [ebp - 0x150], ebx
mov word [ebp - 0x78], ax
call fcn.004da450
xor eax, eax
push 0xb0
lea edx, [ebp - 0x128]
push esi
push edx
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
call fcn.004da450
push 0x5197f0
lea eax, [ebp - 0x140]
push edi
push eax
mov dword [ebp - 0x140], esi
call fcn.004d601e
add esp, 0x24
cmp eax, esi
je 0x460717
xor ecx, ecx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], esi
mov word [ebx], cx
mov dword [ebp - 4], esi
jmp 0x4608e0
push 0xc00
call fcn.004d9a0f
mov edx, dword [ebp - 0x140]
mov edi, eax
add esp, 4
mov dword [ebp - 0x14c], edi
push edx
cmp edi, esi
jne 0x460756
call fcn.004d673c
add esp, 4
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], esi
xor eax, eax
mov word [ebx], ax
mov dword [ebp - 4], esi
jmp 0x4608e0
push 0xc00
lea ecx, [ebp - 0xbc]
push 1
push edi
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x13c], 0x67452301
mov dword [ebp - 0x138], 0xefcdab89
mov dword [ebp - 0x134], 0x98badcfe
mov dword [ebp - 0x130], 0x10325476
mov dword [ebp - 0x12c], 0xc3d2e1f0
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x124], esi
call fcn.004d9ced
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x140]
push eax
call fcn.004d99e7
add esp, 0x14
test eax, eax
jne 0x460823
mov eax, dword [ebp - 0x148]
push edi
lea esi, [ebp - 0x13c]
call fcn.0044c9c0
mov ecx, dword [ebp - 0x140]
push ecx
call fcn.004d99bf
add esp, 8
test eax, eax
jne 0x46084f
cmp dword [ebp - 0x148], 0xc00
jb 0x46084f
mov edx, dword [ebp - 0x140]
push edx
push 0xc00
push 1
push edi
call fcn.004d9ced
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x140]
push eax
call fcn.004d99e7
add esp, 0x14
test eax, eax
je 0x4607c3
xor esi, esi
push edi
call fcn.004d7cf6
mov ecx, dword [ebp - 0x140]
push ecx
call fcn.004d673c
add esp, 8
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], esi
xor edx, edx
mov word [ebx], dx
mov dword [ebp - 4], esi
jmp 0x4608e0
lea ecx, [ebp - 0x13c]
call fcn.0044ca80
mov eax, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xd4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0xcc]
lea esi, [ebp - 0x78]
lea edi, [ebp - 0x24]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
call fcn.0044cba0
mov edx, dword [ebp - 0x14c]
push edx
call fcn.004d7cf6
mov eax, dword [ebp - 0x140]
push eax
call fcn.004d673c
xor edi, edi
add esp, 8
xor ecx, ecx
mov eax, esi
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], edi
mov word [ebx], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4608c3
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x78]
mov esi, ebx
call fcn.004027c0
mov dword [ebp - 4], edi
mov dword [ebp - 0x144], 1
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d5564
mov esp, ebp
pop ebp
ret