Function at 0x40abe0
Capabilities:
Decode data using base64 via winapi
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 0xffffffffffffffff
push 0x41dba0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x1c], ebx
mov al, byte [esp + 0x40]
push ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x14], ebx
mov byte [esp + 0x24], al
call fcn.0040cc10
mov edi, 0x401008
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x401008
lea ecx, [esp + 0x28]
call fcn.0040cc60
mov eax, dword [esp + 0x48]
mov byte [esp + 0x38], 1
cmp eax, ebx
jne 0x40ac4c
mov eax, 0x407744
mov edx, dword [esp + 0x4c]
mov ebp, dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
push ebx
lea ecx, [esp + 0x14]
push ebx
push ecx
push ebx
push 1
push edx
push eax
call ebp
test eax, eax
je 0x40acba
mov eax, dword [esp + 0x10]
inc eax
push eax
call fcn.0041537f
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x40ae7c
mov ecx, dword [esp + 0x10]
xor eax, eax
inc ecx
mov edi, esi
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x48]
cmp eax, ebx
jne 0x40aca4
mov eax, 0x407744
mov edx, dword [esp + 0x4c]
push ebx
lea ecx, [esp + 0x14]
push ebx
push ecx
push esi
push 1
push edx
push eax
call ebp
test eax, eax
jne 0x40acde
mov esi, dword [esp + 0x40]
mov al, byte [esp + 0x20]
push ebx
mov ecx, esi
mov byte [esi], al
call fcn.0040cc10
mov ecx, dword [0x407740]
lea edx, [esp + 0x20]
push ecx
push ebx
push edx
jmp 0x40ae9b
push 0xf0000000
push 1
push 0x4037bc
lea eax, [esp + 0x24]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x40adf3
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push ebx
push ebx
push 0x8003
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x40ade8
mov edx, dword [esp + 0x54]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x14]
push ebx
not ecx
dec ecx
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x40addd
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push ebx
push edx
push 0x6801
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x40addd
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push esi
push ebx
push 1
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x40addd
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x28]
repne scasb al, byte es:[edi]
mov eax, dword [0x407740]
not ecx
dec ecx
sub eax, edx
mov edi, ecx
cmp eax, edi
ja 0x40ad9d
call fcn.00412f64
cmp edi, ebx
jbe 0x40addd
mov ecx, dword [esp + 0x28]
push ebx
lea ebp, [ecx + edi]
lea ecx, [esp + 0x24]
push ebp
call fcn.0040cd20
test al, al
je 0x40addd
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, edi
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], ebp
mov byte [eax + ebp], bl
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 0x18]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov esi, dword [esp + 0x40]
mov cl, byte [esp + 0x20]
lea eax, [esp + 0x20]
mov byte [esi], cl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov edx, dword [0x407740]
mov ecx, esi
push edx
push ebx
push eax
call fcn.0040c540
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
je 0x40ae4a
mov al, byte [ecx - 1]
cmp al, bl
je 0x40ae40
cmp al, 0xff
je 0x40ae40
dec al
mov byte [ecx - 1], al
jmp 0x40ae4a
dec ecx
push ecx
call fcn.00412d82
add esp, 4
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x24], ebx
cmp ecx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
je 0x40aec4
mov al, byte [ecx - 1]
cmp al, bl
je 0x40ae70
cmp al, 0xff
je 0x40ae70
dec al
mov byte [ecx - 1], al
jmp 0x40aec4
dec ecx
push ecx
call fcn.00412d82
add esp, 4
jmp 0x40aec4
mov esi, dword [esp + 0x40]
mov cl, byte [esp + 0x20]
push ebx
mov byte [esi], cl
mov ecx, esi
call fcn.0040cc10
mov edx, dword [0x407740]
lea eax, [esp + 0x20]
push edx
push ebx
push eax
mov ecx, esi
call fcn.0040c540
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], bl
call fcn.0040cc10
push 1
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0040cc10
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret