Function at 0x435b80
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55adee
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5be984]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x30], edi
mov ecx, dword [ebp + 8]
xor eax, eax
mov edx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x435bd0
sub edx, esi
sar edx, 1
push edx
push ecx
lea ecx, [ebp - 0x28]
call fcn.004048f0
mov esi, dword [edi + 4]
lea eax, [ebp - 0x28]
add esi, 8
cmp esi, eax
je 0x435c10
mov ecx, esi
call fcn.00411840
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
jmp 0x435c4a
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x435c4a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435c40
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435e77
push edx
push ecx
call fcn.004845fc
add esp, 8
mov eax, dword [edi + 4]
mov dword [ebp - 0x2c], eax
cmp dword [eax + 4], 0
jne 0x435cfa
push 8
call fcn.004845cc
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x435cbb
call fcn.00428720
mov edi, eax
mov byte [esi], 0
push edi
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x435cbd
push 0
push edi
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x435cb6
push 0
push 0
push 0x9401
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [esi], 1
jmp 0x435cbd
xor esi, esi
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
mov edi, dword [eax + 4]
mov dword [eax + 4], esi
test edi, edi
je 0x435cf7
mov eax, dword [edi + 4]
test eax, eax
je 0x435cdf
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 8
push edi
mov dword [edi + 4], 0
mov byte [edi], 0
call fcn.004845fc
mov eax, dword [ebp - 0x2c]
add esp, 8
mov edi, dword [ebp - 0x30]
mov eax, dword [eax + 4]
test eax, eax
je 0x435d52
mov al, byte [eax]
test al, al
je 0x435d52
mov byte [0x5c8628], 1
mov eax, dword [edi + 4]
add eax, 4
mov esi, dword [eax]
mov dword [eax], 0
test esi, esi
je 0x435d43
mov eax, dword [esi + 4]
test eax, eax
je 0x435d2e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 8
push esi
mov dword [esi + 4], 0
mov byte [esi], 0
call fcn.004845fc
add esp, 8
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
xor al, al
jmp 0x435e5a
call fcn.004646c0
push 1
push 0x5c01ec
push 0x5c01cc
push 0
call fcn.004237d0
push eax
call fcn.004f1375
add esp, 0x14
mov ecx, eax
call fcn.00438c90
push 1
push 0x5c0ac4
push 0x5c01cc
push 0
call fcn.00435160
push eax
call fcn.004f1375
add esp, 0x14
mov ecx, eax
call fcn.00442560
push 1
push 0x5c0a44
push 0x5c01cc
push 0
call fcn.004350d0
push eax
call fcn.004f1375
add esp, 0x14
mov ecx, eax
call fcn.00446f80
call fcn.0049bf90
mov ecx, eax
call fcn.0049bfa0
mov esi, eax
call fcn.00423980
push eax
mov ecx, esi
call fcn.0049b730
test eax, eax
jne 0x435e17
push 0xc
call fcn.004845cc
add esp, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x435e00
mov ecx, eax
call fcn.004475b0
jmp 0x435e02
xor eax, eax
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.00423980
push eax
mov ecx, esi
call fcn.0049b780
push 1
push 0x5c0214
push 0x5c01cc
push 0
push eax
call fcn.004f1375
add esp, 0x14
mov ecx, eax
call fcn.00447e10
push 1
push 0x5c0a9c
push 0x5c01cc
push 0
call fcn.004351f0
push eax
call fcn.004f1375
add esp, 0x14
mov ecx, eax
call fcn.00449890
mov al, 1
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.00484a0d
mov esp, ebp
pop ebp
ret 4
call fcn.004faed4
int3