Function at 0x5ecab0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6550f1
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x6d3438]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
lea esi, [edi + 8]
push 0xf0000000
push 1
push 0
push 0
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x170], eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x5ecb60
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x5ecb2d
push 0xf0000008
push 1
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x5ecb60
call fcn.004ca6f0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_acquire_crypt_context._Error__u
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0xda
jmp 0x5ecbaa
lea eax, [edi + 0xc]
push eax
push 0
push 0
push 0x8003
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x5ecbc5
call fcn.004ca6f0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_create_crypto_hash_for_SHA1._Error__u
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0xd5
push str.E:BTd43d8306_eb5d_4cf4_b392_556e569c404aMCSP_DBSplit_2_6McCSPService_srcMcHardwareId.cpp
push str.McAfee::MCSP::CMcHardwareId::InitCrypto
push 4
push 0
push 1
push esi
call fcn.004cac10
add esp, 0x38
jmp 0x5ecbca
cmp eax, 1
je 0x5ecc12
call fcn.004ca6f0
push str.crypto_initilization_failed
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0x17f
push str.E:BTd43d8306_eb5d_4cf4_b392_556e569c404aMCSP_DBSplit_2_6McCSPService_srcMcHardwareId.cpp
push str.McAfee::MCSP::CMcHardwareId::GetMachineId
push 4
push 0
push 1
push eax
call fcn.004cac10
add esp, 0x34
xor al, al
jmp 0x5ed24b
xor eax, eax
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0x155], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
mov dword [ebp - 4], eax
mov ecx, edi
lea eax, [ebp - 0xa8]
push eax
call fcn.005ebf10
test al, al
jne 0x5ecd49
call fcn.004ca6f0
push str.GetHardwareIdFromWMI_failed.so_generate_it_from_machine_name.
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0x187
push str.E:BTd43d8306_eb5d_4cf4_b392_556e569c404aMCSP_DBSplit_2_6McCSPService_srcMcHardwareId.cpp
push str.McAfee::MCSP::CMcHardwareId::GetMachineId
push 4
push 0
push 1
push eax
call fcn.004cac10
lea eax, [ebp - 0xc0]
push eax
call fcn.004e9290
mov esi, eax
add esp, 0x38
lea eax, [ebp - 0xa8]
cmp eax, esi
je 0x5ecd37
mov edx, dword [ebp - 0x94]
cmp edx, 8
jb 0x5eccf6
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5eccec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5ed268
push edx
push ecx
call fcn.00608415
add esp, 8
mov dword [ebp - 0x98], 0
xor eax, eax
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0xa8], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x98], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0xc0]
call fcn.0042f960
mov byte [ebp - 0x155], 1
cmp dword [ebp - 0x94], 8
lea eax, [ebp - 0xa8]
lea ecx, [ebp - 0x150]
cmovae eax, dword [ebp - 0xa8]
push 3
mov dword [ebp - 0x154], ecx
lea ecx, [ebp - 0x154]
push eax
call fcn.005ed420
mov edx, dword [ebp - 0x154]
mov ecx, edx
mov byte [ebp - 4], 1
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5ecd86
push 0
sub ecx, esi
lea esi, [edi + 0xc]
push ecx
push edx
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x5ecdb8
call fcn.004ca6f0
mov edi, 0x190
mov dword [ebp - 0x15c], str.Failed_to_hash_plain_text_machineid_Error__u
jmp 0x5ecdef
push 0
lea eax, [ebp - 0x160]
mov dword [ebp - 0x160], 0
push eax
push 0
push 2
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x5ece3d
call fcn.004ca6f0
mov edi, 0x197
mov dword [ebp - 0x15c], str.Failed_in_getting_hash_param_length_Error__u
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x15c]
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0x68d90c
push edi
push str.E:BTd43d8306_eb5d_4cf4_b392_556e569c404aMCSP_DBSplit_2_6McCSPService_srcMcHardwareId.cpp
push str.McAfee::MCSP::CMcHardwareId::GetMachineId
push 4
push 0
push 1
push esi
call fcn.004cac10
add esp, 0x38
mov byte [ebp - 0x155], 0
jmp 0x5ed1f0
mov eax, dword [ebp - 0x160]
inc eax
push eax
call fcn.00608193
mov edi, eax
add esp, 4
mov dword [ebp - 0x180], edi
push 0
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 2
push eax
push edi
push 2
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x5ecec7
call fcn.004ca6f0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_in_getting_has_param_with_buffer_Error__u
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0x19e
push str.E:BTd43d8306_eb5d_4cf4_b392_556e569c404aMCSP_DBSplit_2_6McCSPService_srcMcHardwareId.cpp
push str.McAfee::MCSP::CMcHardwareId::GetMachineId
push 4
push 0
push 1
push esi
call fcn.004cac10
add esp, 0x38
mov byte [ebp - 0x155], 0
jmp 0x5ed1e7
lea ecx, [ebp - 0x168]
call fcn.00429fa0
xor eax, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0x160], eax
jbe 0x5ecf47
nop word [eax + eax]
movzx eax, byte [eax + edi]
push eax
lea eax, [ebp - 0x168]
push str._02x
push eax
call fcn.0042bdd0
mov esi, dword [ebp - 0x168]
add esp, 0xc
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5ecf14
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x15c]
push esi
call fcn.0042a330
mov eax, dword [ebp - 0x164]
inc eax
mov dword [ebp - 0x164], eax
cmp eax, dword [ebp - 0x160]
jb 0x5ecef0
jmp 0x5ecf4d
mov esi, dword [ebp - 0x168]
cmp byte [ebp - 0x155], 0
je 0x5ed09d
mov ecx, dword [ebp - 0x15c]
mov eax, accept
mov edx, dword [ecx + 0x10]
sub eax, edx
mov dword [ebp - 0x16c], edx
cmp eax, 3
jb 0x5ed26d
cmp dword [ecx + 0x14], 8
mov dword [ebp - 0x174], ecx
jb 0x5ecf8d
mov eax, dword [ecx]
mov dword [ebp - 0x174], eax
lea ecx, [edx + 3]
mov dword [ebp - 0xc0], 0
mov eax, 7
mov dword [ebp - 0x17c], ecx
lea edx, [ebp - 0xc0]
mov dword [ebp - 0x178], edx
cmp ecx, eax
jbe 0x5ecfff
mov eax, ecx
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x5ecfc8
mov eax, accept
jmp 0x5ecfd2
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x164], eax
lea ecx, [ebp - 0xc0]
inc eax
push eax
call fcn.0042ea70
mov ecx, dword [ebp - 0x17c]
mov edx, eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x178], edx
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x16c]
add eax, eax
mov dword [ebp - 0xb0], ecx
mov ecx, dword [0x67f70c]
push eax
push dword [ebp - 0x174]
mov dword [edx], ecx
lea eax, [edx + 6]
mov cx, word [0x67f710]
push eax
mov word [edx + 4], cx
call fcn.0060a360
mov eax, dword [ebp - 0x178]
add esp, 0xc
mov ecx, dword [ebp - 0x17c]
xor edx, edx
mov word [eax + ecx*2], dx
lea eax, [ebp - 0xc0]
mov ecx, dword [ebp - 0x15c]
push eax
call fcn.0042a510
mov edx, dword [ebp - 0xac]
cmp edx, 8
jb 0x5ed09d
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5ed093
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5ed272
push edx
push ecx
call fcn.00608415
add esp, 8
lea eax, [ebp - 0xd0]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov dword [ebp - 0x16c], eax
test eax, eax
jns 0x5ed107
call fcn.004ca6f0
push dword [ebp - 0x16c]
push str.Failed_to_CoCreateGuid:_HRESULT__x
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0x1b2
push str.E:BTd43d8306_eb5d_4cf4_b392_556e569c404aMCSP_DBSplit_2_6McCSPService_srcMcHardwareId.cpp
push str.McAfee::MCSP::CMcHardwareId::GetMachineId
push 4
push 0
push 1
push eax
call fcn.004cac10
add esp, 0x38
mov byte [ebp - 0x155], 0
jmp 0x5ed1b9
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.0060a8e0
add esp, 0xc
lea eax, [ebp - 0x90]
push 0x40
push eax
lea eax, [ebp - 0xd0]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x5ed181
call fcn.004ca6f0
push str.Failed_to_Convert_GUID_to_string
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0x1b8
push str.E:BTd43d8306_eb5d_4cf4_b392_556e569c404aMCSP_DBSplit_2_6McCSPService_srcMcHardwareId.cpp
push str.McAfee::MCSP::CMcHardwareId::GetMachineId
push 4
push 0
push 1
push eax
call fcn.004cac10
add esp, 0x34
mov byte [ebp - 0x155], 0
jmp 0x5ed1b9
lea edx, [ebp - 0x90]
lea ecx, [edx + 2]
nop word [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x5ed190
sub edx, ecx
lea eax, [ebp - 0x90]
mov ecx, dword [ebp - 0x170]
sar edx, 1
push edx
push eax
call fcn.0042e850
mov byte [ebp - 0x155], 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x5ed1e7
mov eax, dword [esi]
mov dword [ebp - 0x170], eax
push esi
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x659730]
mov ecx, dword [ebp - 0x170]
call esi
push edi
call fcn.0060819c
add esp, 4
mov eax, dword [ebp - 0x154]
lea ecx, [ebp - 0x150]
cmp eax, ecx
je 0x5ed209
push eax
call fcn.0060dd99
add esp, 4
mov edx, dword [ebp - 0x94]
cmp edx, 8
jb 0x5ed245
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5ed23b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5ed272
push edx
push ecx
call fcn.00608415
add esp, 8
mov al, byte [ebp - 0x155]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00608185
mov esp, ebp
pop ebp
ret 8
call fcn.0060e0d0
call fcn.0042f3b0
call fcn.0060e0d0
int3