Function at 0x4204ec
Capabilities:
Check mutex on windows

Disassembly:
push 0x4e4
mov eax, 0x4a1d80
call fcn.0045a829
mov esi, ecx
mov dword [ebp - 0x478], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x40
lea edi, [esi + 8]
lea eax, [ebp - 0x264]
push edi
push eax
mov dword [ebp - 0x224], esi
call fcn.00459810
add esp, 0xc
push 1
lea eax, [ebp - 0x47a]
push eax
push str.setup.cpp
lea ecx, [ebp - 0x2f4]
mov byte [ebp - 4], 2
call fcn.004043d0
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x42054b
mov eax, dword [eax]
push eax
lea eax, [esi + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [ebp - 0x2f4]
call fcn.00401ac0
push 0x4c6b64
push dword [ebp - 4]
push 0x45ad2b
push 3
push edi
call fcn.0045ccb0
mov esi, eax
add esp, 0x14
mov dword [ebp - 0x48c], esi
test esi, esi
jne 0x420f5d
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x478]
mov dword [0x4d6674], edi
mov dword [esi + 0x268], edi
call fcn.004500f3
push 0x378
mov byte [esi + 0x258], al
call fcn.00459406
pop ecx
mov dword [ebp - 0x48c], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4205cc
push edi
mov ecx, eax
call fcn.00416109
jmp 0x4205ce
mov eax, ebx
push 8
mov byte [ebp - 4], 2
mov dword [esi + 0x25c], eax
call fcn.00459406
pop ecx
test eax, eax
je 0x4205ee
mov ecx, dword [esi + 0x25c]
mov dword [eax], ecx
jmp 0x4205f0
mov eax, ebx
sub esp, 0x30
mov ecx, esp
mov dword [esi + 0x260], eax
mov dword [ebp - 0x4c4], esp
push ebx
lea eax, [ebp + 0x3c]
mov edi, 0x4c13f0
push eax
mov dword [ecx], edi
mov dword [ecx + 0x28], 0x4c1390
call fcn.00408e82
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x4c8], esp
push ebx
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 4
mov dword [ecx], edi
mov dword [ecx + 0x28], 0x4c1390
call fcn.00408e82
lea edi, [esi + 4]
mov ecx, edi
mov eax, dword [edi]
mov byte [ebp - 4], 5
call dword [eax + 0x2c]
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0041d2d3
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
mov eax, dword [eax + 0x3c]
imul eax, eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x3e4]
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040fabf
cmp dword [eax + 0x14], 0
lea ecx, [ebp - 0x3e4]
sete bl
call fcn.00401b80
test bl, bl
je 0x42070c
sub esp, 0x30
mov esi, esp
mov dword [ebp - 0x4d0], esp
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x4d8], esp
push 1
lea eax, [ebp - 0x47d]
push eax
mov ebx, 0x4c11c8
push ebx
call fcn.004091b8
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x4e0], esp
push 1
lea eax, [ebp - 0x47b]
push eax
push ebx
mov byte [ebp - 4], 6
call fcn.004091b8
xor ebx, ebx
push ebx
push esi
mov byte [ebp - 4], 2
call fcn.00443c1e
add esp, 0x68
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 7
call dword [eax + 0x2c]
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00421caa
mov esi, dword [ebp - 0x478]
jmp 0x42070e
xor ebx, ebx
sub esp, 0x30
mov eax, esp
mov dword [ebp - 0x4e8], esp
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040fabf
mov ecx, dword [esi + 0x3d4]
call fcn.00417cee
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x13], 0
je 0x42074a
mov eax, dword [esi + 0x3d4]
mov byte [eax + 0x19], 1
mov ecx, esi
call fcn.0041c695
test al, al
je 0x42077c
lea eax, [ebp + 0x3c]
push eax
mov ecx, esi
call fcn.0041ac58
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x14], 0
je 0x42077c
mov eax, dword [esi + 0x3d4]
mov byte [eax + 0x18], 1
jmp 0x421065
push ebx
lea eax, [ebp - 0x47f]
push eax
push str.setup.ini
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x190], 0x4c13f0
mov dword [ebp - 0x168], 0x4c1390
call fcn.00408f6d
lea eax, [ebp - 0x384]
push eax
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 8
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040d0a5
lea ecx, [ebp - 0x190]
push ecx
lea ecx, [ebp - 0x1c0]
push ecx
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.0040b7eb
lea ecx, [ebp - 0x384]
call fcn.00401b80
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0xc
call fcn.00401b80
push ebx
lea eax, [ebp - 0x485]
push eax
push str.setup.ini
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x130], 0x4c13f0
mov dword [ebp - 0x108], 0x4c1390
call fcn.00408f6d
lea eax, [ebp - 0x294]
push eax
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 0xd
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040fabf
lea ecx, [ebp - 0x130]
push ecx
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.0040b7eb
lea ecx, [ebp - 0x294]
call fcn.00401b80
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0x11
call fcn.00401b80
push 0x8e
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x4f0], esp
push ebx
lea eax, [ebp - 0x40]
push eax
mov dword [ecx], 0x4c13f0
mov dword [ecx + 0x28], 0x4c1390
call fcn.00408e82
sub esp, 0x30
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x4ec], esp
mov ecx, esp
push ebx
lea eax, [ebp - 0x1c0]
push eax
mov dword [ecx], 0x4c13f0
mov dword [ecx + 0x28], 0x4c1390
call fcn.00408e82
mov ecx, esi
mov byte [ebp - 4], 0x11
call fcn.00418c7b
push eax
mov ecx, esi
call fcn.00418a52
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 3], 0
je 0x4208e8
lea eax, [ebp - 0x1c0]
push eax
lea ecx, [ebp - 0x40]
call fcn.004095e2
push ebx
lea eax, [ebp + 0x3c]
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4c13f0
mov dword [ebp - 0x48], 0x4c1390
call fcn.00408e82
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x4b4], esp
push ebx
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0x13
mov dword [ecx], 0x4c13f0
mov dword [ecx + 0x28], 0x4c1390
call fcn.00408e82
lea eax, [ebp + 0x3c]
push eax
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 0x14
call dword [eax + 0x2c]
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.0041d9c6
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0xf], 0
je 0x42095a
mov eax, dword [esi + 0x3d4]
mov byte [eax + 0x18], 1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x19], 0
je 0x420982
push 0xa5
push 0x8000ffff
mov ecx, esi
mov dword [esi + 0x3c0], 0xffffec77
call fcn.00418a52
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x1a], 0
mov ecx, esi
je 0x4209a7
push 1
mov dword [esi + 0x3c0], 0xffffec77
call fcn.0040baa3
jmp 0x420b56
call fcn.0041c695
test al, al
jne 0x420a0f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x13], 0
jne 0x420a0f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x10], 0
jne 0x4209d5
mov ecx, esi
call fcn.00418b3b
test al, al
je 0x420a0f
mov eax, dword [esi + 0x3d4]
sub esp, 0x30
mov ecx, esp
mov byte [eax + 0x18], 1
mov dword [ebp - 0x4d4], esp
push ebx
lea eax, [ebp - 0x70]
push eax
mov dword [ecx], 0x4c13f0
mov dword [ecx + 0x28], 0x4c1390
call fcn.00408e82
mov ecx, esi
call fcn.00421175
mov ebx, eax
jmp 0x420b56
push 0xbd
sub esp, 0x30
mov eax, esp
mov dword [ebp - 0x4bc], esp
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040fabf
sub esp, 0x30
mov eax, esp
mov dword [ebp - 0x4e4], esp
push eax
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 0x15
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040d0a5
mov ecx, esi
mov byte [ebp - 4], 0x13
call fcn.0041959d
push eax
mov ecx, esi
call fcn.00418a52
lea eax, [ebp - 0x2c4]
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040d05e
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x420a7f
mov eax, dword [eax]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [ebp - 0x498], esi
mov byte [ebp - 0x494], bl
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 0x16
call fcn.00401b80
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, edi
cmp eax, 0x102
jne 0x420b76
push 0x7da
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [edi]
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040d135
cmp dword [ebp - 0x8c], 0
mov byte [ebp - 4], 0x17
jne 0x420aef
push str.Another_instance_of_this_setup_is_already_running._Please_wait_for_the_other_instance_to_finish_and_then_try_again.
lea ecx, [ebp - 0x9c]
call fcn.00406a00
push ebx
push 1
push 0x40
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x4a8], esp
push ebx
lea eax, [ebp - 0xa0]
push eax
mov dword [ecx], 0x4c13f0
mov dword [ecx + 0x28], 0x4c1390
call fcn.00408e82
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 0x18
call dword [eax + 0x2c]
push ebx
lea ecx, [ebp - 0x4a4]
mov dword [ebp - 0x4a4], eax
mov byte [ebp - 4], 0x17
call fcn.0040d7ef
lea ecx, [ebp - 0xa0]
call fcn.00401b80
lea ecx, [ebp - 0x498]
mov byte [ebp - 0x494], bl
call fcn.00405170
lea ecx, [ebp - 0x70]
call fcn.00401b80
lea ecx, [ebp - 0x40]
call fcn.00401b80
lea ecx, [ebp - 0x1c0]
call fcn.00401b80
jmp 0x421065
mov eax, dword [edi]
call dword [eax + 0x2c]
cmp byte [eax + 0x12], 0
jne 0x420c26
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x13], 0
jne 0x420c26
push ebx
lea eax, [ebp - 0x487]
push eax
mov esi, 0x4aed50
push esi
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xd0], 0x4c13f0
mov dword [ebp - 0xa8], 0x4c1390
call fcn.00408f6d
lea eax, [ebp - 0x354]
push eax
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 0x1c
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040d0a5
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x4dc], esp
lea edx, [ebp - 0xd0]
push edx
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1d
call fcn.0040b7eb
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 0x1e
call dword [eax + 0x2c]
mov ecx, eax
mov byte [ebp - 4], 0x1d
call fcn.00421b92
lea ecx, [ebp - 0x354]
call fcn.00401b80
lea ecx, [ebp - 0xd0]
jmp 0x420cb1
push ebx
lea eax, [ebp - 0x486]
push eax
mov esi, 0x4aed50
push esi
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x100], 0x4c13f0
mov dword [ebp - 0xd8], 0x4c1390
call fcn.00408f6d
lea eax, [ebp - 0x3b4]
push eax
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 0x19
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040fabf
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x4cc], esp
lea edx, [ebp - 0x100]
push edx
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1a
call fcn.0040b7eb
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 0x1b
call dword [eax + 0x2c]
mov ecx, eax
mov byte [ebp - 4], 0x1a
call fcn.00421b92
lea ecx, [ebp - 0x3b4]
call fcn.00401b80
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x16
call fcn.00401b80
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 3], 0
je 0x420d79
push ebx
lea eax, [ebp - 0x47e]
push eax
push esi
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x160], 0x4c13f0
mov dword [ebp - 0x138], 0x4c1390
call fcn.00408f6d
lea eax, [ebp - 0x474]
push eax
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 0x1f
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040cffe
push ebx
push ebx
lea ecx, [ebp - 0x414]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x20
call fcn.0040a206
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x4ac], esp
lea edx, [ebp - 0x160]
push edx
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x21
call fcn.0040b7eb
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 0x22
call dword [eax + 0x2c]
mov ecx, eax
mov byte [ebp - 4], 0x21
call fcn.00421b92
lea ecx, [ebp - 0x414]
call fcn.00401b80
lea ecx, [ebp - 0x474]
call fcn.00401b80
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 0x16
call fcn.00401b80
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x12], 0
jne 0x420d97
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x13], 0
je 0x420e88
push 1
lea eax, [ebp - 0x479]
push eax
mov esi, str.ISSetup.dll
push esi
lea ecx, [ebp - 0x1f0]
call fcn.004090b1
push 1
lea eax, [ebp - 0x47c]
push eax
push esi
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0x23
call fcn.004090b1
push 0xd8
lea eax, [ebp - 0x444]
push eax
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 0x24
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040fabf
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x4b0], esp
lea edx, [ebp - 0x1f0]
push edx
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x25
call fcn.0040b7eb
lea eax, [ebp - 0x324]
push eax
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 0x26
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040d0a5
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x4b8], esp
lea edx, [ebp - 0x220]
push edx
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x27
call fcn.0040b7eb
mov esi, dword [ebp - 0x478]
mov ecx, esi
mov byte [ebp - 4], 0x28
call fcn.00418c7b
push eax
mov ecx, esi
call fcn.00418a52
lea ecx, [ebp - 0x324]
call fcn.00401b80
lea ecx, [ebp - 0x444]
call fcn.00401b80
lea ecx, [ebp - 0x220]
call fcn.00401b80
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 0x16
call fcn.00401b80
jmp 0x420e8e
mov esi, dword [ebp - 0x478]
mov ecx, esi
call fcn.0041c7db
test al, al
jne 0x420eaa
push 0xdc
push 0xffffec75
mov ecx, esi
call fcn.00418a52
mov ecx, esi
call fcn.0041b0dc
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax], 0
mov ecx, esi
je 0x420ecb
push 0xe2
call fcn.0041f84e
jmp 0x420ed5
push 0xe4
call fcn.0041bccd
push eax
mov ecx, esi
call fcn.00418a52
lea ecx, [ebp - 0x498]
mov byte [ebp - 0x494], bl
call fcn.00405170
lea ecx, [ebp - 0x70]
call fcn.00401b80
lea ecx, [ebp - 0x40]
call fcn.00401b80
lea ecx, [ebp - 0x1c0]
call fcn.00401b80
push dword [esi + 0x28c]
lea ecx, [ebp - 0x49c]
call fcn.00415880
mov eax, dword [ebp - 0x49c]
lea edx, [ebp - 0x490]
mov dword [ebp - 0x490], ebx
mov ecx, dword [eax]
push edx
push eax
mov byte [ebp - 4], 0x2b
call dword [ecx + 0xe4]
mov eax, dword [ebp - 0x49c]
mov ebx, dword [ebp - 0x490]
mov byte [ebp - 4], 2
test eax, eax
je 0x421065
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x421065
mov edi, 0x80042000
cmp esi, 0x80042002
jne 0x420fcb
mov ecx, dword [ebp - 0x478]
push ebx
mov edi, dword [ecx + 0x26c]
push 1
push 0x10
sub esp, 0x30
mov eax, esp
mov dword [ebp - 0x4c0], esp
lea esi, [ecx + 4]
push 0x7d9
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040d135
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 0x29
call dword [eax + 0x2c]
push edi
lea ecx, [ebp - 0x4a0]
mov dword [ebp - 0x4a0], eax
mov byte [ebp - 4], 2
call fcn.0040d7ef
mov esi, dword [ebp - 0x48c]
mov edi, 0x80042000
jmp 0x420fdb
cmp esi, edi
je 0x420fdb
mov ecx, dword [ebp - 0x478]
push ebx
call fcn.0040baa3
mov edx, dword [ebp - 0x478]
cmp dword [edx + 0x288], 0
je 0x42100a
mov dword [edx + 0x298], 5
mov eax, dword [edx + 0x288]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xb4]
mov edx, dword [ebp - 0x478]
mov ecx, dword [edx + 0x294]
test ecx, ecx
je 0x421059
mov dword [ebp - 0x484], ebx
mov eax, dword [ecx]
lea edx, [ebp - 0x484]
push edx
push 0x4adc94
push ecx
mov byte [ebp - 4], 0x2a
call dword [eax]
test eax, eax
js 0x42103f
mov eax, dword [ebp - 0x484]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x484]
mov byte [ebp - 4], 2
test eax, eax
je 0x421053
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x478]
mov ebx, edi
cmp esi, edi
je 0x421065
mov ebx, dword [edx + 0x3c0]
mov ecx, dword [ebp - 0x224]
push 0x40
lea eax, [ebp - 0x264]
push eax
add ecx, 8
push ecx
call fcn.00459810
add esp, 0xc
lea ecx, [ebp + 0xc]
call fcn.00401b80
lea ecx, [ebp + 0x3c]
call fcn.00401b80
mov eax, ebx
call fcn.0045a7d8
ret 0x64