Function at 0x140007578
Capabilities:
Create new key via cryptacquirecontext
Encode data using xor
Initialize hashing via wincrypt

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rdi, r9
mov ebx, r8d
mov r15, rdx
mov r13d, ecx
mov dword [rsp + 0x20], 0xf0000000
xor ebp, ebp
lea rcx, [rsp + 0x70]
xor edx, edx
xor r8d, r8d
mov r9d, Ordinal_26
call qword [sym.imp.advapi32.dll_CryptAcquireContextW]
test eax, eax
je 0x1400077eb
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor ebp, ebp
mov edx, r13d
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.advapi32.dll_CryptCreateHash]
test eax, eax
je 0x1400077de
mov rcx, qword [rsp + 0x68]
mov dword [rsp + 0x20], 0
xor ebp, ebp
lea r9, [rsp + 0x44]
mov edx, 2
xor r8d, r8d
call qword [sym.imp.advapi32.dll_CryptGetHashParam]
test eax, eax
je 0x1400077d3
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x48], eax
mov ecx, eax
mov qword [rsp + 0x60], rcx
lea rdx, [rcx + 4]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400077d3
mov edx, dword [rsp + 0x44]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
test rax, rax
je 0x1400077b9
mov rsi, rax
mov edx, dword [rsp + 0x44]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
test rax, rax
je 0x1400077bd
mov rbp, rax
mov dword [rsp + 0x58], ebx
mov r14d, dword [rsp + 0xf8]
mov rcx, qword [rsp + 0x50]
mov rdx, rdi
mov r8, qword [rsp + 0x60]
call fcn.1400eeb30
mov dword [rsp + 0x4c], r14d
test r14d, r14d
je 0x1400077a9
mov ebx, dword [rsp + 0x100]
mov r12, qword [rsp + 0xf0]
add dword [rsp + 0x48], 4
mov ecx, 1
mov dword [rsp + 0x5c], ecx
call fcn.140102420
mov r9, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
mov dword [r9 + rcx], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rbp
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
mov ecx, r13d
mov rdx, r15
mov r14d, dword [rsp + 0x58]
mov r8d, r14d
call fcn.1400073ab
mov r8d, dword [rsp + 0x44]
mov rcx, rsi
mov rdx, rbp
call fcn.1400eeb30
cmp dword [rsp + 0xe8], 2
jb 0x140007775
mov edi, 1
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], eax
mov ecx, r13d
mov rdx, r15
mov r8d, r14d
mov r9, rbp
call fcn.1400073ab
cmp dword [rsp + 0x44], 0
je 0x140007756
xor ecx, ecx
mov al, byte [rbp + rcx]
xor byte [rsi + rcx], al
inc rcx
mov eax, dword [rsp + 0x44]
cmp rcx, rax
jb 0x140007741
jmp 0x140007758
xor eax, eax
test ebx, ebx
je 0x14000776a
mov r8d, eax
mov rcx, rbp
mov rdx, rsi
call fcn.1400eeb30
inc edi
cmp edi, dword [rsp + 0xe8]
jne 0x140007716
mov r14d, dword [rsp + 0x44]
mov edi, dword [rsp + 0x4c]
cmp edi, r14d
cmovb r14d, edi
mov rcx, r12
mov rdx, rsi
mov r8, r14
call fcn.1400eeb30
add r12, r14
mov ecx, dword [rsp + 0x5c]
inc ecx
sub edi, r14d
mov dword [rsp + 0x4c], edi
jne 0x1400076b8
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ebp, 1
jmp 0x1400077bf
xor ebp, ebp
jmp 0x1400077c8
xor ebp, ebp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.advapi32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x70]
xor edx, edx
call qword [sym.imp.advapi32.dll_CryptReleaseContext]
mov eax, ebp
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret