Function at 0x100713d0
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 0x1011f076
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 0x1007145e
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 0x1007147a
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 0x10071498
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 0xf
jbe 0x100714a8
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 0x100714df
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.100d088c
add esp, 4
test eax, eax
je 0x10071633
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.100ed2d0
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 0x100715db
cmp dword [ebp - 0x14], 0
jbe 0x100715db
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 0x1007158f
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 0x100715bd
mov cl, byte [ebx + esi]
mov eax, dword [edi + 4]
mov byte [ebp + 0x13], cl
cmp eax, dword [edi + 8]
je 0x100715ab
mov byte [eax], cl
inc dword [edi + 4]
jmp 0x100715b7
lea ecx, [ebp + 0x13]
push ecx
push eax
mov ecx, edi
call fcn.10058d30
inc esi
cmp esi, dword [ebp - 0x14]
jb 0x10071596
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 0x10071556
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 0x10071615
mov ecx, dword [ebx - 4]
add edx, 0x23
sub ebx, ecx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x10071633
mov ebx, ecx
push edx
push ebx
call fcn.100d08bc
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.100fc635
int3