Function at 0x100083a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016d84b
mov eax, dword fs:[0]
push eax
sub esp, 0x854
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x2714
xorps xmm0, xmm0
lea eax, [ebp - 0x24]
push str.Ver_d
push eax
mov dword [ebp - 0x24], 0
movq qword [ebp - 0x20], xmm0
movq qword [ebp - 0x18], xmm0
call fcn.10091da4
add esp, 0xc
xor eax, eax
push 0xa
push 0x101917fc
lea ecx, [ebp - 0x860]
mov dword [ebp - 0x84c], 7
mov dword [ebp - 0x850], 0
mov word [ebp - 0x860], ax
call fcn.100048b0
push 0xe
push str.CloudMainFrame
lea ecx, [ebp - 0x860]
mov dword [ebp - 4], 0
call fcn.10004660
cmp word [ebp - 0x24], 0
jne 0x10008449
xor ecx, ecx
jmp 0x1000845f
lea ecx, [ebp - 0x24]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10008450
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x860]
call fcn.10004660
cmp dword [ebp - 0x84c], 8
lea eax, [ebp - 0x860]
cmovae eax, dword [ebp - 0x860]
push 0
push eax
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
jne 0x100086a6
call fcn.100066b0
cmp dword [eax + 0x158], 8
lea esi, [eax + 0x144]
jb 0x100084aa
mov esi, dword [esi]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x640], ax
lea eax, [ebp - 0x63e]
push eax
call fcn.10098090
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x438], ax
lea eax, [ebp - 0x436]
push eax
call fcn.10098090
add esp, 0xc
xor ecx, ecx
jmp 0x100084f0
movzx eax, word [ecx + str.SCImeManager.exe]
mov word [ebp + ecx - 0x438], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x100084f0
xor ecx, ecx
lea esp, [esp]
movzx eax, word [ecx + str.SCWizard.exe]
mov word [ebp + ecx - 0x640], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x10008510
lea eax, [ebp - 0x438]
push eax
call fcn.10092063
add esp, 4
mov ecx, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000855e
test dx, dx
je 0x1000855a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000855e
add eax, 4
add ecx, 4
test dx, dx
jne 0x10008538
xor eax, eax
jmp 0x10008563
sbb eax, eax
or eax, 1
test eax, eax
je 0x100086a6
lea eax, [ebp - 0x640]
push eax
call fcn.10092063
add esp, 4
lea ebx, [ebx]
mov cx, word [eax]
cmp cx, word [esi]
jne 0x100085a6
test cx, cx
je 0x100085a2
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x100085a6
add eax, 4
add esi, 4
test cx, cx
jne 0x10008580
xor eax, eax
jmp 0x100085ab
sbb eax, eax
or eax, 1
test eax, eax
je 0x100086a6
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x22e]
push eax
call fcn.10098090
add esp, 0xc
call fcn.100066b0
cmp dword [eax + 0xb0], 8
lea ecx, [eax + 0x9c]
jb 0x100085e7
mov ecx, dword [ecx]
lea edx, [ebp - 0x230]
lea ecx, [ecx]
movzx eax, word [ecx]
mov word [edx], ax
lea ecx, [ecx + 2]
lea edx, [edx + 2]
test ax, ax
jne 0x100085f0
lea ecx, [ebp - 0x230]
add ecx, 0xfffffffe
lea ebx, [ebx]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x10008610
mov eax, dword [str.SCCloud.exe]
mov dword [ecx], eax
mov eax, dword [0x10191c10]
mov dword [ecx + 4], eax
mov eax, dword [0x10191c14]
mov dword [ecx + 8], eax
mov eax, dword [0x10191c18]
mov dword [ecx + 0xc], eax
mov eax, dword [0x10191c1c]
mov dword [ecx + 0x10], eax
mov eax, dword [0x10191c20]
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100086a6
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x848], ax
lea eax, [ebp - 0x846]
push eax
call fcn.10098090
add esp, 0xc
lea eax, [ebp - 0x230]
push str.RunCloud
push eax
lea eax, [ebp - 0x848]
push str.__s___s
push eax
call fcn.10091da4
lea eax, [ebp - 0x848]
push eax
call fcn.1000df70
add esp, 0x14
cmp dword [ebp - 0x84c], 8
jb 0x100086bd
push dword [ebp - 0x860]
call fcn.10091747
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009174c
mov esp, ebp
pop ebp
ret