Function at 0x10004330
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
sub esp, 0x420
mov eax, dword [0x1001c460]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push esi
mov dword [ebp - 0x41c], eax
xor eax, eax
push eax
push 1
push eax
mov esi, ecx
push str.gotowin.EncryptDecrypt.Simple
lea ecx, [ebp - 0x40c]
push ecx
mov dword [ebp - 0x408], eax
mov dword [ebp - 0x40c], eax
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x418], eax
call ebx
test eax, eax
jne 0x100043ac
push 8
push 1
push eax
push str.gotowin.EncryptDecrypt.Simple
lea edx, [ebp - 0x40c]
push edx
call ebx
test eax, eax
jne 0x100043ac
mov dword [ebp - 0x408], 0xffffffff
jmp 0x1000453d
mov ecx, dword [ebp - 0x40c]
lea eax, [ebp - 0x418]
push eax
push 0
push 0
push 0x8003
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x100043dc
mov dword [ebp - 0x408], 0xfffffffe
jmp 0x1000453d
mov edx, dword [ebp - 0x418]
push 0
push 0xc
push str.Symmetry_Key
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x10004405
mov dword [ebp - 0x408], 0xfffffffd
jmp 0x1000453d
mov ecx, dword [ebp - 0x418]
mov edx, dword [ebp - 0x40c]
lea eax, [ebp - 0x410]
push eax
push 1
push ecx
push 0x6801
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x1000443a
mov dword [ebp - 0x408], 0xfffffffc
jmp 0x1000453d
xor ebx, ebx
test edi, edi
je 0x1000453d
mov eax, 0x400
sub eax, esi
mov dword [ebp - 0x420], eax
mov eax, dword [ebp - 0x41c]
sub eax, esi
mov dword [ebp - 0x41c], eax
nop
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.1000c490
mov ecx, dword [ebp - 0x420]
add ecx, esi
add esp, 0xc
cmp ecx, edi
jb 0x100044ba
mov eax, edi
sub eax, ebx
push eax
lea edx, [ebp - 0x404]
push esi
push edx
mov dword [ebp - 0x414], eax
call fcn.100082b0
mov edx, dword [ebp - 0x410]
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x404]
push ecx
push 0
push 1
push 0
push edx
jmp 0x100044f4
push 0x400
lea eax, [ebp - 0x404]
push esi
push eax
mov dword [ebp - 0x414], 0x400
call fcn.100082b0
mov eax, dword [ebp - 0x410]
add esp, 0xc
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x404]
push edx
push 0
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x10004533
mov ecx, dword [ebp - 0x414]
mov eax, dword [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x404]
push edx
add eax, esi
push eax
call fcn.100082b0
add ebx, 0x400
add esp, 0xc
add esi, 0x400
cmp ebx, edi
jb 0x10004460
jmp 0x1000453d
mov dword [ebp - 0x408], 0xfffffffb
mov eax, dword [ebp - 0x410]
pop esi
pop ebx
test eax, eax
je 0x10004550
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x10004561
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0x40c]
test eax, eax
je 0x10004574
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x408]
xor ecx, ebp
call fcn.1000680f
mov esp, ebp
pop ebp
ret