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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
mov dword [rax + 8], ecx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rdi, r9
mov dword [rsp + 0x20], 0xf0000000
mov ebx, ecx
xor esi, esi
xor r8d, r8d
lea rcx, [rbp - 0x18]
xor edx, edx
lea r9d, [rsi + 0x18]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x140004141
mov rcx, qword [rbp - 0x18]
lea rax, [rbp - 0x20]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x140004135
mov rcx, qword [rbp - 0x20]
lea r9, [rbp - 0x30]
and dword [rsp + 0x20], esi
lea edx, [rsi + 2]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x14000412b
mov ebx, dword [rbp + 0x60]
lea r15d, [rsi + 0x40]
mov ecx, r15d
mov qword [rbp - 0x10], rbx
lea rdx, [rbx + 4]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp - 8], rax
mov r12, rax
test rax, rax
je 0x14000412b
mov edx, dword [rbp - 0x30]
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r14, rax
test rax, rax
je 0x140004122
mov edx, dword [rbp - 0x30]
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r15, rax
test rax, rax
je 0x140004119
mov r8d, ebx
mov rdx, rdi
mov rcx, r12
mov esi, 1
call fcn.1400ea880
mov r13d, dword [rbp + 0x78]
mov eax, esi
mov dword [rbp - 0x2c], eax
test r13d, r13d
je 0x140004110
lea edx, [rbx + 4]
mov dword [rbp - 0x28], edx
mov rcx, qword [rbp - 0x10]
mov r9, r12
mov r8d, dword [rbp + 0x50]
bswap eax
mov dword [rcx + r12], eax
mov eax, dword [rbp - 0x30]
mov ecx, dword [rbp + 0x40]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], edx
mov rdx, qword [rbp + 0x48]
call fcn.140003d88
mov r8d, dword [rbp - 0x30]
mov rdx, r15
mov rcx, r14
call fcn.1400ea880
mov eax, dword [rbp + 0x68]
mov edi, dword [rbp - 0x30]
cmp eax, esi
jbe 0x1400040d9
mov r12d, dword [rbp + 0x40]
lea ebx, [rax - 1]
mov r13d, dword [rbp + 0x50]
mov rdx, qword [rbp + 0x48]
mov r9, r15
mov dword [rsp + 0x30], edi
mov r8d, r13d
mov qword [rsp + 0x28], r15
mov ecx, r12d
mov dword [rsp + 0x20], edi
call fcn.140003d88
mov edi, dword [rbp - 0x30]
xor edx, edx
test edi, edi
je 0x1400040b2
mov al, byte [r15 + rdx]
xor byte [r14 + rdx], al
add edx, esi
mov edi, dword [rbp - 0x30]
cmp edx, edi
jb 0x1400040a1
cmp dword [rbp + 0x80], 0
je 0x1400040cc
mov r8d, edi
mov rdx, r14
mov rcx, r15
call fcn.1400ea880
mov edi, dword [rbp - 0x30]
sub rbx, rsi
jne 0x140004079
mov r12, qword [rbp - 8]
mov r13d, dword [rbp + 0x78]
mov rcx, qword [rbp + 0x70]
cmp r13d, edi
mov rdx, r14
cmovb edi, r13d
mov r8d, edi
mov ebx, edi
call fcn.1400ea880
mov eax, dword [rbp - 0x2c]
sub r13d, edi
add qword [rbp + 0x70], rbx
add eax, esi
mov edx, dword [rbp - 0x28]
mov dword [rbp + 0x78], r13d
mov dword [rbp - 0x2c], eax
test r13d, r13d
jne 0x140004028
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rbp - 0x18]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rbx, qword [rsp + 0xc8]
mov eax, esi
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret