Function at 0x1400b07c0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x10], edx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27c0]
mov eax, 0x28c0
call fcn.1400caa90
sub rsp, rax
mov rbx, r8
mov r14, rcx
mov r8d, 0x800
lea rcx, [rbp - 0x40]
xor edx, edx
movzx r15d, r9b
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x7c0]
mov r8d, 0x800
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0xfc0]
mov r8d, 0x800
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x17c0]
mov r8d, 0x800
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x1fc0]
mov r8d, 0x800
call sub.VCRUNTIME140.dll_memset
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetElement
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
lea rcx, [rsp + 0x70]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1400b0f71
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x8004
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1400b0f71
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetElement
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
lea rcx, [rsp + 0x40]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1400b0f71
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x8004
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1400b0f71
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetElement
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
lea rcx, [rbp - 0x80]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1400b0f71
mov rcx, qword [rbp - 0x80]
lea rax, [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x8004
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1400b0f71
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetElement
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
lea rcx, [rbp - 0x78]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1400b0f71
mov rcx, qword [rbp - 0x78]
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x8004
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1400b0f71
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetElement
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
lea rcx, [rbp - 0x70]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1400b0f71
mov rcx, qword [rbp - 0x70]
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x8004
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1400b0f71
xor r12d, r12d
test rbx, rbx
je 0x1400b0ac2
cmp qword [rbx], r12
je 0x1400b0ac2
mov edx, r12d
lea r10, [0x140100940]
mov r8d, r12d
lea r11, [0x140000000]
mov rax, rbx
cmp rbx, r10
jne 0x1400b0a17
lea ecx, [rdx + rdx*4]
lea rax, [r11 + 0xeeb70]
lea rax, [rax + rcx*2]
jmp 0x1400b0a1a
mov rax, qword [rax]
movzx eax, word [rax]
lea r9, [r8 + r8]
mov word [rbp + r9 - 0x40], ax
jne 0x1400b0a39
lea ecx, [rdx + rdx*4]
lea rax, [r11 + 0xeecc0]
lea rax, [rax + rcx*2]
jmp 0x1400b0a3d
mov rax, qword [rbx + r8*8]
movzx eax, word [rax]
mov word [rbp + r9 + 0x7c0], ax
jne 0x1400b0a5b
lea ecx, [rdx + rdx*4]
lea rax, [r11 + 0xeee10]
lea rax, [rax + rcx*2]
jmp 0x1400b0a5f
mov rax, qword [rbx + r8*8]
movzx eax, word [rax]
mov word [rbp + r9 + 0xfc0], ax
jne 0x1400b0a7d
lea ecx, [rdx + rdx*4]
lea rax, [r11 + 0xeef60]
lea rax, [rax + rcx*2]
jmp 0x1400b0a81
mov rax, qword [rbx + r8*8]
movzx eax, word [rax]
mov word [rbp + r9 + 0x17c0], ax
jne 0x1400b0a9f
lea ecx, [rdx + rdx*4]
lea rax, [r11 + 0xef0b0]
lea rax, [rax + rcx*2]
jmp 0x1400b0aa3
mov rax, qword [rbx + r8*8]
movzx eax, word [rax]
inc edx
mov word [rbp + r9 + 0x1fc0], ax
mov r8d, edx
cmp qword [rbx + rdx*8], r12
lea rax, [rbx + rdx*8]
jne 0x1400b0a02
mov rbx, 0xffffffffffffffff
lea rcx, [rbp + 0xfc0]
mov rax, rbx
cmp word [rcx + rax*2 + 2], r12w
lea rax, [rax + 1]
jne 0x1400b0ad3
mov rcx, qword [rsp + 0x48]
lea r8d, [rax + rax]
xor r9d, r9d
lea rdx, [rbp + 0xfc0]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1400b0bdd
lea rcx, [rbp - 0x40]
mov rax, rbx
nop word [rax + rax]
cmp word [rcx + rax*2 + 2], r12w
lea rax, [rax + 1]
jne 0x1400b0b10
mov rcx, qword [rsp + 0x58]
lea r8d, [rax + rax]
xor r9d, r9d
lea rdx, [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1400b0bdd
lea rcx, [rbp + 0x1fc0]
mov rax, rbx
cmp word [rcx + rax*2 + 2], r12w
lea rax, [rax + 1]
jne 0x1400b0b44
mov rcx, qword [rsp + 0x68]
lea r8d, [rax + rax]
xor r9d, r9d
lea rdx, [rbp + 0x1fc0]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1400b0bdd
lea rcx, [rbp + 0x17c0]
mov rax, rbx
nop word [rax + rax]
cmp word [rcx + rax*2 + 2], r12w
lea rax, [rax + 1]
jne 0x1400b0b80
mov rcx, qword [rsp + 0x60]
lea r8d, [rax + rax]
xor r9d, r9d
lea rdx, [rbp + 0x17c0]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1400b0bdd
lea rax, [rbp + 0x7c0]
cmp word [rax + rbx*2 + 2], r12w
lea rbx, [rbx + 1]
jne 0x1400b0bb0
mov rcx, qword [rsp + 0x50]
lea r8d, [rbx + rbx]
xor r9d, r9d
lea rdx, [rbp + 0x7c0]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1400b0f71
mov ecx, SafeArrayAllocDescriptor
lea rax, [rbp - 0x40]
mov edx, ecx
nop dword [rax + rax]
mov qword [rax], r12
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
lea rax, [rax + 0x40]
mov qword [rax - 0x28], r12
mov qword [rax - 0x20], r12
mov qword [rax - 0x18], r12
mov qword [rax - 0x10], r12
mov qword [rax - 8], r12
sub rdx, 1
jne 0x1400b0bf0
lea rax, [rbp + 0x7c0]
mov rdx, rcx
nop dword [rax]
nop word [rax + rax]
mov qword [rax], r12
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
lea rax, [rax + 0x40]
mov qword [rax - 0x28], r12
mov qword [rax - 0x20], r12
mov qword [rax - 0x18], r12
mov qword [rax - 0x10], r12
mov qword [rax - 8], r12
sub rdx, 1
jne 0x1400b0c30
lea rax, [rbp + 0xfc0]
mov rdx, rcx
nop dword [rax]
nop word [rax + rax]
mov qword [rax], r12
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
lea rax, [rax + 0x40]
mov qword [rax - 0x28], r12
mov qword [rax - 0x20], r12
mov qword [rax - 0x18], r12
mov qword [rax - 0x10], r12
mov qword [rax - 8], r12
sub rdx, 1
jne 0x1400b0c70
lea rax, [rbp + 0x17c0]
mov rdx, rcx
nop dword [rax]
nop word [rax + rax]
mov qword [rax], r12
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
lea rax, [rax + 0x40]
mov qword [rax - 0x28], r12
mov qword [rax - 0x20], r12
mov qword [rax - 0x18], r12
mov qword [rax - 0x10], r12
mov qword [rax - 8], r12
sub rdx, 1
jne 0x1400b0cb0
lea rax, [rbp + 0x1fc0]
mov qword [rax], r12
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
lea rax, [rax + 0x40]
mov qword [rax - 0x28], r12
mov qword [rax - 0x20], r12
mov qword [rax - 0x18], r12
mov qword [rax - 0x10], r12
mov qword [rax - 8], r12
sub rcx, 1
jne 0x1400b0ce0
mov ebx, dword [rbp + 0x2810]
mov edi, 0x660e
cmp ebx, 0x80
jne 0x1400b0d20
mov edx, edi
jmp 0x1400b0d32
cmp ebx, 0xc0
mov edx, r12d
setne dl
add edx, 0x660f
mov r8, qword [rsp + 0x48]
lea rax, [rbp - 0x60]
mov rcx, qword [rbp - 0x80]
mov esi, ebx
shl esi, 0x10
mov r9d, esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x1400b0d65
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
je 0x1400b0dbb
cmp ebx, 0x80
jne 0x1400b0d71
mov edx, edi
jmp 0x1400b0d83
cmp ebx, 0xc0
mov edx, r12d
setne dl
add edx, 0x660f
mov r8, qword [rsp + 0x50]
lea rax, [rsp + 0x78]
mov rcx, qword [rsp + 0x40]
mov r9d, esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x1400b0f71
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
je 0x1400b0f71
cmp ebx, 0x80
jne 0x1400b0dc7
mov edx, edi
jmp 0x1400b0dd9
cmp ebx, 0xc0
mov edx, r12d
setne dl
add edx, 0x660f
mov r8, qword [rsp + 0x58]
lea rax, [rbp - 0x68]
mov rcx, qword [rsp + 0x70]
mov r9d, esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x1400b0e0c
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
je 0x1400b0ef8
cmp ebx, 0x80
jne 0x1400b0e18
mov edx, edi
jmp 0x1400b0e2a
cmp ebx, 0xc0
mov edx, r12d
setne dl
add edx, 0x660f
mov r8, qword [rsp + 0x60]
lea rax, [rbp - 0x58]
mov rcx, qword [rbp - 0x78]
mov r9d, esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x1400b0e5c
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
je 0x1400b0ef8
cmp ebx, 0x80
je 0x1400b0e77
cmp ebx, 0xc0
mov edi, r12d
setne dil
add edi, 0x660f
mov r8, qword [rsp + 0x68]
lea rax, [rbp - 0x50]
mov rcx, qword [rsp + 0x40]
mov r9d, esi
mov edx, edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x1400b0ea8
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
je 0x1400b0ef8
mov rcx, qword [rsp + 0x78]
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 1]
test r15b, r15b
je 0x1400b0ee1
mov eax, dword [rbp + 0x27f8]
add eax, 0x10
mov dword [rsp + 0x30], eax
lea rax, [rbp + 0x27f8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
call qword [0x1401027d0]
jmp 0x1400b0ef8
lea rax, [rbp + 0x27f8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
call qword [0x1401027c8]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rsp + 0x70]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rbp - 0x70]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rbp - 0x80]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rbp - 0x78]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rsp + 0x40]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [rbp + 0x27f8]
jmp 0x1400b0f73
xor eax, eax
lea r11, [rsp + 0x28c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret