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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x2d8
mov eax, dword [0x5f0e24]
xor eax, esp
mov dword [esp + 0x2d4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push str.StartCloudAppMutex
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
je 0x40f4f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40f4f9
push 0
call fcn.0056e48e
add esp, 4
push eax
call fcn.0056e517
add esp, 4
call fcn.0056e4f6
cdq
mov esi, 0x1a
idiv esi
cmp dword [0x5f190c], 0x10
mov eax, 0x5f18f8
cmovae eax, dword [0x5f18f8]
mov al, byte [eax + edx]
mov byte [esp + 0xe], al
call fcn.0056e4f6
cdq
idiv esi
cmp dword [0x5f190c], 0x10
mov eax, 0x5f18f8
cmovae eax, dword [0x5f18f8]
mov al, byte [eax + edx]
mov byte [esp + 0xf], al
call fcn.0056e4f6
cdq
xorps xmm0, xmm0
idiv esi
cmp dword [0x5f190c], 0x10
mov eax, 0x5f18f8
mov cl, byte [esp + 0xe]
cmovae eax, dword [0x5f18f8]
movaps xmmword [esp + 0xa0], xmm0
mov byte [esp + 0xa0], cl
mov cl, byte [esp + 0xf]
mov al, byte [eax + edx]
mov byte [esp + 0xa2], al
mov eax, closesocket
mov byte [esp + 0xa1], cl
mov ecx, dword [0x5f18f0]
sub eax, ecx
mov dword [esp + 0xb4], 0xf
mov dword [esp + 0xb0], 3
mov byte [esp + 0xa3], 0
cmp eax, 3
jb 0x40f511
cmp dword [0x5f18f4], 0x10
lea edx, [esp + 0xa0]
push 3
push edx
push ecx
mov eax, 0x5f18e0
cmovae eax, dword [0x5f18e0]
push eax
push ecx
push dword [esp + 0x24]
lea ecx, [esp + 0x68]
call fcn.004116a0
mov edx, dword [esp + 0x64]
mov eax, edx
mov ecx, dword [esp + 0x60]
sub eax, ecx
cmp eax, 4
jb 0x40f050
lea eax, [ecx + 4]
cmp edx, 0x10
mov dword [esp + 0x60], eax
lea eax, [esp + 0x50]
cmovae eax, dword [esp + 0x50]
mov dword [eax + ecx], 0x6578652e
mov byte [eax + ecx + 4], 0
lea eax, [esp + 0x50]
jmp 0x40f06b
push 4
push str..exe
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x58]
push dword [esp + 0x18]
push 4
call fcn.004079d0
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [0x5f18f4]
movaps xmmword [esp + 0x40], xmm0
movq qword [esp + 0x10], xmm1
cmp ecx, 0x10
jb 0x40f0d3
mov eax, dword [0x5f18e0]
inc ecx
cmp ecx, 0x1000
jb 0x40f0be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f516
mov eax, edx
push ecx
push eax
call fcn.00561e8b
movaps xmm0, xmmword [esp + 0x48]
add esp, 8
movq xmm1, qword [esp + 0x10]
mov ecx, dword [esp + 0x64]
movq qword [0x5f18f0], xmm1
movups xmmword [0x5f18e0], xmm0
cmp ecx, 0x10
jb 0x40f118
mov edx, dword [esp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40f10e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f516
push ecx
push edx
call fcn.00561e8b
add esp, 8
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
push 0x64
push 0x5fa6e8
push 0x67
push edi
call esi
push 0x64
push 0x5fa680
push 0x6d
push edi
call esi
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
push 0x83
push edi
mov dword [esp + 0x58], 0x30
mov dword [esp + 0x5c], 3
mov dword [esp + 0x60], 0x40f530
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], edi
call esi
push 0x7f00
push 0
mov dword [esp + 0x70], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x83
push dword [esp + 0x68]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 6
mov dword [esp + 0x7c], 0x6d
mov dword [esp + 0x80], 0x5fa680
call esi
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push edi
push 0
push 0
push 0
push connect
push 0
push connect
push 0xcf0000
push 0x5fa6e8
push 0x5fa680
push 0
mov dword [0x5fa67c], edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
je 0x40f4a9
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x6d
push edi
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
push 0xff
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1dc]
push 0
push eax
call fcn.005640c0
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0xff
lea ecx, [esp + 0x1dc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xff
lea eax, [esp + 0xdc]
push 0
push eax
call fcn.005640c0
add esp, 0xc
xor ecx, ecx
nop
mov al, byte [esp + ecx + 0x1d8]
lea ecx, [ecx + 1]
mov byte [esp + ecx + 0xd7], al
test al, al
jne 0x40f260
lea eax, [esp + 0xd8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathA]
push 0x5f1910
lea ecx, [esp + 0xc4]
call fcn.00407c10
mov ecx, dword [esp + 0xd0]
mov eax, closesocket
sub eax, ecx
cmp eax, 1
jb 0x40f51b
cmp dword [esp + 0xd4], 0x10
lea eax, [esp + 0xc0]
push 1
cmovae eax, dword [esp + 0xc4]
push 0x5d0f50
push ecx
push eax
push ecx
push dword [esp + 0x24]
lea ecx, [esp + 0x68]
call fcn.004116a0
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0x54]
call fcn.00407960
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x80], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [esp + 0x64]
movq qword [esp + 0x90], xmm0
cmp ecx, 0x10
jb 0x40f34a
mov edx, dword [esp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40f340
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f520
push ecx
push edx
call fcn.00561e8b
add esp, 8
cmp dword [esp + 0x94], 0x10
lea eax, [esp + 0x80]
push dword [esp + 0x90]
cmovae eax, dword [esp + 0x84]
mov ecx, 0x5f1928
push eax
call fcn.0040ad80
cmp dword [esp + 0x94], 0x10
lea eax, [esp + 0x80]
mov edi, dword [esp + 0x80]
lea ecx, [esp + 0x1d8]
cmovae eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40f3b3
test dl, dl
je 0x40f3af
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40f3b3
add eax, 2
add ecx, 2
test dl, dl
jne 0x40f393
xor eax, eax
jmp 0x40f3b8
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40f3d5
push 4
call fcn.0042f843
mov ecx, eax
mov dword [0x5fa678], eax
mov dword [eax], 0x1770
call fcn.00402740
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
lea eax, [esp + 0x24]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x40f432
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x24]
push eax
push edi
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x40f41a
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
lea eax, [esp + 0x30]
push eax
call esi
test eax, eax
jne 0x40f3f0
mov edi, dword [esp + 0x80]
mov eax, dword [esp + 0x94]
mov esi, dword [esp + 0x2c]
cmp eax, 0x10
jb 0x40f46d
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x40f463
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f525
push ecx
push edi
call fcn.00561e8b
add esp, 8
mov ecx, dword [esp + 0xd4]
cmp ecx, 0x10
jb 0x40f4a9
mov edx, dword [esp + 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40f49f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f525
push ecx
push edx
call fcn.00561e8b
add esp, 8
mov ecx, dword [esp + 0xb4]
cmp ecx, 0x10
jb 0x40f4e1
mov edx, dword [esp + 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40f4d7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f525
push ecx
push edx
call fcn.00561e8b
add esp, 8
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x2d4]
xor ecx, esp
call fcn.00561e7d
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x2dc]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00561e7d
mov esp, ebp
pop ebp
ret 0x10
call fcn.004084c0
call fcn.005673a5
call fcn.004084c0
call fcn.005673a5
call fcn.005673a5
int3