Function at 0x411980
Capabilities:
Check mutex on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4ca0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4ea008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
test edx, edx
je 0x4119f9
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4119e0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004122a0
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
cmp edi, 8
push 0xb
cmovae ecx, dword [ebp - 0x28]
push str.__typeshow
call fcn.00412440
add esp, 8
test eax, eax
jne 0x411a3c
push str.A639BB63_7A20_4C8C_8376_EA21E20B4D3D
push eax
push eax
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x411beb
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
jmp 0x411a86
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmp edi, 8
push 0xe
cmovae ecx, dword [ebp - 0x28]
push str.__typedefault
call fcn.00412440
add esp, 8
test eax, eax
je 0x411a80
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmp edi, 8
push 0xc
cmovae ecx, dword [ebp - 0x28]
push str.__typecheck
call fcn.00412440
add esp, 8
test eax, eax
jne 0x411beb
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.A639BB63_7A20_4C8C_8376_EA21E20B4D3D
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
test eax, eax
je 0x411beb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x411bcd
push dword [esi]
call edi
sub esp, 0x18
mov dword [esi], 0
xorps xmm0, xmm0
mov dword [ebp - 0x70], esp
mov ecx, esp
movq qword [ebp - 0x50], xmm0
movups xmmword [ebp - 0x60], xmm0
push str.E6F69ACB_AD18_47AB_A5A9_2BAFF13933C7
mov dword [ebp - 0x48], 0
call fcn.004120f0
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.0041d6a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.0041d830
mov esi, eax
test esi, esi
je 0x411b54
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x411b54
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, eax
je 0x411b4d
test eax, 0x20000000
je 0x411b4d
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0
push eax
push 2
push 0x4a
push esi
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
sub esp, 0x18
mov dword [ebp - 0x2c], 0
mov ecx, esp
mov dword [ebp - 0x70], esp
xorps xmm0, xmm0
xor eax, eax
movups xmmword [ebp - 0x44], xmm0
push 0x24
movq qword [ebp - 0x34], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.E6F69ACB_AD18_47AB_A5A9_2BAFF13933C7
mov word [ecx], ax
call fcn.004122a0
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.0041d6a0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x44]
call fcn.0041d8a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.0041d750
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.0041d750
mov esi, 1
jmp 0x411bed
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp - 0x70], esp
push eax
call fcn.00412160
mov byte [ebp - 4], 5
mov byte [ebp - 4], 0
call fcn.00411c20
xor esi, esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00412240
mov eax, esi
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.004a2dd3
mov esp, ebp
pop ebp
ret 4