Function at 0x10126dea
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, 0x10178d51
call fcn.10159f04
sub esp, 0x70
mov eax, dword [0x101b7f10]
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], 0x1018e838
call fcn.10126d4f
xor edi, edi
push 0x10180c16
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.10009255
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.10158aa3
push ebx
mov dword [esi + 0x24], eax
call fcn.10158aa3
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 0x10126ef8
call ebx
push eax
mov dword [esi + 0x38], eax
lea eax, [ebp - 0x74]
push str.Error___d_:_CryptAcquireContext___failed.
push eax
call fcn.10159219
mov eax, 0x80090016
add esp, 0xc
cmp dword [esi + 0x38], eax
jne 0x10126eee
push eax
lea eax, [ebp - 0x74]
push str.Error___d_:_NTE_BAD_KEYSET_failed.
push eax
call fcn.10159219
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 0x10126ef8
call ebx
push str.Error__0x_x_:_CryptAcquireContext__2_failed.
lea ecx, [esi + 8]
mov dword [esi + 0x38], eax
call fcn.10009255
push dword [esi + 0x38]
lea eax, [ebp - 0x74]
push str.Error___d_:_CryptAcquireContext__2_failed.
push eax
call fcn.10159219
add esp, 0xc
jmp 0x10126fad
call ebx
mov dword [esi + 0x38], eax
jmp 0x10126fad
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 0x10126f15
call ebx
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 8]
sub eax, edi
je 0x10126f6a
dec eax
je 0x10126f60
dec eax
je 0x10126f56
dec eax
je 0x10126f4c
dec eax
je 0x10126f42
dec eax
je 0x10126f38
dec eax
jne 0x10126f84
push edi
push 0x40
push 0x101b6580
jmp 0x10126f72
push edi
push 0x40
push 0x101b6540
jmp 0x10126f72
push edi
push 0x40
push 0x101b6500
jmp 0x10126f72
push edi
push 0x40
push 0x101b64c0
jmp 0x10126f72
push edi
push 0x40
push 0x101b6480
jmp 0x10126f72
push edi
push 0x40
push 0x101b6440
jmp 0x10126f72
push edi
push 0x40
push str._AJ.
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x10126f84
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 0x10126fa4
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.1015901e
leave
ret 4