Function at 0x27593d00
Capabilities:
Encrypt data using rc4 via winapi
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x275abb80
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x275ba2ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], ebx
xor eax, eax
cmp dword [edi + 0x40], ebx
mov byte [ebp - 4], 3
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x3c], 0x8004
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
jne 0x27593ddf
mov eax, dword [edi + 0x30]
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push ebx
push 0x8004
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x27593d8a
call fcn.27539290
mov esi, eax
cmp esi, ebx
jl 0x27593f3f
mov ecx, dword [edi + 0x3c]
mov eax, dword [edi + 0x38]
mov edx, dword [ebp - 0x1c]
push ebx
push ecx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x27593db0
call fcn.27539290
mov esi, eax
cmp esi, ebx
jl 0x27593f3f
mov edx, dword [ebp - 0x1c]
mov eax, dword [edi + 0x30]
lea ecx, [ebp - 0x18]
push ecx
push 0x800000
push edx
push 0x6801
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x27593ddf
call fcn.27539290
mov esi, eax
cmp esi, ebx
jl 0x27593f3f
mov eax, dword [edi + 0x40]
cmp eax, ebx
jne 0x27593dfa
mov edx, dword [ebp - 0x18]
mov eax, dword [edi + 0x30]
lea ecx, [ebp - 0x10]
push ecx
push ebx
push edx
push 0x8009
push eax
jmp 0x27593e09
mov ecx, dword [edi + 0x30]
lea edx, [ebp - 0x10]
push edx
push ebx
push eax
push 0x8009
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x27593e22
call fcn.27539290
mov esi, eax
cmp esi, ebx
jl 0x27593f3f
mov ecx, dword [ebp - 0x10]
push ebx
lea eax, [ebp - 0x3c]
push eax
push 5
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptSetHashParam]
test eax, eax
jne 0x27593e46
call fcn.27539290
mov esi, eax
cmp esi, ebx
jl 0x27593f3f
cmp byte [ebp + 8], bl
push ebx
je 0x27593e97
mov edx, dword [ebp - 0x10]
push 0x37
push 0x2752cbec
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x27593e70
call fcn.27539290
mov esi, eax
cmp esi, ebx
jl 0x27593f3f
mov eax, dword [edi + 0x24]
mov ecx, dword [eax - 0xc]
cmp ecx, dword [edi + 0x34]
jg 0x27593e85
mov esi, 0x8004131a
jmp 0x27593f3f
mov ecx, dword [edi + 0x34]
mov edi, eax
mov eax, dword [edi - 0xc]
push ebx
sub eax, ecx
lea edx, [edi + ecx]
push eax
push edx
jmp 0x27593e9f
mov edi, dword [edi + 0x2c]
mov eax, dword [edi - 0xc]
push eax
push edi
lea ecx, [ebp - 0x10]
call fcn.2754ec80
mov esi, eax
cmp esi, ebx
jl 0x27593f3f
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x10]
call fcn.2754ece0
mov esi, eax
cmp esi, 0x80090008
jne 0x27593ed0
mov dword [ebp - 0x14], 0x14
jmp 0x27593ed4
cmp esi, ebx
jl 0x27593f3f
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x14]
push eax
push ebx
push ecx
lea ecx, [ebp - 0x28]
call fcn.275489a0
push eax
lea ecx, [ebp - 0x10]
call fcn.2754ed20
mov esi, eax
cmp esi, ebx
jl 0x27593f31
mov edi, dword [ebp - 0x28]
push ebx
push edi
call fcn.27539450
mov ecx, dword [ebp + 0xc]
push ebx
lea edx, [ebp + 8]
push edx
push eax
mov dword [ebp + 8], eax
call fcn.2753d230
push eax
mov eax, dword [ebp - 0x24]
push edi
push eax
call fcn.275394f0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0xc]
mov edi, eax
call fcn.2753a270
cmp edi, ebx
jne 0x27593f31
mov esi, 0x80045c0e
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x27593f3f
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov edi, dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
je 0x27593f52
push eax
call edi
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x27593f63
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x27593f6d
push eax
call edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8