Function at 0x14026bc00
Capabilities:
Hash data via wincrypt

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x288], rbx
mov rax, qword [0x1403ddfb8]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov qword [rbp - 0x78], r8
mov r13, rdx
mov rbx, rcx
call fcn.14026c3f0
test al, al
jne 0x14026bcbc
call fcn.140130750
mov rcx, rax
lea rax, str.crypto_initilization_failed
mov qword [rsp + 0x60], rax
lea r14, [0x140328340]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], 0x17f
lea rax, str.....McCSPService_srcMcHardwareId.cpp
mov qword [rsp + 0x28], rax
lea rax, str.McAfee::MCSP::CMcHardwareId::GetMachineId
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea edx, [r9 - 3]
call fcn.140130940
xor al, al
jmp 0x14026c1d7
mov byte [rsp + 0x70], 0
mov qword [rbp - 0x50], 7
xor esi, esi
mov qword [rbp - 0x58], rsi
mov word [rbp - 0x68], si
lea rdx, [rbp - 0x68]
mov rcx, rbx
call fcn.14026b4f0
lea r14, [0x140328340]
lea r15, str.....McCSPService_srcMcHardwareId.cpp
lea rdi, str.McAfee::MCSP::CMcHardwareId::GetMachineId
test al, al
jne 0x14026bdbc
call fcn.140130750
mov rcx, rax
lea rax, str.GetHardwareIdFromWMI_failed.so_generate_it_from_machine_name.
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], 0x187
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rdi
lea r9d, [rsi + 4]
xor r8d, r8d
lea edx, [rsi + 1]
call fcn.140130940
lea rcx, [rbp - 0x38]
call fcn.140139620
mov rdi, rax
lea rax, [rbp - 0x68]
cmp rax, rdi
je 0x14026bd96
mov r8, qword [rbp - 0x50]
cmp r8, 8
jb 0x14026bd79
inc r8
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x68]
call fcn.14002e610
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], rsi
mov word [rbp - 0x68], si
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.14002df10
nop
mov r8, qword [rbp - 0x20]
cmp r8, 8
jb 0x14026bdb0
inc r8
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x38]
call fcn.14002e610
mov byte [rsp + 0x70], 1
lea rdi, str.McAfee::MCSP::CMcHardwareId::GetMachineId
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rdx, qword [rbp - 0x68]
lea rax, [rbp + 0x18]
mov qword [rbp + 0x10], rax
mov r8d, 3
lea rcx, [rbp + 0x10]
call fcn.140106c5c
nop
mov rdx, qword [rbp + 0x10]
or r12, 0xffffffffffffffff
mov r8, r12
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14026bdf0
xor r9d, r9d
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x14026be4e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.140130750
mov rcx, rax
mov dword [rsp + 0x68], ebx
lea rax, str.Failed_to_hash_plain_text_machineid_Error__u
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], 0x190
jmp 0x14026beb1
mov dword [rsp + 0x74], esi
mov dword [rsp + 0x20], esi
lea r9, [rsp + 0x74]
xor r8d, r8d
lea edx, [r8 + 2]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x14026bed5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.140130750
mov rcx, rax
mov dword [rsp + 0x68], ebx
lea rax, str.Failed_in_getting_hash_param_length_Error__u
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], 0x197
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rdi
mov r9d, 4
xor r8d, r8d
lea edx, [r9 - 3]
call fcn.140130940
xor sil, sil
jmp 0x14026c1a6
mov ecx, dword [rsp + 0x74]
inc ecx
call fcn.14026ded8
mov rdi, rax
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x20], esi
lea r9, [rsp + 0x74]
mov r8, rax
mov edx, 2
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x14026bf72
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.140130750
mov rcx, rax
mov dword [rsp + 0x68], ebx
lea rax, str.Failed_in_getting_has_param_with_buffer_Error__u
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], 0x19e
mov qword [rsp + 0x28], r15
lea rax, str.McAfee::MCSP::CMcHardwareId::GetMachineId
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea edx, [r9 - 3]
call fcn.140130940
xor sil, sil
jmp 0x14026c19d
call fcn.1400284f0
mov rcx, rax
test rax, rax
jne 0x14026bf8a
mov ecx, 0x80004005
call fcn.140028e20
int3
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x78], rbx
mov r15d, esi
cmp dword [rsp + 0x74], esi
jbe 0x14026c000
nop dword [rax]
nop word [rax + rax]
mov eax, r15d
movzx r8d, byte [rax + rdi]
lea rdx, str._02x
lea rcx, [rsp + 0x78]
call fcn.140028af0
mov rbx, qword [rsp + 0x78]
cmp word [rbx], 0
jne 0x14026bfd9
mov r8, rsi
jmp 0x14026bfeb
mov r8, r12
nop dword [rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x14026bfe0
mov rdx, rbx
mov rcx, r13
call fcn.140032770
inc r15d
cmp r15d, dword [rsp + 0x74]
jb 0x14026bfb0
cmp byte [rsp + 0x70], 0
je 0x14026c03f
mov r8, r13
lea rdx, [0x140319238]
lea rcx, [rbp - 0x18]
call fcn.140044a90
mov rdx, rax
mov rcx, r13
call fcn.140050350
mov r8, qword [rbp]
cmp r8, 8
jb 0x14026c03f
inc r8
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x18]
call fcn.14002e610
lea rcx, [rbp - 0x48]
call qword [sym.imp.ole32.dll_CoCreateGuid]
mov edi, eax
test eax, eax
jns 0x14026c0b7
call fcn.140130750
mov rcx, rax
mov dword [rsp + 0x68], edi
lea rax, str.Failed_to_CoCreateGuid:_HRESULT__x
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], 0x1b2
lea rax, str.....McCSPService_srcMcHardwareId.cpp
mov qword [rsp + 0x28], rax
lea rax, str.McAfee::MCSP::CMcHardwareId::GetMachineId
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea edx, [r9 - 3]
call fcn.140130940
jmp 0x14026c145
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp + 0xa0]
call fcn.14028e7e0
mov r8d, 0x40
lea rdx, [rbp + 0xa0]
lea rcx, [rbp - 0x48]
call qword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x14026c14a
call fcn.140130750
mov rcx, rax
lea rax, str.Failed_to_Convert_GUID_to_string
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], 0x1b8
lea rax, str.....McCSPService_srcMcHardwareId.cpp
mov qword [rsp + 0x28], rax
lea rax, str.McAfee::MCSP::CMcHardwareId::GetMachineId
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea edx, [r9 - 3]
call fcn.140130940
xor sil, sil
jmp 0x14026c180
cmp word [rbp + 0xa0], 0
je 0x14026c16a
lea rax, [rbp + 0xa0]
mov rsi, r12
nop
inc rsi
cmp word [rax + rsi*2], 0
jne 0x14026c160
mov r8, rsi
lea rdx, [rbp + 0xa0]
mov rcx, qword [rbp - 0x78]
call fcn.14002c3d0
mov sil, 1
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r12d
sub r12d, 1
jg 0x14026c199
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rbp - 0x80]
mov rcx, rdi
call fcn.14026e340
nop
lea rax, [rbp + 0x18]
mov rcx, qword [rbp + 0x10]
cmp rcx, rax
je 0x14026c1b9
call fcn.140290594
nop
mov r8, qword [rbp - 0x50]
cmp r8, 8
jb 0x14026c1d3
inc r8
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x68]
call fcn.14002e610
movzx eax, sil
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.14026d870
mov rbx, qword [rsp + 0x288]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret