Function at 0x10126dc9
Capabilities:
Create new key via cryptacquirecontext
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:
mov eax, 0x10185bd1
call fcn.10166ba4
sub esp, 0x70
mov eax, dword [0x101cb280]
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 8]
push edi
mov ecx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x7c], esi
mov dword [esi], 0x1019b978
call fcn.10126d2e
xor edi, edi
push 0x1018dc66
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.100092fe
mov ebx, 0x3e8000
push ebx
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
call fcn.10165744
push ebx
mov dword [esi + 0x24], eax
call fcn.10165744
pop ecx
pop ecx
push 0xf0000000
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
mov dword [esi + 0x28], eax
push edi
lea eax, [esi + 0x2c]
push eax
mov dword [esi + 4], edi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x10126ed7
call ebx
push eax
mov dword [esi + 0x38], eax
lea eax, [ebp - 0x74]
push str.Error___d_:_CryptAcquireContext___failed.
push eax
call fcn.10165eb9
mov eax, 0x80090016
add esp, 0xc
cmp dword [esi + 0x38], eax
jne 0x10126ecd
push eax
lea eax, [ebp - 0x74]
push str.Error___d_:_NTE_BAD_KEYSET_failed.
push eax
call fcn.10165eb9
add esp, 0xc
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push edi
lea eax, [esi + 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x10126ed7
call ebx
push str.Error__0x_x_:_CryptAcquireContext__2_failed.
lea ecx, [esi + 8]
mov dword [esi + 0x38], eax
call fcn.100092fe
push dword [esi + 0x38]
lea eax, [ebp - 0x74]
push str.Error___d_:_CryptAcquireContext__2_failed.
push eax
call fcn.10165eb9
add esp, 0xc
jmp 0x10126f8c
call ebx
mov dword [esi + 0x38], eax
jmp 0x10126f8c
lea eax, [ebp - 0x78]
push eax
push edi
push edi
push 0x8004
push dword [esi + 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x10126ef4
call ebx
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 8]
sub eax, edi
je 0x10126f49
dec eax
je 0x10126f3f
dec eax
je 0x10126f35
dec eax
je 0x10126f2b
dec eax
je 0x10126f21
dec eax
je 0x10126f17
dec eax
jne 0x10126f63
push edi
push 0x40
push 0x101c4580
jmp 0x10126f51
push edi
push 0x40
push 0x101c4540
jmp 0x10126f51
push edi
push 0x40
push 0x101c4500
jmp 0x10126f51
push edi
push 0x40
push 0x101c44c0
jmp 0x10126f51
push edi
push 0x40
push 0x101c4480
jmp 0x10126f51
push edi
push 0x40
push 0x101c4440
jmp 0x10126f51
push edi
push 0x40
push str._AJ.
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x10126f63
call ebx
mov dword [esi + 0x38], eax
lea eax, [esi + 0x34]
push eax
push 1
push dword [ebp - 0x78]
push 0x6801
push dword [esi + 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x10126f83
call ebx
mov dword [esi + 0x38], eax
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.10165cbe
leave
ret 4