Function at 0x429ac1
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, 0x18
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [edi + 4]
test eax, eax
je 0x429c7d
mov esi, 0xc800
cmp eax, esi
jg 0x429c7d
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push 0
push 1
push 0
push eax
lea eax, [ebp - 4]
push eax
call ebx
test eax, eax
jne 0x429b21
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push 8
push 1
push 0
push eax
lea eax, [ebp - 4]
push eax
call ebx
test eax, eax
jne 0x429b21
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x429c80
lea eax, [ebp - 8]
push eax
xor ebx, ebx
push ebx
push ebx
push 0x8003
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x429b59
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 4], ebx
je 0x429b52
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, esi
jmp 0x429c80
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ebx
push ecx
xor ecx, ecx
call fcn.00404b0e
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x429b8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 8], ebx
je 0x429b43
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
jmp 0x429b43
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp - 8]
push 0x6801
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x429b76
cmp dword [ebp - 8], ebx
je 0x429bb6
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push esi
call fcn.0040f865
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 4]
cmp eax, esi
pop ecx
jl 0x429bc9
mov eax, esi
push eax
xor ecx, ecx
mov eax, edi
call fcn.00404b0e
push eax
push dword [ebp - 0x10]
call fcn.0040fe50
mov eax, dword [edi + 4]
add esp, 0xc
push esi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push ebx
push 1
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x429c31
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 0xc], ebx
je 0x429c14
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
cmp dword [ebp - 4], ebx
je 0x429c23
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x10]
call fcn.0040f85a
pop ecx
jmp 0x429b52
mov esi, dword [ebp + 0x10]
call fcn.00404645
xor edi, edi
cmp dword [ebp - 0x14], ebx
jbe 0x429c53
mov eax, dword [ebp - 0x10]
lea ebx, [edi + eax]
call fcn.00404aa8
inc edi
cmp edi, dword [ebp - 0x14]
jb 0x429c40
xor ebx, ebx
cmp dword [ebp - 0xc], ebx
je 0x429c61
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
cmp dword [ebp - 4], ebx
je 0x429c70
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x10]
call fcn.0040f85a
pop ecx
xor eax, eax
jmp 0x429c80
push 0xd
pop eax
pop edi
pop esi
pop ebx
leave
ret