Function at 0x1400056a0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x89320
call fcn.14000da70
sub rsp, rax
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x89360], rbx
mov qword [rsp + 0x89368], rsi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x89310], rax
mov rbx, rdx
mov r13, rcx
mov qword [rsp + 0x70], rcx
xor edi, edi
mov dword [rsp + 0x60], edi
call qword [sym.imp.mfc120u.dll_Ordinal_296]
mov dword [rsp + 0x60], 1
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc120u.dll_Ordinal_486]
nop
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc120u.dll_Ordinal_5578]
mov rcx, rax
movabs rax, 0x3bbb84fa81d61a0d
mul rcx
mov r15, rdx
shr r15, 0x11
imul rax, r15, 0x89251
cmp rax, rcx
je 0x14000574a
inc r15
mov r12, rdi
mov qword [rsp + 0x58], rdi
mov r14d, edi
mov rsi, rdi
nop dword [rax + rax]
cmp rsi, r15
jae 0x140005917
mov r8d, 0x89251
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc120u.dll_Ordinal_11903]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x140005806
mov dword [rsp + 0x20], 8
lea r9d, [rax + 0x18]
xor r8d, r8d
lea rdx, str.Nitro5Container
lea rcx, [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x140005806
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x8009000f
jne 0x140005826
mov dword [rsp + 0x20], edi
mov r9d, 0x18
xor r8d, r8d
lea rdx, str.Nitro5Container
lea rcx, [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x140005826
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800c
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
xor r9d, r9d
mov r8d, 0x89251
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1400058e3
mov dword [rsp + 0x34], edi
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x34]
mov edx, 4
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov ebx, dword [rsp + 0x34]
test eax, eax
mov eax, 0xffffffff
cmove ebx, eax
mov edi, ebx
mov edx, ebx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCR120.dll_realloc]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8, rax
mov edx, 2
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
add ebx, r14d
mov edx, ebx
mov rcx, r12
call qword [sym.imp.MSVCR120.dll_realloc]
mov r12, rax
mov ecx, r14d
add rcx, rax
mov r8d, edi
mov rdx, qword [rsp + 0x58]
call sub.MSVCR120.dll_memcpy
mov r14d, ebx
xor edi, edi
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400058f8
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov qword [rsp + 0x50], rdi
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000590f
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov qword [rsp + 0x48], rdi
inc rsi
jmp 0x140005760
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCR120.dll_free]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1400059a3
mov dword [rsp + 0x20], 8
lea r9d, [rax + 0x18]
xor r8d, r8d
lea rdx, str.Nitro5Container
lea rcx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1400059a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x8009000f
jne 0x1400059c4
mov dword [rsp + 0x20], edi
mov r9d, 0x18
xor r8d, r8d
lea rdx, str.Nitro5Container
lea rcx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1400059c4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800c
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
nop
xor r9d, r9d
mov r8d, r14d
mov rdx, r12
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x140005a46
mov dword [rsp + 0x34], edi
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x34]
mov edx, 4
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov r14d, dword [rsp + 0x34]
test eax, eax
mov eax, 0xffffffff
cmove r14d, eax
mov edx, r14d
mov rcx, r12
call qword [sym.imp.MSVCR120.dll_realloc]
mov r12, rax
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x30]
mov r8, rax
mov edx, 2
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov ebx, edi
cmp ebx, r14d
jae 0x140005a84
mov eax, ebx
movzx r8d, byte [rax + r12]
lea rdx, [0x14001096c]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc120u.dll_Ordinal_4612]
lea rdx, [rsp + 0x68]
mov rcx, r13
call qword [sym.imp.mfc120u.dll_Ordinal_2372]
inc ebx
jmp 0x140005a54
mov rcx, r12
call qword [sym.imp.MSVCR120.dll_free]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140005aaf
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov qword [rsp + 0x40], rdi
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140005ac6
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc120u.dll_Ordinal_1117]
nop
mov rax, r13
jmp 0x140005adf
mov rcx, qword [rsp + 0x89310]
xor rcx, rsp
call fcn.14000cf10
lea r11, [rsp + 0x89320]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret