Function at 0x410329c0
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push r12
sub rsp, 0x8c0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x41359af8]
xor rax, rsp
mov qword [rsp + 0x8b0], rax
lea rcx, str.SCCloud.exe
call fcn.41036200
cmp eax, 2
jge 0x41032fd4
xor r12d, r12d
mov dword [rsp + 0x58], r12d
xor eax, eax
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x68], eax
mov r8d, 0x2715
lea rdx, str.Ver_d
lea rcx, [rsp + 0x58]
call fcn.412122b0
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r12
mov word [rsp + 0x38], r12w
xor r8d, r8d
lea edx, [r12 + 0xa]
lea rcx, [rsp + 0x30]
call fcn.41022ab0
lea rcx, [rsp + 0x38]
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
cmovae rcx, qword [rsp + 0x38]
add rdx, rdx
lea r9d, [r12 + 0x14]
lea r8, [0x4129a2a8]
call fcn.412118b0
mov qword [rsp + 0x48], 0xa
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rax, qword [rsp + 0x38]
mov word [rax + 0x14], r12w
lea r8d, [r12 + 0xe]
lea rdx, str.CloudMainFrame
lea rcx, [rsp + 0x30]
call fcn.41022fe0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x58]
repne scasw ax, word [rdi]
not rcx
lea rbx, [rcx - 1]
lea rax, [rsp + 0x38]
mov r8, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x50]
cmp rdi, 8
cmovae rax, r8
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
cmp rdx, rax
jb 0x41032c53
lea rax, [rsp + 0x38]
cmp rdi, 8
cmovae rax, r8
lea rax, [rax + rcx*2]
lea rdx, [rsp + 0x58]
cmp rax, rdx
jbe 0x41032c53
lea rax, [rsp + 0x38]
cmp rdi, 8
cmovae rax, r8
lea rbp, [rsp + 0x58]
sub rbp, rax
sar rbp, 1
cmp rcx, rbp
jae 0x41032b4a
call fcn.4120fc90
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
sub rax, rbp
cmp rax, rbx
cmovb rbx, rax
or rax, 0xffffffffffffffff
sub rax, rcx
cmp rax, rbx
jbe 0x41032b6c
lea rax, [rcx + rbx]
cmp rax, rcx
jae 0x41032b7b
call fcn.4120fbc0
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
test rbx, rbx
je 0x41032d34
lea rsi, [rcx + rbx]
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
jbe 0x41032ba6
call fcn.4120fbc0
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
cmp rdi, rsi
jae 0x41032bc7
mov r8, rcx
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.41022ab0
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
jmp 0x41032bed
test rsi, rsi
jne 0x41032bed
mov qword [rsp + 0x48], r12
lea rax, [rsp + 0x38]
cmp rdi, 8
cmovae rax, qword [rsp + 0x38]
mov word [rax], si
mov rdi, qword [rsp + 0x50]
jmp 0x41032d34
test rsi, rsi
je 0x41032d34
lea rdx, [rsp + 0x38]
mov r8, qword [rsp + 0x38]
cmp rdi, 8
cmovae rdx, r8
lea rax, [rsp + 0x38]
cmp rdi, 8
cmovae rax, r8
sub rdi, rcx
lea rcx, [rax + rcx*2]
lea r9, [rbx + rbx]
lea r8, [rdx + rbp*2]
lea rdx, [rdi + rdi]
call fcn.412118b0
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rax, qword [rsp + 0x38]
mov word [rax + rsi*2], 0
mov rdi, qword [rsp + 0x50]
jmp 0x41032d34
or rax, 0xffffffffffffffff
sub rax, rcx
cmp rax, rbx
jbe 0x41032c68
lea rax, [rcx + rbx]
cmp rax, rcx
jae 0x41032c77
call fcn.4120fbc0
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
test rbx, rbx
je 0x41032d34
lea rsi, [rcx + rbx]
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
jbe 0x41032ca2
call fcn.4120fbc0
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
cmp rdi, rsi
jae 0x41032cc3
mov r8, rcx
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.41022ab0
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
jmp 0x41032ce6
test rsi, rsi
jne 0x41032ce6
mov qword [rsp + 0x48], r12
lea rax, [rsp + 0x38]
cmp rdi, 8
cmovae rax, qword [rsp + 0x38]
mov word [rax], si
mov rdi, qword [rsp + 0x50]
jmp 0x41032d34
test rsi, rsi
je 0x41032d34
lea rax, [rsp + 0x38]
cmp rdi, 8
cmovae rax, qword [rsp + 0x38]
sub rdi, rcx
lea rcx, [rax + rcx*2]
lea r9, [rbx + rbx]
lea rdx, [rdi + rdi]
lea r8, [rsp + 0x58]
call fcn.412118b0
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rax, qword [rsp + 0x38]
mov word [rax + rsi*2], 0
mov rdi, qword [rsp + 0x50]
lea rcx, [rsp + 0x38]
cmp rdi, 8
cmovae rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x41032d6b
cmp qword [rsp + 0x50], 8
jb 0x41032fd4
mov rcx, qword [rsp + 0x38]
call fcn.41210d60
jmp 0x41032fd4
mov rax, qword [0x4135c018]
test rax, rax
jne 0x41032d9f
mov ecx, 0x2d0
call fcn.41211580
mov qword [rsp + 0x20], rax
test rax, rax
je 0x41032d95
mov rcx, rax
call fcn.410228e0
jmp 0x41032d98
mov rax, r12
mov qword [0x4135c018], rax
mov rcx, rax
call fcn.4102a870
mov rdi, rax
mov word [rsp + 0x490], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x492]
call fcn.412121c0
mov word [rsp + 0x280], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x282]
call fcn.412121c0
mov rdx, r12
lea r8, [0x41000000]
movzx eax, word [rdx + r8 + 0x29a938]
mov word [rsp + rdx + 0x280], ax
add rdx, 2
test ax, ax
jne 0x41032df2
mov rcx, r12
nop
movzx eax, word [rcx + r8 + 0x29a918]
mov word [rsp + rcx + 0x490], ax
add rcx, 2
test ax, ax
jne 0x41032e10
lea rcx, [rsp + 0x280]
call fcn.412125d0
mov r8, rdi
sub r8, rax
nop
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x41032e54
add rax, 2
test ecx, ecx
jne 0x41032e40
test edx, edx
jne 0x41032e73
cmp qword [rsp + 0x50], 8
jb 0x41032fd4
mov rcx, qword [rsp + 0x38]
call fcn.41210d60
jmp 0x41032fd4
lea rcx, [rsp + 0x490]
call fcn.412125d0
sub rdi, rax
movzx edx, word [rax]
movzx ecx, word [rax + rdi]
sub edx, ecx
jne 0x41032e96
add rax, 2
test ecx, ecx
jne 0x41032e83
test edx, edx
jne 0x41032eb5
cmp qword [rsp + 0x50], 8
jb 0x41032fd4
mov rcx, qword [rsp + 0x38]
call fcn.41210d60
jmp 0x41032fd4
mov word [rsp + 0x70], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x72]
call fcn.412121c0
mov rax, qword [0x4135c018]
test rax, rax
jne 0x41032f02
mov ecx, 0x2d0
call fcn.41211580
mov qword [rsp + 0x20], rax
test rax, rax
je 0x41032ef8
mov rcx, rax
call fcn.410228e0
jmp 0x41032efb
mov rax, r12
mov qword [0x4135c018], rax
mov rcx, rax
call fcn.4102a750
lea rcx, [rsp + 0x70]
nop
movzx edx, word [rax]
mov word [rcx], dx
add rax, 2
add rcx, 2
test dx, dx
jne 0x41032f10
lea rdi, [rsp + 0x70]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
mov rax, qword [str.SCCloud.exe]
mov qword [rdi - 2], rax
mov rax, qword [0x4129a998]
mov qword [rdi + 6], rax
mov rax, qword [0x4129a9a0]
mov qword [rdi + 0xe], rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41032fc2
mov word [rsp + 0x6a0], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x6a2]
call fcn.412121c0
lea r9, str.RunByIme
lea r8, [rsp + 0x70]
lea rdx, str.__s___s
lea rcx, [rsp + 0x6a0]
call fcn.412122b0
lea rcx, [rsp + 0x6a0]
call fcn.4112ef00
nop
cmp qword [rsp + 0x50], 8
jb 0x41032fd4
mov rcx, qword [rsp + 0x38]
call fcn.41210d60
jmp 0x41032fd4
cmp qword [rsp + 0x50], 8
jb 0x41032fd4
mov rcx, qword [rsp + 0x38]
call fcn.41210d60
mov rcx, qword [rsp + 0x8b0]
xor rcx, rsp
call fcn.41211b80
lea r11, [rsp + 0x8c0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret