Function at 0x1400a8110
Capabilities:
Check mutex on windows

Disassembly:
jmp 0x1400c2fc0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x4e0
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0xc0
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x508]
mov rax, qword [0x140254140]
xor rax, rbp
mov qword [rbp + 0x478], rax
lea rcx, [0x14026b3e8]
call fcn.1400a9448
call qword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x1400c3049
mov r9d, 0x40010
lea r8, str.Error_
lea rdx, str.Run_the_program_as_an_administrator.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
jmp 0x1400c358f
lea rax, [rbp + 4]
lea rcx, str.Setup
mov rdi, rax
mov rsi, rcx
mov ecx, 6
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x28]
lea rcx, str.__xFolder__setup__class__
mov rdi, rax
mov rsi, rcx
mov ecx, 0x1a
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x68]
lea rcx, str.__xFolder__setup__mutex__
mov rdi, rax
mov rsi, rcx
mov ecx, 0x1a
rep movsb byte [rdi], byte [rsi]
lea r8, [rbp + 0x68]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x1400c30db
mov r9d, 0x40010
lea r8, str.Error_
lea rdx, str.Failed_to_create_mutex.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
jmp 0x1400c358f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400c316e
mov r9d, 0x40010
lea r8, str.Error_
lea rdx, str.The_program_instance_is_already_running.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rdx, [rbp + 4]
lea rcx, [rbp + 0x28]
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rbp + 0xc8], rax
cmp qword [rbp + 0xc8], 0
je 0x1400c3157
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x1400c314a
mov edx, 9
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x1400c358f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0xe8]
call fcn.1400a681a
xor r8d, r8d
lea rdx, [rbp + 0xe8]
lea rcx, [rbp + 0x118]
call fcn.1400a637e
test eax, eax
je 0x1400c31dc
mov r9d, 0x40010
lea r8, str.Error_
lea rdx, str.GdiplusStartup_failed.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x1400c358f
lea rax, [rbp + 0x140]
mov rdi, rax
xor eax, eax
mov ecx, 0x50
rep stosb byte [rdi], al
mov dword [rbp + 0x140], 0x50
mov dword [rbp + 0x144], 0x203
lea rax, [0x1400a6f36]
mov qword [rbp + 0x148], rax
mov dword [rbp + 0x150], 0
mov dword [rbp + 0x154], 0
mov rax, qword [rbp + 0x4a0]
mov qword [rbp + 0x158], rax
mov edx, 0x3e9
mov rcx, qword [rbp + 0x4a0]
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rbp + 0x160], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rbp + 0x168], rax
mov qword [rbp + 0x170], 5
mov qword [rbp + 0x178], 0
lea rax, [rbp + 0x28]
mov qword [rbp + 0x180], rax
mov edx, 0x3e9
mov rcx, qword [rbp + 0x4a0]
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rbp + 0x188], rax
lea rcx, [rbp + 0x140]
call qword [sym.imp.USER32.dll_RegisterClassExA]
movzx eax, ax
test eax, eax
jne 0x1400c32fa
mov r9d, 0x40010
lea r8, str.Error_
lea rdx, str.Failed_to_register_window_class.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [rbp + 0x118]
call fcn.1400a7378
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x1400c358f
mov dword [rbp + 0x1a4], 0x6c80000
mov dword [rbp + 0x1c4], 0x40008
mov dword [rsp + 0x20], 0x226
mov r9d, 0x2bc
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x1e8]
call qword [sym.imp.USER32.dll_SetRect]
mov r9d, dword [rbp + 0x1c4]
xor r8d, r8d
mov edx, dword [rbp + 0x1a4]
lea rcx, [rbp + 0x1e8]
call qword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [rbp + 0x1e8]
mov ecx, dword [rbp + 0x1f0]
sub ecx, eax
mov eax, ecx
mov dword [rbp + 0x214], eax
mov eax, dword [rbp + 0x1ec]
mov ecx, dword [rbp + 0x1f4]
sub ecx, eax
mov eax, ecx
mov dword [rbp + 0x234], eax
xor r9d, r9d
lea r8, [rbp + 0x1e8]
xor edx, edx
mov ecx, 0x30
call qword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [rbp + 0x1ec]
mov ecx, dword [rbp + 0x1f4]
sub ecx, eax
mov eax, ecx
sar eax, 1
mov ecx, dword [rbp + 0x234]
sar ecx, 1
sub eax, ecx
mov dword [rbp + 0x474], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
sar eax, 1
mov ecx, dword [rbp + 0x214]
sar ecx, 1
sub eax, ecx
mov qword [rsp + 0x58], 0
mov rcx, qword [rbp + 0x4a0]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov ecx, dword [rbp + 0x234]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rbp + 0x214]
mov dword [rsp + 0x30], ecx
mov ecx, dword [rbp + 0x474]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x1a4]
lea r8, [rbp + 4]
lea rdx, [rbp + 0x28]
mov ecx, dword [rbp + 0x1c4]
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [rbp + 0x258], rax
cmp qword [rbp + 0x258], 0
jne 0x1400c3496
mov r9d, 0x40010
lea r8, str.Error_
lea rdx, str.Failed_to_create_window.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rdx, qword [rbp + 0x4a0]
lea rcx, [rbp + 0x28]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [rbp + 0x118]
call fcn.1400a7378
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x1400c358f
mov r9d, dword [rbp + 0x234]
mov r8d, dword [rbp + 0x214]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateRectRgn]
mov qword [rbp + 0x278], rax
cmp qword [rbp + 0x278], 0
je 0x1400c34e6
mov r8d, 1
mov rdx, qword [rbp + 0x278]
mov rcx, qword [rbp + 0x258]
call qword [sym.imp.USER32.dll_SetWindowRgn]
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov edx, 1
mov rcx, qword [rbp + 0x258]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbp + 0x258]
call qword [sym.imp.USER32.dll_UpdateWindow]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x298]
call qword [sym.imp.USER32.dll_GetMessageA]
mov dword [rbp + 0x2e4], eax
cmp dword [rbp + 0x2e4], 0
je 0x1400c3552
cmp dword [rbp + 0x2e4], 0xffffffff
jne 0x1400c3536
jmp 0x1400c3552
lea rcx, [rbp + 0x298]
call qword [sym.imp.USER32.dll_DispatchMessageA]
lea rcx, [rbp + 0x298]
call qword [sym.imp.USER32.dll_TranslateMessage]
jmp 0x1400c3505
mov rdx, qword [rbp + 0x4a0]
lea rcx, [rbp + 0x28]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [rbp + 0x118]
call fcn.1400a7378
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + reloc.SHELL32.dll_IsUserAnAdmin]
mov rdi, rax
lea rcx, [rbp - 0x60]
lea rdx, [0x140204410]
call fcn.1400a8836
mov rax, rdi
mov rcx, qword [rbp + 0x478]
xor rcx, rbp
call fcn.1400a714d
lea rsp, [rbp + 0x480]
pop rdi
pop rsi
pop rbp
ret