Function at 0x403b30
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x44b8b1
mov eax, dword fs:[0]
push eax
sub esp, 0x7cc
mov eax, dword [0x462100]
xor eax, esp
mov dword [esp + 0x7c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x462100]
xor eax, esp
push eax
lea eax, [esp + 0x7e0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x7f0]
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 0x403bbd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x403bbd
push str.CLOUDTIPWND
push 0x458098
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
cmp esi, ebx
je 0x403bb6
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
xor eax, eax
jmp 0x403e06
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 + 0x7e8], ebx
mov edi, dword [0x4674e0]
lea eax, [esp + 0x1c]
add edi, 0x10
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x466830]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], eax
call fcn.004056c0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [esp + 0x54]
push eax
call fcn.00416800
push 0x45b050
mov byte [esp + 0x7ec], 1
mov ecx, dword [0x465b84]
push 0x71
push ecx
lea edx, [esp + 0x118]
mov edi, 1
push edx
mov dword [esp + 0x1dc], edi
call fcn.004234a0
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.00420650
mov ecx, dword [esp + 0x800]
sub ecx, dword [esp + 0x7f8]
mov eax, dword [esp + 0x804]
sub eax, dword [esp + 0x7fc]
add ecx, 0xfffffff7
mov dword [esp + 0x220], ecx
mov ecx, dword [0x463834]
mov edx, 9
mov esi, 5
add eax, 0xfffffff3
mov dword [esp + 0x218], edx
mov dword [esp + 0x21c], esi
mov dword [esp + 0x224], eax
mov dword [esp + 0x14], ecx
mov byte [esp + 0x7e8], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x2710
div ecx
lea ecx, [esp + 0x14]
push edx
mov edx, dword [ebp]
push edx
push str._s_r_d
call fcn.00402220
mov ebp, dword [esp + 0x20]
add esp, 0xc
cmp ebp, ebx
je 0x403d0c
push ebp
lea ecx, [esp + 0x1b0]
call fcn.00402550
mov ecx, dword [esp + 0x7f8]
mov eax, dword [esp + 0x7f4]
mov edx, dword [esp + 0x7fc]
mov dword [esp + 0x264], eax
mov eax, dword [esp + 0x800]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x804]
mov dword [esp + 0x64], eax
push ecx
mov eax, esp
mov dword [esp + 0x64], edx
mov dword [esp + 0x24c], edi
mov dword [esp + 0x1b4], edi
mov dword [esp + 0x264], edi
mov dword [esp + 0x6c], ecx
mov dword [eax], ebx
push ecx
mov eax, esp
lea edx, [esp + 0x800]
lea esi, [esp + 0x5c]
mov dword [eax], edx
call fcn.00404540
cmp eax, ebx
je 0x403e2e
mov ecx, esi
call fcn.00420440
mov ecx, dword [esp + 0x58]
push str.CLOUDTIPWND
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [esp + 0x1c]
call fcn.00404f10
mov edi, eax
call fcn.00404dc0
lea edx, [ebp - 0xc]
cmp edx, dword [0x463830]
je 0x403dc6
lea esi, [ebp - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x403dc6
push esi
call fcn.00433555
add esp, 4
lea ecx, [esp + 0x54]
mov byte [esp + 0x7e8], bl
call fcn.004169f0
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x403deb
push eax
call fcn.004331fa
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 0x403e04
push eax
call fcn.004331fa
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x7e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7c8]
xor ecx, esp
call fcn.004331eb
add esp, 0x7d8
ret
lea eax, [ebp - 0xc]
cmp eax, dword [0x463830]
je 0x403e50
lea esi, [ebp - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x403e50
push esi
call fcn.00433555
add esp, 4
lea ecx, [esp + 0x54]
mov byte [esp + 0x7e8], bl
call fcn.004169f0
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x403e75
push eax
call fcn.004331fa
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 0x403e8e
push eax
call fcn.004331fa
add esp, 4
xor eax, eax
jmp 0x403e06