Function at 0x54f060
Capabilities:
Check mutex on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x633b27
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x6d8314]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
mov eax, dword [0x6d8314]
xor eax, esp
push eax
lea eax, [esp + 0x1b0]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0x18], eax
lea esi, [eax + 0x2c]
push str.remoteBtn
mov ecx, esi
call fcn.005ca200
push str.remoteNotBtn
mov ecx, esi
mov edi, eax
call fcn.005ca200
mov ebx, eax
call fcn.004f58c0
test al, al
je 0x54f558
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], eax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x8c]
mov byte [esp + 0x1b8], 1
push eax
mov ecx, 0x701c70
call fcn.00432660
mov byte [esp + 0x1b8], 2
lea ecx, [esp + 0x74]
mov eax, dword [0x6ff92c]
push dword [eax]
call fcn.00415d10
xor eax, eax
mov byte [esp + 0x1b8], 3
push 0xffffffffffffffff
push eax
mov word [esp + 0x64], ax
lea ecx, [esp + 0x64]
lea eax, [esp + 0x94]
mov dword [esp + 0x78], 7
push eax
mov dword [esp + 0x78], 0
call fcn.00414cd0
mov byte [esp + 0x1b8], 4
cmp dword [esp + 0x6c], 0
jne 0x54f187
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x68]
call fcn.00414cd0
push 0x652690
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
jne 0x54f1a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x54f1a9
xor al, al
jmp 0x54f1ab
mov al, 1
mov byte [esp + 0x13], al
movzx eax, al
push eax
push str.updateRemoteStart__d
push 0x1781
push str.view::RootWindow::updateRemoteStart
call fcn.00584a40
push 0x100
lea eax, [esp + 0xb8]
push 0
push eax
call sub.MSVCR120.dll_memset
mov esi, dword [sym.imp.MSVCR120.dll_mbstowcs_s]
lea eax, [esp + 0xc0]
add esp, 0x1c
push 0x80
push str.remote_brief_not_logined
push 0x80
push eax
push 0
call esi
add esp, 0x14
lea eax, [esp + 0xa4]
push eax
call fcn.005cadc0
mov edx, eax
add esp, 4
test edx, edx
jne 0x54f238
lea eax, [esp + 0xa4]
push eax
push eax
call fcn.005c9ed0
lea eax, [esp + 0xac]
push eax
call fcn.005cadc0
add esp, 0xc
mov edx, eax
cmp word [edx], 0
jne 0x54f242
xor ecx, ecx
jmp 0x54f261
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x14], eax
jmp 0x54f250
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x54f250
sub ecx, dword [esp + 0x14]
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x4c]
call fcn.00415c10
push 0x100
lea eax, [esp + 0xa8]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0xa4]
push 0x80
push str.remote_brief_logined
push 0x80
push eax
push 0
call esi
add esp, 0x14
lea eax, [esp + 0xa4]
push eax
call fcn.005cadc0
mov edx, eax
add esp, 4
test edx, edx
jne 0x54f2d7
lea eax, [esp + 0xa4]
push eax
push eax
call fcn.005c9ed0
lea eax, [esp + 0xac]
push eax
call fcn.005cadc0
add esp, 0xc
mov edx, eax
cmp word [edx], 0
jne 0x54f2e1
xor ecx, ecx
jmp 0x54f2f5
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x54f2e6
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.00415c10
cmp byte [esp + 0x13], 0
je 0x54f317
cmp dword [esp + 0x40], 8
lea ecx, [esp + 0x2c]
cmovae ecx, dword [esp + 0x2c]
jmp 0x54f325
cmp dword [esp + 0x58], 8
lea ecx, [esp + 0x44]
cmovae ecx, dword [esp + 0x44]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0xb0]
cmp dword [esp + 0x58], 8
lea edx, [esp + 0x44]
mov eax, dword [ebx]
mov ecx, ebx
cmovae edx, dword [esp + 0x44]
push edx
call dword [eax + 0xb0]
mov ecx, dword [esp + 0x18]
mov al, byte [esp + 0x13]
mov byte [ecx + 0x756], al
mov ecx, 0x701c70
call fcn.00436760
cmp eax, dword [0x6ffa0c]
mov ecx, edi
setl byte [esp + 0x14]
cmp byte [esp + 0x13], 0
mov esi, dword [esp + 0x14]
je 0x54f37d
push 0
jmp 0x54f37e
push esi
call fcn.005d81b0
push esi
mov ecx, ebx
call fcn.005d81b0
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.004fd130
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
sub ecx, dword [esp + 0x20]
cmp eax, ecx
setl al
cmp byte [esi + 0x756], 0
mov byte [esp + 0x13], al
jne 0x54f3fa
test al, al
jne 0x54f3fa
mov esi, dword [ebx]
xor edx, edx
mov ecx, str.remote_control
call fcn.0041af80
push eax
mov ecx, ebx
call dword [esi + 0x3c]
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0xe0]
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax + 0xe0]
mov esi, dword [esp + 0x18]
jmp 0x54f412
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0xe0]
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax + 0xe0]
call fcn.005d1640
test al, al
je 0x54f42c
call fcn.005d1630
fstp dword [esp + 0x14]
movss xmm1, dword [esp + 0x14]
jmp 0x54f434
movss xmm1, dword [0x693630]
cmp byte [esi + 0x756], 0
jne 0x54f466
cmp byte [esp + 0x13], 0
jne 0x54f466
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
mulss xmm1, dword [0x6938b0]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x54f48e
mov eax, dword [ebx]
mov ecx, ebx
jmp 0x54f486
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
mulss xmm1, dword [0x6938b0]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x54f48e
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0xe0]
cmp dword [esp + 0x70], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x54f4a4
push dword [esp + 0x5c]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
cmp dword [esp + 0x88], 8
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
jb 0x54f4ce
push dword [esp + 0x74]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x88], 7
cmp dword [esp + 0xa0], 8
mov dword [esp + 0x84], 0
mov word [esp + 0x74], ax
jb 0x54f501
push dword [esp + 0x8c]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0xa0], 7
cmp dword [esp + 0x40], 8
mov dword [esp + 0x9c], 0
mov word [esp + 0x8c], ax
jb 0x54f531
push dword [esp + 0x2c]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
cmp dword [esp + 0x58], 8
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
jb 0x54f558
push dword [esp + 0x44]
call esi
add esp, 4
mov ecx, dword [esp + 0x1b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.006116d0
mov esp, ebp
pop ebp
ret