Function at 0x4036b0
Capabilities:
Hash data via bcrypt

Disassembly:
sub rsp, 0x128
mov rax, rcx
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x118], rdx
mov qword [rsp + 0x110], 0
mov qword [rsp + 0x108], 0
mov dword [rsp + 0x100], 0
mov dword [rsp + 0xfc], 0
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0xe8], 0
mov byte [rsp + 0xe7], 0
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0xb8], rax
call fcn.004a1c70
lea rdx, str.SHA256
xor r8d, r8d
mov eax, r8d
lea rcx, [rsp + 0x110]
mov dword [rsp + 0xb4], r8d
mov r8, rax
mov r9d, dword [rsp + 0xb4]
call sub.bcrypt.dll_BCryptOpenAlgorithmProvider
mov dword [rsp + 0xb0], eax
jmp 0x403766
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x104], eax
cmp dword [rsp + 0x104], 0
je 0x4037a8
jmp 0x403b01
mov rcx, qword [rsp + 0x110]
mov rax, rsp
lea rdx, [rsp + 0x100]
mov qword [rax + 0x20], rdx
mov dword [rax + 0x28], 0
lea rdx, str.ObjectLength
lea r8, [rsp + 0xfc]
mov r9d, 4
call sub.bcrypt.dll_BCryptGetProperty
mov dword [rsp + 0xac], eax
jmp 0x4037ec
mov eax, dword [rsp + 0xac]
mov dword [rsp + 0x104], eax
cmp dword [rsp + 0x104], 0
je 0x40380d
jmp 0x403b01
mov rax, qword [sym.imp.KERNEL32.dll_GetProcessHeap]
call rax
mov qword [rsp + 0xa0], rax
jmp 0x403823
mov eax, dword [rsp + 0xfc]
mov r8d, eax
mov rcx, qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor edx, edx
mov r9, qword [rsp + 0xa0]
mov qword [rsp + 0x98], rcx
mov rcx, r9
mov r10, qword [rsp + 0x98]
call r10
mov qword [rsp + 0x90], rax
jmp 0x403861
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xf0], rax
cmp qword [rsp + 0xf0], 0
jne 0x403885
jmp 0x403b01
mov rcx, qword [rsp + 0x110]
mov rax, rsp
lea rdx, [rsp + 0x100]
mov qword [rax + 0x20], rdx
mov dword [rax + 0x28], 0
lea rax, str.HashDigestLength
mov r9d, 4
mov qword [rsp + 0x88], rdx
mov rdx, rax
mov r8, qword [rsp + 0x88]
call sub.bcrypt.dll_BCryptGetProperty
mov dword [rsp + 0x84], eax
jmp 0x4038d4
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x104], eax
cmp dword [rsp + 0x104], 0
je 0x4038f5
jmp 0x403b01
mov rax, qword [sym.imp.KERNEL32.dll_GetProcessHeap]
call rax
mov qword [rsp + 0x78], rax
jmp 0x403908
mov eax, dword [rsp + 0x100]
mov r8d, eax
mov rcx, qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor edx, edx
mov r9, qword [rsp + 0x78]
mov qword [rsp + 0x70], rcx
mov rcx, r9
mov r10, qword [rsp + 0x70]
call r10
mov qword [rsp + 0x68], rax
jmp 0x40393a
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xe8], rax
cmp qword [rsp + 0xe8], 0
jne 0x40395b
jmp 0x403b01
mov rcx, qword [rsp + 0x110]
mov r8, qword [rsp + 0xf0]
mov r9d, dword [rsp + 0xfc]
mov rax, rsp
mov dword [rax + 0x30], 0
mov dword [rax + 0x28], 0
mov qword [rax + 0x20], 0
lea rdx, [rsp + 0x108]
call sub.bcrypt.dll_BCryptCreateHash
mov dword [rsp + 0x64], eax
jmp 0x4039a2
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x104], eax
cmp dword [rsp + 0x104], 0
je 0x4039c0
jmp 0x403b01
mov rcx, qword [rsp + 0x108]
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x58], rcx
mov rcx, rax
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.c_str___const
mov rcx, qword [rsp + 0x118]
mov qword [rsp + 0x50], rax
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.size___const
add eax, eax
xor r9d, r9d
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov r8d, eax
call sub.bcrypt.dll_BCryptHashData
mov dword [rsp + 0x4c], eax
jmp 0x403a0f
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x104], eax
cmp dword [rsp + 0x104], 0
je 0x403a2d
jmp 0x403b01
mov rcx, qword [rsp + 0x108]
mov rdx, qword [rsp + 0xe8]
mov r8d, dword [rsp + 0x100]
xor r9d, r9d
call sub.bcrypt.dll_BCryptFinishHash
mov dword [rsp + 0x48], eax
jmp 0x403a56
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x104], eax
cmp dword [rsp + 0x104], 0
je 0x403a74
jmp 0x403b01
mov dword [rsp + 0xd0], 0
mov eax, dword [rsp + 0xd0]
cmp eax, dword [rsp + 0x100]
jae 0x403afc
mov rax, qword [rsp + 0xe8]
mov ecx, dword [rsp + 0xd0]
mov edx, ecx
movzx r9d, byte [rax + rdx]
lea r8, str._02x
lea rcx, [rsp + 0xcd]
mov edx, 3
call sym.snprintf_char__unsigned_long_long__char_const__::_
jmp 0x403ac7
lea rdx, [rsp + 0xcd]
mov rcx, qword [rsp + 0xc0]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.operator_char_const_
jmp 0x403ae1
jmp 0x403ae6
mov eax, dword [rsp + 0xd0]
add eax, 1
mov dword [rsp + 0xd0], eax
jmp 0x403a7f
jmp 0x403b01
cmp qword [rsp + 0x110], 0
je 0x403b29
mov rcx, qword [rsp + 0x110]
xor edx, edx
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
jmp 0x403b24
jmp 0x403b29
cmp qword [rsp + 0x108], 0
je 0x403b4f
mov rcx, qword [rsp + 0x108]
call sub.bcrypt.dll_BCryptDestroyHash
jmp 0x403b4a
jmp 0x403b4f
cmp qword [rsp + 0xf0], 0
je 0x403b93
mov rax, qword [sym.imp.KERNEL32.dll_GetProcessHeap]
call rax
mov qword [rsp + 0x40], rax
jmp 0x403b71
mov r8, qword [rsp + 0xf0]
mov rax, qword [sym.imp.KERNEL32.dll_HeapFree]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call rax
jmp 0x403b8e
jmp 0x403b93
cmp qword [rsp + 0xe8], 0
je 0x403bd7
mov rax, qword [sym.imp.KERNEL32.dll_GetProcessHeap]
call rax
mov qword [rsp + 0x38], rax
jmp 0x403bb5
mov r8, qword [rsp + 0xe8]
mov rax, qword [sym.imp.KERNEL32.dll_HeapFree]
xor edx, edx
mov rcx, qword [rsp + 0x38]
call rax
jmp 0x403bd2
jmp 0x403bd7
mov byte [rsp + 0xe7], 1
test byte [rsp + 0xe7], 1
jne 0x403bfa
mov rcx, qword [rsp + 0xc0]
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov rax, qword [rsp + 0xb8]
add rsp, 0x128
ret