Function at 0x1125950
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 0x1147020
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x115f604]
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 0x1125a2f
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 0x11259da
call fcn.01071a70
mov esi, eax
cmp esi, ebx
jl 0x1125b8f
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 0x1125a00
call fcn.01071a70
mov esi, eax
cmp esi, ebx
jl 0x1125b8f
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 0x1125a2f
call fcn.01071a70
mov esi, eax
cmp esi, ebx
jl 0x1125b8f
mov eax, dword [edi + 0x40]
cmp eax, ebx
jne 0x1125a4a
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 0x1125a59
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 0x1125a72
call fcn.01071a70
mov esi, eax
cmp esi, ebx
jl 0x1125b8f
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 0x1125a96
call fcn.01071a70
mov esi, eax
cmp esi, ebx
jl 0x1125b8f
cmp byte [ebp + 8], bl
push ebx
je 0x1125ae7
mov edx, dword [ebp - 0x10]
push 0x37
push 0x10697ac
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x1125ac0
call fcn.01071a70
mov esi, eax
cmp esi, ebx
jl 0x1125b8f
mov eax, dword [edi + 0x24]
mov ecx, dword [eax - 0xc]
cmp ecx, dword [edi + 0x34]
jg 0x1125ad5
mov esi, 0x8004131a
jmp 0x1125b8f
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 0x1125aef
mov edi, dword [edi + 0x2c]
mov eax, dword [edi - 0xc]
push eax
push edi
lea ecx, [ebp - 0x10]
call fcn.010d3d60
mov esi, eax
cmp esi, ebx
jl 0x1125b8f
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x10]
call fcn.010d3dc0
mov esi, eax
cmp esi, 0x80090008
jne 0x1125b20
mov dword [ebp - 0x14], 0x14
jmp 0x1125b24
cmp esi, ebx
jl 0x1125b8f
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x14]
push eax
push ebx
push ecx
lea ecx, [ebp - 0x28]
call fcn.010d42a0
push eax
lea ecx, [ebp - 0x10]
call fcn.010d3e00
mov esi, eax
cmp esi, ebx
jl 0x1125b81
mov edi, dword [ebp - 0x28]
push ebx
push edi
call fcn.0109ff70
mov ecx, dword [ebp + 0xc]
push ebx
lea edx, [ebp + 8]
push edx
push eax
mov dword [ebp + 8], eax
call fcn.010a0610
push eax
mov eax, dword [ebp - 0x24]
push edi
push eax
call fcn.010a0010
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0xc]
mov edi, eax
call fcn.010976b0
cmp edi, ebx
jne 0x1125b81
mov esi, 0x80045c0e
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x1125b8f
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 0x1125ba2
push eax
call edi
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x1125bb3
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x1125bbd
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