Function at 0x10071360
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using rc4 via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011ed76
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1015bc40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
mov edi, dword [ebp + 8]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push 0xf0000000
push 0x18
push 0
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x20], 1
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov ebx, dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x8003
push ebx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x100713ee
mov eax, dword [eax]
push 0
push ecx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
jne 0x1007140a
push dword [ebp - 0x10]
call esi
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp - 0x10]
push 0x6801
push ebx
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x10071428
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 0xf
jbe 0x10071438
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp + 0xc], esi
cmp esi, 0xffffffff
jne 0x1007146f
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0x1023
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.100d04bc
add esp, 4
test eax, eax
je 0x100715c3
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
push 0x1000
push 0
push ebx
mov dword [ebx - 4], eax
lea eax, [ebx + 0x1000]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], eax
call fcn.100ed000
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov dword [ebp - 0x28], eax
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
push 0x1000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1007156b
cmp dword [ebp - 0x14], 0
jbe 0x1007156b
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
push 0
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x1007151f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor esi, esi
cmp dword [ebp - 0x14], esi
jbe 0x1007154d
mov cl, byte [ebx + esi]
mov eax, dword [edi + 4]
mov byte [ebp + 0x13], cl
cmp eax, dword [edi + 8]
je 0x1007153b
mov byte [eax], cl
inc dword [edi + 4]
jmp 0x10071547
lea ecx, [ebp + 0x13]
push ecx
push eax
mov ecx, edi
call fcn.10058a70
inc esi
cmp esi, dword [ebp - 0x14]
jb 0x10071526
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push 0
push eax
push 0x1000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100714e6
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x24]
sub edx, ebx
cmp edx, 0x1000
jb 0x100715a5
mov ecx, dword [ebx - 4]
add edx, 0x23
sub ebx, ecx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x100715c3
mov ebx, ecx
push edx
push ebx
call fcn.100d04ec
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.100fc365
int3