Function at 0x401370
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x449f6e
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4630d0]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x4630d0]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor esi, esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call fcn.0040ed60
push 0x7c
mov dword [esp + 0x94], esi
call fcn.00428aa5
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, esi
mov byte [esp + 0x90], 1
je 0x4013f3
push eax
call fcn.00402210
mov ebx, eax
mov dword [esp + 0x18], ebx
jmp 0x4013f9
mov dword [esp + 0x18], esi
mov ebx, esi
cmp ebx, esi
mov byte [esp + 0x90], 0
jne 0x401423
push str.Couldnt_create_main_application_object
push 3
call fcn.0040ebf0
push str.Couldnt_create_main_application_object._n
call fcn.00431702
add esp, 0xc
jmp 0x40198d
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
cmp eax, esi
je 0x40145b
push str.Main_CCInstallerApp_setup_failure
push 2
call fcn.0040ebf0
push str.Main_CCInstallerApp_setup_failure._n
call fcn.00431702
add esp, 0xc
push str.Press_any_key_to_continue._n
call fcn.00431702
add esp, 4
jmp 0x40198d
push str.Command_line_params:
lea ecx, [esp + 0x44]
call fcn.004010e0
lea ecx, [ebp + 8]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, eax
mov byte [esp + 0x98], 2
call fcn.00401270
lea esi, [eax + 4]
mov byte [esp + 0x90], 3
mov eax, dword [esi]
sub eax, 0x10
mov edi, 1
cmp dword [eax + 0xc], edi
jle 0x4014a6
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push esi
push 3
call fcn.0040ebf0
add esp, 8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x90], 2
call fcn.0040ed90
lea ecx, [esp + 0x40]
mov byte [esp + 0x90], 0
call fcn.0040ed90
cmp dword [ebp + 8], edi
mov esi, edi
jle 0x40184f
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + esi*4]
push edx
lea ecx, [esp + 0x30]
call fcn.004010e0
push esi
lea eax, [esp + 0x64]
push 0x455dc8
push eax
mov byte [esp + 0x9c], 4
call fcn.00431a84
add esp, 0xc
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x18]
call fcn.00401a30
push 0x455efc
lea ecx, [esp + 0x38]
call fcn.004010e0
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x5c]
push ecx
mov ecx, eax
mov byte [esp + 0x98], 5
call fcn.004011f0
mov byte [esp + 0x90], 6
mov eax, dword [eax + 4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00401e50
lea ecx, [esp + 0x58]
mov byte [esp + 0x90], 5
call fcn.0040ed90
lea ecx, [esp + 0x34]
mov byte [esp + 0x90], 4
call fcn.0040ed90
mov eax, dword [esp + 0x14]
cmp dword [eax - 4], edi
jle 0x401596
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esp + 0x18]
call fcn.00401c20
mov eax, dword [esp + 0x14]
push eax
push 3
call fcn.0040ebf0
add esp, 8
push 0x455f04
lea ecx, [esp + 0x4c]
call fcn.004010e0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x30]
push eax
push ecx
call fcn.00431d66
add esp, 8
test eax, eax
lea ecx, [esp + 0x48]
sete bl
call fcn.0040ed90
test bl, bl
je 0x4015d7
mov dword [esp + 0x24], edi
push 0x455f1c
lea ecx, [esp + 0x54]
call fcn.004010e0
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x30]
push edx
push eax
call fcn.00431d66
add esp, 8
test eax, eax
lea ecx, [esp + 0x50]
sete bl
call fcn.0040ed90
test bl, bl
je 0x40160d
mov dword [esp + 0x28], edi
push str._noconfirm
lea ecx, [esp + 0x44]
call fcn.004010e0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
push ecx
push edx
call fcn.00431d66
add esp, 8
test eax, eax
lea ecx, [esp + 0x40]
sete bl
call fcn.0040ed90
test bl, bl
je 0x401643
mov dword [esp + 0x24], edi
push str._overwrite
lea ecx, [esp + 0x20]
call fcn.004010e0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
push eax
push ecx
call fcn.00431d66
add esp, 8
test eax, eax
lea ecx, [esp + 0x1c]
sete bl
call fcn.0040ed90
test bl, bl
je 0x401679
mov dword [esp + 0x28], edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x90], 0
call fcn.0040ed90
add esi, edi
cmp esi, dword [ebp + 8]
jl 0x4014e0
cmp dword [esp + 0x24], 0
je 0x401770
push str.Warning:__noconfirm_option_specified__confirmation_will_not_be_required_before_installer_closes.
lea ecx, [esp + 0x20]
call fcn.004010e0
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x94], 7
call fcn.00401b30
lea ecx, [esp + 0x1c]
mov byte [esp + 0x90], 0
call fcn.0040ed90
mov eax, dword [esp + 0x14]
cmp dword [eax - 4], edi
jle 0x4016ef
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x18]
call fcn.00401c20
mov eax, dword [esp + 0x14]
push eax
push 3
call fcn.0040ebf0
add esp, 8
push 0x45602c
lea ecx, [esp + 0x20]
call fcn.004010e0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x38]
mov bl, 8
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x98], bl
call fcn.004011f0
lea esi, [eax + 4]
mov byte [esp + 0x90], 9
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], edi
jle 0x401744
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push esi
call fcn.004317c7
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x90], bl
call fcn.0040ed90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x90], 0
call fcn.0040ed90
cmp dword [esp + 0x28], 0
je 0x40184b
push str.Warning:__overwrite_option_specified__pre_existing_agents_will_be_overwritten.
lea ecx, [esp + 0x20]
call fcn.004010e0
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x94], 0xa
call fcn.00401b30
lea ecx, [esp + 0x1c]
mov byte [esp + 0x90], 0
call fcn.0040ed90
mov eax, dword [esp + 0x14]
cmp dword [eax - 4], edi
jle 0x4017ca
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esp + 0x18]
call fcn.00401c20
mov eax, dword [esp + 0x14]
push eax
push 3
call fcn.0040ebf0
add esp, 8
push 0x45602c
lea ecx, [esp + 0x20]
call fcn.004010e0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
push ecx
mov bl, 0xb
lea ecx, [esp + 0x18]
mov byte [esp + 0x98], bl
call fcn.004011f0
lea esi, [eax + 4]
mov byte [esp + 0x90], 0xc
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], edi
jle 0x40181f
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00401c20
mov esi, dword [esi]
push esi
call fcn.004317c7
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x90], bl
call fcn.0040ed90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x90], 0
call fcn.0040ed90
mov ebx, dword [esp + 0x18]
push 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call fcn.0042908f
test eax, eax
jne 0x40188b
push str.Fatal_Error:_MFC_initialization_failed_n
call fcn.004317c7
add esp, 4
push str.Fatal_Error:_MFC_initialization_failed._n
call fcn.00431702
add esp, 4
jmp 0x401986
cmp dword [esp + 0x28], 0
jne 0x4018f0
lea eax, [esp + 0x18]
push eax
sub esp, 8
mov ecx, esp
mov dword [esp + 0x48], esp
push str.NaveriskAgent
mov dword [esp + 0x28], 0
call fcn.004010e0
call fcn.0040f880
add esp, 0xc
cmp dword [esp + 0x18], 0
je 0x4018f0
push str.Installation_aborted_due_to_existence_of_a_NaveriskAgent_service.
push 3
call fcn.0040ebf0
push str.Installation_aborted_due_to_existence_of_a_NaveriskAgent_service._n
call fcn.00431702
add esp, 0xc
push str.Installation_aborted
push 3
call fcn.0040ebf0
push str.Naverisk_Agent_Installation_aborted._n
jmp 0x401974
mov edx, dword [ebx]
mov eax, dword [edx + 0x24]
mov ecx, ebx
call eax
test eax, eax
je 0x401918
push str.Installation_failure:
push 2
call fcn.0040ebf0
push str.Installation_failure._n
call fcn.00431702
add esp, 0xc
jmp 0x401986
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
mov ecx, ebx
call eax
test eax, eax
je 0x401963
push str.Main_CCInstallerApp_object_teardown_failure
push 2
call fcn.0040ebf0
push str.Main_CCInstallerApp_object_teardown_failure._n
call fcn.00431702
add esp, 0xc
cmp dword [esp + 0x24], 0
jne 0x401957
push str.Press_any_key_to_continue._n
call fcn.00431702
add esp, 4
call fcn.00431a01
mov edx, dword [ebx]
mov eax, dword [edx + 4]
push edi
mov ecx, ebx
call eax
jmp 0x40199f
push str.Installation_complete
push 3
call fcn.0040ebf0
push str.Naverisk_Agent_Installation_completed_successfully._n
call fcn.00431702
mov edx, dword [ebx]
mov eax, dword [edx + 4]
add esp, 0xc
push edi
mov ecx, ebx
call eax
cmp dword [esp + 0x24], 0
jne 0x40199f
push str.Press_any_key_to_continue._n
call fcn.00431702
add esp, 4
call fcn.00431a01
lea ecx, [esp + 0x10]
mov dword [esp + 0x90], 0xffffffff
call fcn.0040ed90
xor eax, eax
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00431df7
mov esp, ebp
pop ebp
ret