Function at 0x18008c3d0
Capabilities:
Hash data via bcrypt

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc08]
sub rsp, 0xd08
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov rax, qword [0x1801aed20]
xor rax, rsp
mov qword [rbp + 0xbf0], rax
mov r12, r9
mov r15, r8
mov dword [rbp - 0x58], edx
mov r13, rcx
mov rsi, qword [rbp + 0xc70]
xor r14b, r14b
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x30], eax
mov dword [rbp - 0x18], eax
mov edi, eax
mov ebx, eax
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x10]
call fcn.1800cf2b0
test rsi, rsi
je 0x18008c45d
or rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp byte [rsi + rdi], bl
jne 0x18008c450
mov ebx, 8
mov r9d, ebx
xor r8d, r8d
lea rdx, str.SHA256
lea rcx, [rbp - 0x20]
call sub.bcrypt.dll_BCryptOpenAlgorithmProvider
mov ebx, eax
test eax, eax
jns 0x18008c57f
lea rdx, [rbp - 0x10]
mov ecx, eax
call fcn.18008cb80
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, str.Failed_to_open_algorithm_handle__0x_x______s_
mov edx, 0x7ff
lea rcx, [rbp + 0x3f0]
call fcn.18000e038
call fcn.18003e228
xor edi, edi
cmp dword [rax + 0x20], 3
jl 0x18008cb2c
lea rax, [rsp + 0x68]
mov qword [rbp - 0x58], rax
lea rax, [rbp - 0x78]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], rdi
mov word [rsp + 0x68], di
lea r8d, [rdi + 0x23]
lea rdx, str.GridCloudLicensingCryptoWindows.cpp
lea rcx, [rsp + 0x68]
call fcn.18001eca0
nop
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], rdi
mov word [rbp - 0x78], di
lea r8d, [rdi + 0xb]
lea rdx, str.computeHash
lea rcx, [rbp - 0x78]
call fcn.18001eca0
nop
lea rax, [rsp + 0x40]
mov qword [rbp - 0x40], rax
lea rax, [rbp + 0x3f0]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x50], rax
lea rax, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____2048____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x60], rax
call fcn.18003e228
mov rcx, rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x57
lea r9, [rbp - 0x78]
lea r8, [rsp + 0x58]
lea edx, [rdi + 3]
call fcn.180019ae4
jmp 0x18008cb2c
mov dword [rsp + 0x28], 0
lea rax, [rbp - 0x18]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rbp - 0x30]
lea rdx, str.HashDigestLength
mov rcx, qword [rbp - 0x20]
call sub.bcrypt.dll_BCryptGetProperty
mov ebx, eax
test eax, eax
jns 0x18008c6b8
lea rdx, [rbp - 0x10]
mov ecx, eax
call fcn.18008cb80
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, str.Failed_to_get_the_size_of_object__0x_x______s_
mov edx, 0x7ff
lea rcx, [rbp + 0x3f0]
call fcn.18000e038
call fcn.18003e228
xor edi, edi
cmp dword [rax + 0x20], 3
jl 0x18008cb2c
lea rax, [rbp - 0x78]
mov qword [rbp - 0x50], rax
lea rax, [rsp + 0x68]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], rdi
mov word [rbp - 0x78], di
lea r8d, [rdi + 0x23]
lea rdx, str.GridCloudLicensingCryptoWindows.cpp
lea rcx, [rbp - 0x78]
call fcn.18001eca0
nop
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], rdi
mov word [rsp + 0x68], di
lea r8d, [rdi + 0xb]
lea rdx, str.computeHash
lea rcx, [rsp + 0x68]
call fcn.18001eca0
nop
lea rax, [rsp + 0x40]
mov qword [rbp - 0x40], rax
lea rax, [rbp + 0x3f0]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x60], rax
lea rax, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____2048____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
call fcn.18003e228
mov rcx, rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x60
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x48]
mov edx, 3
call fcn.180019ae4
jmp 0x18008cb2c
mov ebx, dword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8d, ebx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x18008c7b4
lea r8, str.Failed_to_allocate_memory
mov edx, 0x7ff
lea rcx, [rbp + 0x3f0]
call fcn.18000e038
call fcn.18003e228
xor edi, edi
cmp dword [rax + 0x20], 3
jl 0x18008cb2c
lea rax, [rbp - 0x78]
mov qword [rbp - 0x50], rax
lea rax, [rsp + 0x68]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], rdi
mov word [rbp - 0x78], di
lea r8d, [rbx + 0x23]
lea rdx, str.GridCloudLicensingCryptoWindows.cpp
lea rcx, [rbp - 0x78]
call fcn.18001eca0
nop
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], rdi
mov word [rsp + 0x68], di
lea r8d, [rbx + 0xb]
lea rdx, str.computeHash
lea rcx, [rsp + 0x68]
call fcn.18001eca0
nop
lea rax, [rsp + 0x40]
mov qword [rbp - 0x40], rax
lea rax, [rbp + 0x3f0]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x60], rax
lea rax, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____2048____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
call fcn.18003e228
mov rcx, rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], WSAGetLastError
jmp 0x18008c69f
xor eax, eax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x28]
mov rcx, qword [rbp - 0x20]
call sub.bcrypt.dll_BCryptCreateHash
mov edi, eax
test eax, eax
jns 0x18008c8e4
lea rdx, [rbp - 0x10]
mov ecx, eax
call fcn.18008cb80
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, str.Failed_to_create_hash_object__0x_x______s_
mov edx, 0x7ff
lea rcx, [rbp + 0x3f0]
call fcn.18000e038
call fcn.18003e228
xor edi, edi
cmp dword [rax + 0x20], 3
jl 0x18008cb18
lea rax, [rbp - 0x78]
mov qword [rbp - 0x50], rax
lea rax, [rsp + 0x68]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], rdi
mov word [rbp - 0x78], di
lea r8d, [rdi + 0x23]
lea rdx, str.GridCloudLicensingCryptoWindows.cpp
lea rcx, [rbp - 0x78]
call fcn.18001eca0
nop
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], rdi
mov word [rsp + 0x68], di
lea r8d, [rdi + 0xb]
lea rdx, str.computeHash
lea rcx, [rsp + 0x68]
call fcn.18001eca0
nop
lea rax, [rsp + 0x40]
mov qword [rbp - 0x40], rax
lea rax, [rbp + 0x3f0]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x60], rax
lea rax, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____2048____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
call fcn.18003e228
mov rcx, rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], WSAStartup
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x48]
mov edx, 3
call fcn.180019ae4
jmp 0x18008cb18
xor r9d, r9d
mov r8d, dword [rbp - 0x58]
mov rdx, r13
mov rcx, qword [rbp - 0x28]
call sub.bcrypt.dll_BCryptHashData
mov edi, eax
test eax, eax
jns 0x18008c9f1
lea rdx, [rbp - 0x10]
mov ecx, eax
call fcn.18008cb80
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, str.Failed_to_perform_hash_on_data_buffer__0x_x______s_
mov edx, 0x7ff
lea rcx, [rbp + 0x3f0]
call fcn.18000e038
call fcn.18003e228
xor edi, edi
cmp dword [rax + 0x20], 3
jl 0x18008cb18
lea rax, [rbp - 0x78]
mov qword [rbp - 0x50], rax
lea rax, [rsp + 0x68]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], rdi
mov word [rbp - 0x78], di
lea r8d, [rdi + 0x23]
lea rdx, str.GridCloudLicensingCryptoWindows.cpp
lea rcx, [rbp - 0x78]
call fcn.18001eca0
nop
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], rdi
mov word [rsp + 0x68], di
lea r8d, [rdi + 0xb]
lea rdx, str.computeHash
lea rcx, [rsp + 0x68]
call fcn.18001eca0
nop
lea rax, [rsp + 0x40]
mov qword [rbp - 0x40], rax
lea rax, [rbp + 0x3f0]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x60], rax
lea rax, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____2048____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
call fcn.18003e228
mov rcx, rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x7a
jmp 0x18008c8cb
xor r9d, r9d
mov r8d, dword [rbp - 0x30]
mov rdx, rbx
mov rcx, qword [rbp - 0x28]
call sub.bcrypt.dll_BCryptFinishHash
mov edi, eax
test eax, eax
jns 0x18008cafe
lea rdx, [rbp - 0x10]
mov ecx, eax
call fcn.18008cb80
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, str.Failed_to_generate_final_hash_on_the_data_buffer__0x_x______s_
mov edx, 0x7ff
lea rcx, [rbp + 0x3f0]
call fcn.18000e038
call fcn.18003e228
xor edi, edi
cmp dword [rax + 0x20], 3
jl 0x18008cb18
lea rax, [rbp - 0x78]
mov qword [rbp - 0x50], rax
lea rax, [rsp + 0x68]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], rdi
mov word [rbp - 0x78], di
lea r8d, [rdi + 0x23]
lea rdx, str.GridCloudLicensingCryptoWindows.cpp
lea rcx, [rbp - 0x78]
call fcn.18001eca0
nop
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], rdi
mov word [rsp + 0x68], di
lea r8d, [rdi + 0xb]
lea rdx, str.computeHash
lea rcx, [rsp + 0x68]
call fcn.18001eca0
nop
lea rax, [rsp + 0x40]
mov qword [rbp - 0x40], rax
lea rax, [rbp + 0x3f0]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x60], rax
lea rax, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____2048____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
call fcn.18003e228
mov rcx, rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x83
jmp 0x18008c8cb
mov eax, dword [rbp - 0x30]
mov dword [r12], eax
mov r8d, eax
mov rdx, rbx
mov rcx, r15
call fcn.1800ceb80
mov r14b, 1
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x18008cb3e
call sub.bcrypt.dll_BCryptDestroyHash
mov qword [rbp - 0x28], rdi
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x18008cb4e
xor edx, edx
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
movzx eax, r14b
mov rcx, qword [rbp + 0xbf0]
xor rcx, rsp
call fcn.1800a6240
add rsp, 0xd08
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret