Function at 0x10009de0
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push 0xffffffffffffffff
push 0x1002c5f2
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x10035080]
xor eax, esp
mov dword [esp + 0x828], eax
push ebx
push ebp
push esi
mov eax, dword [0x10035080]
xor eax, esp
push eax
lea eax, [esp + 0x83c]
mov dword fs:[0], eax
mov dword [esp + 0x10], 0
cmp edi, 1
jne 0x10009e2e
mov ebx, str.http:__dl.360safe.com_gf_KitTip_KitTip.cab
jmp 0x10009e3c
mov ebx, str.http:__dl.360safe.com_gf_360ini.cab
cmp edi, 2
je 0x10009e3c
mov ebx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [esp + 0x220]
push eax
push 0x104
call esi
mov ebp, dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp edi, 1
jne 0x10009e6b
push str.KitTip.cab
lea ecx, [esp + 0x224]
push ecx
jmp 0x10009e7d
cmp edi, 2
jne 0x10009e7f
push str.360ini.cab
lea edx, [esp + 0x224]
push edx
call ebp
lea eax, [esp + 0x220]
push eax
push ebx
call fcn.10009c60
add esp, 8
test eax, eax
je 0x10009f86
lea ecx, [esp + 0x18]
push ecx
push 0x104
call esi
lea esi, [esp + 0x630]
call fcn.10009ca0
mov edx, esi
push edx
lea eax, [esp + 0x1c]
push eax
call ebp
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x10009efd
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x1c]
call fcn.1000a450
mov dword [esp + 0x844], 0
mov eax, dword [eax]
push eax
push 0
mov dword [esp + 0x18], 1
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x10009efd
mov bl, 1
jmp 0x10009eff
xor bl, bl
mov dword [esp + 0x844], 0xffffffff
test byte [esp + 0x10], 1
je 0x10009f31
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10009f31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x10009f86
lea ecx, [esp + 0x18]
push ecx
push 0x10009d50
push 0
lea edx, [esp + 0x22c]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupIterateCabinetW]
mov esi, eax
lea eax, [esp + 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
je 0x10009f86
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
cmp edi, 1
jne 0x10009faf
push 0x10030678
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x430]
push edx
call esi
test eax, eax
jne 0x10009fcc
xor eax, eax
mov ecx, dword [esp + 0x83c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x828]
xor ecx, esp
call fcn.10019069
add esp, 0x838
ret
cmp edi, 2
jne 0x10009fcc
push str.360ini.dll
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x430]
push ecx
call esi
test eax, eax
je 0x10009f86
lea edx, [esp + 0x428]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10009f86
cmp edi, 1
jne 0x10009ffa
push str.InternetKitTip.dll
lea eax, [esp + 0x1c]
push eax
push 0x10039920
call esi
test eax, eax
jne 0x1000a018
jmp 0x10009f86
cmp edi, 2
jne 0x1000a018
push str.Internet360Ini.dll
lea ecx, [esp + 0x1c]
push ecx
push 0x10039920
call esi
test eax, eax
je 0x10009f86
push 0x10039920
lea edx, [esp + 0x42c]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x10009f86
push 0x10039920
mov dword [0x1003991c], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x10009f88