Function at 0x4939c5
Capabilities:
Encrypt data using rc4 via winapi
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push 0x70
mov eax, 0x4afb9f
call fcn.00453742
mov edi, ecx
mov dword [ebp - 0x70], edi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x68], ebx
or dword [ebp - 0x60], 0xffffffff
mov dword [ebp - 4], ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x74], esi
cmp esi, 0xffffffff
je 0x493b93
lea ecx, [ebp - 0x60]
call fcn.00408a90
push ebx
lea eax, [ebp - 0x6c]
push eax
push 0x18
lea eax, [ebp - 0x58]
push eax
push esi
mov dword [ebp - 0x60], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x493b93
cmp dword [ebp - 0x4c], ebx
je 0x493b3c
mov dword [ebp - 0x5c], ebx
push dword [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.004545d7
mov esi, eax
pop ecx
mov dword [ebp - 0x7c], esi
lea eax, [ebp - 0x5c]
push eax
push ebx
push ebx
push 0x8004
push dword [edi]
mov byte [ebp - 4], 3
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x493a9a
push ebx
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x48]
push esi
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x493a9a
push ebx
push dword [ebp - 0x48]
push esi
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x493aa5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x74], eax
jmp 0x493b10
push 1
lea eax, [ebp - 0x61]
push eax
push dword [ebp - 0x78]
lea ecx, [ebp - 0x40]
call fcn.004115c6
mov edi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.00449bf3
push ebx
push edi
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x493ae3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x70]
mov dword [ecx + 0x74], eax
jmp 0x493b08
mov edi, dword [ebp - 0x70]
lea eax, [ebp - 0x68]
push eax
push ebx
push dword [ebp - 0x5c]
push 0x6801
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x493b21
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x74], eax
lea ecx, [ebp - 0x40]
call fcn.00401b80
push esi
call fcn.0045269e
pop ecx
lea ecx, [ebp - 0x5c]
call fcn.00493323
jmp 0x493b9c
lea ecx, [ebp - 0x40]
call fcn.00401b80
push esi
call fcn.0045269e
pop ecx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00493323
push dword [ebp - 0x44]
call fcn.004545d7
pop ecx
push ebx
mov esi, eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x44]
push esi
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x493b7d
xor ecx, ecx
cmp dword [ebp - 0x4c], ecx
lea eax, [edi + 4]
cmovne ecx, dword [ebp - 0x68]
push eax
push 0x10
push ecx
push dword [ebp - 0x44]
push esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x493b88
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x74], eax
jmp 0x493b8a
mov bl, 1
push esi
call fcn.0045269e
pop ecx
jmp 0x493b9c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x74], eax
lea ecx, [ebp - 0x60]
call fcn.00408a90
lea ecx, [ebp - 0x68]
call fcn.0049333d
mov al, bl
call fcn.004536f1
ret 8