Function at 0x41ba02
Capabilities:
Check mutex on windows

Disassembly:
push 0x4e4
mov eax, 0x463796
call fcn.0043f4b0
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.0043e4b0
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.00403610
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x41ba61
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.00401500
push 0x47a20c
push dword [ebp - 4]
push 0x43f938
push 3
push edi
call fcn.00440ff0
mov esi, eax
add esp, 0x14
mov dword [ebp - 0x48c], esi
test esi, esi
jne 0x41c473
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x478]
mov dword [0x485494], edi
mov dword [esi + 0x268], edi
call fcn.0043ae74
push 0x378
mov byte [esi + 0x258], al
call fcn.0043e0b5
pop ecx
mov dword [ebp - 0x48c], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x41bae2
push edi
mov ecx, eax
call fcn.004121fb
jmp 0x41bae4
mov eax, ebx
push 8
mov byte [ebp - 4], 2
mov dword [esi + 0x25c], eax
call fcn.0043e0b5
pop ecx
test eax, eax
je 0x41bb04
mov ecx, dword [esi + 0x25c]
mov dword [eax], ecx
jmp 0x41bb06
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, 0x46be90
push eax
mov dword [ecx], edi
mov dword [ecx + 0x28], 0x46c540
call fcn.004064d5
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], 0x46c540
call fcn.004064d5
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.00418874
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.0040c743
cmp dword [eax + 0x14], 0
lea ecx, [ebp - 0x3e4]
sete bl
call fcn.00401500
test bl, bl
je 0x41bc22
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, 0x476040
push ebx
call fcn.004067ae
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.004067ae
xor ebx, ebx
push ebx
push esi
mov byte [ebp - 4], 2
call fcn.004340af
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.0041d17e
mov esi, dword [ebp - 0x478]
jmp 0x41bc24
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.0040c743
mov ecx, dword [esi + 0x3d4]
call fcn.004135e7
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x13], 0
je 0x41bc60
mov eax, dword [esi + 0x3d4]
mov byte [eax + 0x19], 1
mov ecx, esi
call fcn.00417c7c
test al, al
je 0x41bc92
lea eax, [ebp + 0x3c]
push eax
mov ecx, esi
call fcn.00416276
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x14], 0
je 0x41bc92
mov eax, dword [esi + 0x3d4]
mov byte [eax + 0x18], 1
jmp 0x41c57b
push ebx
lea eax, [ebp - 0x47f]
push eax
push str.setup.ini
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x190], 0x46be90
mov dword [ebp - 0x168], 0x46c540
call fcn.004065c0
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.0040a01e
lea ecx, [ebp - 0x190]
push ecx
lea ecx, [ebp - 0x1c0]
push ecx
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.004087bf
lea ecx, [ebp - 0x384]
call fcn.00401500
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0xc
call fcn.00401500
push ebx
lea eax, [ebp - 0x485]
push eax
push str.setup.ini
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x130], 0x46be90
mov dword [ebp - 0x108], 0x46c540
call fcn.004065c0
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.0040c743
lea ecx, [ebp - 0x130]
push ecx
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.004087bf
lea ecx, [ebp - 0x294]
call fcn.00401500
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0x11
call fcn.00401500
push 0x8e
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x4f0], esp
push ebx
lea eax, [ebp - 0x40]
push eax
mov dword [ecx], 0x46be90
mov dword [ecx + 0x28], 0x46c540
call fcn.004064d5
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], 0x46be90
mov dword [ecx + 0x28], 0x46c540
call fcn.004064d5
mov ecx, esi
mov byte [ebp - 4], 0x11
call fcn.00414463
push eax
mov ecx, esi
call fcn.00414242
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 3], 0
je 0x41bdfe
lea eax, [ebp - 0x1c0]
push eax
lea ecx, [ebp - 0x40]
call fcn.00406bba
push ebx
lea eax, [ebp + 0x3c]
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x46be90
mov dword [ebp - 0x48], 0x46c540
call fcn.004064d5
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], 0x46be90
mov dword [ecx + 0x28], 0x46c540
call fcn.004064d5
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.00418f67
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0xf], 0
je 0x41be70
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 0x41be98
push 0xa5
push 0x8000ffff
mov ecx, esi
mov dword [esi + 0x3c0], 0xffffec77
call fcn.00414242
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x1a], 0
mov ecx, esi
je 0x41bebd
push 1
mov dword [esi + 0x3c0], 0xffffec77
call fcn.00408a27
jmp 0x41c06c
call fcn.00417c7c
test al, al
jne 0x41bf25
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x13], 0
jne 0x41bf25
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x10], 0
jne 0x41beeb
mov ecx, esi
call fcn.0041432b
test al, al
je 0x41bf25
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], 0x46be90
mov dword [ecx + 0x28], 0x46c540
call fcn.004064d5
mov ecx, esi
call fcn.0041c68b
mov ebx, eax
jmp 0x41c06c
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.0040c743
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.0040a01e
mov ecx, esi
mov byte [ebp - 4], 0x13
call fcn.00414d85
push eax
mov ecx, esi
call fcn.00414242
lea eax, [ebp - 0x2c4]
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
mov ecx, eax
call fcn.00409fd7
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x41bf95
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.00401500
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, edi
cmp eax, 0x102
jne 0x41c08c
push 0x7da
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [edi]
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0040a0a3
cmp dword [ebp - 0x8c], 0
mov byte [ebp - 4], 0x17
jne 0x41c005
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.004050c0
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], 0x46be90
mov dword [ecx + 0x28], 0x46c540
call fcn.004064d5
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.0040a6b0
lea ecx, [ebp - 0xa0]
call fcn.00401500
lea ecx, [ebp - 0x498]
mov byte [ebp - 0x494], bl
call fcn.00403220
lea ecx, [ebp - 0x70]
call fcn.00401500
lea ecx, [ebp - 0x40]
call fcn.00401500
lea ecx, [ebp - 0x1c0]
call fcn.00401500
jmp 0x41c57b
mov eax, dword [edi]
call dword [eax + 0x2c]
cmp byte [eax + 0x12], 0
jne 0x41c13c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x13], 0
jne 0x41c13c
push ebx
lea eax, [ebp - 0x487]
push eax
mov esi, 0x46cbe0
push esi
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xd0], 0x46be90
mov dword [ebp - 0xa8], 0x46c540
call fcn.004065c0
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.0040a01e
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.004087bf
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.0041d06c
lea ecx, [ebp - 0x354]
call fcn.00401500
lea ecx, [ebp - 0xd0]
jmp 0x41c1c7
push ebx
lea eax, [ebp - 0x486]
push eax
mov esi, 0x46cbe0
push esi
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x100], 0x46be90
mov dword [ebp - 0xd8], 0x46c540
call fcn.004065c0
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.0040c743
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.004087bf
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.0041d06c
lea ecx, [ebp - 0x3b4]
call fcn.00401500
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x16
call fcn.00401500
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 3], 0
je 0x41c28f
push ebx
lea eax, [ebp - 0x47e]
push eax
push esi
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x160], 0x46be90
mov dword [ebp - 0x138], 0x46c540
call fcn.004065c0
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.00409f77
push ebx
push ebx
lea ecx, [ebp - 0x414]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x20
call fcn.0040760e
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.004087bf
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.0041d06c
lea ecx, [ebp - 0x414]
call fcn.00401500
lea ecx, [ebp - 0x474]
call fcn.00401500
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 0x16
call fcn.00401500
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x12], 0
jne 0x41c2ad
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax + 0x13], 0
je 0x41c39e
push 1
lea eax, [ebp - 0x479]
push eax
mov esi, str.ISSetup.dll
push esi
lea ecx, [ebp - 0x1f0]
call fcn.004066a7
push 1
lea eax, [ebp - 0x47c]
push eax
push esi
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0x23
call fcn.004066a7
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.0040c743
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.004087bf
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.0040a01e
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.004087bf
mov esi, dword [ebp - 0x478]
mov ecx, esi
mov byte [ebp - 4], 0x28
call fcn.00414463
push eax
mov ecx, esi
call fcn.00414242
lea ecx, [ebp - 0x324]
call fcn.00401500
lea ecx, [ebp - 0x444]
call fcn.00401500
lea ecx, [ebp - 0x220]
call fcn.00401500
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 0x16
call fcn.00401500
jmp 0x41c3a4
mov esi, dword [ebp - 0x478]
mov ecx, esi
call fcn.00417da2
test al, al
jne 0x41c3c0
push 0xdc
push 0xffffec75
mov ecx, esi
call fcn.00414242
mov ecx, esi
call fcn.004166e4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
cmp byte [eax], 0
mov ecx, esi
je 0x41c3e1
push 0xe2
call fcn.0041adef
jmp 0x41c3eb
push 0xe4
call fcn.004172d4
push eax
mov ecx, esi
call fcn.00414242
lea ecx, [ebp - 0x498]
mov byte [ebp - 0x494], bl
call fcn.00403220
lea ecx, [ebp - 0x70]
call fcn.00401500
lea ecx, [ebp - 0x40]
call fcn.00401500
lea ecx, [ebp - 0x1c0]
call fcn.00401500
push dword [esi + 0x28c]
lea ecx, [ebp - 0x49c]
call fcn.00411b69
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 0x41c57b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x41c57b
mov edi, 0x80042000
cmp esi, 0x80042002
jne 0x41c4e1
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.0040a0a3
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.0040a6b0
mov esi, dword [ebp - 0x48c]
mov edi, 0x80042000
jmp 0x41c4f1
cmp esi, edi
je 0x41c4f1
mov ecx, dword [ebp - 0x478]
push ebx
call fcn.00408a27
mov edx, dword [ebp - 0x478]
cmp dword [edx + 0x288], 0
je 0x41c520
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 0x41c56f
mov dword [ebp - 0x484], ebx
mov eax, dword [ecx]
lea edx, [ebp - 0x484]
push edx
push 0x46bb7c
push ecx
mov byte [ebp - 4], 0x2a
call dword [eax]
test eax, eax
js 0x41c555
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 0x41c569
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x478]
mov ebx, edi
cmp esi, edi
je 0x41c57b
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.0043e4b0
add esp, 0xc
lea ecx, [ebp + 0xc]
call fcn.00401500
lea ecx, [ebp + 0x3c]
call fcn.00401500
mov eax, ebx
call fcn.0043f45f
ret 0x64