Function at 0x1003b380
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10124e73
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x10167c60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x1003b863
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x40], eax
push str.AD_MUTEX:52E82528_3B6D_4A43_8DDF_037FBB357597
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.10016a90
test al, al
jne 0x1003b3f0
push 0x2f
push str.AD_MUTEX:52E82528_3B6D_4A43_8DDF_037FBB357597
lea ecx, [ebp - 0x40]
call fcn.1000b940
mov edi, dword [ebp - 0x40]
push edi
push 0
push 0
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x1444]
test ecx, ecx
je 0x1003b41e
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x1444], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
or esi, 0xffffffff
cmp eax, 0xb7
jne 0x1003b493
mov esi, dword [ebp - 0x3c]
mov eax, dword [esi + 0x1444]
test eax, eax
je 0x1003b448
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x1444], 0
or esi, 0xffffffff
mov byte [ebp - 0x35], 0
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x1003b475
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0x35]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c495f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x3c]
call fcn.1003b040
test al, al
je 0x1003b455
push 0
lea eax, [ebp - 0x34]
xorps xmm0, xmm0
push eax
push 0
push 0x30
movups xmmword [ebp - 0x34], xmm0
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x48]
movups xmm0, xmmword [ebp - 0x34]
push ecx
mov ecx, eax
mov esi, dword [eax + 0x78]
movups xmmword [ebp - 0x70], xmm0
call fcn.1003ab20
movups xmm0, xmmword [ebp - 0x70]
mov ecx, dword [esi]
push 0
push dword [eax]
mov byte [ebp - 4], 2
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
mov eax, dword [ebp - 0x3c]
push dword [eax + 4]
push 2
push esi
call dword [ecx + 8]
mov esi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x48]
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov dword [esi + 0x84], eax
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003b519
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x84]
test eax, eax
je 0x1003b452
push 0
push 0x10169a60
push 0x10169a3c
push 0
push eax
call fcn.100e7223
add esp, 0x14
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x1003b452
push 4
lea edx, [ebp - 0x58]
mov dword [ebp - 0x58], 1
mov ecx, dword [eax]
push edx
push str.transparent_window
push eax
call dword [ecx + 0x30]
lea eax, [ebp - 0x44]
push 0x101308ac
push eax
call fcn.1002fe60
mov ecx, eax
call fcn.10021490
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 3
cmp dword [eax - 0xc], 0
jne 0x1003b645
lea ecx, [ebp - 0x35]
call fcn.1003a340
push eax
lea ecx, [ebp - 0x24]
call fcn.100079a0
lea ecx, [ebp - 0x35]
mov byte [ebp - 4], 4
call fcn.1003a6c0
push eax
lea ecx, [ebp - 0x20]
call fcn.100079a0
lea ecx, [ebp - 0x35]
mov byte [ebp - 4], 5
call fcn.1003a420
push eax
lea ecx, [ebp - 0x1c]
call fcn.100079a0
lea ecx, [ebp - 0x35]
mov byte [ebp - 4], 6
call fcn.1003a7a0
push eax
lea ecx, [ebp - 0x18]
call fcn.100079a0
lea ecx, [ebp - 0x35]
mov byte [ebp - 4], 7
call fcn.1003a5e0
push eax
lea ecx, [ebp - 0x14]
call fcn.100079a0
mov byte [ebp - 4], 8
lea ecx, [esi + 0xbc]
call fcn.10036340
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 2
cmp edx, 0x33333333
jae 0x1003b5f0
mov eax, ecx
xor edx, edx
mov ecx, 5
div ecx
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x44]
lea eax, [eax + edx*4]
push eax
call fcn.10008310
push fcn.10007df0
push 5
push 4
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 3
push eax
call fcn.100c4d78
mov eax, dword [ebp - 0x44]
mov edi, dword [ebp - 0x40]
mov ecx, dword [eax - 0xc]
mov edx, dword [ebp - 0x3c]
add ecx, ecx
push ecx
push eax
push str.class_name
mov edx, dword [edx]
push dword [ebp - 0x3c]
call dword [edx + 0x30]
mov ecx, dword [ebp - 0x3c]
push 0x20
push str.___sc_init_hide
push str.special_command
mov eax, dword [ecx]
push ecx
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x3c]
lea edx, [ebp - 0x4c]
push 4
push edx
mov dword [ebp - 0x4c], 1
mov eax, dword [ecx]
push str.disable_gpu
push ecx
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x3c]
lea edx, [ebp - 0x4c]
push 4
push edx
push str.enable_high_dpi
mov eax, dword [ecx]
push ecx
call dword [eax + 0x30]
push 0x10
call fcn.100c456e
add esp, 4
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x1003b6c3
mov dword [eax], esi
mov dword [eax + 8], 0x1003b240
mov dword [eax + 0xc], 0
jmp 0x1003b6c8
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 9
push eax
call fcn.10087aaf
add esp, 4
test eax, eax
je 0x1003b6e8
push eax
call fcn.10087c28
add esp, 4
mov eax, dword [ebp - 0x20]
mov byte [ebp - 0x60], 1
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
push 1
push eax
call fcn.10087795
add esp, 8
test eax, eax
je 0x1003b711
push eax
call fcn.10087c28
add esp, 4
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 0x68], 1
mov dword [ebp - 0x64], eax
push eax
mov byte [ebp - 4], 0xb
mov byte [ebp - 0x18], 0
call fcn.100877e8
add esp, 4
test eax, eax
je 0x1003b739
push eax
call fcn.10087c28
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], 0x10134264
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x54]
push 0x1003c600
push eax
call fcn.100873c8
add esp, 0xc
mov ecx, 1
cmp eax, 4
cmovne ecx, eax
test ecx, ecx
je 0x1003b77e
push ecx
call fcn.10087c28
add esp, 4
cmp byte [ebp - 0x18], 0
jne 0x1003b7a5
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.10087b01
add esp, 8
test eax, eax
je 0x1003b79f
push eax
call fcn.10087c28
add esp, 4
cmp byte [ebp - 0x18], 0
je 0x1003b784
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1003b7b7
push 0x10
push eax
call fcn.100c459e
add esp, 8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x3c], eax
call fcn.1008780d
add esp, 4
test eax, eax
je 0x1003b7dd
push eax
call fcn.10087c28
add esp, 4
push dword [ebp - 0x3c]
call fcn.10087751
push dword [ebp - 0x5c]
call fcn.10087a78
add esp, 8
mov byte [ebp - 4], 3
cmp dword [esi + 0x144c], 0
jne 0x1003b86d
mov eax, dword [ebp - 0x54]
mov dword [esi + 0x1448], eax
mov eax, dword [ebp - 0x50]
mov dword [esi + 0x144c], eax
lea eax, [esi + 0x70]
mov ecx, dword [esi + 0x84]
neg esi
mov dword [ebp - 0x54], 0
sbb esi, esi
mov dword [ebp - 0x50], 0
and esi, eax
mov edx, dword [ecx]
push esi
push ecx
call dword [edx + 4]
mov edx, dword [ebp - 0x44]
test eax, eax
mov byte [ebp - 4], 1
setne byte [ebp - 0x35]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003b459
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1003b459
push 0x80004005
call fcn.10008520
call fcn.100f947a
int3