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

Disassembly:
push 0xffffffffffffffff
push 0x47e946
mov eax, dword fs:[0]
push eax
mov eax, 0x100c
call fcn.00462620
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x1008], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a30f8]
xor eax, esp
push eax
lea eax, [esp + 0x1020]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 8], 0
jne 0x42130e
xor eax, eax
jmp 0x421572
call fcn.00420a90
mov ecx, dword [edi + 8]
call fcn.0043f520
cmp dword [eax], 0
je 0x42156d
push 0x800
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00461880
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.0041d020
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 [0x4a1010]
je 0x421397
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x421397
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00461ef0
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 0x4213b7
push 0
lea eax, [esp + 0x20]
push eax
call esi
push 0x8a
lea ecx, [esp + 0x18]
call fcn.0041d020
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 [0x4a1010]
je 0x4213ff
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4213ff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00461ef0
add esp, 4
lea edx, [esp + 0x1c]
push edx
call ebx
test eax, eax
jne 0x421412
push eax
lea eax, [esp + 0x20]
push eax
call esi
push 0x8a
lea ecx, [esp + 0x18]
call fcn.0041d020
mov esi, dword [esp + 0x1030]
mov eax, dword [eax]
push 1
push esi
push 0
lea ecx, [esp + 0x28]
push ecx
push 0
push str.360Desktop.exe
push eax
mov ecx, edi
mov dword [esp + 0x1044], 0
call fcn.0041e440
mov eax, dword [esp + 0x14]
or ebx, 0xffffffff
lea edx, [eax - 0xc]
mov dword [esp + 0x1028], ebx
cmp edx, dword [0x4a1010]
je 0x421484
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x421484
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00461ef0
add esp, 4
push 0x8d
lea ecx, [esp + 0x18]
call fcn.0041d020
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.0041e440
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
mov dword [esp + 0x1028], ebx
cmp edx, dword [0x4a1010]
je 0x4214ec
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4214ec
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00461ef0
add esp, 4
push 0x800
lea ecx, [esp + 0x820]
push 0
push ecx
call fcn.00461880
add esp, 0xc
push 0x8f
lea ecx, [esp + 0x1c]
call fcn.0041d020
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 [0x4a1010]
je 0x421550
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x421550
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.00461ef0
add esp, 4
lea ecx, [esp + 0x81c]
push ecx
push str.http:__zhuomian.360.cn
push 0x48789c
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.00461862
add esp, 0x1018
ret 4