Function at 0x401800
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x445c26
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x45a0f0]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45a0f0]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x260]
push str.CE80ACF6_549B_4cc2_9429_DE5252D03B82
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, ebx
je 0x40188d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40188d
push str.CLOUDTIPWND
push 0x450bc8
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
cmp esi, ebx
je 0x401886
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
xor eax, eax
jmp 0x401a83
mov dword [esp + 0x1c], vtable.WTL::CMessageLoop.0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x258], ebx
mov edi, dword [0x45ec9c]
lea eax, [esp + 0x1c]
add edi, 0x10
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x45ed3c]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], eax
call fcn.00402b20
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [esp + 0x54]
push eax
call fcn.00411ff0
push 0x4535fc
mov byte [esp + 0x25c], 1
mov ecx, dword [0x45e044]
push 0x71
push ecx
lea edx, [esp + 0x118]
mov edi, 1
push edx
mov dword [esp + 0x1d8], edi
call fcn.0041d9d0
mov eax, dword [esp + 0x11c]
add esp, 0x10
push 0xd
push 9
push 5
push 9
push ebx
push eax
lea ecx, [esp + 0x6c]
call fcn.0041b080
mov eax, dword [esp + 0x274]
sub eax, dword [esp + 0x26c]
mov ecx, dword [esp + 0x270]
sub ecx, dword [esp + 0x268]
add eax, 0xfffffff3
mov dword [esp + 0x214], eax
mov eax, dword [ebp]
add ecx, 0xfffffff7
mov edx, 9
mov esi, 5
mov dword [esp + 0x208], edx
mov dword [esp + 0x20c], esi
mov dword [esp + 0x210], ecx
cmp eax, ebx
je 0x4019a4
push eax
lea ecx, [esp + 0x1ac]
call fcn.004054e0
mov ecx, dword [esp + 0x264]
mov edx, dword [esp + 0x268]
mov eax, dword [esp + 0x26c]
mov dword [esp + 0x244], ecx
mov ecx, dword [esp + 0x270]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x274]
mov dword [esp + 0x60], eax
push ecx
mov eax, esp
mov dword [esp + 0x68], ecx
mov dword [esp + 0x22c], edi
mov dword [esp + 0x1b0], edi
mov dword [esp + 0x244], edi
mov dword [esp + 0x1d0], ebx
mov dword [esp + 0x6c], edx
push ecx
mov dword [eax], ebx
mov eax, esp
lea ecx, [esp + 0x270]
lea esi, [esp + 0x5c]
mov dword [eax], ecx
call fcn.00401ee0
mov ecx, esi
cmp eax, ebx
je 0x401aab
call fcn.0041ae80
mov edx, dword [esp + 0x58]
push str.CLOUDTIPWND
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [esp + 0x1c]
call fcn.00402a80
mov esi, eax
call fcn.00402930
lea ecx, [esp + 0x54]
mov byte [esp + 0x258], bl
call fcn.00412150
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x401a68
push eax
call fcn.0042de79
add esp, 4
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
cmp eax, ebx
je 0x401a81
push eax
call fcn.0042de79
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.0042d98b
add esp, 0x248
ret
mov byte [esp + 0x258], bl
call fcn.00412150
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x401acc
push eax
call fcn.0042de79
add esp, 4
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
cmp eax, ebx
je 0x401ae5
push eax
call fcn.0042de79
add esp, 4
xor eax, eax
jmp 0x401a83