Function at 0x420560
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4812c6
mov eax, dword fs:[0]
push eax
mov eax, 0x100c
call fcn.00462bf0
mov eax, dword [0x4a60f8]
xor eax, esp
mov dword [esp + 0x1008], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a60f8]
xor eax, esp
push eax
lea eax, [esp + 0x1020]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 8], 0
jne 0x4205ae
xor eax, eax
jmp 0x420812
call fcn.0041fd30
mov ecx, dword [edi + 8]
call fcn.0043ea90
cmp dword [eax], 0
je 0x42080d
push 0x800
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00461950
add esp, 0xc
push 1
push 0x17
lea ecx, [esp + 0x24]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x256
lea ecx, [esp + 0x18]
call fcn.0041c430
mov eax, dword [eax]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push eax
lea edx, [esp + 0x20]
push edx
mov eax, edx
push eax
call ebp
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4a4010]
je 0x420637
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x420637
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00462471
add esp, 4
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea edx, [esp + 0x1c]
push edx
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x420657
push 0
lea eax, [esp + 0x20]
push eax
call esi
push 0x8a
lea ecx, [esp + 0x18]
call fcn.0041c430
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x20]
push ecx
mov edx, ecx
push edx
call ebp
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4a4010]
je 0x42069f
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42069f
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00462471
add esp, 4
lea edx, [esp + 0x1c]
push edx
call ebx
test eax, eax
jne 0x4206b2
push eax
lea eax, [esp + 0x20]
push eax
call esi
push 0x8a
lea ecx, [esp + 0x18]
call fcn.0041c430
mov esi, dword [esp + 0x1030]
mov eax, dword [eax]
push 1
push esi
push 0
lea ecx, [esp + 0x28]
push ecx
push 0
push 0x48a710
push eax
mov ecx, edi
mov dword [esp + 0x1044], 0
call fcn.0041d840
mov eax, dword [esp + 0x14]
or ebx, 0xffffffff
lea edx, [eax - 0xc]
mov dword [esp + 0x1028], ebx
cmp edx, dword [0x4a4010]
je 0x420724
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x420724
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00462471
add esp, 4
push 0x8d
lea ecx, [esp + 0x18]
call fcn.0041c430
mov eax, dword [eax]
push 0
push esi
push 1
lea ecx, [esp + 0x28]
push ecx
push 0
push str.Uninstall.exe
push eax
mov ecx, edi
mov dword [esp + 0x1044], 1
call fcn.0041d840
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
mov dword [esp + 0x1028], ebx
cmp edx, dword [0x4a4010]
je 0x42078c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42078c
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00462471
add esp, 4
push 0x800
lea ecx, [esp + 0x820]
push 0
push ecx
call fcn.00461950
add esp, 0xc
push 0x8f
lea ecx, [esp + 0x1c]
call fcn.0041c430
mov edx, dword [eax]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x824]
push ecx
call ebp
mov eax, dword [esp + 0x18]
lea edx, [eax - 0xc]
cmp edx, dword [0x4a4010]
je 0x4207f0
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4207f0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.00462471
add esp, 4
lea ecx, [esp + 0x81c]
push ecx
push str.http:__zhuomian.360.cn
push 0x48a754
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, 1
mov ecx, dword [esp + 0x1020]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1008]
xor ecx, esp
call fcn.00461932
add esp, 0x1018
ret 4