Function at 0x420b57
Capabilities:
Check mutex on windows

Disassembly:
push 0x4dc
mov eax, 0x4a225c
call fcn.0045a4e9
mov edi, ecx
mov dword [ebp - 0x478], edi
xor esi, esi
mov dword [ebp - 4], esi
push 0x40
lea ebx, [edi + 8]
lea eax, [ebp - 0x264]
push ebx
push eax
mov dword [ebp - 0x224], edi
call fcn.004594d0
add esp, 0xc
xor eax, eax
inc eax
push eax
mov dword [ebp - 0x47c], eax
lea eax, [ebp - 0x482]
push eax
push str.setup.cpp
lea ecx, [ebp - 0x3e4]
mov byte [ebp - 4], 2
call fcn.004043d0
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x420bbe
mov eax, dword [eax]
push eax
lea eax, [edi + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [ebp - 0x3e4]
call fcn.00401ac0
push 0x4c6720
push dword [ebp - 4]
push 0x45a9eb
push 3
push ebx
call fcn.0045cbd0
mov ebx, dword [ebp - 0x478]
mov edi, eax
add esp, 0x14
mov dword [ebp - 0x490], edi
test edi, edi
jne 0x421634
mov edi, dword [ebp + 8]
mov dword [0x4d777c], edi
mov dword [ebx + 0x268], edi
call fcn.00450777
push 0x3a8
mov byte [ebx + 0x258], al
call fcn.004590c6
pop ecx
mov dword [ebp - 0x490], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x420c3f
push edi
mov ecx, eax
call fcn.004164ae
jmp 0x420c41
mov eax, esi
push 8
mov byte [ebp - 4], 2
mov dword [ebx + 0x25c], eax
call fcn.004590c6
pop ecx
test eax, eax
je 0x420c61
mov ecx, dword [ebx + 0x25c]
mov dword [eax], ecx
jmp 0x420c63
mov eax, esi
sub esp, 0x30
mov ecx, esp
mov dword [ebx + 0x260], eax
mov dword [ebp - 0x4bc], esp
push esi
lea eax, [ebp + 0x3c]
mov edi, 0x4c0f30
push eax
mov dword [ecx], edi
mov dword [ecx + 0x28], 0x4c0ed0
call fcn.00408e82
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x4b0], esp
push esi
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 4
mov dword [ecx], edi
mov dword [ecx + 0x28], 0x4c0ed0
call fcn.00408e82
lea edi, [ebx + 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.0041d9bf
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 - 0x384]
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040fbfe
cmp dword [eax + 0x14], 0
lea ecx, [ebp - 0x384]
sete bl
call fcn.00401b80
test bl, bl
mov ebx, dword [ebp - 0x478]
je 0x420d38
sub esp, 0x30
mov eax, esp
mov dword [ebp - 0x4b8], esp
push eax
mov ecx, ebx
call fcn.004199c6
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 6
call dword [eax + 0x2c]
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004223e7
sub esp, 0x30
mov eax, esp
mov dword [ebp - 0x4c0], esp
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040fbfe
mov ecx, dword [ebx + 0x3d4]
call fcn.00418085
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x14], 0
je 0x420d74
mov eax, dword [ebx + 0x3d4]
mov byte [eax + 0x19], 1
mov ecx, ebx
call fcn.0041cd81
test al, al
je 0x420da6
lea eax, [ebp + 0x3c]
push eax
mov ecx, ebx
call fcn.0041b357
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x15], 0
je 0x420da6
mov eax, dword [ebx + 0x3d4]
mov byte [eax + 0x18], 1
jmp 0x42171f
xor ebx, ebx
push ebx
lea eax, [ebp - 0x47e]
push eax
mov esi, str.setup.ini
push esi
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xa0], 0x4c0f30
mov dword [ebp - 0x78], 0x4c0ed0
call fcn.00408f6d
lea eax, [ebp - 0x294]
push eax
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 7
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040d1d8
lea ecx, [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0x130]
push ecx
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0040b91e
lea ecx, [ebp - 0x294]
call fcn.00401b80
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xb
call fcn.00401b80
push ebx
lea eax, [ebp - 0x480]
push eax
push esi
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xd0], 0x4c0f30
mov dword [ebp - 0xa8], 0x4c0ed0
call fcn.00408f6d
lea eax, [ebp - 0x2c4]
push eax
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 0xc
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040fbfe
lea ecx, [ebp - 0xd0]
push ecx
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.0040b91e
lea ecx, [ebp - 0x2c4]
call fcn.00401b80
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x10
call fcn.00401b80
push 0x8e
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x4c8], esp
push ebx
lea eax, [ebp - 0x70]
mov esi, 0x4c0f30
push eax
mov dword [ecx], esi
mov dword [ecx + 0x28], 0x4c0ed0
call fcn.00408e82
mov byte [ebp - 4], 0x11
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x4d0], esp
push ebx
lea eax, [ebp - 0x130]
push eax
mov dword [ecx], esi
mov dword [ecx + 0x28], 0x4c0ed0
call fcn.00408e82
mov esi, dword [ebp - 0x478]
mov ecx, esi
mov byte [ebp - 4], 0x10
call fcn.00418f84
push eax
mov ecx, esi
call fcn.00418de9
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 3], bl
je 0x420f10
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x70]
call fcn.004095e2
push ebx
lea eax, [ebp + 0x3c]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4c0f30
mov dword [ebp - 0x18], 0x4c0ed0
call fcn.00408e82
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x4d8], esp
push ebx
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 0x12
mov dword [ecx], 0x4c0f30
mov dword [ecx + 0x28], 0x4c0ed0
call fcn.00408e82
lea eax, [ebp + 0x3c]
push eax
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 0x13
call dword [eax + 0x2c]
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.0041e15e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0xf], 0
je 0x420f82
mov eax, dword [esi + 0x3d4]
mov byte [eax + 0x18], 1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x10], 0
je 0x420f98
mov eax, dword [esi + 0x3d4]
mov byte [eax + 0x19], bl
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x1a], 0
je 0x420fc0
push 0xa8
push 0x8000ffff
mov ecx, esi
mov dword [esi + 0x3c0], 0xffffec77
call fcn.00418de9
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x1b], 0
mov ecx, esi
je 0x420fe5
push 1
mov dword [esi + 0x3c0], 0xffffec77
call fcn.0040bbd6
jmp 0x421225
call fcn.0041cd81
test al, al
jne 0x4210de
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x14], 0
jne 0x4210de
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x11], 0
jne 0x42101f
mov ecx, esi
call fcn.00418ed2
test al, al
je 0x4210de
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x11], 0
je 0x421036
mov eax, dword [esi + 0x3d4]
mov byte [eax + 0x18], 1
mov eax, dword [esi + 0x3d4]
mov ecx, edi
mov byte [eax + 0x19], bl
mov eax, dword [edi]
call dword [eax + 0x2c]
cmp byte [eax + 0x11], 0
je 0x42105f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x12], 0
jne 0x42105f
mov dword [ebp - 0x47c], ebx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0x47c]
mov byte [eax + 0x12], cl
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x11], 0
jne 0x4210ae
mov edi, str.no_selfdeleter
push edi
call fcn.0045a1f4
pop ecx
push eax
push ebx
push edi
lea ecx, [ebp - 0x3c]
call fcn.0040a017
cmp eax, 0xffffffff
jne 0x4210ae
mov edi, str.__no_selfdeleter__IS_temp
push edi
call fcn.0045a1f4
pop ecx
push eax
push edi
lea ecx, [ebp - 0x3c]
call fcn.0040dad9
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x4e0], esp
push ebx
lea eax, [ebp - 0x40]
push eax
mov dword [ecx], 0x4c0f30
mov dword [ecx + 0x28], 0x4c0ed0
call fcn.00408e82
mov ecx, esi
call fcn.0042182f
mov ebx, eax
jmp 0x421225
push 0xcd
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.0040fbfe
sub esp, 0x30
mov eax, esp
mov dword [ebp - 0x4cc], esp
push eax
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 0x14
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040d1d8
mov ecx, esi
mov byte [ebp - 4], 0x12
call fcn.004198a6
push eax
mov ecx, esi
call fcn.00418de9
lea eax, [ebp - 0x2f4]
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040d191
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x42114e
mov eax, dword [eax]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [ebp - 0x49c], esi
mov byte [ebp - 0x498], bl
lea ecx, [ebp - 0x2f4]
mov byte [ebp - 4], 0x15
call fcn.00401b80
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, edi
cmp eax, 0x102
jne 0x42124d
push 0x7da
lea eax, [ebp - 0x190]
push eax
mov eax, dword [edi]
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040d268
cmp dword [ebp - 0x17c], 0
mov byte [ebp - 4], 0x16
jne 0x4211be
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 - 0x18c]
call fcn.00406a00
push ebx
push 1
push 0x40
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x4b4], esp
push ebx
lea eax, [ebp - 0x190]
push eax
mov dword [ecx], 0x4c0f30
mov dword [ecx + 0x28], 0x4c0ed0
call fcn.00408e82
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 0x17
call dword [eax + 0x2c]
push ebx
lea ecx, [ebp - 0x4a0]
mov dword [ebp - 0x4a0], eax
mov byte [ebp - 4], 0x16
call fcn.0040d922
lea ecx, [ebp - 0x190]
call fcn.00401b80
lea ecx, [ebp - 0x49c]
mov byte [ebp - 0x498], bl
call fcn.00405170
lea ecx, [ebp - 0x40]
call fcn.00401b80
lea ecx, [ebp - 0x70]
call fcn.00401b80
lea ecx, [ebp - 0x130]
call fcn.00401b80
mov dword [ebp - 0x47c], ebx
mov esi, ebx
jmp 0x42171f
mov eax, dword [edi]
call dword [eax + 0x2c]
cmp byte [eax + 0x13], 0
jne 0x4212fd
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x14], 0
jne 0x4212fd
push ebx
lea eax, [ebp - 0x47d]
push eax
mov esi, 0x4aedb8
push esi
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x100], 0x4c0f30
mov dword [ebp - 0xd8], 0x4c0ed0
call fcn.00408f6d
lea eax, [ebp - 0x354]
push eax
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 0x1b
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040d1d8
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x4dc], esp
lea edx, [ebp - 0x100]
push edx
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1c
call fcn.0040b91e
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 0x1d
call dword [eax + 0x2c]
mov ecx, eax
mov byte [ebp - 4], 0x1c
call fcn.004222cf
lea ecx, [ebp - 0x354]
call fcn.00401b80
lea ecx, [ebp - 0x100]
jmp 0x421388
push ebx
lea eax, [ebp - 0x481]
push eax
mov esi, 0x4aedb8
push esi
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x160], 0x4c0f30
mov dword [ebp - 0x138], 0x4c0ed0
call fcn.00408f6d
lea eax, [ebp - 0x3b4]
push eax
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 0x18
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040fbfe
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x4a8], esp
lea edx, [ebp - 0x160]
push edx
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x19
call fcn.0040b91e
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 0x1a
call dword [eax + 0x2c]
mov ecx, eax
mov byte [ebp - 4], 0x19
call fcn.004222cf
lea ecx, [ebp - 0x3b4]
call fcn.00401b80
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 0x15
call fcn.00401b80
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 3], 0
je 0x421450
push ebx
lea eax, [ebp - 0x483]
push eax
push esi
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x1c0], 0x4c0f30
mov dword [ebp - 0x198], 0x4c0ed0
call fcn.00408f6d
lea eax, [ebp - 0x474]
push eax
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 0x1e
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040d131
push ebx
push ebx
lea ecx, [ebp - 0x414]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1f
call fcn.0040a206
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x4d4], esp
lea edx, [ebp - 0x1c0]
push edx
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x20
call fcn.0040b91e
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 0x21
call dword [eax + 0x2c]
mov ecx, eax
mov byte [ebp - 4], 0x20
call fcn.004222cf
lea ecx, [ebp - 0x414]
call fcn.00401b80
lea ecx, [ebp - 0x474]
call fcn.00401b80
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 0x15
call fcn.00401b80
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x13], 0
jne 0x42146e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x14], 0
je 0x42155f
push 1
lea eax, [ebp - 0x484]
push eax
mov esi, str.ISSetup.dll
push esi
lea ecx, [ebp - 0x1f0]
call fcn.004090b1
push 1
lea eax, [ebp - 0x47f]
push eax
push esi
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0x22
call fcn.004090b1
push 0xe8
lea eax, [ebp - 0x324]
push eax
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 0x23
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040fbfe
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x4c4], esp
lea edx, [ebp - 0x1f0]
push edx
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x24
call fcn.0040b91e
lea eax, [ebp - 0x444]
push eax
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 0x25
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040d1d8
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x4e4], esp
lea edx, [ebp - 0x220]
push edx
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x26
call fcn.0040b91e
mov esi, dword [ebp - 0x478]
mov ecx, esi
mov byte [ebp - 4], 0x27
call fcn.00418f84
push eax
mov ecx, esi
call fcn.00418de9
lea ecx, [ebp - 0x444]
call fcn.00401b80
lea ecx, [ebp - 0x324]
call fcn.00401b80
lea ecx, [ebp - 0x220]
call fcn.00401b80
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 0x15
call fcn.00401b80
jmp 0x421565
mov esi, dword [ebp - 0x478]
mov ecx, esi
call fcn.0041cec7
test al, al
jne 0x421581
push 0xec
push 0xffffec75
mov ecx, esi
call fcn.00418de9
mov ecx, esi
call fcn.0041b833
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax], 0
mov ecx, esi
je 0x4215a2
push 0xf2
call fcn.0041feb9
jmp 0x4215ac
push 0xf4
call fcn.0041c3b9
push eax
mov ecx, esi
call fcn.00418de9
lea ecx, [ebp - 0x49c]
mov byte [ebp - 0x498], bl
call fcn.00405170
lea ecx, [ebp - 0x40]
call fcn.00401b80
lea ecx, [ebp - 0x70]
call fcn.00401b80
lea ecx, [ebp - 0x130]
call fcn.00401b80
push dword [esi + 0x28c]
lea ecx, [ebp - 0x48c]
call fcn.00415ab2
mov eax, dword [ebp - 0x48c]
lea edx, [ebp - 0x494]
mov dword [ebp - 0x494], ebx
mov ecx, dword [eax]
push edx
push eax
mov byte [ebp - 4], 0x2a
call dword [ecx + 0xe4]
mov eax, dword [ebp - 0x48c]
mov esi, dword [ebp - 0x494]
mov byte [ebp - 4], 2
test eax, eax
je 0x42171f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42171f
cmp edi, 0x80042002
jne 0x421694
mov edi, dword [ebx + 0x26c]
push esi
push 1
push 0x10
sub esp, 0x30
mov eax, esp
mov dword [ebp - 0x4ac], esp
lea esi, [ebx + 4]
push 0x7d9
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040d268
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 0x28
call dword [eax + 0x2c]
push edi
lea ecx, [ebp - 0x4a4]
mov dword [ebp - 0x4a4], eax
mov byte [ebp - 4], 2
call fcn.0040d922
mov edi, dword [ebp - 0x490]
xor esi, esi
jmp 0x4216a4
cmp edi, 0x80042000
je 0x4216a4
push esi
mov ecx, ebx
call fcn.0040bbd6
cmp dword [ebx + 0x288], 0
je 0x4216c7
mov dword [ebx + 0x298], 5
mov eax, dword [ebx + 0x288]
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xb4]
mov ecx, dword [ebx + 0x294]
test ecx, ecx
je 0x421710
mov dword [ebp - 0x488], esi
mov eax, dword [ecx]
lea edx, [ebp - 0x488]
push edx
push 0x4adcd4
push ecx
mov byte [ebp - 4], 0x29
call dword [eax]
test eax, eax
js 0x4216fc
mov eax, dword [ebp - 0x488]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x488]
mov byte [ebp - 4], 2
test eax, eax
je 0x421710
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, 0x80042000
cmp edi, esi
je 0x42171f
mov esi, dword [ebx + 0x3c0]
mov ecx, dword [ebp - 0x224]
push 0x40
lea eax, [ebp - 0x264]
push eax
add ecx, 8
push ecx
call fcn.004594d0
add esp, 0xc
lea ecx, [ebp + 0xc]
call fcn.00401b80
lea ecx, [ebp + 0x3c]
call fcn.00401b80
mov eax, esi
call fcn.0045a498
ret 0x64