Function at 0x5b12780
Capabilities:
Check mutex on windows
Check os version
Create process on windows
Create thread
Get file attributes
Print debug messages
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x6f44
call fcn.05acf3e0
mov eax, dword [0x5b920e8]
xor eax, esp
mov dword [esp + 0x6f40], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 1
mov dword [esp + 0x20], esi
call fcn.05b0bc30
add esp, 4
lea eax, [esp + 0x160]
push eax
mov dword [0x5b9f154], esi
call fcn.05b148f0
push 0x114
xor ebx, ebx
lea ecx, [esp + 0x81c]
push ebx
push ecx
call fcn.05acaa80
add esp, 0xc
lea edx, [esp + 0x818]
push edx
mov dword [esp + 0x81c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x828], 2
jne 0x5b142dd
cmp dword [esp + 0x81c], 5
jb 0x5b142dd
push str.SymantecSEPSetup_exist
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x5b142a6
cmp eax, 5
je 0x5b142a6
lea eax, [esp + 0x2b0]
push eax
call fcn.05b103a0
cmp dword [esp + 0x2b0], ebx
jne 0x5b128ae
cmp dword [esp + 0x2c8], 8
mov esi, dword [esp + 0x2b4]
jae 0x5b1286d
lea esi, [esp + 0x2b4]
mov ecx, dword [esp + 0x168]
push ecx
push 0x6e
call fcn.05b11ed0
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [esp + 0x2b0]
call fcn.05b0fb50
lea esi, [esp + 0x160]
call fcn.05b144b0
push ebx
call fcn.05b0bc30
mov eax, 0x64c
jmp 0x5b14368
cmp dword [esp + 0x160], ebx
jne 0x5b12910
cmp dword [esp + 0x1a8], 8
mov esi, dword [esp + 0x194]
jae 0x5b128cf
lea esi, [esp + 0x194]
mov edx, dword [esp + 0x168]
push edx
push 0x6b
call fcn.05b11ed0
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [esp + 0x2b0]
call fcn.05b0fb50
lea esi, [esp + 0x160]
call fcn.05b144b0
push ebx
call fcn.05b0bc30
mov eax, 0x667
jmp 0x5b14368
mov eax, 1
cmp dword [esp + 0x164], eax
jne 0x5b12962
mov eax, dword [ebp + 0x14]
push eax
call fcn.05b11630
add esp, 4
cmp eax, ebx
je 0x5b12a65
xor ecx, ecx
lea edx, [esp + 0x478]
mov word [esp + 0x478], cx
push edx
mov edi, eax
mov ecx, 0x5b6b9e0
mov dword [esp + 0x490], 7
mov dword [esp + 0x48c], ebx
call fcn.05b0e4a0
cmp dword [esp + 0x16c], eax
jne 0x5b12aa6
push 0xffe
lea ecx, [esp + 0xf4e]
xor eax, eax
push ebx
push ecx
mov word [esp + 0xf54], ax
call fcn.05acaa80
add esp, 0xc
push 0xffe
lea eax, [esp + 0x2f4e]
xor edx, edx
push ebx
push eax
mov word [esp + 0x2f54], dx
call fcn.05acaa80
mov edx, dword [0x5b9f154]
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
add esp, 0xc
push 0x800
lea ecx, [esp + 0xf4c]
push ecx
push 0x7c
push edx
call esi
mov ecx, dword [0x5b9f154]
push 0x800
lea eax, [esp + 0x2f4c]
push eax
push 0x67
push ecx
call esi
push 0x24
lea edx, [esp + 0x2f4c]
push edx
lea eax, [esp + 0xf50]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x5b12a65
xor ecx, ecx
lea esi, [esp + 0x240]
mov dword [esp + 0x254], 7
mov dword [esp + 0x250], ebx
mov word [esp + 0x240], cx
call fcn.05b0f3c0
test eax, eax
jne 0x5b12a59
cmp dword [esp + 0x254], 8
mov esi, dword [esp + 0x240]
jae 0x5b12a47
lea esi, [esp + 0x240]
mov edx, dword [esp + 0x168]
push edx
push 0x79
call fcn.05b11ed0
add esp, 8
lea ecx, [esp + 0x240]
call fcn.05a014b0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [esp + 0x2b0]
call fcn.05b0fb50
lea esi, [esp + 0x160]
call fcn.05b144b0
push ebx
call fcn.05b0bc30
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6f40]
xor ecx, esp
call fcn.05ac7ec0
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [esp + 0x2d0]
mov ebx, 8
cmp dword [esp + 0x2e4], ebx
jae 0x5b12ac2
lea edx, [esp + 0x2d0]
mov ecx, dword [esp + 0x404]
cmp dword [esp + 0x418], ebx
jae 0x5b12ad9
lea ecx, [esp + 0x404]
call fcn.05b0eec0
push 0x5b6b880
lea ecx, [esp + 0x12c]
mov esi, eax
call fcn.05a01460
mov edi, 1
mov dword [esp + 0x20], 0
cmp esi, edi
jne 0x5b12bad
mov ecx, dword [esp + 0x3e8]
cmp dword [esp + 0x3fc], ebx
jae 0x5b12b1d
lea ecx, [esp + 0x3e8]
lea eax, [esp + 0x128]
push eax
call fcn.05b0eb50
add esp, 4
test eax, eax
jne 0x5b12bad
mov ecx, dword [esp + 0x128]
mov dword [esp + 0x20], edi
cmp dword [esp + 0x13c], ebx
jae 0x5b12b4c
lea ecx, [esp + 0x128]
mov eax, dword [esp + 0x324]
cmp dword [esp + 0x338], ebx
jae 0x5b12b63
lea eax, [esp + 0x324]
push ecx
push eax
call fcn.05b0f5a0
add esp, 8
test eax, eax
jne 0x5b12bad
mov edx, dword [esp + 0x128]
cmp dword [esp + 0x13c], ebx
jae 0x5b12b88
lea edx, [esp + 0x128]
mov eax, edx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5b12b90
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x32c]
call fcn.05a01370
mov ecx, dword [esp + 0x340]
cmp dword [esp + 0x354], ebx
jae 0x5b12bc4
lea ecx, [esp + 0x340]
mov eax, dword [esp + 0x324]
cmp dword [esp + 0x338], ebx
jae 0x5b12bdb
lea eax, [esp + 0x324]
push ecx
push eax
lea ecx, [esp + 0x640]
push ecx
call fcn.05b112e0
cmp dword [esp + 0x638], 0
jne 0x5b12cdf
mov esi, dword [esp + 0x78c]
cmp dword [esp + 0x7a0], ebx
jae 0x5b12c0f
lea esi, [esp + 0x78c]
mov edx, dword [esp + 0x168]
push edx
push 0x72
call fcn.05b11ed0
add esp, 8
cmp dword [esp + 0x170], 0
je 0x5b12c4b
mov eax, dword [esp + 0x324]
cmp dword [esp + 0x338], ebx
jae 0x5b12c42
lea eax, [esp + 0x324]
push eax
call fcn.05b0ded0
add esp, 4
cmp dword [esp + 0x20], edi
jne 0x5b12c93
mov eax, dword [esp + 0x128]
cmp dword [esp + 0x13c], ebx
jae 0x5b12c68
lea eax, [esp + 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x5b12c93
mov eax, dword [esp + 0x128]
cmp dword [esp + 0x13c], ebx
jae 0x5b12c8a
lea eax, [esp + 0x128]
push eax
call fcn.05b0ded0
add esp, 4
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edi, [esp + 0x638]
call fcn.05b10c10
lea ecx, [esp + 0x128]
call fcn.05a014b0
lea esi, [esp + 0x2b0]
call fcn.05b0fb50
lea esi, [esp + 0x160]
call fcn.05b144b0
push 0
call fcn.05b0bc30
mov eax, 0x64a
jmp 0x5b14368
mov eax, dword [esp + 0x690]
cmp dword [esp + 0x6a4], ebx
jae 0x5b12cf6
lea eax, [esp + 0x690]
push eax
push 0x800
push str.Symantec_Endpoint_Protection
call fcn.05ac8c66
add esp, 0xc
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 0
cmp dword [esp + 0x370], ebx
jb 0x5b12d29
mov ecx, dword [esp + 0x35c]
mov dword [esp + 0x30], ecx
jmp 0x5b12d34
lea edx, [esp + 0x35c]
mov dword [esp + 0x30], edx
mov byte [esp + 0x44], 0
mov eax, dword [esp + 0x44]
push eax
lea eax, [esp + 0x34]
call fcn.05a03ee0
add esp, 4
test al, al
jne 0x5b13373
mov byte [esp + 0x40], al
mov ecx, dword [esp + 0x40]
push ecx
lea ecx, [esp + 0x774]
call fcn.05a03f50
add esp, 4
test al, al
je 0x5b13373
xor esi, esi
push esi
call fcn.05b0bc30
add esp, 4
push 1
call fcn.05b0bc30
add esp, 4
mov ecx, str.3rd_Party_Application_Removal_Begin
call fcn.05b11b80
mov ecx, str.Initializing_3_PAR_verification
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
call fcn.05b11b80
mov eax, dword [esp + 0x378]
cmp dword [esp + 0x38c], ebx
jae 0x5b12dba
lea eax, [esp + 0x378]
push eax
lea ecx, [esp + 0x1f0]
call fcn.05a01460
mov eax, dword [esp + 0x1ec]
cmp dword [esp + 0x200], ebx
jae 0x5b12dde
lea eax, [esp + 0x1ec]
push eax
lea ecx, [esp + 0x594]
call fcn.05a01460
lea ecx, [esp + 0x590]
call fcn.05b0cc70
cmp eax, 1
lea ecx, [esp + 0x590]
sete bl
call fcn.05a014b0
test bl, bl
je 0x5b12e31
mov ecx, str.3_PAR_signiture_is_not_trusted__not_running_3_PAR
call fcn.05b11b80
mov dword [esp + 0xc], 0x88
mov dword [esp + 0x10], 5
mov ebx, 8
jmp 0x5b13285
xor edx, edx
push 0xffe
push edx
lea eax, [esp + 0x4f52]
push eax
mov word [esp + 0x4f54], dx
call fcn.05acaa80
mov edx, dword [0x5b9f154]
add esp, 0xc
push 0x800
lea ecx, [esp + 0x4f4c]
push ecx
push 0x87
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
mov ecx, dword [esp + 0x1ec]
mov ebx, 8
cmp dword [esp + 0x200], ebx
jae 0x5b12e8c
lea ecx, [esp + 0x1ec]
lea edx, [esp + 0x4f48]
call fcn.05b0d4e0
cmp eax, 1
jne 0x5b12ebc
mov ecx, str.3_PAR_signiture_failure__not_running_3_PAR
call fcn.05b11b80
mov dword [esp + 0xc], 0x86
mov dword [esp + 0x10], 5
jmp 0x5b13285
push 0xa4
call fcn.05ac813b
add esp, 4
test eax, eax
je 0x5b12f1d
mov edx, dword [esp + 0x2d0]
cmp dword [esp + 0x2e4], ebx
jae 0x5b12ee4
lea edx, [esp + 0x2d0]
mov ecx, dword [esp + 0x35c]
cmp dword [esp + 0x370], ebx
jae 0x5b12efb
lea ecx, [esp + 0x35c]
mov esi, dword [esp + 0x394]
cmp dword [esp + 0x3a8], ebx
jae 0x5b12f12
lea esi, [esp + 0x394]
push esi
push eax
call fcn.05b0c940
mov edi, eax
jmp 0x5b12f1f
xor edi, edi
mov ecx, str.Initializing_3_PAR_object
call fcn.05b11b80
cmp byte [edi + 0x18], 0
je 0x5b1324c
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
test eax, eax
jne 0x5b1323b
mov ecx, str.Initialization_completed_successfully
call fcn.05b11b80
mov ecx, str.Detection_process_beginning
call fcn.05b11b80
cmp byte [edi + 4], 0
je 0x5b13227
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
test eax, eax
jne 0x5b13227
mov ecx, str.Detection_process_completed_successfully
call fcn.05b11b80
push 2
lea eax, [esp + 0x64]
push eax
call fcn.05b161c0
push 1
lea ecx, [esp + 0xc4]
push ecx
call fcn.05b161c0
push 0
lea edx, [esp + 0xa4]
push edx
call fcn.05b161c0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push str.Applications_currently_installed_that_are_Symantec_supported:
call fcn.05a01460
lea ecx, [esp + 0x7c]
call fcn.05b12000
mov ecx, esp
mov dword [esp + 0x34], esp
push str.Applications_currently_installed_that_are_NOT_Symantec_supported:
call fcn.05a01460
lea ecx, [esp + 0xdc]
call fcn.05b12000
mov ecx, esp
mov dword [esp + 0x34], esp
push str.Applications_currently_installed_for_which_removal_is_not_supported:
call fcn.05a01460
lea ecx, [esp + 0xbc]
call fcn.05b12000
mov eax, dword [esp + 0x7c]
add esp, 0x1c
cmp eax, dword [esp + 0x64]
je 0x5b1310d
lea esi, [esp + 0x7e0]
lea edx, [esp + 0x160]
call fcn.05a022a0
lea ecx, [esp + 0x674]
push ecx
mov ecx, eax
call fcn.05b12370
add esp, 4
mov ecx, esi
mov bl, al
call fcn.05a014b0
test bl, bl
je 0x5b13064
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x60]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x58], edx
call fcn.05b14ce0
cmp al, 1
sete al
test al, al
je 0x5b130f3
mov ecx, str.Removal_process_beginning
call fcn.05b11b80
cmp byte [edi + 5], 0
je 0x5b130df
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
test eax, eax
jne 0x5b130df
mov ecx, str.Removal_process_completed_successfully
mov byte [esp + 0x17], 1
call fcn.05b11b80
xor eax, eax
push str.Global_MSIExecute
push eax
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0x7c], 0xc
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x5b1310d
push 0x2bf20
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x5b130d6
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x5b1310d
mov ecx, str.Removal_process_failed
call fcn.05b11b80
mov dword [esp + 0xc], 0x80
jmp 0x5b13105
mov ecx, str.3PAR_process_cancelled
call fcn.05b11b80
mov dword [esp + 0xc], 0x81
mov dword [esp + 0x10], 5
push 0
lea edx, [esp + 0x94]
push edx
call fcn.05b16140
push 1
lea eax, [esp + 0x80]
push eax
call fcn.05b16140
push 2
lea ecx, [esp + 0xb4]
push ecx
call fcn.05b16140
push 3
lea edx, [esp + 0xd4]
push edx
call fcn.05b16140
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push str.Applications_successfully_removed:
call fcn.05a01460
lea ecx, [esp + 0xac]
call fcn.05b12000
mov ecx, esp
mov dword [esp + 0x34], esp
push str.Applications_successfully_removed_that_require_a_reboot:
call fcn.05a01460
lea ecx, [esp + 0x98]
call fcn.05b12000
mov ecx, esp
mov dword [esp + 0x34], esp
push str.Applications_for_which_removal_was_not_attempted:
call fcn.05a01460
lea ecx, [esp + 0xcc]
call fcn.05b12000
mov ecx, esp
mov dword [esp + 0x34], esp
push str.Applications_that_failed_to_be_removed:
call fcn.05a01460
lea ecx, [esp + 0xec]
call fcn.05b12000
mov eax, dword [esp + 0x98]
add esp, 0x1c
cmp eax, dword [esp + 0x80]
lea ebx, [esp + 0xd0]
setne byte [esp + 0x16]
call fcn.05a02370
lea ebx, [esp + 0xb0]
call fcn.05a02370
lea ebx, [esp + 0x7c]
call fcn.05a02370
lea ebx, [esp + 0x90]
call fcn.05a02370
lea ebx, [esp + 0xa0]
call fcn.05a02370
lea ebx, [esp + 0xc0]
call fcn.05a02370
lea ebx, [esp + 0x60]
call fcn.05a02370
mov ebx, 8
jmp 0x5b13266
mov ecx, str.Detection_process_failed
call fcn.05b11b80
mov dword [esp + 0xc], 0x84
jmp 0x5b1325e
cmp eax, 5
jne 0x5b1324c
mov ecx, str.AppRemover_reports_license_issues._Allowing_installation_anyway.
call fcn.05b11b80
jmp 0x5b13266
mov ecx, str.Initialization_failed
call fcn.05b11b80
mov dword [esp + 0xc], 0x83
mov dword [esp + 0x10], 5
mov ecx, str.3rd_Party_Application_Removal_End
call fcn.05b11b80
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
cmp dword [esp + 0x10], 0
je 0x5b13362
cmp dword [esp + 0x168], 0
jne 0x5b132a3
mov ecx, dword [esp + 0xc]
push 0
push ecx
xor esi, esi
call fcn.05b11ed0
add esp, 8
lea ebx, [esi + 8]
cmp dword [esp + 0x170], 0
je 0x5b132cd
mov eax, dword [esp + 0x324]
cmp dword [esp + 0x338], ebx
jae 0x5b132c4
lea eax, [esp + 0x324]
push eax
call fcn.05b0ded0
add esp, 4
cmp dword [esp + 0x20], 1
jne 0x5b13316
mov eax, dword [esp + 0x128]
cmp dword [esp + 0x13c], ebx
jae 0x5b132eb
lea eax, [esp + 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x5b13316
mov eax, dword [esp + 0x128]
cmp dword [esp + 0x13c], ebx
jae 0x5b1330d
lea eax, [esp + 0x128]
push eax
call fcn.05b0ded0
add esp, 4
lea ecx, [esp + 0x1ec]
call fcn.05a014b0
lea edi, [esp + 0x638]
call fcn.05b10c10
lea ecx, [esp + 0x128]
call fcn.05a014b0
lea esi, [esp + 0x2b0]
call fcn.05b0fb50
lea esi, [esp + 0x160]
call fcn.05b144b0
push 0
call fcn.05b0bc30
mov eax, dword [esp + 0x14]
jmp 0x5b14368
lea ecx, [esp + 0x1ec]
call fcn.05a014b0
mov ebx, 8
push 0x5b6b880
lea ecx, [esp + 0x20c]
mov dword [esp + 0x10], 0
call fcn.05a01460
lea edi, [esp + 0x208]
lea eax, [esp + 0x6ac]
call fcn.05b0e110
test eax, eax
jne 0x5b1349b
mov esi, dword [esp + 0x6ac]
cmp dword [esp + 0x6c0], ebx
jae 0x5b133be
lea esi, [esp + 0x6ac]
mov edx, dword [esp + 0x168]
push edx
push 0x73
call fcn.05b11ed0
add esp, 8
cmp dword [esp + 0x170], 0
je 0x5b133fa
mov eax, dword [esp + 0x324]
cmp dword [esp + 0x338], ebx
jae 0x5b133f1
lea eax, [esp + 0x324]
push eax
call fcn.05b0ded0
add esp, 4
cmp dword [esp + 0x20], 1
jne 0x5b13443
mov eax, dword [esp + 0x128]
cmp dword [esp + 0x13c], ebx
jae 0x5b13418
lea eax, [esp + 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x5b13443
mov eax, dword [esp + 0x128]
cmp dword [esp + 0x13c], ebx
jae 0x5b1343a
lea eax, [esp + 0x128]
push eax
call fcn.05b0ded0
add esp, 4
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x208]
call fcn.05a014b0
lea edi, [esp + 0x638]
call fcn.05b10c10
lea ecx, [esp + 0x128]
call fcn.05a014b0
lea esi, [esp + 0x2b0]
call fcn.05b0fb50
lea esi, [esp + 0x160]
call fcn.05b144b0
push 0
call fcn.05b0bc30
mov eax, 0x65e
jmp 0x5b14368
push 0x5b6b880
lea ecx, [esp + 0x1b8]
call fcn.05a01460
lea edi, [esp + 0x1b4]
lea eax, [esp + 0x700]
call fcn.05b0e110
test eax, eax
jne 0x5b135c7
mov esi, dword [esp + 0x700]
cmp dword [esp + 0x714], ebx
jae 0x5b134de
lea esi, [esp + 0x700]
mov ecx, dword [esp + 0x168]
push ecx
push 0x74
call fcn.05b11ed0
add esp, 8
cmp dword [esp + 0x170], 0
je 0x5b1351a
mov eax, dword [esp + 0x324]
cmp dword [esp + 0x338], ebx
jae 0x5b13511
lea eax, [esp + 0x324]
push eax
call fcn.05b0ded0
add esp, 4
cmp dword [esp + 0x20], 1
jne 0x5b13563
mov eax, dword [esp + 0x128]
cmp dword [esp + 0x13c], ebx
jae 0x5b13538
lea eax, [esp + 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x5b13563
mov eax, dword [esp + 0x128]
cmp dword [esp + 0x13c], ebx
jae 0x5b1355a
lea eax, [esp + 0x128]
push eax
call fcn.05b0ded0
add esp, 4
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x1b4]
call fcn.05a014b0
lea ecx, [esp + 0x208]
call fcn.05a014b0
lea edi, [esp + 0x638]
call fcn.05b10c10
lea ecx, [esp + 0x128]
call fcn.05a014b0
lea esi, [esp + 0x2b0]
call fcn.05b0fb50
lea esi, [esp + 0x160]
call fcn.05b144b0
push 0
call fcn.05b0bc30
mov eax, 0x654
jmp 0x5b14368
push str.InstallerProducts
lea ecx, [esp + 0x1d4]
mov dword [esp + 0x2c], 0
call fcn.05a01460
lea eax, [esp + 0x1d0]
push eax
mov eax, 0x5b6b8ac
call fcn.05a01110
push 0
lea ecx, [esp + 0x20c]
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x1d8]
call fcn.05a01270
mov eax, dword [esp + 0x1d0]
cmp dword [esp + 0x1e4], ebx
jae 0x5b1361d
mov eax, esi
lea edx, [esp + 0x28]
push edx
push 0x20019
push 0
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5b136cc
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x38]
push eax
push ecx
lea eax, [esp + 0x44]
lea ebx, [esp + 0x5f50]
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], 0x1000
call fcn.05b0dbb0
add esp, 8
test eax, eax
jne 0x5b136c5
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.Query_PackageCode_value_succeeds.
call edi
cmp dword [esp + 0x1c8], 8
mov eax, dword [esp + 0x1b4]
jae 0x5b13693
lea eax, [esp + 0x1b4]
lea ecx, [esp + 0x5f48]
call fcn.05a02280
test eax, eax
jne 0x5b136b4
push str.Same_PackageCode.
call edi
mov dword [esp + 0xc], 0
jmp 0x5b136dd
push str.Different_Package_Code.
call edi
mov dword [esp + 0xc], 1
jmp 0x5b136dd
push str.Query_PackageCode_value_fails.
jmp 0x5b136d1
push str.No_same_ProductCode_is_found.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x3c4], 8
mov ecx, dword [esp + 0x3b0]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x34], 0
jae 0x5b13710
lea ecx, [esp + 0x3b0]
lea eax, [esp + 0x34]
push eax
lea ebx, [esp + 0x30]
call fcn.05b0dd10
add esp, 4
test eax, eax
jne 0x5b1383a
mov esi, dword [esp + 0x3b0]
mov edi, 8
cmp dword [esp + 0x3c4], edi
jae 0x5b13745
lea esi, [esp + 0x3b0]
mov ecx, dword [esp + 0x168]
push ecx
push 0x75
call fcn.05b11ed0
add esp, 8
cmp dword [esp + 0x170], 0
je 0x5b13781
mov eax, dword [esp + 0x324]
cmp dword [esp + 0x338], edi
jae 0x5b13778
lea eax, [esp + 0x324]
push eax
call fcn.05b0ded0
add esp, 4
cmp dword [esp + 0x20], 1
jne 0x5b137ca
mov eax, dword [esp + 0x128]
cmp dword [esp + 0x13c], edi
jae 0x5b1379f
lea eax, [esp + 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x5b137ca
mov eax, dword [esp + 0x128]
cmp dword [esp + 0x13c], edi
jae 0x5b137c1
lea eax, [esp + 0x128]
push eax
call fcn.05b0ded0
add esp, 4
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x1d0]
call fcn.05a014b0
lea ecx, [esp + 0x1b4]
call fcn.05a014b0
lea ecx, [esp + 0x208]
call fcn.05a014b0
lea edi, [esp + 0x638]
call fcn.05b10c10
lea ecx, [esp + 0x128]
call fcn.05a014b0
lea esi, [esp + 0x2b0]
call fcn.05b0fb50
lea esi, [esp + 0x160]
call fcn.05b144b0
push 0
call fcn.05b0bc30
mov eax, 0x666
jmp 0x5b14368
mov eax, dword [esp + 0x2c]
imul eax, eax, 0x64
add eax, dword [esp + 0x34]
mov ebx, 8
movzx esi, ax
mov eax, dword [esp + 0x71c]
mov dword [esp + 0x10], 0
cmp dword [esp + 0x730], ebx
jae 0x5b1386c
lea eax, [esp + 0x71c]
push eax
call fcn.05ac8acd
add esp, 4
cmp esi, eax
jge 0x5b1399b
push str.Launch_MSI_Installer.
call edi
xor esi, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
cmp dword [esp + 0x168], esi
jne 0x5b138b4
lea edx, [esp + 0x18]
push edx
push esi
lea eax, [ebp + 0x14]
push eax
push 0x5b11fd0
push esi
push esi
call fcn.05ac8d8e
add esp, 0x18
mov dword [esp + 0x1c], eax
push 0x104
lea ecx, [esp + 0xd44]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0xd40]
push edx
lea ecx, [esp + 0x228]
call fcn.05a01460
mov ebx, 1
lea edi, [esp + 0x224]
call fcn.05a02dd0
cmp eax, 0xffffffff
jne 0x5b138f6
xor eax, eax
jmp 0x5b138f7
inc eax
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x22c]
call fcn.05a01500
push 0
lea eax, [esp + 0x73c]
push eax
or eax, 0xffffffff
lea esi, [esp + 0x22c]
call fcn.05a01270
mov eax, ebx
mov ecx, esi
call fcn.05a02ca0
mov ecx, esi
push ecx
mov eax, 0x5b6c2f0
call fcn.05a01110
mov edx, esi
push edx
lea ecx, [esp + 0x758]
call fcn.05b0e740
add esp, 4
test eax, eax
jne 0x5b14165
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x168], eax
jne 0x5b1398a
mov eax, dword [0x5b9f158]
test eax, eax
je 0x5b13972
push 0
push 0
push 2
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x5b1398a
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x224]
call fcn.05a014b0
mov ebx, 8
push 0x5b6b880
lea ecx, [esp + 0x444]
mov dword [esp + 0x20], 0
call fcn.05a01460
mov eax, dword [esp + 0x324]
cmp dword [esp + 0x338], ebx
jae 0x5b139cb
lea eax, [esp + 0x324]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0xa8], esp
push eax
call fcn.05a01460
lea ecx, [esp + 0x38]
call fcn.05b10640
test eax, eax
js 0x5b13a03
cmp dword [esp + 0x1c], 1
jne 0x5b13a03
lea eax, [esp + 0x440]
push eax
mov eax, str.SRCLICFILEEE
call fcn.05a01110
push 1
call fcn.05b0bc30
add esp, 4
push 0
call fcn.05b0bc30
add esp, 4
push 0x5b6c32c
lea ecx, [esp + 0x148]
call fcn.05a01460
mov eax, dword [esp + 0x324]
cmp dword [esp + 0x338], ebx
jae 0x5b13a3f
lea eax, [esp + 0x324]
push eax
lea ecx, [esp + 0x27c]
call fcn.05a01460
lea ecx, [esp + 0x278]
push ecx
mov eax, 0x5b6b8ac
call fcn.05a01110
push 0
lea edx, [esp + 0x6e8]
push edx
or eax, 0xffffffff
lea esi, [esp + 0x280]
call fcn.05a01270
mov edi, esi
call fcn.05b0f4c0
lea eax, [esp + 0x144]
call fcn.05b0e470
cmp dword [esp + 0x174], 0
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jne 0x5b13ab4
push str.setup.exe_command_line_didnt_contain_MSI_args
call ebx
lea edi, [esp + 0x674]
lea eax, [esp + 0x144]
call fcn.05b0e470
mov eax, dword [esp + 0x144]
mov edi, 8
cmp dword [esp + 0x158], edi
jae 0x5b13ad0
lea eax, [esp + 0x144]
push eax
call ebx
lea esi, [esp + 0x424]
lea edx, [esp + 0x160]
call fcn.05a022a0
mov eax, dword [esp + 0x424]
cmp dword [esp + 0x438], edi
jae 0x5b13af8
mov eax, esi
push eax
call ebx
lea esi, [esp + 0x7fc]
lea edx, [esp + 0x160]
call fcn.05a022a0
mov edi, eax
lea eax, [esp + 0x144]
call fcn.05b0e470
mov ecx, esi
call fcn.05a014b0
cmp dword [esp + 0x158], 8
mov eax, dword [esp + 0x144]
jae 0x5b13b3b
lea eax, [esp + 0x144]
push eax
call ebx
lea edi, [esp + 0x440]
lea eax, [esp + 0x144]
call fcn.05b0e470
mov ebx, 1
cmp dword [esp + 0x10], ebx
jne 0x5b13b87
push str.WIXSCHEDULEREBOOT1
lea ecx, [esp + 0x4ec]
call fcn.05a01460
lea edi, [esp + 0x4e8]
lea eax, [esp + 0x144]
call fcn.05b0e470
mov ecx, edi
call fcn.05a014b0
cmp dword [esp + 0xc], ebx
jne 0x5b13bb8
push str.REINSTALLALL_REINSTALLALLMODEvomus
lea ecx, [esp + 0x508]
call fcn.05a01460
lea edi, [esp + 0x504]
lea eax, [esp + 0x144]
call fcn.05b0e470
mov ecx, edi
call fcn.05a014b0
cmp byte [esp + 0x17], 0
je 0x5b13bea
push str.IDCDEPLOYMENTCompetitive.Uninstall
lea ecx, [esp + 0x578]
call fcn.05a01460
lea edi, [esp + 0x574]
lea eax, [esp + 0x144]
call fcn.05b0e470
mov ecx, edi
call fcn.05a014b0
cmp byte [esp + 0x16], 0
je 0x5b13c1c
push str.TPARY
lea ecx, [esp + 0x5e8]
call fcn.05a01460
lea edi, [esp + 0x5e4]
lea eax, [esp + 0x144]
call fcn.05b0e470
mov ecx, edi
call fcn.05a014b0
xor eax, eax
push 0x40e
push eax
lea ecx, [esp + 0x93a]
push ecx
mov word [esp + 0x93c], ax
call fcn.05acaa80
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
add esp, 0xc
push 0x208
lea edx, [esp + 0x934]
push edx
push str._SystemDrive_
call esi
test eax, eax
js 0x5b13cb5
lea eax, [esp + 0x930]
push eax
lea ecx, [esp + 0x620]
call fcn.05a01460
push str._SystemDrive_
lea ecx, [esp + 0x524]
call fcn.05a01460
lea ecx, [esp + 0x61c]
push ecx
lea ecx, [esp + 0x524]
lea edi, [esp + 0x148]
call fcn.05b0e5b0
add esp, 4
lea ecx, [esp + 0x520]
call fcn.05a014b0
lea ecx, [esp + 0x61c]
call fcn.05a014b0
push 0x208
lea edx, [esp + 0x934]
push edx
push str._SystemRoot_
call esi
test eax, eax
js 0x5b13d28
lea eax, [esp + 0x930]
push eax
lea ecx, [esp + 0x5b0]
call fcn.05a01460
push str._SystemRoot_
lea ecx, [esp + 0x5cc]
call fcn.05a01460
lea ecx, [esp + 0x5ac]
push ecx
lea ecx, [esp + 0x5cc]
lea edi, [esp + 0x148]
call fcn.05b0e5b0
add esp, 4
lea ecx, [esp + 0x5c8]
call fcn.05a014b0
lea ecx, [esp + 0x5ac]
call fcn.05a014b0
mov eax, dword [esp + 0x2d0]
mov esi, 8
cmp dword [esp + 0x2e4], esi
jae 0x5b13d44
lea eax, [esp + 0x2d0]
push eax
lea ecx, [esp + 0x604]
call fcn.05a01460
push str._TEMP_
lea ecx, [esp + 0x4d0]
call fcn.05a01460
lea edx, [esp + 0x600]
push edx
lea ecx, [esp + 0x4d0]
lea edi, [esp + 0x148]
call fcn.05b0e5b0
add esp, 4
lea ecx, [esp + 0x4cc]
call fcn.05a014b0
lea ecx, [esp + 0x600]
call fcn.05a014b0
mov eax, dword [esp + 0x308]
cmp dword [esp + 0x31c], esi
jae 0x5b13daf
lea eax, [esp + 0x308]
push eax
lea ecx, [esp + 0x540]
call fcn.05a01460
push str._WINDIR_
lea ecx, [esp + 0x55c]
call fcn.05a01460
lea eax, [esp + 0x53c]
push eax
lea ecx, [esp + 0x55c]
lea edi, [esp + 0x148]
call fcn.05b0e5b0
add esp, 4
lea ecx, [esp + 0x558]
call fcn.05a014b0
lea ecx, [esp + 0x53c]
call fcn.05a014b0
mov eax, dword [esp + 0x3cc]
cmp dword [esp + 0x3e0], esi
jae 0x5b13e1a
lea eax, [esp + 0x3cc]
push eax
lea ecx, [esp + 0x460]
call fcn.05a01460
lea edi, [esp + 0x45c]
call fcn.05b0f4c0
mov ecx, 0x44
lea eax, [esp + 0xe0]
nop
mov byte [eax], 0
add eax, ebx
sub ecx, ebx
jne 0x5b13e40
mov dword [esp + 0xe0], 0x44
mov ecx, 0x10
lea eax, [esp + 0x48]
lea ecx, [ecx]
mov byte [eax], 0
add eax, ebx
sub ecx, ebx
jne 0x5b13e60
lea ecx, [esp + 0x45c]
push ecx
lea ecx, [esp + 0x298]
call fcn.05a02250
lea edi, [esp + 0x144]
lea eax, [esp + 0x294]
call fcn.05b0e470
mov eax, dword [esp + 0x294]
cmp dword [esp + 0x2a8], esi
jae 0x5b13ea7
lea eax, [esp + 0x294]
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0xe4]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x5b1426c
mov edx, dword [esp + 0x48]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x170], 0
je 0x5b13f13
mov eax, dword [esp + 0x324]
cmp dword [esp + 0x338], esi
jae 0x5b13f0a
lea eax, [esp + 0x324]
push eax
call fcn.05b0ded0
add esp, 4
cmp dword [esp + 0x20], ebx
jne 0x5b13f5b
mov eax, dword [esp + 0x128]
cmp dword [esp + 0x13c], esi
jae 0x5b13f30
lea eax, [esp + 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x5b13f5b
mov eax, dword [esp + 0x128]
cmp dword [esp + 0x13c], esi
jae 0x5b13f52
lea eax, [esp + 0x128]
push eax
call fcn.05b0ded0
add esp, 4
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x5b14199
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5b14199
cmp eax, 0xbc2
je 0x5b14199
cmp eax, 0x669
je 0x5b14199
cmp dword [esp + 0x10], 0
je 0x5b140a3
xor eax, eax
push 0xffe
push eax
lea ecx, [esp + 0x3f52]
push ecx
mov word [esp + 0x3f54], ax
call fcn.05acaa80
add esp, 0xc
xor edx, edx
push 0xffe
push edx
lea eax, [esp + 0x1f52]
push eax
mov word [esp + 0x1f54], dx
call fcn.05acaa80
mov edx, dword [0x5b9f154]
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
add esp, 0xc
push 0x800
lea ecx, [esp + 0x3f4c]
push ecx
push 0x78
push edx
call esi
mov ecx, dword [0x5b9f154]
push 0x800
lea eax, [esp + 0x1f4c]
push eax
push 0x67
push ecx
call esi
push 0x24
lea edx, [esp + 0x1f4c]
push edx
lea eax, [esp + 0x3f50]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x5b140a3
xor ecx, ecx
lea esi, [esp + 0x25c]
mov dword [esp + 0x270], 7
mov dword [esp + 0x26c], 0
mov word [esp + 0x25c], cx
call fcn.05b0f3c0
test eax, eax
jne 0x5b14097
cmp dword [esp + 0x270], 8
mov esi, dword [esp + 0x25c]
jae 0x5b14085
lea esi, [esp + 0x25c]
mov edx, dword [esp + 0x168]
push edx
push 0x79
call fcn.05b11ed0
add esp, 8
lea ecx, [esp + 0x25c]
call fcn.05a014b0
mov eax, dword [esp + 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x24]
push ecx
call esi
mov ebx, dword [esp + 0xc]
lea ecx, [esp + 0x294]
call fcn.05a014b0
lea ecx, [esp + 0x45c]
call fcn.05a014b0
lea ecx, [esp + 0x424]
call fcn.05a014b0
lea ecx, [esp + 0x278]
call fcn.05a014b0
lea ecx, [esp + 0x144]
call fcn.05a014b0
lea ecx, [esp + 0x440]
call fcn.05a014b0
lea ecx, [esp + 0x1d0]
call fcn.05a014b0
lea ecx, [esp + 0x1b4]
call fcn.05a014b0
lea ecx, [esp + 0x208]
call fcn.05a014b0
lea edi, [esp + 0x638]
call fcn.05b10c10
lea ecx, [esp + 0x128]
call fcn.05a014b0
lea esi, [esp + 0x2b0]
call fcn.05b0fb50
lea esi, [esp + 0x160]
call fcn.05b144b0
push 0
call fcn.05b0bc30
mov eax, ebx
jmp 0x5b14368
xor ecx, ecx
lea edx, [esp + 0x4b0]
mov word [esp + 0x4b0], cx
push edx
mov edi, eax
mov ecx, 0x5b6c2f4
mov dword [esp + 0x4c8], 7
mov dword [esp + 0x4c4], 0
call fcn.05b0e4a0
mov edx, dword [esp + 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x24]
push eax
call esi
lea ecx, [esp + 0x294]
call fcn.05a014b0
lea ecx, [esp + 0x45c]
call fcn.05a014b0
lea ecx, [esp + 0x424]
call fcn.05a014b0
lea ecx, [esp + 0x278]
call fcn.05a014b0
lea ecx, [esp + 0x144]
call fcn.05a014b0
lea ecx, [esp + 0x440]
call fcn.05a014b0
lea ecx, [esp + 0x1d0]
call fcn.05a014b0
lea ecx, [esp + 0x1b4]
call fcn.05a014b0
lea ecx, [esp + 0x208]
call fcn.05a014b0
lea edi, [esp + 0x638]
call fcn.05b10c10
lea ecx, [esp + 0x128]
call fcn.05a014b0
lea esi, [esp + 0x2b0]
call fcn.05b0fb50
lea esi, [esp + 0x160]
call fcn.05b144b0
push 0
call fcn.05b0bc30
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6f40]
xor ecx, esp
call fcn.05ac7ec0
mov esp, ebp
pop ebp
ret 0x10
lea edx, [esp + 0x494]
xor ecx, ecx
push edx
mov dword [esp + 0x4ac], 7
mov dword [esp + 0x4a8], 0
mov word [esp + 0x498], cx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, str.CreateProcess
call fcn.05b0e4a0
mov eax, dword [esp + 0x168]
push eax
push 0x6a
xor esi, esi
call fcn.05b11ed0
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [esp + 0x160]
call fcn.05b144b0
push ebx
call fcn.05b0bc30
mov eax, 0x652
jmp 0x5b14368
mov ecx, dword [esp + 0x168]
push ecx
push 0x69
xor esi, esi
call fcn.05b11ed0
mov edi, 8
add esp, 8
cmp dword [esp + 0x1a8], edi
jb 0x5b1430f
mov edx, dword [esp + 0x194]
push edx
call fcn.05ac7ecf
add esp, 4
xor eax, eax
mov esi, 7
mov dword [esp + 0x1a8], esi
mov dword [esp + 0x1a4], ebx
mov word [esp + 0x194], ax
cmp dword [esp + 0x18c], edi
jb 0x5b14345
mov ecx, dword [esp + 0x178]
push ecx
call fcn.05ac7ecf
add esp, 4
xor edx, edx
push ebx
mov dword [esp + 0x190], esi
mov dword [esp + 0x18c], ebx
mov word [esp + 0x17c], dx
call fcn.05b0bc30
mov eax, 0x661
mov ecx, dword [esp + 0x6f50]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.05ac7ec0
mov esp, ebp
pop ebp
ret 0x10