Function at 0x446390
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 0x474376
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4901c0]
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 edi, ecx
mov dword [ebp - 0x30], edi
mov ebx, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], 0
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 - 0x20]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x34], 1
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push 0x8003
push eax
mov dword [ebp - 0x30], eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
cmp dword [ebx + 0x14], 0xf
mov eax, ebx
jbe 0x446438
mov eax, dword [ebx]
push 0
push dword [ebx + 0x10]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
jne 0x446456
push dword [ebp - 0x14]
call ebx
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp - 0x14]
push 0x6801
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x446476
push dword [ebp - 0x14]
call ebx
push dword [ebp - 0x14]
call ebx
cmp dword [esi + 0x14], 0xf
jbe 0x446483
mov esi, dword [esi]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0x30], esi
cmp esi, 0xffffffff
jne 0x4464ba
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movq qword [ebp - 0x2c], xmm0
push 0x1023
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.0046eb4b
add esp, 4
test eax, eax
je 0x44661f
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 sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov dword [ebp - 0x28], eax
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 1
push eax
push 0x1000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4465bd
cmp dword [ebp - 0x18], 0
jbe 0x4465bd
lea eax, [ebp - 0x18]
push eax
push ebx
push 0
push 0
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x446579
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor esi, esi
cmp dword [ebp - 0x18], esi
jbe 0x4465a3
mov ecx, dword [edi + 4]
lea eax, [ebx + esi]
cmp ecx, dword [edi + 8]
je 0x446594
mov al, byte [eax]
mov byte [ecx], al
inc dword [edi + 4]
jmp 0x44659d
push eax
push ecx
mov ecx, edi
call fcn.0045a090
inc esi
cmp esi, dword [ebp - 0x18]
jb 0x446580
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x18]
push 0
push eax
push 0x1000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x446540
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
push dword [ebp - 0x20]
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 0x4465f7
mov ecx, dword [ebx - 4]
add edx, 0x23
sub ebx, ecx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x44661f
mov ebx, ecx
push edx
push ebx
call fcn.0046e8e2
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.0046e4b9
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3