Function at 0x442090
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5429
mov eax, dword fs:[0]
push eax
sub esp, 0x6e0
mov eax, dword [0x4c9614]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x30]
push 1
mov dword [ebp - 0x6d0], ebx
call fcn.0045c980
add esp, 4
test al, al
je 0x4424bf
mov edx, dword [ebx + 0x30]
lea ecx, [ebp - 0x6c8]
call fcn.0045cb10
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x6c8]
cmp dword [eax - 0xc], edi
jne 0x442106
mov dword [ebp - 4], 0xffffffff
jmp 0x4424a3
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
jne 0x4421a1
mov ecx, dword [ebp - 0x6c8]
cmp dword [ecx - 0xc], edi
jl 0x4421a7
push str.Program_Files__x86__
push ecx
call fcn.0047f5f4
add esp, 8
cmp eax, edi
je 0x4421a1
mov ecx, dword [ebp - 0x6c8]
sub eax, ecx
sar eax, 1
cmp eax, 2
jne 0x4421a7
lea eax, [ecx - 0x10]
call fcn.00403850
add eax, 0x10
mov dword [ebp - 0x6cc], eax
push str.Program_Files_
push str.Program_Files__x86__
lea ecx, [ebp - 0x6cc]
push ecx
mov byte [ebp - 4], 1
call fcn.0040bb30
mov edx, dword [ebp - 0x6cc]
push edx
call esi
test eax, eax
je 0x442192
lea eax, [ebp - 0x6cc]
lea edi, [ebp - 0x6c8]
call fcn.00409700
xor edi, edi
lea ecx, [ebp - 0x6cc]
mov byte [ebp - 4], 0
call fcn.0046c940
mov ecx, dword [ebp - 0x6c8]
cmp ecx, edi
je 0x4421bf
push str.:360SANDBOXSHADOW_
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
cmp eax, edi
je 0x4422c7
lea eax, [ebp - 0x44c]
push eax
call fcn.0040fa10
push ecx
mov eax, esp
mov dword [ebp - 0x6d0], esp
push ecx
mov byte [ebp - 4], 2
mov dword [eax], edi
mov eax, esp
mov dword [eax], edi
mov ecx, dword [ebx + 0x30]
mov dword [ebp - 0x6d0], esp
push ecx
lea esi, [ebp - 0x420]
call fcn.00412210
cmp eax, edi
je 0x4422b2
lea edx, [ebp - 0x44c]
push edx
call fcn.00411d00
lea ecx, [ebx + 0x54]
mov eax, str.IDS_INVALID_PATH
lea esi, [ebp - 0x6ec]
call fcn.0042ec90
mov byte [ebp - 4], 3
cmp dword [eax + 0x18], 8
jb 0x44222a
mov eax, dword [eax + 4]
jmp 0x44222d
add eax, 4
push edi
push edi
push eax
push edi
lea ecx, [ebp - 0x44c]
call fcn.00411960
lea ecx, [ebp - 0x6ec]
mov byte [ebp - 4], 2
call fcn.00401420
mov eax, dword [ebp - 0x6c8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp eax, edi
je 0x4422a5
mov ecx, dword [ebp - 0x6c8]
cmp eax, ecx
jbe 0x4422a5
sub eax, ecx
lea ecx, [ebp - 0x6cc]
push ecx
lea edx, [ebp - 0x6c8]
sar eax, 1
push edx
xor ecx, ecx
call fcn.00408d30
push 1
mov byte [ebp - 4], 4
mov eax, dword [eax]
push edi
push eax
push 1
lea ecx, [ebp - 0x44c]
call fcn.00411960
lea ecx, [ebp - 0x6cc]
mov byte [ebp - 4], 2
call fcn.0046c940
push 1
lea esi, [ebp - 0x44c]
call fcn.004116c0
lea eax, [ebp - 0x44c]
push eax
mov byte [ebp - 4], 0
call fcn.0040fbb0
jmp 0x442496
push 0x270
lea ecx, [ebp - 0x6c0]
push edi
push ecx
mov dword [ebp - 0x6c4], edi
call fcn.004845b0
mov edx, dword [ebx + 0x30]
add esp, 0xc
push edx
lea esi, [ebp - 0x6c4]
lea ecx, [ebp - 0x6c8]
call fcn.0045c540
add esp, 4
cmp al, 1
jne 0x442496
lea eax, [ebp - 0x6bc]
push eax
mov eax, ebx
call fcn.00443180
cmp al, 1
jne 0x442324
lea ecx, [ebp - 0x6c8]
call fcn.0046c940
jmp 0x4424bf
push 0x4cdbc0
push 0x27c
call fcn.00480bb6
add esp, 8
cmp eax, edi
je 0x442343
mov dword [eax], edi
mov dword [eax + 4], edi
mov ebx, eax
jmp 0x442345
xor ebx, ebx
mov dword [ebp - 0x6cc], ebx
test ebx, ebx
je 0x442452
lea edi, [ebx + 8]
mov ecx, 0x9d
lea esi, [ebp - 0x6c4]
lea edx, [ebp - 0x6bc]
lea eax, [ebp - 0x6ec]
rep movsd dword es:[edi], dword [esi]
call fcn.004032f0
lea eax, [ebp - 0x6ec]
call fcn.0040ac40
lea ecx, [ebp - 0x6ec]
mov dword [ebx + 4], eax
call fcn.00401420
mov esi, dword [ebp - 0x6d0]
lea ecx, [esi + 0x1b4]
push ecx
lea eax, [ebp - 0x6cc]
call fcn.00443810
cmp dword [esi + 0x1ac], 0
lea edi, [esi + 0x1ac]
je 0x442452
push ebx
push esi
call fcn.00442c20
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x21a]
push eax
mov word [ebp - 0x21c], dx
call fcn.004845b0
add esp, 0xc
cmp dword [0x4d06d8], 0
je 0x44242c
add ebx, 0x10
push ebx
lea esi, [ebp - 0x6cc]
call fcn.004460e0
mov ecx, dword [eax]
push ecx
push str._pipc__csbx__autostartprocess__file_s_
lea edx, [ebp - 0x21c]
push 0x208
push edx
call fcn.0040bdc0
add esp, 0x10
mov ecx, esi
call fcn.0046c940
mov eax, dword [0x4d06d8]
mov ecx, dword [eax]
lea edx, [ebp - 0x21c]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, edi
call fcn.0041d240
mov ecx, dword [eax]
mov edx, dword [ecx + 0x110]
push eax
call edx
mov eax, edi
call fcn.0041d240
mov ecx, dword [eax]
mov edx, dword [ecx + 0x9c]
push 1
push eax
call edx
cmp dword [0x4cfca0], 0
je 0x442496
push 3
push 0x13
mov edx, str.CAppListPage::OnBtnAdd
call fcn.00409a70
push 1
push 0x13
mov edx, str.ToyList
call fcn.00409a40
push 1
push 0x13
mov edx, 0x4aa7ac
call fcn.00409a40
push 4
push 0x13
mov edx, str.CAppListPage::OnBtnAdd
call fcn.00409a70
add esp, 0x20
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x6c8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4424bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047e6eb
mov esp, ebp
pop ebp
ret 4