Function at 0x140011b95
Capabilities:
Create new key via cryptacquirecontext
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
jmp 0x14001c730
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x428
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x9e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x448]
mov rax, qword [0x140038040]
xor rax, rbp
mov qword [rbp + 0x3e8], rax
mov dword [rbp + 0x3c4], 0
lea rcx, [0x1400400fb]
call fcn.140011bb8
nop
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov edx, 0x20
lea rcx, [rbp + 0x68]
call fcn.1400110b4
lea rcx, [rbp + 0x68]
call fcn.14001182f
nop
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x14001c807
lea rdx, str.CryptAcquireContext_failed
lea rcx, [rbp + 0x2a8]
call fcn.140011a19
nop
lea rdx, [0x140037058]
lea rcx, [rbp + 0x2a8]
call fcn.140011ca8
nop
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800c
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x14001c85e
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
lea rdx, str.CryptCreateHash_failed
lea rcx, [rbp + 0x2d8]
call fcn.140011a19
nop
lea rdx, [0x140037058]
lea rcx, [rbp + 0x2d8]
call fcn.140011ca8
nop
mov rcx, qword [rbp + 0x420]
call fcn.140011a05
mov qword [rbp + 0x3d8], rax
mov rcx, qword [rbp + 0x420]
call fcn.140011140
xor r9d, r9d
mov rcx, qword [rbp + 0x3d8]
mov r8d, ecx
mov rdx, rax
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x14001c8db
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
lea rdx, str.CryptHashData_failed
lea rcx, [rbp + 0x308]
call fcn.140011a19
nop
lea rdx, [0x140037058]
lea rcx, [rbp + 0x308]
call fcn.140011ca8
nop
mov dword [rbp + 0xe4], 0x20
mov dword [rsp + 0x20], 0
lea r9, [rbp + 0xe4]
lea r8, [rbp + 0xa8]
mov edx, 2
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x14001c94e
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
lea rdx, str.CryptGetHashParam_failed
lea rcx, [rbp + 0x338]
call fcn.140011a19
nop
lea rdx, [0x140037058]
lea rcx, [rbp + 0x338]
call fcn.140011ca8
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
lea rax, [rbp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rbp + 0xe4]
lea rdx, [rbp + 0xa8]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x14001c9be
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
lea rdx, str.CryptImportKey_failed
lea rcx, [rbp + 0x368]
call fcn.140011a19
nop
lea rdx, [0x140037058]
lea rcx, [rbp + 0x368]
call fcn.140011ca8
nop
mov rcx, qword [rbp + 0x418]
call fcn.1400114f1
mov rdx, rax
lea rcx, [rbp + 0x68]
call fcn.140011618
nop
mov rcx, qword [rbp + 0x418]
call fcn.1400114f1
mov dword [rbp + 0x104], eax
mov rcx, qword [rbp + 0x418]
call fcn.1400114f1
mov qword [rbp + 0x3d8], rax
mov rcx, qword [rbp + 0x418]
call fcn.14001101e
mov qword [rbp + 0x3e0], rax
lea rcx, [rbp + 0x68]
call fcn.140011c9e
mov rcx, qword [rbp + 0x3d8]
mov r8, rcx
mov rcx, qword [rbp + 0x3e0]
mov rdx, rcx
mov rcx, rax
call fcn.1400115b9
nop
lea rcx, [rbp + 0x68]
call fcn.140011c9e
lea rcx, [rbp + 0x104]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 1
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x14001caa8
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
nop
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
lea rdx, str.CryptDecrypt_failed
lea rcx, [rbp + 0x398]
call fcn.140011a19
nop
lea rdx, [0x140037058]
lea rcx, [rbp + 0x398]
call fcn.140011ca8
nop
mov eax, dword [rbp + 0x104]
mov edx, eax
lea rcx, [rbp + 0x68]
call fcn.140011618
nop
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
nop
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
jmp 0x14001cae7
lea rdx, [rbp + 0x68]
mov rcx, qword [rbp + 0x410]
call fcn.140011a5a
mov eax, dword [rbp + 0x3c4]
or eax, 1
mov dword [rbp + 0x3c4], eax
lea rcx, [rbp + 0x68]
call fcn.1400113b1
nop
mov rax, qword [rbp + 0x410]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14002f450]
call fcn.1400119ba
mov rax, rdi
mov rcx, qword [rbp + 0x3e8]
xor rcx, rbp
call fcn.1400115b4
lea rsp, [rbp + 0x3f8]
pop rdi
pop rbp
ret