Function at 0x42692a
Capabilities:
Check mutex on windows

Disassembly:
mov eax, 0x49c4cf
call fcn.00498a28
push ecx
mov eax, 0x1564
call fcn.0046fdc0
and dword [ebp - 0x74], 0
mov eax, dword fs:[0x2c]
push ebx
push esi
push edi
mov ecx, dword [eax]
mov eax, dword [0x4cef98]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], ecx
cmp eax, dword [ecx + 4]
jle 0x426991
mov esi, 0x4cef98
push esi
call fcn.0046f407
cmp dword [0x4cef98], 0xffffffff
pop ecx
jne 0x426991
push 3
call fcn.00440370
mov dword [esp], 0x49f927
call fcn.0046f376
push esi
call fcn.0046f3b6
pop ecx
pop ecx
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0xb8]
call fcn.00427460
and dword [ebp - 4], 0
cmp byte [ebp - 0xb7], 0
je 0x4269b1
call fcn.004272d5
xor edi, edi
cmp byte [ebp - 0xb8], 0
je 0x4269f6
push 0x20
call fcn.0046f0e2
mov esi, eax
pop ecx
mov dword [ebp + 0x10], esi
xor ebx, ebx
lea ecx, [ebp - 0x54]
inc ebx
mov byte [ebp - 4], bl
call fcn.00427791
mov byte [ebp - 4], 2
mov ecx, esi
push eax
mov dword [ebp - 0x74], ebx
call fcn.00426073
mov edi, eax
and dword [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00402f3d
jmp 0x4269f9
xor ebx, ebx
inc ebx
push 0x300
call fcn.0046f0e2
mov esi, eax
pop ecx
mov dword [ebp + 0x10], esi
mov byte [ebp - 4], 4
call fcn.00421e4e
push eax
mov ecx, esi
call fcn.00426840
mov byte [ebp - 4], 0
mov esi, eax
test edi, edi
jne 0x426a34
push 4
call fcn.0046f0e2
mov edi, eax
pop ecx
mov dword [edi], 0x4b27f0
test esi, esi
jne 0x426a48
push 4
call fcn.0046f0e2
mov esi, eax
pop ecx
mov dword [esi], 0x4b27cc
mov edx, esi
mov ecx, edi
call fcn.0040bdc2
xor edx, edx
xor ecx, ecx
call fcn.0040bdc2
push str.Start_logging_MultiSetup
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x3c], 0x47
mov dword [ebp - 0x38], 5
mov dword [ebp - 0x34], str.C:BooCode_OffergateMultiSetup_srcmulti_setup.cpp
mov dword [ebp - 0x30], str.int___stdcall_wWinMain_struct_HINSTANCE____struct_HINSTANCE____wchar_t__int_
call fcn.00403061
mov edx, eax
mov edi, 0x4b280c
mov byte [ebp - 4], 5
mov ecx, edi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x426a93
sub ecx, esi
push ecx
push edi
mov ecx, edx
call fcn.0040ff44
push eax
lea ecx, [ebp - 0x28]
call fcn.00403476
mov byte [ebp - 4], 6
lea edx, [ebp - 0x3c]
mov ecx, dword [0x4cdcd0]
push edx
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x28]
call fcn.00402fc0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.00402fc0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [0x4cef9c]
cmp eax, dword [ecx + 4]
jle 0x426b10
mov esi, 0x4cef9c
push esi
call fcn.0046f407
cmp dword [0x4cef9c], 0xffffffff
pop ecx
jne 0x426b10
push 0x49f91a
call fcn.0046f376
push esi
call fcn.0046f3b6
pop ecx
pop ecx
call fcn.00438d0b
push 3
push 5
mov edx, ebx
mov edi, eax
pop ecx
call fcn.00402dd0
pop ecx
test al, al
jne 0x426b63
push str.msgUnsOsTitle
mov ecx, edi
call fcn.00439053
mov esi, eax
cmp dword [esi + 0x14], 7
jbe 0x426b3e
mov esi, dword [esi]
push str.msgUnsOs
mov ecx, edi
call fcn.00439053
cmp dword [eax + 0x14], 7
jbe 0x426b52
mov eax, dword [eax]
push 0
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x427274
push str.user32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x426b86
push str.SetThreadDpiAwarenessContext
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x426b86
push 0xfffffffffffffffc
call eax
push 6
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x2c], eax
call fcn.0042cf82
call fcn.00422a8d
cmp byte [ebp - 0xb6], 0
mov dword [ebp + 0x10], eax
sete cl
mov byte [eax + 0x3f9], cl
lea ecx, [ebp - 0xe0]
call fcn.0041bf3c
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 7
push eax
push dword [ebp - 0xb6]
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0x110]
call fcn.00427b07
pop ecx
pop ecx
mov byte [ebp - 4], 8
cmp dword [ebp - 0x100], 0
jne 0x426c2d
push str.dlgGetProgramsFailureCaption
mov ecx, edi
call fcn.00439053
mov esi, eax
cmp dword [esi + 0x14], 7
jbe 0x426c02
mov esi, dword [esi]
push str.dlgGetProgramsFailureMessage
mov ecx, edi
call fcn.00439053
cmp dword [eax + 0x14], 7
jbe 0x426c16
mov eax, dword [eax]
push 0x10
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x427253
lea ecx, [ebp - 0x494]
call fcn.004396ec
mov byte [ebp - 4], 9
lea eax, [ebp - 0xe0]
mov edi, dword [ebp + 0x10]
push eax
lea esi, [edi + 0x170]
mov ecx, esi
call fcn.00435dbc
lea eax, [ebp - 0x494]
mov ecx, edi
mov dword [edi + 0x708], eax
lea eax, [ebp - 0x110]
push eax
call fcn.00423ad0
lea eax, [ebp - 0xf8]
mov ecx, esi
push eax
call fcn.00435d2f
lea eax, [ebp - 0xf8]
push eax
lea ecx, [edi + 0x60]
call fcn.0040e238
cmp dword [ebp - 0xa0], 0
je 0x426cb7
lea eax, [ebp - 0xb0]
mov ecx, edi
push eax
call fcn.00422b44
mov ecx, dword [0x4cdccc]
test ecx, ecx
je 0x426cb7
mov eax, dword [ecx]
lea edx, [ebp - 0xb0]
push edx
call dword [eax + 8]
lea edx, [ebp - 0xf8]
lea ecx, [ebp - 0x18c]
call fcn.00415155
mov edi, eax
lea edx, [ebp - 0xe0]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x174]
call fcn.00415155
mov esi, eax
push str.api_errorCollector_bundleId
lea edx, [ebp - 0x110]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x15c]
call fcn.0041402e
pop ecx
push esi
push eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x144]
push dword [ebp + 0x10]
call fcn.00413dc6
push 0x4b7bbc
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 0xd
call fcn.00406489
push eax
lea ecx, [ebp - 0x28]
call fcn.00405f50
push edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xe
push eax
push dword [ebp + 0x10]
lea ecx, [ebp - 0x12c]
call fcn.00413dc6
lea ecx, [ebp - 0x28]
call fcn.00402f3d
lea ecx, [ebp - 0x144]
call fcn.00402f3d
lea ecx, [ebp - 0x15c]
call fcn.00402f3d
lea ecx, [ebp - 0x174]
call fcn.00402f3d
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0x14
call fcn.00402f3d
mov ecx, dword [0x4cdccc]
test ecx, ecx
je 0x426d92
mov eax, dword [ecx]
lea edx, [ebp - 0x12c]
push edx
call dword [eax + 4]
xor edx, edx
xor ecx, ecx
call fcn.0040bdc2
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x3c], 0x7e
push eax
mov edx, str.Start_error_reporting_to_address
mov dword [ebp - 0x38], 5
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x34], str.C:BooCode_OffergateMultiSetup_srcmulti_setup.cpp
mov dword [ebp - 0x30], str.int___stdcall_wWinMain_struct_HINSTANCE____struct_HINSTANCE____wchar_t__int_
call fcn.00413d30
pop ecx
mov byte [ebp - 4], 0x15
lea esi, [ebp - 0x3c]
mov ecx, dword [0x4cdcd0]
push esi
push eax
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x14
call fcn.00402f3d
mov edi, dword [ebp + 0x10]
mov ecx, edi
call fcn.004225f5
lea edx, [ebp - 0xe0]
lea ecx, [ebp - 0x54]
call fcn.00415155
mov esi, eax
lea edx, [edi + 0x60]
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x28]
call fcn.00415155
push esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x494]
call fcn.004397c4
lea ecx, [ebp - 0x28]
call fcn.00402f3d
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x14
call fcn.00402f3d
push 0
push 0xa
push 0xa
lea ecx, [ebp - 0x494]
call fcn.0043991e
cmp byte [ebp - 0xb4], 0
je 0x426fe7
push str.TEST._Test_exception
lea ecx, [ebp - 0x38]
call fcn.004037b3
mov dword [ebp - 0x38], vtable.std::runtime_error.0
xor edx, edx
mov byte [ebp - 4], 0x18
xor ecx, ecx
call fcn.0040bdc2
mov edi, str.C:BooCode_OffergateMultiSetup_srcmulti_setup.cpp
mov dword [ebp - 0x20], 0x85
mov esi, str.int___stdcall_wWinMain_struct_HINSTANCE____struct_HINSTANCE____wchar_t__int_
mov dword [ebp - 0x1c], 9
push str.TEST._Test_error_message
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
call fcn.00403061
push ecx
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0040be1a
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x18
call fcn.00402fc0
xor edx, edx
xor ecx, ecx
call fcn.0040bdc2
push str.TEST._WinAPI_function_call_failed
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x20], 0x87
mov dword [ebp - 0x1c], 9
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
call fcn.00403061
push ecx
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x70]
mov esi, 0x3039
push eax
push esi
call fcn.0040be49
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x18
call fcn.00402fc0
xor edx, edx
xor ecx, ecx
call fcn.0040bdc2
push str.TEST._Test_WinAPI_error
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x20], 0x8a
mov dword [ebp - 0x1c], 9
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], str.int___stdcall_wWinMain_struct_HINSTANCE____struct_HINSTANCE____wchar_t__int_
call fcn.00403061
push ecx
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0x70]
push eax
push esi
call fcn.0040be49
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x18
call fcn.00402fc0
xor edx, edx
xor ecx, ecx
call fcn.0040bdc2
mov dword [ebp - 0x20], 0x8b
mov dword [ebp - 0x1c], 9
push str.Parameter__money__is_absent.
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], str.int___stdcall_wWinMain_struct_HINSTANCE____struct_HINSTANCE____wchar_t__int_
call fcn.00403061
push str.TEST._Custom_msetup_error_message_with_extra_info
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x1c
call fcn.00403061
push ecx
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0040be78
lea ecx, [ebp - 0x70]
call fcn.00402fc0
lea ecx, [ebp - 0x54]
call fcn.00402fc0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x14
push eax
mov dword [ebp - 0x38], vtable.std::exception.0
call fcn.00470c0f
pop ecx
jmp 0x426fec
mov edi, str.C:BooCode_OffergateMultiSetup_srcmulti_setup.cpp
push str.APP_MAIN
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [ebp + 0x10], esi
test esi, esi
je 0x4271f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4271f0
xor eax, eax
mov dword [ebp - 0xc8], ebx
push eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov eax, dword [ebp - 0x58]
mov dword [0x4ce5e0], eax
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x7c], 8
mov dword [ebp - 0x78], 0x4201
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x1574]
mov byte [ebp - 4], 0x1f
call fcn.0043be07
lea ecx, [ebp - 0x1574]
mov byte [ebp - 4], 0x20
call fcn.00403d64
test al, al
jne 0x4270f5
xor edx, edx
xor ecx, ecx
call fcn.0040bdc2
push 0x4b2fd5
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x20], 0xa6
mov dword [ebp - 0x1c], 0xd
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], str.int___stdcall_wWinMain_struct_HINSTANCE____struct_HINSTANCE____wchar_t__int_
call fcn.00403061
push str.Failed_to_create_MainWindow
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x21
call fcn.00403061
push ecx
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x22
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0040be78
lea ecx, [ebp - 0x54]
call fcn.00402fc0
lea ecx, [ebp - 0x70]
call fcn.00402fc0
jmp 0x42716c
mov dl, byte [ebp - 0xb8]
lea eax, [ebp - 0x494]
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x1500], eax
call fcn.00427a6b
push eax
lea ecx, [ebp - 0x1574]
mov byte [ebp - 4], 0x23
call fcn.00404335
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x20
call fcn.00402f3d
call fcn.00422a8d
lea ecx, [ebp - 0x1574]
push ecx
mov ecx, eax
call fcn.0042238f
call fcn.00422a8d
push ebx
lea ecx, [ebp - 0x1574]
mov byte [eax + 0x71c], bl
call fcn.00404a2c
lea ecx, [ebp - 0x1574]
call fcn.00404395
call fcn.00422a8d
mov byte [eax + 0x71c], 0
lea ecx, [ebp - 0x1574]
call fcn.0043c23b
jmp 0x4271d4
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c], 0
jl 0x42723d
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x42723d
xor edx, edx
xor ecx, ecx
call fcn.0040bdc2
push str.MultiSetup_already_launched___exiting
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x20], 0x90
mov dword [ebp - 0x1c], 9
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], str.int___stdcall_wWinMain_struct_HINSTANCE____struct_HINSTANCE____wchar_t__int_
call fcn.00403061
mov byte [ebp - 4], 0x1e
lea edx, [ebp - 0x20]
mov ecx, dword [0x4cdcd0]
push edx
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x54]
call fcn.00402fc0
lea ecx, [ebp - 0x12c]
call fcn.00402f3d
lea ecx, [ebp - 0x494]
call fcn.004272b1
lea ecx, [ebp - 0xf8]
call fcn.00402fc0
lea ecx, [ebp - 0x110]
call fcn.00402f3d
lea ecx, [ebp - 0xe0]
call fcn.00402fc0
lea ecx, [ebp - 0x98]
call fcn.00402f3d
lea ecx, [ebp - 0xb0]
call fcn.00402fc0
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10