Function at 0x41cca0
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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480436
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x49d980]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x30], esi
mov edi, ecx
mov dword [ebp - 0x2c], edi
mov ebx, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], 1
movq qword [edi], xmm0
mov dword [edi + 8], 0
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 - 0x18]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x38], 1
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x41cfa4
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push 0x8003
push eax
mov dword [ebp - 0x34], eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
cmp dword [ebx + 0x14], 0xf
mov eax, dword [ebx + 0x10]
jbe 0x41cd54
mov ebx, dword [ebx]
push 0
push eax
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
jne 0x41cd70
push dword [ebp - 0x14]
call ebx
lea eax, [ebp - 0x28]
push eax
push 0
push dword [ebp - 0x14]
push 0x6801
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x41cd90
push dword [ebp - 0x14]
call ebx
push dword [ebp - 0x14]
call ebx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x41cdae
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x41cfa4
cmp dword [esi + 0x14], 0xf
xorps xmm0, xmm0
mov ebx, dword [esi + 0x10]
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], 0
jbe 0x41cdcf
add ebx, dword [esi]
mov esi, dword [esi]
mov dword [ebp - 0x30], esi
jmp 0x41cdd1
add ebx, esi
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
sub ebx, esi
je 0x41ce10
cmp ebx, 0x7fffffff
ja 0x41cfc2
push ebx
lea ecx, [ebp - 0x24]
call fcn.0041d8f0
mov esi, dword [ebp - 0x24]
push ebx
push dword [ebp - 0x30]
push esi
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [ebp - 0x24]
lea eax, [ebx + esi]
add esp, 0xc
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x34]
sub eax, ecx
push eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push ecx
push 0
push 1
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x41ce7d
push ebx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x41cfa4
mov edx, dword [ebp - 0x1c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x41ce76
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cf94
push edx
push ecx
jmp 0x41cf9c
mov ebx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
sub ebx, edx
mov ecx, dword [edi + 8]
mov esi, dword [edi]
sub ecx, esi
mov dword [ebp - 0x14], edx
cmp ebx, ecx
jbe 0x41cf19
cmp ebx, 0x7fffffff
ja 0x41cfc2
mov edx, ecx
mov eax, closesocket
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x41cebb
mov dword [ebp - 0x30], closesocket
jmp 0x41cec6
lea eax, [edx + ecx]
cmp eax, ebx
cmovb eax, ebx
mov dword [ebp - 0x30], eax
test esi, esi
je 0x41cf06
cmp ecx, 0x1000
jb 0x41cee8
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x41cf94
mov esi, edx
push ecx
push esi
call fcn.0047cd98
mov dword [edi], 0
add esp, 8
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push dword [ebp - 0x30]
mov ecx, edi
call fcn.0041d8f0
mov ecx, dword [ebp - 0x14]
mov esi, dword [edi]
push ebx
push ecx
jmp 0x41cf4b
mov eax, dword [edi + 4]
sub eax, esi
mov dword [ebp - 0x28], eax
cmp ebx, eax
jbe 0x41cf49
push eax
push edx
push esi
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [ebp - 0x14]
sub ebx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x28]
mov esi, dword [edi + 4]
push ebx
push ecx
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0x18
lea eax, [ebx + esi]
jmp 0x41cf57
push ebx
push edx
push esi
call sub.VCRUNTIME140.dll_memmove
lea eax, [esi + ebx]
add esp, 0xc
push dword [ebp - 0x34]
mov dword [edi + 4], eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x41cfa4
mov ecx, dword [ebp - 0x1c]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x41cf9a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41cf9a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047cd98
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047cd55
mov esp, ebp
pop ebp
ret
call fcn.00401910
int3