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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x2d8
mov eax, dword [0x5f3e24]
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 0x4101b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4101b9
push 0
call fcn.0056f2fe
add esp, 4
push eax
call fcn.0056f387
add esp, 4
call fcn.0056f366
cdq
mov esi, 0x1a
idiv esi
cmp dword [0x5f490c], 0x10
mov eax, 0x5f48f8
cmovae eax, dword [0x5f48f8]
mov al, byte [eax + edx]
mov byte [esp + 0xe], al
call fcn.0056f366
cdq
idiv esi
cmp dword [0x5f490c], 0x10
mov eax, 0x5f48f8
cmovae eax, dword [0x5f48f8]
mov al, byte [eax + edx]
mov byte [esp + 0xf], al
call fcn.0056f366
cdq
xorps xmm0, xmm0
idiv esi
cmp dword [0x5f490c], 0x10
mov eax, 0x5f48f8
mov cl, byte [esp + 0xe]
cmovae eax, dword [0x5f48f8]
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 [0x5f48f0]
sub eax, ecx
mov dword [esp + 0xb4], 0xf
mov dword [esp + 0xb0], 3
mov byte [esp + 0xa3], 0
cmp eax, 3
jb 0x4101d1
cmp dword [0x5f48f4], 0x10
lea edx, [esp + 0xa0]
push 3
push edx
push ecx
mov eax, 0x5f48e0
cmovae eax, dword [0x5f48e0]
push eax
push ecx
push dword [esp + 0x24]
lea ecx, [esp + 0x68]
call fcn.00412360
mov edx, dword [esp + 0x64]
mov eax, edx
mov ecx, dword [esp + 0x60]
sub eax, ecx
cmp eax, 4
jb 0x40fd10
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 0x40fd2b
push 4
push str..exe
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x58]
push dword [esp + 0x18]
push 4
call fcn.00407fe0
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 [0x5f48f4]
movaps xmmword [esp + 0x40], xmm0
movq qword [esp + 0x10], xmm1
cmp ecx, 0x10
jb 0x40fd93
mov eax, dword [0x5f48e0]
inc ecx
cmp ecx, 0x1000
jb 0x40fd7e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4101d6
mov eax, edx
push ecx
push eax
call fcn.00562bc8
movaps xmm0, xmmword [esp + 0x48]
add esp, 8
movq xmm1, qword [esp + 0x10]
mov ecx, dword [esp + 0x64]
movq qword [0x5f48f0], xmm1
movups xmmword [0x5f48e0], xmm0
cmp ecx, 0x10
jb 0x40fdd8
mov edx, dword [esp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40fdce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4101d6
push ecx
push edx
call fcn.00562bc8
add esp, 8
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
push 0x64
push 0x5fd798
push 0x67
push edi
call esi
push 0x64
push 0x5fd730
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], 0x4101f0
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], 0x5fd730
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 0x5fd798
push 0x5fd730
push 0
mov dword [0x5fd72c], edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
je 0x410169
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.00564e00
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.00564e00
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 0x40ff20
lea eax, [esp + 0xd8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathA]
push 0x5f4910
lea ecx, [esp + 0xc4]
call fcn.00408220
mov ecx, dword [esp + 0xd0]
mov eax, closesocket
sub eax, ecx
cmp eax, 1
jb 0x4101db
cmp dword [esp + 0xd4], 0x10
lea eax, [esp + 0xc0]
push 1
cmovae eax, dword [esp + 0xc4]
push 0x5d425c
push ecx
push eax
push ecx
push dword [esp + 0x24]
lea ecx, [esp + 0x68]
call fcn.00412360
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0x54]
call fcn.00407f70
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 0x41000a
mov edx, dword [esp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410000
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4101e0
push ecx
push edx
call fcn.00562bc8
add esp, 8
cmp dword [esp + 0x94], 0x10
lea eax, [esp + 0x80]
push dword [esp + 0x90]
cmovae eax, dword [esp + 0x84]
mov ecx, 0x5f4928
push eax
call fcn.0040bd20
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 0x410073
test dl, dl
je 0x41006f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x410073
add eax, 2
add ecx, 2
test dl, dl
jne 0x410053
xor eax, eax
jmp 0x410078
sbb eax, eax
or eax, 1
test eax, eax
jne 0x410095
push 4
call fcn.00430593
mov ecx, eax
mov dword [0x5fd728], eax
mov dword [eax], 0x1770
call fcn.00402960
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 0x4100f2
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 0x4100da
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 0x4100b0
mov edi, dword [esp + 0x80]
mov eax, dword [esp + 0x94]
mov esi, dword [esp + 0x2c]
cmp eax, 0x10
jb 0x41012d
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x410123
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4101e5
push ecx
push edi
call fcn.00562bc8
add esp, 8
mov ecx, dword [esp + 0xd4]
cmp ecx, 0x10
jb 0x410169
mov edx, dword [esp + 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41015f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4101e5
push ecx
push edx
call fcn.00562bc8
add esp, 8
mov ecx, dword [esp + 0xb4]
cmp ecx, 0x10
jb 0x4101a1
mov edx, dword [esp + 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410197
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4101e5
push ecx
push edx
call fcn.00562bc8
add esp, 8
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x2d4]
xor ecx, esp
call fcn.00562bba
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x2dc]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00562bba
mov esp, ebp
pop ebp
ret 0x10
call fcn.00408ad0
call fcn.005680f5
call fcn.00408ad0
call fcn.005680f5
call fcn.005680f5
int3