Function at 0x477b60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2776
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x527064]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.McDefaultProdReg.cpp
push str.CMcDefaultProductRegistration::ProductSynch
push 0x2be
push 3
lea ecx, [ebp - 0xcc]
call fcn.00431610
mov dword [ebp - 4], 0
mov edx, str.Enter_Product_Synch
mov ecx, dword [eax]
call fcn.00433720
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0xcc]
call fcn.004327d0
mov eax, dword [ebp - 0xcc]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add eax, 0x14
push eax
call edi
mov dword [ebp - 4], 0xffffffff
mov esi, dword [esi + 4]
test esi, esi
jne 0x477c51
push str.McDefaultProdReg.cpp
push str.CMcDefaultProductRegistration::ProductSynch
push 0x2c2
push 4
lea ecx, [ebp - 0xcc]
call fcn.00431610
mov dword [ebp - 4], 2
mov edx, str.CMcDefaultProductRegistration::ProductSynch
mov ecx, dword [eax]
call fcn.00433720
mov edx, str.Unable_to_proceed_as_m_pMcRegistryOps_is_NULL
mov ecx, eax
call fcn.004333c0
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0xcc]
call fcn.004327d0
mov eax, dword [ebp - 0xcc]
add eax, 0x14
push eax
call edi
xor eax, eax
jmp 0x4781a9
xor eax, eax
mov dword [ebp - 0x84], 7
mov dword [ebp - 0x88], 0
mov word [ebp - 0x98], ax
push 0x20019
lea eax, [ebp - 0x98]
mov dword [ebp - 4], 4
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xd0], esp
push str.Affid
call fcn.00408dd0
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
push str.SOFTWAREMcAfeeSiteAdvisor
call fcn.00408dd0
mov eax, dword [esi]
mov ecx, esi
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 4], 4
call dword [eax + 0x18]
test eax, eax
je 0x477d0b
push str.McDefaultProdReg.cpp
push str.CMcDefaultProductRegistration::ProductSynch
push 0x2c9
push 4
lea ecx, [ebp - 0xcc]
call fcn.00431610
mov byte [ebp - 4], 6
mov edx, str.Error_not_able_to_get_site_advisor_Affid
mov ecx, dword [eax]
call fcn.00433720
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xcc]
call fcn.004327d0
mov eax, dword [ebp - 0xcc]
add eax, 0x14
push eax
call edi
xor ebx, ebx
jmp 0x47818a
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xf0], vtable.CMcSingletonSharedPtr_class_CMcJsonUtils_.0
call fcn.0043a9a0
push str.AFFID
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 8
call fcn.00432050
push str.PACKAGE
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 9
call fcn.00432050
lea edx, [ebp - 0xd4]
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xec]
push edx
lea edx, [ebp - 0x80]
push edx
mov eax, dword [ecx]
lea edx, [ebp - 0x50]
push edx
lea edx, [ebp - 0xe0]
push edx
call dword [eax + 0x14]
mov bl, byte [eax]
mov eax, dword [ebp - 0x3c]
cmp eax, 8
jb 0x477d8a
inc eax
push 2
push eax
push dword [ebp - 0x50]
call fcn.00402ff0
add esp, 0xc
xor eax, eax
mov byte [ebp - 4], 8
mov word [ebp - 0x50], ax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], 0
cmp eax, 8
jb 0x477db9
inc eax
push 2
push eax
push dword [ebp - 0x80]
call fcn.00402ff0
add esp, 0xc
test bl, bl
jne 0x477e09
push str.McDefaultProdReg.cpp
push str.CMcDefaultProductRegistration::ProductSynch
push 0x2d1
push 4
lea ecx, [ebp - 0xcc]
call fcn.00431610
mov byte [ebp - 4], 0xb
mov edx, str.Failed_to_retrieve_Affid
mov ecx, dword [eax]
call fcn.00433720
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xcc]
call fcn.004327d0
mov eax, dword [ebp - 0xcc]
add eax, 0x14
push eax
call edi
jmp 0x478159
push 0xa
push 0x14
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0xd4]
call fcn.004a2e0a
add esp, 0x10
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x98]
push eax
call fcn.0043a260
lea ecx, [ebp - 0xcc]
push str.McDefaultProdReg.cpp
push str.CMcDefaultProductRegistration::ProductSynch
test eax, eax
jne 0x477e82
push 0x2dc
push 3
call fcn.00431610
mov byte [ebp - 4], 0xd
mov edx, str.Dynamic_Affid_registered_successfully_no_need_of_synch
mov ecx, dword [eax]
call fcn.00433720
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0xcc]
call fcn.004327d0
mov eax, dword [ebp - 0xcc]
add eax, 0x14
push eax
call edi
mov byte [ebp - 4], 8
jmp 0x4782dd
push 0x2e0
push 3
call fcn.00431610
mov byte [ebp - 4], 0xf
mov edx, str.Dynamic_Affid_need_synch
mov ecx, dword [eax]
call fcn.00433720
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0xcc]
call fcn.004327d0
mov eax, dword [ebp - 0xcc]
add eax, 0x14
push eax
call edi
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 8
call fcn.00434330
xor eax, eax
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x124]
call fcn.00438190
test eax, eax
je 0x478146
push 0x4fc7dc
lea ecx, [ebp - 0x68]
call fcn.00408dd0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x68]
call fcn.004094b0
push str.McAfeeMSCmcsync.exe_
lea ecx, [ebp - 0x68]
call fcn.00408d10
push str.__ui
lea ecx, [ebp - 0x68]
call fcn.00408d10
push str.McDefaultProdReg.cpp
push str.CMcDefaultProductRegistration::ProductSynch
push 0x2ec
push 3
lea ecx, [ebp - 0xcc]
call fcn.00431610
mov byte [ebp - 4], 0x14
mov edx, str.Final_command_is_:
mov ecx, dword [eax]
call fcn.004333c0
lea edx, [ebp - 0x68]
mov ecx, eax
call fcn.00433d20
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0xcc]
call fcn.004327d0
mov eax, dword [ebp - 0xcc]
add eax, 0x14
push eax
call edi
push 0x40
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 0x13
push 0
push eax
call fcn.00496490
xor eax, eax
mov dword [ebp - 0x168], 0x44
add esp, 0xc
mov word [ebp - 0x138], ax
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
xorps xmm0, xmm0
mov dword [ebp - 0x13c], 1
cmovae eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x50]
push eax
movups xmmword [ebp - 0xe4], xmm0
call fcn.00408dd0
push 4
push 0xffffffffffffffff
push str..exe
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x16
call fcn.0043b3c0
cmp eax, 0xffffffff
je 0x478022
push eax
push 0
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x50]
call fcn.0043a2e0
push eax
lea ecx, [ebp - 0x50]
call fcn.0043a3c0
lea ecx, [ebp - 0xb0]
call fcn.00408d60
push str..exe_
lea ecx, [ebp - 0x50]
call fcn.00408d10
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0xd0]
cmovae eax, dword [ebp - 0x50]
push eax
call fcn.0045f7d0
mov esi, eax
test esi, esi
je 0x4781c5
push str.ErrorMsg
lea ecx, [ebp - 0xc8]
call fcn.00432050
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0x17
push eax
lea ecx, [ebp - 0xc8]
call fcn.0043a180
push str.EVENT_DI2_MCAFEE_CERTIFICATE_INVALID
lea ecx, [ebp - 0xb0]
call fcn.00408dd0
sub esp, 0x18
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0xc8]
mov dword [ebp - 0xd0], esp
mov ecx, esp
push eax
call fcn.00408e30
sub esp, 0x18
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x50]
mov ecx, esp
push eax
call fcn.00408e30
mov edx, esi
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xb0]
call fcn.00454040
add esp, 0x30
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0xb0]
call fcn.00408d60
push str.McDefaultProdReg.cpp
push str.CMcDefaultProductRegistration::ProductSynch
push 0x307
push 4
lea ecx, [ebp - 0xcc]
call fcn.00431610
mov byte [ebp - 4], 0x1a
mov edx, str.Invalid_Digital_Signature_Found_for_McSynch_application_:
mov ecx, dword [eax]
call fcn.00433720
push esi
lea edx, [ebp - 0x68]
mov ecx, eax
call fcn.00433d20
mov edx, str._Error_:
mov ecx, eax
call fcn.004333c0
mov ecx, eax
call fcn.0043a770
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0xcc]
call fcn.004327d0
mov eax, dword [ebp - 0xcc]
add eax, 0x14
push eax
call edi
lea ecx, [ebp - 0xc8]
call fcn.00408d60
lea ecx, [ebp - 0x50]
call fcn.00408d60
lea ecx, [ebp - 0x68]
call fcn.00408d60
lea ecx, [ebp - 0x80]
call fcn.00408d60
lea ecx, [ebp - 0x124]
call fcn.00434490
xor ebx, ebx
mov byte [ebp - 4], 0x22
mov esi, dword [ebp - 0xe8]
test esi, esi
je 0x47818a
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x47818a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x47818a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x84]
cmp ecx, 8
jb 0x4781a7
push 2
inc ecx
push ecx
push dword [ebp - 0x98]
call fcn.00402ff0
add esp, 0xc
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004908ad
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x54], 8
lea ecx, [ebp - 0xe4]
push ecx
lea ecx, [ebp - 0x168]
push ecx
push 0
push 0
push 0x20
push 0
push 0
lea eax, [ebp - 0x68]
cmovae eax, dword [ebp - 0x68]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x478239
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.McDefaultProdReg.cpp
push str.CMcDefaultProductRegistration::ProductSynch
push 0x310
push 4
lea ecx, [ebp - 0xcc]
mov esi, eax
call fcn.00431610
mov byte [ebp - 4], 0x1c
mov edx, 0x508f58
mov ecx, dword [eax]
push esi
call fcn.00433720
mov ecx, eax
call fcn.0043a770
mov byte [ebp - 4], 0x1d
jmp 0x47827f
push str.McDefaultProdReg.cpp
push str.CMcDefaultProductRegistration::ProductSynch
push 0x314
push 3
lea ecx, [ebp - 0xcc]
call fcn.00431610
mov byte [ebp - 4], 0x1e
mov edx, 0x508f90
mov ecx, dword [eax]
call fcn.00433720
push dword [ebp - 0xe4]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
mov ecx, esi
call fcn.0043a5d0
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0xcc]
call fcn.004327d0
mov eax, dword [ebp - 0xcc]
add eax, 0x14
push eax
call edi
mov eax, dword [ebp - 0xe4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4782a9
push eax
call esi
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x4782b6
push eax
call esi
lea ecx, [ebp - 0x50]
call fcn.00408d60
lea ecx, [ebp - 0x68]
call fcn.00408d60
lea ecx, [ebp - 0x80]
call fcn.00408d60
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 8
call fcn.00434490
push str.McDefaultProdReg.cpp
push str.CMcDefaultProductRegistration::ProductSynch
push 0x322
push 3
lea ecx, [ebp - 0xd0]
call fcn.00431610
mov byte [ebp - 4], 0x20
mov edx, str.Exit_Product_Synch
mov ecx, dword [eax]
call fcn.00433720
mov byte [ebp - 4], 0x21
mov ecx, dword [ebp - 0xd0]
call fcn.004327d0
mov eax, dword [ebp - 0xd0]
add eax, 0x14
push eax
call edi
mov ebx, 1
jmp 0x47815b