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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x2d8
mov eax, dword [0x5f4e24]
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 0x4108a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4108a9
push 0
call fcn.0057000e
add esp, 4
push eax
call fcn.0057220e
add esp, 4
call fcn.005721ed
cdq
mov esi, 0x1b
idiv esi
cmp dword [0x5f591c], 0x10
mov eax, 0x5f5908
cmovae eax, dword [0x5f5908]
mov al, byte [eax + edx]
mov byte [esp + 0xe], al
call fcn.005721ed
cdq
idiv esi
cmp dword [0x5f591c], 0x10
mov eax, 0x5f5908
cmovae eax, dword [0x5f5908]
mov al, byte [eax + edx]
mov byte [esp + 0xf], al
call fcn.005721ed
cdq
xorps xmm0, xmm0
idiv esi
cmp dword [0x5f591c], 0x10
mov eax, 0x5f5908
mov cl, byte [esp + 0xe]
cmovae eax, dword [0x5f5908]
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 [0x5f5900]
sub eax, ecx
mov dword [esp + 0xb4], 0xf
mov dword [esp + 0xb0], 3
mov byte [esp + 0xa3], 0
cmp eax, 3
jb 0x4108c1
cmp dword [0x5f5904], 0x10
lea edx, [esp + 0xa0]
push 3
push edx
push ecx
mov eax, 0x5f58f0
cmovae eax, dword [0x5f58f0]
push eax
push ecx
push dword [esp + 0x24]
lea ecx, [esp + 0x68]
call fcn.0040c490
mov edx, dword [esp + 0x64]
mov eax, edx
mov ecx, dword [esp + 0x60]
sub eax, ecx
cmp eax, 4
jb 0x410400
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 0x41041b
push 4
push str..exe
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x58]
push dword [esp + 0x18]
push 4
call fcn.004078f0
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 [0x5f5904]
movaps xmmword [esp + 0x40], xmm0
movq qword [esp + 0x10], xmm1
cmp ecx, 0x10
jb 0x410483
mov eax, dword [0x5f58f0]
inc ecx
cmp ecx, 0x1000
jb 0x41046e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4108c6
mov eax, edx
push ecx
push eax
call fcn.005638e9
movaps xmm0, xmmword [esp + 0x48]
add esp, 8
movq xmm1, qword [esp + 0x10]
mov ecx, dword [esp + 0x64]
movq qword [0x5f5900], xmm1
movups xmmword [0x5f58f0], xmm0
cmp ecx, 0x10
jb 0x4104c8
mov edx, dword [esp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4104be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4108c6
push ecx
push edx
call fcn.005638e9
add esp, 8
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
push 0x64
push 0x5fe708
push 0x67
push edi
call esi
push 0x64
push 0x5fe6a0
push 0x6d
push edi
call esi
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
push 0x89
push edi
mov dword [esp + 0x58], 0x30
mov dword [esp + 0x5c], 3
mov dword [esp + 0x60], 0x4108e0
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 0x89
push dword [esp + 0x68]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 6
mov dword [esp + 0x7c], 0x6d
mov dword [esp + 0x80], 0x5fe6a0
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 0x5fe708
push 0x5fe6a0
push 0
mov dword [0x5fe69c], edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
je 0x410859
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.00565b20
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.00565b20
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 0x410610
lea eax, [esp + 0xd8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathA]
push 0x5f5920
lea ecx, [esp + 0xc4]
call fcn.00407b30
mov ecx, dword [esp + 0xd0]
mov eax, closesocket
sub eax, ecx
cmp eax, 1
jb 0x4108cb
cmp dword [esp + 0xd4], 0x10
lea eax, [esp + 0xc0]
push 1
cmovae eax, dword [esp + 0xc4]
push 0x5d5094
push ecx
push eax
push ecx
push dword [esp + 0x24]
lea ecx, [esp + 0x68]
call fcn.0040c490
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0x54]
call fcn.00407880
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 0x4106fa
mov edx, dword [esp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4106f0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4108d0
push ecx
push edx
call fcn.005638e9
add esp, 8
cmp dword [esp + 0x94], 0x10
lea eax, [esp + 0x80]
push dword [esp + 0x90]
cmovae eax, dword [esp + 0x84]
mov ecx, 0x5f5938
push eax
call fcn.0040be10
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 0x410763
test dl, dl
je 0x41075f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x410763
add eax, 2
add ecx, 2
test dl, dl
jne 0x410743
xor eax, eax
jmp 0x410768
sbb eax, eax
or eax, 1
test eax, eax
jne 0x410785
push 4
call fcn.00430d11
mov ecx, eax
mov dword [0x5fe698], eax
mov dword [eax], 0x1770
call fcn.00402630
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 0x4107e2
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 0x4107ca
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 0x4107a0
mov edi, dword [esp + 0x80]
mov eax, dword [esp + 0x94]
mov esi, dword [esp + 0x2c]
cmp eax, 0x10
jb 0x41081d
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x410813
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4108d5
push ecx
push edi
call fcn.005638e9
add esp, 8
mov ecx, dword [esp + 0xd4]
cmp ecx, 0x10
jb 0x410859
mov edx, dword [esp + 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41084f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4108d5
push ecx
push edx
call fcn.005638e9
add esp, 8
mov ecx, dword [esp + 0xb4]
cmp ecx, 0x10
jb 0x410891
mov edx, dword [esp + 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410887
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4108d5
push ecx
push edx
call fcn.005638e9
add esp, 8
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x2d4]
xor ecx, esp
call fcn.005638db
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x2dc]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.005638db
mov esp, ebp
pop ebp
ret 0x10
call fcn.004083e0
call fcn.00568e05
call fcn.004083e0
call fcn.00568e05
call fcn.00568e05
int3