Function at 0x40c0bd
Capabilities:
Check if file exists
Check mutex on windows
Check os version
Copy file
Create thread
Get common file path
Get file attributes
Get session user name
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1f14
call fcn.00412f90
mov eax, dword [0x44e824]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push 0xf
pop ecx
mov dword [ebp - 0x1c3c], eax
xor eax, eax
push 0x80a
push eax
mov dword [ebp - 0x1c20], eax
mov dword [ebp - 0x19f4], eax
mov byte [ebp - 0x1a04], al
mov dword [ebp - 0x19c4], eax
mov byte [ebp - 0x19d4], al
lea eax, [ebp - 0x19a4]
push eax
mov dword [ebp - 0x1c38], ebx
mov dword [ebp - 0x19f0], ecx
mov dword [ebp - 0x19c0], ecx
call fcn.00414350
xor eax, eax
mov dword [ebp - 0x1c34], 1
mov word [ebp - 0x1a44], ax
lea edi, [ebp - 0x1a42]
stosd dword es:[edi], eax
xor ecx, ecx
push 0x200
push ecx
mov esi, 0x451508
mov dword [ebp - 0x1c24], ecx
stosd dword es:[edi], eax
push esi
mov dword [ebp - 0x1c1c], ecx
mov dword [ebp - 0x19bc], str.AgentMon.exe
stosd dword es:[edi], eax
mov dword [ebp - 0x19b8], 0x43b9f8
mov dword [ebp - 0x19b4], str.KaUpdHlp.exe
mov dword [ebp - 0x19b0], str.kPrtPng.exe
stosw word es:[edi], ax
mov dword [ebp - 0x19ac], str.psapi.dll
mov dword [ebp - 0x19a8], str.sporder.dll
mov dword [ebp - 0x1c28], ecx
mov dword [ebp - 0x1c40], ecx
mov dword [ebp - 0x1c30], ecx
call fcn.00414350
mov eax, dword [str.Kaseya_Agent]
add esp, 0x18
test eax, eax
je 0x40c1e7
cmp byte [eax], 0
je 0x40c1e7
push 0x1f6
push eax
push esi
call fcn.0041bc30
add esp, 0xc
lea edi, [esi - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40c1d8
mov esi, str._Setup
jmp 0x40c1f4
mov esi, 0x43ba30
mov edi, 0x451508
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call fcn.00423251
cmp eax, 0x3a4
je 0x40c219
cmp eax, 0x3a8
je 0x40c219
cmp eax, 0x3b5
je 0x40c219
cmp eax, 0x3b6
jne 0x40c23c
push eax
lea eax, [ebp - 0x388]
push 0x43ba4c
push eax
call fcn.004011e8
lea eax, [ebp - 0x388]
push eax
push 2
call fcn.00422b5a
add esp, 0x14
push 0x140
lea eax, [ebp - 0x1c18]
push 0
push eax
call fcn.00414350
mov edi, 0x106
lea eax, [ebp - 0x21c]
push edi
push 0
push eax
call fcn.00414350
add esp, 0x18
lea eax, [ebp - 0x21c]
push 0x105
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jg 0x40c2b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ebx, 0x450ae0
push esi
push str.Error__d:_Installation_of_the_Agent_failed_because_nthe_modules_current_location_could_not_be_determined.
push ebx
call fcn.004011e8
add esp, 0xc
push 0x50010
push 0x451508
push ebx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
jmp 0x40e762
mov esi, 0x451918
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.kcsSetup.dat
push edi
push esi
call fcn.00422a07
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.0040ab46
add esp, 0x14
test eax, eax
jne 0x40c301
push esi
lea eax, [ebp - 0x21c]
mov ebx, 0x450ae0
push eax
push str.Could_not_access_installation_package_data._Source__s___Data__s_
push ebx
call fcn.004011e8
add esp, 0x10
jmp 0x40c41e
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c306
sub ecx, edx
lea eax, [ecx + 0x80a]
push eax
call fcn.004188c5
mov dword [ebp - 0x1c24], eax
pop ecx
test eax, eax
jne 0x40c36a
push 0x50010
push 0x451508
push str.Installation_of_the_Agent_failed_because_nof_insufficient_memory.
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
lea eax, [ebp - 0x1c18]
push eax
lea eax, [ebp - 0x1c24]
push eax
lea eax, [ebp - 0x1c20]
push eax
lea eax, [ebp - 0x1c1c]
push eax
call fcn.0040b317
add esp, 0x14
push 0xe
pop esi
jmp 0x40e786
push 0x43bb5c
push esi
call fcn.0041bf81
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x40c43b
call fcn.00418640
cmp dword [eax], 2
jne 0x40c404
call fcn.00407270
test eax, eax
je 0x40c404
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x40c404
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Wow64DisableWow64FsRedirection
push esi
call ebx
push str.Wow64RevertWow64FsRedirection
push esi
mov dword [ebp - 0x1c2c], eax
call ebx
mov ebx, eax
mov eax, dword [ebp - 0x1c2c]
test eax, eax
je 0x40c3f9
test ebx, ebx
je 0x40c3f9
lea ecx, [ebp - 0x1c2c]
push ecx
call eax
test eax, eax
je 0x40c3f9
push 0x43bb5c
push 0x451918
call fcn.0041bf81
pop ecx
pop ecx
push dword [ebp - 0x1c2c]
mov edi, eax
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
jne 0x40c435
call fcn.00418640
mov ebx, 0x450ae0
push dword [eax]
push str.Error__d:_Installation_of_the_Agent_failed_because_nthe_installation_package_could_not_be_accessed.
push ebx
call fcn.004011e8
add esp, 0xc
push 0x50010
push 0x451508
push ebx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
jmp 0x40c45f
mov ebx, dword [ebp - 0x1c38]
push 0
lea eax, [ebp - 0x1c18]
push eax
push edi
call fcn.00411204
lea eax, [ebp - 0x1c18]
push eax
push edi
call fcn.00411031
add esp, 0x14
test eax, eax
jns 0x40c48f
push edi
lea eax, [ebp - 0x1c18]
push eax
lea eax, [ebp - 0x1c24]
push eax
lea eax, [ebp - 0x1c20]
push eax
lea eax, [ebp - 0x1c1c]
push eax
call fcn.0040b317
add esp, 0x14
call fcn.00418640
mov esi, dword [eax]
jmp 0x40e786
mov ecx, dword [ebp - 0x1adc]
lea edx, [ebp - 0x19a4]
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x40c49d
mov eax, dword [ebp - 0x1ae8]
push 0x201
add eax, 0x130
push 0x451710
push edi
mov dword [0x451708], eax
call fcn.0040abf2
push edi
mov esi, eax
call fcn.0041acb0
add esp, 0x10
test esi, esi
je 0x40c4ea
push 0x50010
push 0x451508
push str.Installation_of_the_Agent_failed_because_nthe_server_address_could_not_be_read_from_the_package.
jmp 0x40c2a5
lea eax, [ebp - 0x1c28]
push eax
push 0x451710
call fcn.0040acfc
push ebx
mov ebx, dword [ebp - 0x1c24]
lea eax, [ebp - 0x19a4]
push eax
push str._s__s
push ebx
call fcn.004011e8
lea eax, [ebp - 0x1c1c]
push ebx
push eax
call fcn.0040f1a1
mov esi, eax
add esp, 0x20
test esi, esi
je 0x40c585
push 0x50010
push 0x451508
push str.Installation_of_the_Agent_failed_because_nthe_configuration_parameters_could_not_be_initialized.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
lea eax, [ebp - 0x1c18]
push eax
lea eax, [ebp - 0x1c24]
push eax
lea eax, [ebp - 0x1c20]
push eax
lea eax, [ebp - 0x1c1c]
push eax
call fcn.0040b317
add esp, 0x14
cmp dword [ebp - 0x1c28], 0
je 0x40e786
push dword [ebp - 0x1c28]
call fcn.004188c0
pop ecx
jmp 0x40e786
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
push str.KaseyaClientSetupSingleInstance
push 1
push 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x1c20], ebx
call edi
cmp eax, 0xb7
je 0x40c5b6
cmp eax, 5
je 0x40c5b6
test ebx, ebx
jne 0x40c5f5
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.KaseyaClientSetupSingleInstance
push 1
push 0
call esi
mov ebx, eax
mov dword [ebp - 0x1c20], ebx
call edi
mov esi, eax
cmp esi, 0xb7
je 0x40e73b
cmp esi, 5
je 0x40e73b
test ebx, ebx
je 0x40e73b
push 0x104
lea eax, [ebp - 0x320]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x1198]
push str.Program_path:___s_
push eax
call fcn.004011e8
lea eax, [ebp - 0x1198]
push eax
push 0
push 1
push 3
pop ebx
push ebx
push dword [ebp - 0x1c1c]
call fcn.004117f5
push dword [ebp - 0x1c38]
lea eax, [ebp - 0x1198]
push str.Command_line:___s_
push eax
call fcn.004011e8
lea eax, [ebp - 0x1198]
push eax
push 0
push 1
push ebx
push dword [ebp - 0x1c1c]
call fcn.004117f5
add esp, 0x40
lea eax, [ebp - 0x1198]
push 0x451710
push str.Server_address:__s
push eax
call fcn.004011e8
lea eax, [ebp - 0x1198]
push eax
push 0
push 1
push ebx
push dword [ebp - 0x1c1c]
call fcn.004117f5
mov edi, dword [ebp - 0x1c1c]
add esp, 0x20
mov eax, dword [edi + 0x324]
test eax, eax
je 0x40c73a
mov cl, byte [eax]
test cl, cl
je 0x40c73a
cmp cl, 0x22
jne 0x40c6c9
cmp byte [eax + 2], 0x3a
jne 0x40c6cf
cmp cl, cl
je 0x40c73a
cmp byte [eax + 1], 0x3a
je 0x40c73a
xor eax, eax
cmp dword [edi + 0x260], eax
je 0x40c6fd
cmp dword [edi + 0x258], eax
jne 0x40c6fd
push 0x50010
push 0x451508
push str.Installation_of_the_Agent_failed_because_the_specified_install_path_does_not_contain_a_drive_letter_designator.
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edi, dword [ebp - 0x1c1c]
push str.Installation_package_failed_to_install_due_to_missing_drive_letter_specification_in_the_installation_path.
push 0xfffffffffffffff7
pop esi
push esi
push ebx
push 1
push edi
call fcn.004117f5
push 0
lea eax, [ebp - 0x1c18]
push eax
lea eax, [ebp - 0x1c24]
push eax
lea eax, [ebp - 0x1c20]
push eax
lea eax, [ebp - 0x1c1c]
push eax
call fcn.0040b317
add esp, 0x28
jmp 0x40c567
mov eax, dword [edi + 0x31c]
test eax, eax
je 0x40c783
cmp byte [eax], 0
je 0x40c783
push 0x200
push 0
mov esi, 0x451508
push esi
call fcn.00414350
push 0x1f6
push dword [edi + 0x31c]
push esi
call fcn.0041bc30
add esp, 0x18
lea edi, [esi - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40c772
mov esi, str._Setup
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov edi, 0x451508
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c78d
sub ecx, edx
lea eax, [ecx + 2]
push eax
call fcn.004188c5
pop ecx
mov ecx, dword [ebp - 0x1c1c]
mov dword [ecx + 0x320], eax
mov eax, dword [ebp - 0x1c1c]
mov ecx, dword [eax + 0x320]
test ecx, ecx
jne 0x40c7f6
cmp dword [eax + 0x260], ecx
je 0x40c7e4
cmp dword [eax + 0x258], ecx
jne 0x40c7e4
push 0x50010
push edi
push str.Installation_of_the_Agent_failed_because_of_memory_allocation_failure.
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x1c1c]
push str.Installation_package_failed_during_memory_allocation.
push 0xfffffffffffffff3
pop esi
push esi
push ebx
push 1
push eax
jmp 0x40c70a
mov edx, edi
mov al, byte [edx]
inc edx
mov byte [ecx], al
inc ecx
test al, al
jne 0x40c7f8
push 0x106
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00414350
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x105
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [ebp - 0x1c1c]
test eax, eax
jg 0x40c87e
xor eax, eax
cmp dword [ecx + 0x25c], eax
jne 0x40c88c
cmp dword [ecx + 0x260], eax
je 0x40c862
cmp dword [ecx + 0x258], eax
jne 0x40c862
push 0x50010
push edi
push str.Installation_of_the_Agent_failed_because_nthe_installation_package_could_not_determine_its_name_or_location.
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Installation_package_could_not_determine_its_name_or_location.
mov esi, eax
push esi
push ebx
push 1
push dword [ebp - 0x1c1c]
jmp 0x40c70a
xor eax, eax
cmp dword [ecx + 0x25c], eax
je 0x40c917
lea edx, [ebp - 0x21c]
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x40c895
sub edx, esi
jmp 0x40c8af
mov al, byte [ebp + edx - 0x21c]
cmp al, 0x5c
je 0x40c8b4
cmp al, 0x3a
je 0x40c8b4
sub edx, 1
jns 0x40c8a0
cmp dword [ecx + 0x258], 0
jne 0x40c8d3
push dword [ecx + 0x318]
lea eax, [ebp - 0x21b]
add eax, edx
push eax
call fcn.0040bc60
pop ecx
pop ecx
push 0
lea eax, [ebp - 0x1c18]
push eax
lea eax, [ebp - 0x1c24]
push eax
lea eax, [ebp - 0x1c20]
push eax
lea eax, [ebp - 0x1c1c]
push eax
call fcn.0040b317
add esp, 0x14
cmp dword [ebp - 0x1c28], 0
je 0x40e788
push dword [ebp - 0x1c28]
call fcn.004188c0
pop ecx
jmp 0x40e788
cmp byte [ecx + 0x328], 0
jne 0x40c9a6
cmp dword [ecx + 0x260], eax
je 0x40c946
cmp dword [ecx + 0x258], eax
jne 0x40c946
push 0x50010
push edi
push str.Installation_of_the_Agent_failed_because_nthe_installation_package_doesnt_have_valid_instance_ID.
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Installation_package_doesnt_have_valid_instance_ID.
mov esi, eax
push esi
push ebx
push 1
push dword [ebp - 0x1c1c]
call fcn.004117f5
push 0
lea eax, [ebp - 0x1c18]
push eax
lea eax, [ebp - 0x1c24]
push eax
lea eax, [ebp - 0x1c20]
push eax
lea eax, [ebp - 0x1c1c]
push eax
call fcn.0040b317
add esp, 0x28
cmp dword [ebp - 0x1c28], 0
je 0x40e78a
push dword [ebp - 0x1c28]
call fcn.004188c0
pop ecx
jmp 0x40e78a
push str.ws2_32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x40ca5b
mov eax, dword [ebp - 0x1c1c]
xor ecx, ecx
cmp dword [eax + 0x14], 1
jne 0x40c9e1
cmp dword [eax + 0xc], ecx
jne 0x40c9e1
cmp dword [eax + 0x258], ecx
jne 0x40c9fb
push 0x50010
push edi
push str.The_Agent_must_be_installed_on_a_system_with_WinSock2._nThis_system_does_not_appear_to_meet_that_requirement._nPlease_contact_your_system_administrator__or_download_WinSock2_for_Windows_95_at_nhttp:__www.microsoft.com_windows95_downloads_contents_wuadmintools_s_wunetworkingtools_w95sockets2_default.asp___nThis_installation_will_abort_now._n
jmp 0x40c9f4
cmp dword [eax + 0x258], ecx
jne 0x40c9fb
push 0x50010
push edi
push str.The_Agent_must_be_installed_on_a_system_with_WinSock2._nThis_system_does_not_appear_to_meet_that_requirement._nPlease_contact_your_system_administrator._nThis_installation_will_abort_now._n
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
push str.Could_not_find_WinSock2.
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 1
push dword [ebp - 0x1c1c]
call fcn.004117f5
add esp, 0x14
lea eax, [ebp - 0x1c18]
push 0
push eax
lea eax, [ebp - 0x1c24]
push eax
lea eax, [ebp - 0x1c20]
push eax
lea eax, [ebp - 0x1c1c]
push eax
call fcn.0040b317
add esp, 0x14
cmp dword [ebp - 0x1c28], 0
je 0x40ca53
push dword [ebp - 0x1c28]
call fcn.004188c0
pop ecx
push 0xffffffffffffffe6
pop esi
jmp 0x40e78a
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x1c1c]
cmp dword [eax + 0x14], 1
jne 0x40cac9
cmp dword [eax + 0xc], 0
jne 0x40cb3a
push eax
call fcn.0040b0a9
pop ecx
test eax, eax
je 0x40cb3a
push 0
lea eax, [ebp - 0x1c18]
push eax
lea eax, [ebp - 0x1c24]
push eax
lea eax, [ebp - 0x1c20]
push eax
lea eax, [ebp - 0x1c1c]
push eax
call fcn.0040b317
add esp, 0x14
cmp dword [ebp - 0x1c28], 0
je 0x40cac2
push dword [ebp - 0x1c28]
call fcn.004188c0
pop ecx
xor esi, esi
jmp 0x40e78a
cmp dword [eax + 0x14], 2
je 0x40cb3a
push str.Unknown_operating_system_version.
push 0xffffffffffffffe7
pop esi
push esi
push 2
push ebx
push eax
call fcn.004117f5
mov eax, dword [ebp - 0x1c1c]
add esp, 0x14
cmp dword [eax + 0x24c], 0
jne 0x40cb3a
cmp dword [eax + 0x258], 0
jne 0x40cb0f
push 0x50010
push edi
push str.The_Agent_cannot_be_installed_because_this_installation_nprogram_cannot_determine_the_which_OS_is_on_this_system._nPlease_contact_your_system_administrator._nThis_installation_will_abort_now._n
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
lea eax, [ebp - 0x1c18]
push eax
lea eax, [ebp - 0x1c24]
push eax
lea eax, [ebp - 0x1c20]
push eax
lea eax, [ebp - 0x1c1c]
push eax
call fcn.0040b317
add esp, 0x14
jmp 0x40c988
lea eax, [ebp - 0x1a1c]
push str.TEMP
push eax
call fcn.0040b383
cmp dword [ebp - 0x1a0c], 0
pop ecx
pop ecx
jne 0x40cb84
lea eax, [ebp - 0x1a34]
push 0x43c320
push eax
call fcn.0040b383
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x1a1c]
call fcn.00407eb9
push 0
push 1
lea ecx, [ebp - 0x1a34]
call fcn.00402955
push 0x106
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00414350
mov eax, dword [ebp - 0x1c1c]
add eax, 0x328
mov dword [ebp - 0x1c2c], 0x105
push eax
lea eax, [ebp - 0x48c]
push str.SOFTWAREKaseyaAgent_s
push eax
call fcn.004011e8
lea eax, [ebp - 0x1c2c]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x1c38]
push eax
push str.ConfigurationFile
lea eax, [ebp - 0x48c]
push eax
push 0x80000002
call fcn.0040baad
add esp, 0x30
mov esi, 0x450ae0
test eax, eax
jne 0x40cc2e
and dword [ebp - 0x1c34], eax
xor edi, edi
mov eax, dword [ebp - 0x1c1c]
inc edi
add eax, 0x328
mov dword [ebp - 0x1c40], edi
push eax
push str.An_Agent_with_same_instance_ID___s__is_already_installed.
push esi
call fcn.004011e8
push esi
push 0
push edi
push ebx
push dword [ebp - 0x1c1c]
call fcn.004117f5
add esp, 0x20
mov edi, dword [ebp - 0x1c28]
test edi, edi
je 0x40ccce
cmp byte [edi], 0
mov esi, edi
je 0x40cc69
push str.Legacy
push esi
call fcn.0041bb48
pop ecx
pop ecx
test eax, eax
je 0x40cca2
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40cc59
sub ecx, edx
inc esi
add esi, ecx
cmp byte [esi], al
jne 0x40cc43
mov esi, dword [ebp - 0x1c34]
mov eax, dword [ebp - 0x1c1c]
cmp dword [eax + 0x250], 0
je 0x40cc99
push str.An_exisiting_agent_already_connects_to_the_same_server.
push 0
push 1
push ebx
push eax
call fcn.004117f5
add esp, 0x14
xor esi, esi
mov dword [ebp - 0x1c34], esi
push edi
call fcn.004188c0
pop ecx
jmp 0x40ccd4
push str.Legacy_agent_is_installed_and_connects_to_the_same_server.
push 0
push 1
push ebx
push dword [ebp - 0x1c1c]
call fcn.004117f5
add esp, 0x14
mov dword [ebp - 0x1c30], 1
xor esi, esi
mov dword [ebp - 0x1c34], esi
jmp 0x40cc6f
mov esi, dword [ebp - 0x1c34]
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
test esi, esi
jne 0x40ce17
mov eax, dword [ebp - 0x1c1c]
cmp dword [eax + 0x244], 0
jne 0x40cd65
cmp dword [eax + 0x248], 0
je 0x40cea4
cmp dword [eax + 0x258], 0
jne 0x40cea4
push 0x50024
push 0x451508
push str.The_Agent_is_already_installed._nDo_you_want_to_reinstall_the_Agent_
push 0
call edi
cmp eax, 7
jne 0x40cd55
push str.Re_installation_of_the_Agent_was_stopped_by_the_user.
push 0xffffffffffffffe3
pop esi
push esi
push 1
push ebx
push dword [ebp - 0x1c1c]
call fcn.004117f5
add esp, 0x14
push 0x50040
push 0x451508
push str.Installation_of_the_Agent_stopped.
push 0
call edi
jmp 0x40cee5
mov eax, dword [ebp - 0x1c1c]
mov dword [eax + 0x244], 1
xor ecx, ecx
mov al, byte [ebp + ecx - 0x114]
mov byte [ebp + ecx - 0x798], al
inc ecx
test al, al
jne 0x40cd67
lea eax, [ebp - 0x798]
push 0x5c
push eax
call fcn.00415e50
pop ecx
pop ecx
test eax, eax
je 0x40cd92
mov byte [eax + 1], 0
xor edx, edx
mov dword [ebp - 0x1c2c], edx
xor ecx, ecx
mov al, byte [ebp + ecx - 0x798]
mov byte [ebp + ecx - 0x114], al
inc ecx
test al, al
jne 0x40cd9c
mov edx, dword [ebp + edx*4 - 0x19bc]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x40cdb8
lea edi, [ebp - 0x114]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40cdc8
mov ecx, edx
lea eax, [ebp - 0x114]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, ebx
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40ce05
test al, 3
je 0x40ce05
push 0x80
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edx, dword [ebp - 0x1c2c]
inc edx
mov dword [ebp - 0x1c2c], edx
cmp edx, 6
jl 0x40cd9a
mov ecx, dword [ebp - 0x1c1c]
xor edx, edx
mov dword [ebp - 0x19d8], 0xf
mov esi, 0xc8
mov dword [ebp - 0x19dc], edx
mov byte [ebp - 0x19ec], dl
cmp dword [ecx + 0x258], edx
jne 0x40cf35
xor eax, eax
lea edi, [ebp - 0x1c4c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1c3c]
mov dword [ebp - 0x1c48], eax
mov eax, dword [ecx + 0x31c]
mov dword [ebp - 0x1c4c], eax
lea eax, [ebp - 0x1c54]
push eax
push edx
lea eax, [ebp - 0x1c4c]
mov dword [ebp - 0x1c44], 1
push eax
push 0x40b7a9
push edx
push edx
call fcn.00421eac
mov edi, eax
add esp, 0x18
test edi, edi
je 0x40cf33
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40cf23
mov edi, str.The_Agent_is_already_installed._Re_installation_of_the_Agent_was_terminated.
push edi
push 0xffffffffffffffe3
pop esi
push esi
push 1
push ebx
push eax
call fcn.004117f5
mov eax, dword [ebp - 0x1c1c]
add esp, 0x14
cmp dword [eax + 0x258], 0
jne 0x40cee5
cmp dword [eax + 0x250], 0
jne 0x40cee5
push 0x50040
push 0x451508
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
lea eax, [ebp - 0x1c18]
push eax
lea eax, [ebp - 0x1c24]
push eax
lea eax, [ebp - 0x1c20]
push eax
lea eax, [ebp - 0x1c1c]
push eax
call fcn.0040b317
add esp, 0x14
jmp 0x40e72a
cmp esi, 0x3a98
jge 0x40cf2c
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
add esi, 0xa
cmp dword [ebp - 0x1c44], 0
jne 0x40cf10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
push 0xffffffffffffffff
push edx
lea eax, [ebp - 0x1a1c]
mov dword [0x451a24], 0xf
push eax
lea ecx, [ebp - 0x1a04]
call fcn.00402b87
mov esi, str.KAgentSilent.exe
push esi
call fcn.0040317a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1a04]
call fcn.00402ae4
cmp dword [ebp - 0x19f0], 0x10
mov eax, dword [ebp - 0x1a04]
jae 0x40cf82
lea eax, [ebp - 0x1a04]
push eax
call fcn.0040aaa2
pop ecx
test eax, eax
jne 0x40d03c
mov eax, dword [0x451a20]
xor esi, esi
inc esi
mov dword [0x451a24], 0x65
mov dword [0x44e394], esi
test eax, eax
je 0x40cfc1
push 0
push 0
push 2
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
and dword [0x451a20], 0
call fcn.00418640
push str.The_setup_file_could_not_be_extracted_from_the_installation_package.
push dword [eax]
push ebx
push esi
push dword [ebp - 0x1c1c]
call fcn.004117f5
mov eax, dword [ebp - 0x1c1c]
xor ebx, ebx
add esp, 0x14
cmp dword [eax + 0x260], ebx
je 0x40d00b
cmp dword [eax + 0x258], ebx
jne 0x40d00b
push 0x50010
push 0x451508
push str.Installation_of_the_Agent_failed_because_nthe_setup_file_could_not_be_extracted_from_the_installation_package.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
lea eax, [ebp - 0x1c18]
push eax
lea eax, [ebp - 0x1c24]
push eax
lea eax, [ebp - 0x1c20]
push eax
lea eax, [ebp - 0x1c1c]
push eax
call fcn.0040b317
add esp, 0x14
call fcn.00418640
mov esi, dword [eax]
jmp 0x40e71b
push 0xa28
push 0
mov esi, 0x450ae0
push esi
call fcn.00414350
add esp, 0xc
xor ecx, ecx
mov al, byte [ecx + str.KAgentSilent.exe]
mov byte [ecx + 0x450ae0], al
inc ecx
test al, al
jne 0x40d053
mov edi, dword [ebp - 0x1c1c]
cmp dword [edi + 0x258], 1
jne 0x40d08b
lea edi, [esi - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40d076
mov eax, dword [0x43c588]
mov dword [edi], eax
mov edi, dword [ebp - 0x1c1c]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d090
lea eax, [edi + 0x135]
sub ecx, edx
push eax
lea eax, [edi + 0x328]
push eax
lea eax, [ecx + 0x450ae0]
push str.__a__k__g__s__l___s_
push eax
call fcn.004011e8
mov ecx, dword [ebp - 0x1c1c]
add esp, 0x10
lea edi, [ecx + 0x3dc]
cmp byte [edi], 0
je 0x40d0f5
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d0d1
sub ecx, edx
push edi
push str.__v___s_
lea eax, [ecx + 0x450ae0]
push eax
call fcn.004011e8
mov ecx, dword [ebp - 0x1c1c]
add esp, 0xc
lea edx, [ecx + 0x33d]
cmp byte [edx], 0
je 0x40d129
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d105
sub ecx, edi
push edx
push str.__o___s_
lea eax, [ecx + 0x450ae0]
push eax
call fcn.004011e8
mov ecx, dword [ebp - 0x1c1c]
add esp, 0xc
lea edx, [ecx + 0x370]
cmp byte [edx], 0
je 0x40d15d
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d139
sub ecx, edi
push edx
push str.__p___s_
lea eax, [ecx + 0x450ae0]
push eax
call fcn.004011e8
mov ecx, dword [ebp - 0x1c1c]
add esp, 0xc
cmp dword [ebp - 0x1c40], 0
jne 0x40d181
cmp dword [ebp - 0x1c30], 0
je 0x40d181
lea edi, [esi - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40d172
mov eax, dword [0x43c5c8]
mov dword [edi], eax
xor edx, edx
cmp dword [ecx + 0x3d8], edx
je 0x40d19d
lea edi, [esi - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40d18e
mov eax, dword [0x43c5cc]
mov dword [edi], eax
cmp dword [ecx + 0x3f8], edx
je 0x40d1b7
lea edi, [esi - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40d1a8
mov eax, dword [0x43c5d0]
mov dword [edi], eax
cmp dword [ecx + 0x504], edx
je 0x40d1d8
push 0x43c5d4
push 0xa28
push esi
call fcn.00422a07
mov ecx, dword [ebp - 0x1c1c]
add esp, 0xc
mov dword [ebp - 0xc], 0x5c3a43
mov eax, dword [ecx + 0x324]
test eax, eax
je 0x40d24d
push 0x3a
push eax
call fcn.00415f90
pop ecx
pop ecx
test eax, eax
je 0x40d20a
mov cl, byte [eax - 1]
mov byte [ebp - 0xc], cl
lea eax, [ecx - 0x61]
cmp al, 0x19
ja 0x40d20a
and cl, 0xdf
mov byte [ebp - 0xc], cl
mov eax, dword [ebp - 0x1c1c]
mov ecx, esi
mov edx, dword [eax + 0x324]
lea edi, [ecx + 1]
cmp byte [edx], 0x22
je 0x40d22f
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d220
push edx
push str.__d___s_
jmp 0x40d23c
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d22f
push edx
push str.__d__s
sub ecx, edi
lea eax, [ecx + 0x450ae0]
push eax
call fcn.004011e8
add esp, 0xc
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d252
mov eax, dword [ebp - 0x19f4]
sub ecx, edx
add eax, ecx
cmp eax, 0x104
jbe 0x40d2f7
push str.__a
push esi
call fcn.004160c0
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x40d2f2
cmp dword [ebp - 0x1a08], 0x10
mov ecx, dword [ebp - 0x1a1c]
jae 0x40d296
lea ecx, [ebp - 0x1a1c]
mov eax, dword [ebp - 0x1c1c]
add eax, 0x3fc
push eax
push 0
push str.kprm
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
mov eax, dword [ebp - 0x1c1c]
je 0x40d2eb
add eax, 0x3fc
add esi, 4
push eax
push esi
call fcn.00408da7
pop ecx
test eax, eax
mov eax, dword [ebp - 0x1c1c]
pop ecx
jne 0x40d2eb
add eax, 0x3fc
push eax
push str._f___s_
push esi
call fcn.004011e8
add esp, 0xc
jmp 0x40d2f2
mov byte [eax + 0x3fc], 0
mov esi, 0x450ae0
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40e6ad
test al, 0x10
je 0x40e6ad
xor esi, esi
mov dword [ebp - 0x1c2c], 0x258
push 0x43bb5c
inc esi
push 0x451918
mov dword [ebp - 0x1c40], esi
call fcn.0041bf81
mov edi, eax
mov dword [ebp - 0x1c28], edi
pop ecx
pop ecx
test edi, edi
jne 0x40d3ec
call fcn.00418640
cmp dword [eax], 2
jne 0x40d497
call fcn.00407270
test eax, eax
je 0x40d497
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x40d494
push str.Wow64DisableWow64FsRedirection
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Wow64RevertWow64FsRedirection
push esi
mov dword [ebp - 0x1c3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x1c3c]
mov dword [ebp - 0x1c30], eax
test ecx, ecx
je 0x40d3da
test eax, eax
je 0x40d3da
lea eax, [ebp - 0x1c3c]
push eax
call ecx
test eax, eax
je 0x40d3da
push 0x43bb5c
push 0x451918
call fcn.0041bf81
pop ecx
pop ecx
push dword [ebp - 0x1c3c]
mov edi, eax
mov dword [ebp - 0x1c28], edi
call dword [ebp - 0x1c30]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor esi, esi
inc esi
test edi, edi
je 0x40d497
push dword [0x451708]
lea eax, [ebp - 0x1c18]
push eax
push edi
call fcn.00411204
lea eax, [ebp - 0x1c18]
push eax
push edi
call fcn.00411031
add esp, 0x14
test eax, eax
jns 0x40d514
mov eax, dword [0x451a20]
mov dword [0x44e394], esi
mov dword [0x451a24], 0x65
test eax, eax
je 0x40d444
push 0
push 0
push 2
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
and dword [0x451a20], 0
call fcn.00418640
push str.The_configuration_file_could_not_be_extracted_from_the_installation_package.
push dword [eax]
push ebx
push esi
push dword [ebp - 0x1c1c]
call fcn.004117f5
mov eax, dword [ebp - 0x1c1c]
xor ebx, ebx
add esp, 0x14
cmp dword [eax + 0x260], ebx
je 0x40d48e
cmp dword [eax + 0x258], ebx
jne 0x40d48e
push 0x50010
push 0x451508
push str.Installation_of_the_Agent_failed_because_nthe_configuration_file_could_not_be_extracted_from_the_installation_package.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
jmp 0x40d00c
xor esi, esi
inc esi
mov eax, dword [0x451a20]
mov dword [0x44e394], esi
mov dword [0x451a24], 0x65
test eax, eax
je 0x40d4c4
push 0
push 0
push 2
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
and dword [0x451a20], 0
call fcn.00418640
push str.Installation_package_could_not_be_accessed.
push dword [eax]
push ebx
push esi
push dword [ebp - 0x1c1c]
call fcn.004117f5
mov eax, dword [ebp - 0x1c1c]
xor ebx, ebx
add esp, 0x14
cmp dword [eax + 0x260], ebx
je 0x40d00b
cmp dword [eax + 0x258], ebx
jne 0x40d00b
push 0x50010
push 0x451508
push str.Installation_of_the_Agent_failed_because_nthe_installation_package_could_not_be_accessed.
jmp 0x40d004
lea eax, [ebp - 0x1bf0]
push str.KaseyaD.ini
push eax
call fcn.0041bb48
pop ecx
pop ecx
test eax, eax
je 0x40d5a8
mov eax, dword [0x451a20]
mov dword [0x44e394], esi
mov dword [0x451a24], 0x65
test eax, eax
je 0x40d558
push 0
push 0
push 2
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
and dword [0x451a20], 0
call fcn.00418640
push str.Failed_to_find_configuration_file_from_the_installation_package.
push dword [eax]
push ebx
push esi
push dword [ebp - 0x1c1c]
call fcn.004117f5
mov eax, dword [ebp - 0x1c1c]
xor ebx, ebx
add esp, 0x14
cmp dword [eax + 0x260], ebx
je 0x40d48e
cmp dword [eax + 0x258], ebx
jne 0x40d48e
push 0x50010
push 0x451508
push str.Installation_of_the_Agent_failed_because_nthe_setup_file_was_not_found_at_the_end_of_the_installation_package.
jmp 0x40d487
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1a1c]
push eax
lea ecx, [ebp - 0x19ec]
call fcn.00402b87
push str.KaseyaD.ini
call fcn.0040317a
pop ecx
push eax
push str.KaseyaD.ini
lea ecx, [ebp - 0x19ec]
call fcn.00402ae4
cmp dword [ebp - 0x19d8], 0x10
mov eax, dword [ebp - 0x19ec]
jae 0x40d5ef
lea eax, [ebp - 0x19ec]
push 0x43c8e8
push eax
call fcn.0041bf81
mov dword [ebp - 0x1c30], eax
pop ecx
pop ecx
test eax, eax
jne 0x40d691
cmp dword [ebp - 0x19d8], 0x10
mov eax, dword [ebp - 0x19ec]
jae 0x40d61f
lea eax, [ebp - 0x19ec]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40d67c
test al, 3
je 0x40d67c
cmp dword [ebp - 0x19d8], 0x10
mov eax, dword [ebp - 0x19ec]
jae 0x40d644
lea eax, [ebp - 0x19ec]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [ebp - 0x19d8], 0x10
mov eax, dword [ebp - 0x19ec]
jae 0x40d665
lea eax, [ebp - 0x19ec]
push 0x43c8e8
push eax
call fcn.0041bf81
mov dword [ebp - 0x1c30], eax
pop ecx
pop ecx
test eax, eax
jne 0x40d691
mov dword [0x44e394], esi
mov dword [0x451a24], 0x64
jmp 0x40d444
push eax
push dword [ebp - 0x1ae8]
push esi
push dword [ebp - 0x1adc]
call fcn.0041b740
push dword [ebp - 0x1c30]
mov esi, eax
call fcn.0041acb0
add esp, 0x14
cmp esi, dword [ebp - 0x1ae8]
je 0x40d712
xor esi, esi
mov dword [0x451a24], 0x64
inc esi
mov dword [0x44e394], esi
call fcn.00418640
push str.The_configuration_file_could_not_be_extracted_from_the_installation_package.
push dword [eax]
push ebx
push esi
push dword [ebp - 0x1c1c]
call fcn.004117f5
mov eax, dword [ebp - 0x1c1c]
xor ebx, ebx
add esp, 0x14
cmp dword [eax + 0x260], ebx
je 0x40d48e
cmp dword [eax + 0x258], ebx
jne 0x40d48e
push 0x10
jmp 0x40d47d
cmp dword [ebp - 0x19d8], 0x10
mov eax, dword [ebp - 0x19ec]
mov dword [0x44e394], 0x1f4
mov dword [0x451a24], 0x5f
jae 0x40d73b
lea eax, [ebp - 0x19ec]
push eax
push dword [ebp - 0x1c1c]
call fcn.0040ee3a
mov esi, eax
pop ecx
pop ecx
cmp esi, 0xfffffffe
je 0x40d755
cmp esi, 0xffffffe9
jne 0x40d75b
xor ecx, ecx
mov esi, ecx
jmp 0x40d75d
xor ecx, ecx
test esi, esi
je 0x40d7cf
push str.The_configuration_file_could_not_be_accessed.
push esi
push ebx
push ebx
push dword [ebp - 0x1c1c]
call fcn.004117f5
mov eax, dword [ebp - 0x1c1c]
xor ebx, ebx
add esp, 0x14
cmp dword [eax + 0x260], ebx
je 0x40d7a5
cmp dword [eax + 0x258], ebx
jne 0x40d7a5
push 0x50010
push 0x451508
push str.Installation_of_the_Agent_failed_because_nthe_configuration_file_contents_could_not_be_accessed.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
lea eax, [ebp - 0x1c18]
push eax
lea eax, [ebp - 0x1c24]
push eax
lea eax, [ebp - 0x1c20]
push eax
lea eax, [ebp - 0x1c1c]
push eax
call fcn.0040b317
add esp, 0x14
jmp 0x40e71b
mov eax, dword [ebp - 0x1c1c]
cmp dword [eax + 0x14], 2
jne 0x40d894
cmp dword [eax + 8], 4
jb 0x40d894
cmp dword [eax + 0x98], ecx
jne 0x40d894
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x1a04]
call fcn.0040a808
push 0xa28
push 0
mov esi, 0x450ae0
push esi
call fcn.00414350
mov ecx, dword [ebp - 0x1a04]
add esp, 0xc
cmp dword [ebp - 0x19f0], 0x10
jae 0x40d831
lea ecx, [ebp - 0x1a04]
push dword [ebp - 0x1c24]
mov eax, dword [ebp - 0x1c1c]
add eax, 0x135
push eax
push ecx
push str._s__l__s__s
push esi
call fcn.004011e8
mov esi, dword [ebp - 0x1c20]
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x1c40], eax
add esp, 0x14
mov dword [ebp - 0x1c2c], ecx
test esi, esi
je 0x40d8b3
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x1c20], 0
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x1c2c]
jmp 0x40d8b3
cmp dword [ebp - 0x1c34], 0
jne 0x40d910
cmp dword [eax + 0x240], ecx
jne 0x40d910
push ecx
push eax
call fcn.00411279
pop ecx
pop ecx
mov ecx, 0x258
mov edi, dword [ebp - 0x1c40]
xor ebx, ebx
cmp dword [ebp - 0x19f0], 0x10
mov eax, dword [ebp - 0x1a04]
jae 0x40d8d0
lea eax, [ebp - 0x1a04]
push 0
push ecx
push edi
push 0x450ae0
push eax
push dword [ebp - 0x1c1c]
call fcn.0040f425
mov esi, eax
add esp, 0x18
cmp esi, 0xffffffec
jne 0x40da92
cmp ebx, 4
jge 0x40dab3
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x1c2c]
inc ebx
jmp 0x40d8bb
push ecx
push eax
cmp dword [eax + 0x23c], ecx
je 0x40d8a7
call fcn.00411279
push dword [ebp - 0x1c1c]
call fcn.00409d3a
add esp, 0xc
test eax, eax
je 0x40da02
cmp eax, 0xffffffff
jne 0x40d9c1
mov eax, dword [0x451a20]
mov dword [0x451a24], 0x65
test eax, eax
je 0x40d965
push 0
push 0
push 2
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
and dword [0x451a20], 0
push str.User_canceled_the_installation.
push 0xffffffffffffffff
push 1
push ebx
push dword [ebp - 0x1c1c]
call fcn.004117f5
add esp, 0x14
push 0x50040
push 0x451508
push str.Installation_of_the_Agent_terminated_because_nthe_required_configuration_parameters_were_not_entered.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
lea eax, [ebp - 0x1c18]
push eax
lea eax, [ebp - 0x1c24]
push eax
lea eax, [ebp - 0x1c20]
push eax
lea eax, [ebp - 0x1c1c]
push eax
call fcn.0040b317
add esp, 0x14
or esi, 0xffffffff
jmp 0x40e71b
push str.Configuration_parameters_are_missing_and_the__s_switch_was_used.
push eax
push 1
push ebx
push dword [ebp - 0x1c1c]
call fcn.004117f5
push edi
lea eax, [ebp - 0x1c18]
push eax
lea eax, [ebp - 0x1c24]
push eax
lea eax, [ebp - 0x1c20]
push eax
lea eax, [ebp - 0x1c1c]
push eax
call fcn.0040b317
add esp, 0x28
push 0xffffffffffffffed
pop esi
jmp 0x40e71b
cmp dword [ebp - 0x19d8], 0x10
mov eax, dword [ebp - 0x19ec]
jae 0x40da17
lea eax, [ebp - 0x19ec]
push eax
push dword [ebp - 0x1c1c]
call fcn.0040fe1a
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x40d8ae
push str.Installation_of_the_Agent_terminated.
push esi
push 1
push ebx
push dword [ebp - 0x1c1c]
call fcn.004117f5
mov eax, dword [ebp - 0x1c1c]
xor ebx, ebx
add esp, 0x14
cmp dword [eax + 0x258], ebx
jne 0x40d7a5
mov eax, dword [0x451a20]
mov dword [0x451a24], 0x65
test eax, eax
je 0x40da7e
push ebx
push ebx
push 2
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x451a20], ebx
push 0x50040
push 0x451508
push str.Installation_of_the_Agent_terminated_because_nthe_configuration_could_not_be_updated.
jmp 0x40d79e
cmp esi, 0xfffffff4
jne 0x40dab3
push dword [ebp - 0x1c1c]
call fcn.00409cd6
mov esi, eax
pop ecx
mov ecx, dword [ebp - 0x1c2c]
test esi, esi
je 0x40d8bb
push str.Installation_process_returned.
push esi
push 1
push 3
pop ebx
push ebx
push dword [ebp - 0x1c1c]
call fcn.004117f5
mov edi, dword [ebp - 0x1c28]
add esp, 0x14
test esi, esi
je 0x40dc44
mov eax, dword [0x451a20]
mov dword [0x44e394], 1
mov dword [0x451a24], 0x65
test eax, eax
je 0x40db0f
push 0
push 0
push 2
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
xor ecx, ecx
mov dword [0x451a20], ecx
jmp 0x40db11
xor ecx, ecx
mov eax, dword [ebp - 0x1c1c]
cmp dword [eax + 0x260], ecx
je 0x40dc13
cmp dword [eax + 0x258], ecx
jne 0x40dc13
cmp esi, 1
jne 0x40dba6
lea eax, [ebp - 0x1a44]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x1a38]
movzx ecx, word [ebp - 0x1a36]
imul eax, eax, 0x3e8
sub ecx, eax
mov eax, 0x2710
add ecx, 0xe678
cmp ecx, eax
jae 0x40db68
mov ecx, eax
mov eax, 0xd6d8
cmp ecx, eax
jbe 0x40db73
mov ecx, eax
push 0
push ecx
push str.The_Agent_installation_has_been_scheduled._n_nPlease_wait_up_to_one_minute_for_the_installation_to_proceed.
push dword [ebp - 0x1c1c]
call fcn.00409dc6
mov eax, dword [ebp - 0x1c1c]
add esp, 0x10
push str.The_installation_package_is_re_running_under_an_authorized_account
push esi
push 1
push ebx
push eax
call fcn.004117f5
add esp, 0x14
jmp 0x40d7a5
cmp esi, 0xffffffec
jne 0x40dbcf
push 0x50040
push 0x451508
push str.The_installation_package_containing_the_Agent_failed_to_run_nbecause_the_Windows_NT_Task_Scheduler_is_not_running.
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x1c1c]
push str.The_installation_package_containing_the_Agent_failed_to_run.
push esi
jmp 0x40dc30
cmp esi, 0xffffffff
jne 0x40dbf2
push 0x50040
push 0x451508
push str.Installation_of_the_Agent_terminated_because_nthe_required_credentials_were_missing_or_incorrect._User_cancelled_the_nthe_installation..
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x1c1c]
jmp 0x40dc3b
cmp esi, 2
je 0x40dc13
push 0x50010
push 0x451508
push str.The_installation_package_containing_the_Agent_failed_to_run.
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x1c1c]
cmp esi, 1
je 0x40db8f
cmp esi, 2
je 0x40db8f
cmp esi, 0xffffffed
jne 0x40dc36
push str.The_credentials_contained_in_the_installation_package_were_incorrect_or_missing._Agent_failed_to_run.
push esi
push ebx
jmp 0x40db97
cmp esi, 0xffffffff
jne 0x40dbc7
push str.Administrator_credentials_were_incorrect_and_the_user_canceled_the_installation.
push 0xffffffffffffffff
jmp 0x40dc30
push 0x106
lea eax, [ebp - 0x114]
mov dword [0x44e394], 0x64
push 0
push eax
mov dword [0x451a24], 0x63
call fcn.00414350
lea eax, [ebp - 0x1c2c]
mov dword [ebp - 0x1c2c], 0x105
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x1c38]
push eax
push str.ConfigurationFile
lea eax, [ebp - 0x48c]
push eax
push 0x80000002
call fcn.0040baad
mov esi, eax
add esp, 0x24
test esi, esi
jne 0x40e60b
cmp dword [ebp - 0x1c38], 1
jne 0x40e60b
cmp dword [ebp - 0x1c2c], eax
je 0x40e60b
cmp dword [ebp - 0x1c2c], 0x105
jae 0x40e60b
cmp dword [ebp - 0x1c34], eax
jne 0x40dcf0
mov eax, dword [ebp - 0x1c1c]
cmp dword [eax + 0x240], esi
je 0x40dde5
cmp dword [ebp - 0x19d8], 0x10
mov eax, dword [ebp - 0x19ec]
jae 0x40dd05
lea eax, [ebp - 0x19ec]
push 0
lea ecx, [ebp - 0x114]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x40dd23
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x40dd25
xor esi, esi
cmp dword [ebp - 0x19d8], 0x10
mov eax, dword [ebp - 0x19ec]
jae 0x40dd3a
lea eax, [ebp - 0x19ec]
push eax
call fcn.00422a70
cmp dword [ebp - 0x19f0], 0x10
mov eax, dword [ebp - 0x1a04]
pop ecx
jae 0x40dd56
lea eax, [ebp - 0x1a04]
push eax
call fcn.00422a70
pop ecx
test esi, esi
je 0x40dde5
mov eax, dword [0x451a20]
xor esi, esi
inc esi
mov dword [0x451a24], 0x65
mov dword [0x44e394], esi
test eax, eax
je 0x40dd95
push 0
push 0
push 2
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
and dword [0x451a20], 0
call fcn.00418640
push str.The_configuration_file_could_not_be_moved_to_the_installation_directory.
push dword [eax]
push ebx
push esi
push dword [ebp - 0x1c1c]
call fcn.004117f5
mov eax, dword [ebp - 0x1c1c]
xor ebx, ebx
add esp, 0x14
cmp dword [eax + 0x260], ebx
je 0x40d48e
cmp dword [eax + 0x258], ebx
jne 0x40d48e
push 0x50010
push 0x451508
push str.Installation_of_the_Agent_failed_because_nthe_configuration_file_could_not_be_moved_to_the_installation_directory.
jmp 0x40d487
push 0x12c
lea eax, [ebp - 0x348]
push 0
push eax
call fcn.00414350
lea eax, [ebp - 0x1c2c]
mov dword [ebp - 0x1c2c], 0x12b
push eax
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x1c38]
push eax
push str.Path
lea eax, [ebp - 0x48c]
push eax
push 0x80000002
call fcn.0040baad
add esp, 0x24
test eax, eax
je 0x40de9b
mov eax, dword [ebp - 0x1c1c]
cmp dword [eax + 0x258], 0
jne 0x40de60
push 0x50010
push 0x451508
push str.The_installation_path_for_the_Agent_cannot_be_found_n_nThe_Agent_cannot_be_started.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x1c1c]
push str.Cannot_launch_the_agent_because_the_path_could_not_be_found.
push 0xffffffffffffffe4
pop esi
push esi
push ebx
push ebx
push eax
call fcn.004117f5
push edi
lea eax, [ebp - 0x1c18]
push eax
lea eax, [ebp - 0x1c24]
push eax
lea eax, [ebp - 0x1c20]
push eax
lea eax, [ebp - 0x1c1c]
push eax
call fcn.0040b317
add esp, 0x28
jmp 0x40e71b
lea eax, [ebp - 0x348]
push eax
lea ecx, [ebp - 0x1a04]
call fcn.0040a808
lea eax, [ebp - 0x1a04]
push eax
lea ecx, [ebp - 0x1a1c]
call fcn.0040a7ea
jmp 0x40e0bb
cmp byte [ebp - 0x1bf0], 0x5c
je 0x40df2f
cmp byte [ebp - 0x1bef], 0x3a
je 0x40df2f
lea eax, [ebp - 0x1bf0]
push str.Provisioning.xml
push eax
call fcn.0041bb48
pop ecx
pop ecx
test eax, eax
lea ecx, [ebp - 0x19d4]
lea eax, [ebp - 0x1a1c]
push eax
jne 0x40df11
call fcn.0040a7ea
push str.EndpointProvisioning.xml
lea ecx, [ebp - 0x19d4]
call fcn.0040a90c
jmp 0x40df41
call fcn.0040a7ea
push 0x438354
lea ecx, [ebp - 0x19d4]
call fcn.0040a90c
lea eax, [ebp - 0x1bf0]
push eax
jmp 0x40df04
lea eax, [ebp - 0x1bf0]
push eax
lea ecx, [ebp - 0x19d4]
call fcn.0040a808
mov eax, dword [ebp - 0x19d4]
push 0x10
pop esi
cmp dword [ebp - 0x19c0], esi
jae 0x40df58
lea eax, [ebp - 0x19d4]
push eax
call fcn.0040530a
mov eax, dword [ebp - 0x19d4]
pop ecx
cmp dword [ebp - 0x19c0], esi
jae 0x40df73
lea eax, [ebp - 0x19d4]
push 0x43c8e8
push eax
call fcn.0041bf81
mov dword [ebp - 0x1c30], eax
pop ecx
pop ecx
test eax, eax
jne 0x40e019
mov eax, dword [ebp - 0x19d4]
cmp dword [ebp - 0x19c0], esi
jae 0x40dfa2
lea eax, [ebp - 0x19d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40dffd
test al, 3
je 0x40dffd
mov eax, dword [ebp - 0x19d4]
cmp dword [ebp - 0x19c0], esi
jae 0x40dfc6
lea eax, [ebp - 0x19d4]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 0x19d4]
cmp dword [ebp - 0x19c0], esi
jae 0x40dfe6
lea eax, [ebp - 0x19d4]
push 0x43c8e8
push eax
call fcn.0041bf81
mov dword [ebp - 0x1c30], eax
pop ecx
pop ecx
test eax, eax
jne 0x40e019
mov eax, dword [ebp - 0x19d4]
cmp dword [ebp - 0x19c0], esi
jae 0x40e011
lea eax, [ebp - 0x19d4]
push eax
push str.WARNING:_Unable_to_open_the_file__s_to_save_the_additional_custom_Agent_installation_file._Agent_installation_proceeding.
jmp 0x40e060
push eax
push dword [ebp - 0x1ae8]
push 1
push dword [ebp - 0x1adc]
call fcn.0041b740
push dword [ebp - 0x1c30]
mov esi, eax
call fcn.0041acb0
add esp, 0x14
cmp esi, dword [ebp - 0x1ae8]
je 0x40e0bb
cmp dword [ebp - 0x19c0], 0x10
mov eax, dword [ebp - 0x19d4]
jae 0x40e05a
lea eax, [ebp - 0x19d4]
push eax
push str.WARNING:_Unable_to_write_the_file_content_to__s_to_save_the_additional_custom_Agent_installation_file._Agent_installation_proceeding.
lea eax, [ebp - 0x690]
push eax
call fcn.004011e8
call fcn.00418640
lea ecx, [ebp - 0x690]
push ecx
push dword [eax]
push ebx
push 1
push dword [ebp - 0x1c1c]
call fcn.004117f5
mov eax, dword [ebp - 0x1c1c]
xor ecx, ecx
add esp, 0x20
cmp dword [eax + 0x260], ecx
je 0x40e0bb
cmp dword [eax + 0x258], ecx
jne 0x40e0bb
push 0x50010
push 0x451508
lea eax, [ebp - 0x690]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea eax, [ebp - 0x1c18]
push eax
push edi
call fcn.00411031
pop ecx
pop ecx
test eax, eax
je 0x40dec4
cmp dword [ebp - 0x1c34], 0
mov dword [0x44e394], 1
mov dword [0x451a24], 0x64
je 0x40e266
mov eax, dword [ebp - 0x1c1c]
cmp dword [eax + 0x264], 0
je 0x40e152
and dword [ebp - 0x1c50], 0
lea eax, [ebp - 0x1c50]
push 4
push eax
push 4
push str.EnableRemoteControl
lea eax, [ebp - 0x48c]
push eax
push 0x80000002
call fcn.0040e96d
add esp, 0x18
test eax, eax
jne 0x40e13b
push str.Disabled_remote_control.
push eax
push 1
jmp 0x40e143
push str.Failed_to_disable_remote_control.
push eax
push 2
push ebx
push dword [ebp - 0x1c1c]
call fcn.004117f5
add esp, 0x14
mov esi, 0x94
lea eax, [ebp - 0x1ad8]
push esi
push 0
push eax
call fcn.00414350
add esp, 0xc
mov dword [ebp - 0x1ad8], esi
lea eax, [ebp - 0x1ad8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x40e266
cmp dword [ebp - 0x1ac8], 2
jne 0x40e266
push 0x200
lea eax, [ebp - 0x998]
push 0
push eax
call fcn.00414350
add esp, 0xc
mov dword [ebp - 0x1c30], 0x1ff
lea eax, [ebp - 0x1c30]
push eax
lea eax, [ebp - 0x998]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x40e266
cmp byte [ebp - 0x998], 0
je 0x40e266
lea eax, [ebp - 0x998]
push str.SYSTEM
push eax
call fcn.0041bb48
pop ecx
pop ecx
test eax, eax
je 0x40e266
lea eax, [ebp - 0x1a04]
push eax
lea ecx, [ebp - 0x1a1c]
call fcn.0040a7ea
push str.KaUsrTsk.exe
lea ecx, [ebp - 0x1a04]
call fcn.0040a90c
cmp dword [ebp - 0x19f0], 0x10
mov eax, dword [ebp - 0x1a04]
jae 0x40e228
lea eax, [ebp - 0x1a04]
push 0
push 0
push 0x43b9f8
push eax
call fcn.0040bb6e
add esp, 0x10
test eax, eax
je 0x40e254
push str.Failed_to_launch_the_service_helper_task.
push eax
push ebx
push ebx
push dword [ebp - 0x1c1c]
call fcn.004117f5
add esp, 0x14
lea eax, [ebp - 0x1a1c]
push eax
lea ecx, [ebp - 0x1a04]
call fcn.0040a7ea
mov eax, dword [ebp - 0x1c1c]
add eax, 0x328
push eax
lea eax, [ebp - 0x320]
push str.KA_s
push eax
call fcn.004011e8
mov eax, dword [ebp - 0x1c1c]
add esp, 0xc
cmp dword [eax + 0x14], 1
jne 0x40e2a1
push str.Windows_prior_to_XP_not_supported
push 0
push ebx
push ebx
push eax
jmp 0x40e3d4
push 1
push ebx
lea ecx, [ebp - 0x1d04]
call fcn.0040a6aa
lea eax, [ebp - 0x320]
push eax
push str._attempting_to_start_NT_agent_service
push 0x981
push 0x43d184
lea eax, [ebp - 0x1cf4]
push str.SrcVarAgentSetup.cpp
push eax
call fcn.004054d9
pop ecx
pop ecx
push eax
call fcn.004054d9
pop ecx
pop ecx
mov ecx, eax
call fcn.0040a827
push eax
call fcn.004054d9
pop ecx
pop ecx
push eax
call fcn.004054d9
pop ecx
pop ecx
lea eax, [ebp - 0x1a34]
push eax
lea ecx, [ebp - 0x1d04]
call fcn.0040bfd8
cmp dword [eax + 0x14], 0x10
jb 0x40e311
mov eax, dword [eax]
push eax
push 0
push 1
push ebx
push dword [ebp - 0x1c1c]
call fcn.004117f5
add esp, 0x14
lea ecx, [ebp - 0x1a34]
push 0
push 1
call fcn.00402955
lea ecx, [ebp - 0x1d04]
call fcn.0040a9c7
lea eax, [ebp - 0x320]
push eax
call fcn.00401080
mov esi, eax
pop ecx
test esi, esi
je 0x40e3c4
push 1
push ebx
lea ecx, [ebp - 0x1db4]
call fcn.0040a6aa
push esi
lea eax, [ebp - 0x1da4]
push str.Cannot_launch_the_agent_GetLastError_code
push eax
call fcn.004054d9
pop ecx
pop ecx
mov ecx, eax
call fcn.0040a827
lea eax, [ebp - 0x1a34]
push eax
lea ecx, [ebp - 0x1db4]
call fcn.0040bfd8
cmp dword [eax + 0x14], 0x10
jb 0x40e395
mov eax, dword [eax]
push eax
push esi
push 1
push ebx
push dword [ebp - 0x1c1c]
call fcn.004117f5
add esp, 0x14
lea ecx, [ebp - 0x1a34]
push 0
push 1
call fcn.00402955
lea ecx, [ebp - 0x1db4]
call fcn.0040a9c7
jmp 0x40e3dc
push str.Started_agent.
push 0
push 1
push ebx
push dword [ebp - 0x1c1c]
call fcn.004117f5
add esp, 0x14
mov eax, dword [ebp - 0x1c1c]
add eax, 0x328
push eax
lea eax, [ebp - 0x320]
push str.KAEND_s
push eax
call fcn.004011e8
mov eax, dword [ebp - 0x1c1c]
add esp, 0xc
cmp dword [eax + 0x14], 1
jne 0x40e417
push str.Windows_prior_to_XP_not_supported
push 0
push ebx
push ebx
push eax
jmp 0x40e54a
push 1
push ebx
lea ecx, [ebp - 0x1e64]
call fcn.0040a6aa
lea eax, [ebp - 0x320]
push eax
push str._attempting_to_start_NT_endpoint_service
push 0x99c
push 0x43d184
lea eax, [ebp - 0x1e54]
push str.SrcVarAgentSetup.cpp
push eax
call fcn.004054d9
pop ecx
pop ecx
push eax
call fcn.004054d9
pop ecx
pop ecx
mov ecx, eax
call fcn.0040a827
push eax
call fcn.004054d9
pop ecx
pop ecx
push eax
call fcn.004054d9
pop ecx
pop ecx
lea eax, [ebp - 0x1a34]
push eax
lea ecx, [ebp - 0x1e64]
call fcn.0040bfd8
cmp dword [eax + 0x14], 0x10
jb 0x40e487
mov eax, dword [eax]
push eax
push 0
push 1
push ebx
push dword [ebp - 0x1c1c]
call fcn.004117f5
add esp, 0x14
lea ecx, [ebp - 0x1a34]
push 0
push 1
call fcn.00402955
lea ecx, [ebp - 0x1e64]
call fcn.0040a9c7
lea eax, [ebp - 0x320]
push eax
call fcn.00401080
mov esi, eax
pop ecx
test esi, esi
je 0x40e53a
push 1
push ebx
lea ecx, [ebp - 0x1f14]
call fcn.0040a6aa
push esi
lea eax, [ebp - 0x1f04]
push str.Cannot_launch_the_endpoint_GetLastError_code
push eax
call fcn.004054d9
pop ecx
pop ecx
mov ecx, eax
call fcn.0040a827
lea eax, [ebp - 0x1a34]
push eax
lea ecx, [ebp - 0x1f14]
call fcn.0040bfd8
cmp dword [eax + 0x14], 0x10
jb 0x40e50b
mov eax, dword [eax]
push eax
push esi
push 1
push ebx
push dword [ebp - 0x1c1c]
call fcn.004117f5
add esp, 0x14
lea ecx, [ebp - 0x1a34]
push 0
push 1
call fcn.00402955
lea ecx, [ebp - 0x1f14]
call fcn.0040a9c7
jmp 0x40e552
push str.Started_endpoint.
push 0
push 1
push ebx
push dword [ebp - 0x1c1c]
call fcn.004117f5
add esp, 0x14
mov eax, dword [0x451a20]
mov dword [0x451a24], 0x65
test eax, eax
je 0x40e579
push 0
push 0
push 2
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
and dword [0x451a20], 0
mov eax, dword [ebp - 0x1c1c]
cmp dword [eax + 0x260], 0
je 0x40e5b6
cmp dword [eax + 0x258], 0
jne 0x40e5b6
cmp dword [eax + 0x254], 0
jne 0x40e5bf
push 1
push 0x7530
push dword [eax + 0x318]
push eax
call fcn.00409dc6
mov eax, dword [ebp - 0x1c1c]
add esp, 0x10
cmp dword [eax + 0x254], 0
je 0x40e5df
call fcn.0040b247
test eax, eax
je 0x40e5df
push str.Attempt_to_reboot_the_system_failed.
push eax
push ebx
push 1
push dword [ebp - 0x1c1c]
call fcn.004117f5
add esp, 0x14
push edi
lea eax, [ebp - 0x1c18]
push eax
lea eax, [ebp - 0x1c24]
push eax
lea eax, [ebp - 0x1c20]
push eax
lea eax, [ebp - 0x1c1c]
push eax
call fcn.0040b317
add esp, 0x14
xor esi, esi
jmp 0x40e71b
mov eax, dword [0x451a20]
mov dword [0x44e394], 1
mov dword [0x451a24], 0x65
test eax, eax
je 0x40e63c
push 0
push 0
push 2
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
and dword [0x451a20], 0
push str.Installation_of_the_Agent_Failed.
push esi
push ebx
push 1
push dword [ebp - 0x1c1c]
call fcn.004117f5
mov eax, dword [ebp - 0x1c1c]
xor ebx, ebx
add esp, 0x14
cmp dword [eax + 0x260], ebx
je 0x40e681
cmp dword [eax + 0x258], ebx
jne 0x40e681
push 0x50010
push 0x451508
push str.Installation_of_the_Agent_Failed
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
lea eax, [ebp - 0x1c18]
push eax
lea eax, [ebp - 0x1c24]
push eax
lea eax, [ebp - 0x1c20]
push eax
lea eax, [ebp - 0x1c1c]
push eax
call fcn.0040b317
add esp, 0x14
push 0xfffffffffffffffd
jmp 0x40d9fc
movsx eax, byte [ebp - 0xc]
push eax
push str.Installation_of_the_Agent_failed_because_nthe_target_installation_drive___c:__could_not_be_found_on_this_computer.
push esi
call fcn.004011e8
add esp, 0xc
push 0x50010
push 0x451508
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
movsx eax, byte [ebp - 0xc]
push eax
push str.Cannot_install_agent_on_machine_because_the_target_installation_drive___c:__is_missing.
push esi
call fcn.004011e8
push esi
push 0xffffffffffffffe2
pop esi
push esi
push ebx
push ebx
push dword [ebp - 0x1c1c]
call fcn.004117f5
push 0
lea eax, [ebp - 0x1c18]
push eax
lea eax, [ebp - 0x1c24]
push eax
lea eax, [ebp - 0x1c20]
push eax
lea eax, [ebp - 0x1c1c]
push eax
call fcn.0040b317
add esp, 0x34
push 0
push 1
lea ecx, [ebp - 0x19ec]
call fcn.00402955
push 0
push 1
lea ecx, [ebp - 0x1a1c]
call fcn.00402955
jmp 0x40e78a
mov eax, dword [ebp - 0x1c1c]
xor ebx, ebx
cmp dword [eax + 0x258], ebx
jne 0x40e761
push 0x50010
push 0x451508
push str.Installation_of_the_Agent_failed_because_nanother_instance_of_this_installation_package_is_already_running.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
lea eax, [ebp - 0x1c18]
push eax
lea eax, [ebp - 0x1c24]
push eax
lea eax, [ebp - 0x1c20]
push eax
lea eax, [ebp - 0x1c1c]
push eax
call fcn.0040b317
add esp, 0x14
mov ebx, esi
mov esi, ebx
push 0
push 1
lea ecx, [ebp - 0x19d4]
call fcn.00402955
push 0
push 1
lea ecx, [ebp - 0x1a04]
call fcn.00402955
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00412e47
mov esp, ebp
pop ebp
ret 0x10