Function at 0x1000e130
Capabilities:
Encode data using xor
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1006f068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, ecx
mov ebx, edx
mov dword [ebp - 0x34], eax
push esi
push edi
test eax, eax
je 0x1000e22e
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call edi
mov esi, eax
add esi, esi
lea ecx, [esi + 2]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push esi
push dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
push eax
call fcn.10023640
mov esi, dword [ebp - 0x24]
add esp, 0xc
push esi
call edi
push 0xf0000000
push 1
push 0
mov edi, eax
lea eax, [ebp - 0x2c]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1000e221
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0x8004
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1000e221
push 0
lea eax, [edi + edi]
push eax
push esi
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1000e221
mov edi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
lea eax, [ebp - 0x28]
push 0
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push 4
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 4
call edi
test eax, eax
je 0x1000e221
cmp dword [ebp - 0x30], 0x14
je 0x1000e201
xor eax, eax
jmp 0x1000e221
push 0x16
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 0
mov esi, eax
lea eax, [ebp - 0x30]
push eax
push esi
push 2
push dword [ebp - 0x24]
call edi
neg eax
sbb eax, eax
and eax, esi
movups xmm0, xmmword [eax]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x10], eax
movups xmmword [ebp - 0x20], xmm0
mov eax, ebx
mov byte [ebp - 9], bl
sar eax, 0x18
mov byte [ebp - 0xc], al
mov eax, ebx
sar eax, 0x10
mov byte [ebp - 0xb], al
mov eax, ebx
sar eax, 8
cmp dword [ebp - 0x34], 0
mov byte [ebp - 0xa], al
jne 0x1000e266
test ebx, ebx
jne 0x1000e266
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100212e2
mov esp, ebp
pop ebp
ret
xor al, al
mov byte [ebp - 8], 0
xor edx, edx
nop
movzx ecx, byte [ebp + edx - 0x20]
movzx eax, al
xor ecx, eax
movzx eax, byte [ebp + edx - 0x1f]
movzx ecx, byte [ecx + 0x1005e6f0]
xor ecx, eax
movzx eax, byte [ebp + edx - 0x1e]
movzx ecx, byte [ecx + 0x1005e6f0]
xor ecx, eax
movzx eax, byte [ebp + edx - 0x1d]
movzx ecx, byte [ecx + 0x1005e6f0]
xor ecx, eax
movzx eax, byte [ebp + edx - 0x1c]
movzx ecx, byte [ecx + 0x1005e6f0]
xor ecx, eax
movzx eax, byte [ebp + edx - 0x1b]
add edx, 6
movzx ecx, byte [ecx + 0x1005e6f0]
xor ecx, eax
mov al, byte [ecx + 0x1005e6f0]
cmp edx, 0x18
jl 0x1000e270
push 0x34
xor al, 0x55
push 0x40
mov byte [ebp - 8], al
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
xor esi, esi
mov dword [ebp - 0x28], eax
mov edi, eax
nop word [eax + eax]
movzx ecx, byte [ebp + esi - 0x20]
push ecx
push str._.2X
push edi
call ebx
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0x19
jl 0x1000e2f0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x28]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100212e2
mov esp, ebp
pop ebp
ret