Function at 0x404790
Capabilities:
Check mutex on windows
Print debug messages

Disassembly:
push ebx
push ebp
push edi
push 0x8007
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x400
xor ebx, ebx
push 0x434a38
push ebx
mov byte [0x434a38], bl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, 0xf003f
mov edi, 0x434a38
mov edx, 0x80000001
call fcn.00404720
mov ecx, 0xf013f
mov edx, 0x80000001
call fcn.00404720
mov ecx, 0xf003f
mov edx, 0x80000002
call fcn.00404720
mov ecx, 0xf013f
mov edx, 0x80000002
call fcn.00404720
push str.GlobalK7TSInstGUIV1
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40482b
push str.K7Installer:_Instance_already_running__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop ebp
mov eax, 0x652
pop ebx
ret 0x10
call fcn.004148a0
test eax, eax
jne 0x404861
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x431dd0], ebx
je 0x404856
push 0x10
push str.K7Installer
push str.Administrator_access_required_to_proceed.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop ebp
mov eax, 0x52f
pop ebx
ret 0x10
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [esp + 0x10]
mov dword [0x438f74], eax
call fcn.004041c0
call fcn.004043e0
test eax, eax
jne 0x4048a9
cmp dword [0x431dd0], ebx
je 0x40489a
push 0x10
push str.K7Installer
push str.K7Installer_is_unable_to_initialize__Err01_._r_nThis_maybe_because_the_file_is_corrupted._r_nDownload_the_latest_setup_from_www.K7Computing.com_website_and_try_again
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [0x431dd4], 0x655
jmp 0x404a6c
mov edi, dword [esp + 0x18]
call fcn.004036a0
test eax, eax
jne 0x4048e0
cmp dword [0x431dd0], ebx
je 0x4048d1
push 0x10
push str.K7Installer
push str.K7Installer_is_unable_to_initialize__Err02_._r_nThis_maybe_because_the_file_is_corrupted._r_nDownload_the_latest_setup_from_www.K7Computing.com_website_and_try_again
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [0x431dd4], 0x654
jmp 0x404a6c
call fcn.00404600
test eax, eax
jne 0x4048ff
cmp dword [0x431dd0], ebx
je 0x40489a
push 0x10
push str.K7Installer
push str.Unable_to_load_required_modules_r_nInstaller_maybe_corrupted._r_nDownload_the_latest_setup_from_www.K7Computing.com_website_and_try_again
jmp 0x404893
push ebx
call fcn.004188cd
add esp, 4
cmp eax, dword [0x438fe8]
jbe 0x40493e
cmp dword [0x431dd0], ebx
je 0x40492f
mov ecx, dword [0x438f88]
mov edx, dword [0x438fec]
push 0x40
push ecx
push edx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [0x431dd4], 0x659
jmp 0x404a6c
cmp byte [0x435a38], bl
je 0x404a1b
cmp byte [0x435238], bl
je 0x404a1b
push esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
lea ebx, [esp + 0x1c]
lea esi, [esp + 0x14]
call fcn.00404040
pop esi
test eax, eax
jne 0x40499f
cmp dword [0x431dd0], eax
je 0x404990
mov eax, dword [0x438f88]
mov ecx, dword [0x435e64]
push 0x40
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [0x431dd4], 0x2c8
jmp 0x404a6c
cmp dword [esp + 0x10], 0
je 0x4049de
cmp dword [0x435e38], 0
je 0x4049de
cmp dword [0x431dd0], 0
je 0x4049cf
mov edx, dword [0x438f88]
mov eax, dword [0x435ea0]
push 0x10
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [0x431dd4], 0xe1
jmp 0x404a6c
cmp dword [esp + 0x18], 0
je 0x404a44
cmp dword [0x435e9c], 0
je 0x404a44
cmp dword [0x431dd0], 0
je 0x404a0f
mov ecx, dword [0x438f88]
mov edx, dword [0x435ea8]
push 0x10
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [0x431dd4], 0x642
jmp 0x404a6c
cmp dword [0x435e9c], ebx
je 0x404a44
cmp dword [0x431dd0], ebx
je 0x404990
mov eax, dword [0x438f88]
mov ecx, dword [0x435e64]
push 0x10
push eax
push ecx
push ebx
jmp 0x40498a
cmp dword [0x438f84], 0
je 0x404a8d
call fcn.00403af0
test eax, eax
je 0x404a6c
cmp dword [0x431dd4], 0x643
jne 0x404a6c
mov dword [0x431dd4], 0
call fcn.004046b0
call dword [sym.imp.ole32.dll_CoUninitialize]
test ebp, ebp
je 0x404a82
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x431dd4]
pop edi
pop ebp
pop ebx
ret 0x10
call fcn.00403a60
test eax, eax
jne 0x404a56
cmp dword [0x431dd0], eax
je 0x40489a
push 0x10
push str.K7Installer
push str.K7Installer_is_unable_to_display_installation_window._r_nThis_maybe_because_the_file_is_corrupted._r_nDownload_the_latest_setup_from_www.K7Computing.com_website_and_try_again
push eax
jmp 0x404894