Function at 0x43ebcd
Capabilities:
Copy file
Set registry value

Disassembly:
push 0x634
mov eax, 0x490cfd
call fcn.00458f67
mov edi, ecx
lea ecx, [ebp - 0x630]
call fcn.0040d837
mov esi, 0x104
lea eax, [ebp - 0x218]
xor ebx, ebx
push esi
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0045b1d0
push esi
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.0045b1d0
push 0x410
lea eax, [ebp - 0x628]
push ebx
push eax
call fcn.0045b1d0
add esp, 0x24
lea eax, [ebp - 0x630]
mov ecx, edi
push eax
call fcn.0043e6ec
mov esi, dword [ebp - 0x630]
test al, al
jne 0x43ec60
mov ecx, dword [edi + 0x110]
test ecx, ecx
je 0x43f1be
cmp dword [0x4c12e0], ebx
je 0x43f1be
push str.Unable_to_get_current_McInst_file_version___cannot_install_myself
jmp 0x43ede1
push 0x104
lea eax, [ebp - 0x114]
mov ecx, edi
push eax
call fcn.0043e35a
test al, al
jne 0x43ec9b
mov ecx, dword [edi + 0x110]
test ecx, ecx
je 0x43f1be
cmp dword [0x4c12e0], ebx
je 0x43f1be
push str.Unable_to_build_base_path_for_installation_of_McInst
jmp 0x43ede1
push esi
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
test eax, eax
jne 0x43ecd2
mov ecx, dword [edi + 0x110]
test ecx, ecx
je 0x43f1be
cmp dword [0x4c12e0], ebx
je 0x43f1be
push esi
push str.Unable_to_append_version__s_to_installed_McInst_base_path
jmp 0x43ed83
lea eax, [ebp - 0x630]
mov ecx, edi
push eax
call fcn.0043f318
test al, al
je 0x43ed0c
mov ecx, dword [edi + 0x110]
test ecx, ecx
je 0x43ed05
cmp dword [0x4c12e0], ebx
je 0x43ed05
mov eax, dword [ecx]
push esi
push str.McInst_is_already_installed___not_installing_this_version___s_
push ecx
call dword [eax + 0x18]
add esp, 0xc
mov bl, 1
jmp 0x43f1be
lea eax, [ebp - 0x114]
push eax
call fcn.00444edf
pop ecx
mov ecx, dword [edi + 0x110]
test eax, eax
jne 0x43ed91
test ecx, ecx
je 0x43ed4c
cmp dword [0x4c12e0], ebx
je 0x43ed4c
cmp dword [0x4c3630], ebx
je 0x43ed4c
mov eax, dword [ecx]
lea edx, [ebp - 0x114]
push edx
push str.Creating_folder__s_to_install_McInst_to
push ecx
call dword [eax + 0x10]
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
call fcn.004448e3
pop ecx
test eax, eax
jne 0x43edac
mov ecx, dword [edi + 0x110]
test ecx, ecx
je 0x43f1be
cmp dword [0x4c12e0], ebx
je 0x43f1be
lea edx, [ebp - 0x114]
push edx
push str.Unable_to_create_folder__s_to_install_McInst
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
add esp, 0xc
jmp 0x43f1be
test ecx, ecx
je 0x43edac
cmp dword [0x4c12e0], ebx
je 0x43edac
mov eax, dword [ecx]
push esi
push str.Folder_for_McInst_version__s_already_exists
push ecx
call dword [eax + 0x18]
add esp, 0xc
push str.McInst.exe
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
test eax, eax
jne 0x43edee
mov ecx, dword [edi + 0x110]
test ecx, ecx
je 0x43f1be
cmp dword [0x4c12e0], ebx
je 0x43f1be
push str.Unable_to_build_destination_path_to_McInst.exe
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
pop ecx
pop ecx
jmp 0x43f1be
push 0x104
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.0043e689
test al, al
je 0x43f1be
push ebx
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x43ee64
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [edi + 0x110]
test edx, edx
je 0x43f1be
cmp dword [0x4c12e0], ebx
je 0x43f1be
mov ecx, dword [edx]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x218]
push eax
push str.Unable_to_copy__s_to__s._Error:__d
push edx
call dword [ecx + 0x14]
add esp, 0x14
jmp 0x43f1be
lea ecx, [ebp - 0x63c]
call fcn.0040d837
lea eax, [ebp - 0x63c]
mov byte [ebp - 4], 1
push eax
mov ecx, edi
call fcn.0043e3ef
test al, al
je 0x43ee8c
mov ecx, edi
call fcn.00441549
push 0x410
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
mov dword [ebp - 0x62c], eax
test eax, eax
jne 0x43eeeb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [edi + 0x110]
test edx, edx
je 0x43f1b0
cmp dword [0x4c12e0], 0
je 0x43f1b0
mov ecx, dword [edx]
push eax
lea eax, [ebp - 0x114]
push eax
push str.Unable_to_get_long_path_of__s._Error:__d
push edx
call dword [ecx + 0x14]
add esp, 0x10
jmp 0x43f1b0
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
test eax, eax
jne 0x43ef1b
mov ecx, dword [edi + 0x110]
test ecx, ecx
je 0x43ef1b
cmp dword [0x4c12e0], eax
je 0x43ef1b
mov eax, dword [ecx]
push str.Unable_to_remove_filename_from_installed_McInst_path_for_Install_Dir_setting_in_registry
push ecx
call dword [eax + 0x14]
pop ecx
pop ecx
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x634]
push eax
push ebx
push 0x102
push ebx
push ebx
push ebx
push str.SoftwareMcAfeeMcInstInstallSettings
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edx, eax
test edx, edx
je 0x43ef77
mov ecx, dword [edi + 0x110]
test ecx, ecx
je 0x43f1b0
cmp dword [0x4c12e0], 0
je 0x43f1b0
push edx
push str.RegCreateKeyEx___failed._Error:__d._McInst_install_dir_not_set_in_native_registry
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
add esp, 0xc
jmp 0x43f1b0
mov eax, dword [ebp - 0x62c]
inc eax
push eax
mov dword [ebp - 0x638], eax
lea eax, [ebp - 0x628]
push eax
push 1
push ebx
push 0x4a38dc
push dword [ebp - 0x634]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, eax
test edx, edx
je 0x43efd3
mov ecx, dword [edi + 0x110]
test ecx, ecx
je 0x43efc8
cmp dword [0x4c12e0], 0
je 0x43efc8
push edx
push str.RegSetValue___failed._Error:__d._McInst_install_dir_not_set_in_native_registry
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
add esp, 0xc
push dword [ebp - 0x634]
jmp 0x43f14a
cmp dword [esi - 4], 1
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x62c], eax
jle 0x43effa
push eax
lea ecx, [ebp - 0x630]
call fcn.0040c3f4
mov esi, dword [ebp - 0x630]
mov eax, dword [ebp - 0x62c]
push eax
push esi
push 1
push ebx
push 0x4a4030
push dword [ebp - 0x634]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, eax
test edx, edx
je 0x43f031
mov ecx, dword [edi + 0x110]
test ecx, ecx
je 0x43efc8
cmp dword [0x4c12e0], 0
je 0x43efc8
push edx
push str.RegSetValue___failed._Error:__d._McInst_version_not_set_in_native_registry
jmp 0x43efbf
push dword [ebp - 0x634]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.004433d2
test eax, eax
je 0x43f152
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x62c]
push eax
push ebx
push 0x202
push ebx
push ebx
push ebx
push str.SoftwareMcAfeeMcInstInstallSettings
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edx, eax
test edx, edx
je 0x43f09d
mov ecx, dword [edi + 0x110]
test ecx, ecx
je 0x43f1b0
cmp dword [0x4c12e0], 0
je 0x43f1b0
push edx
push str.RegCreateKeyEx___failed._Error:__d._McInst_install_dir_not_set_in_32_bit_registry_view
jmp 0x43ef69
push dword [ebp - 0x638]
lea eax, [ebp - 0x628]
push eax
push 1
push ebx
push 0x4a38dc
push dword [ebp - 0x62c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, eax
test edx, edx
je 0x43f0df
mov ecx, dword [edi + 0x110]
test ecx, ecx
je 0x43f144
cmp dword [0x4c12e0], 0
je 0x43f144
push edx
push str.RegSetValue___failed._Error:__d._McInst_install_dir_not_set_in_32_bit_registry_view
jmp 0x43f13b
cmp dword [esi - 4], 1
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x638], eax
jle 0x43f106
push eax
lea ecx, [ebp - 0x630]
call fcn.0040c3f4
mov esi, dword [ebp - 0x630]
mov eax, dword [ebp - 0x638]
push eax
push esi
push 1
push ebx
push 0x4a4030
push dword [ebp - 0x62c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, eax
test edx, edx
je 0x43f152
mov ecx, dword [edi + 0x110]
test ecx, ecx
je 0x43f144
cmp dword [0x4c12e0], 0
je 0x43f144
push edx
push str.RegSetValue___failed._Error:__d._McInst_version_not_set_in_32_bit_registry_view
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
add esp, 0xc
push dword [ebp - 0x62c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43f1b0
mov ecx, dword [edi + 0x110]
test ecx, ecx
je 0x43f183
cmp dword [0x4c12e0], 0
je 0x43f183
cmp dword [0x4c3630], 0
je 0x43f183
mov eax, dword [ecx]
lea edx, [ebp - 0x628]
push edx
push str.McInst_installed_to__s_with_Install_Dir_set_in_registry
push ecx
call dword [eax + 0x10]
add esp, 0xc
mov ecx, edi
call fcn.0043f67b
test al, al
jne 0x43f1ae
mov ecx, dword [edi + 0x110]
test ecx, ecx
je 0x43f1ae
cmp dword [0x4c12e0], 0
je 0x43f1ae
mov eax, dword [ecx]
push str.Unable_to_remove_previous_versions_of_McInst.exe_from_client_machine.
push ecx
call dword [eax + 0x14]
pop ecx
pop ecx
mov bl, 1
mov ecx, dword [ebp - 0x63c]
add ecx, 0xfffffff0
call fcn.0040c5fb
lea ecx, [esi - 0x10]
call fcn.0040c5fb
mov al, bl
call fcn.00458f11
ret