Function at 0x40dc64
Capabilities:
Check if file exists
Copy file
Create directory
Delete file
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
push edi
mov edi, str.X360StartFrame
push 0
mov dword [ebp - 0x10], ecx
push edi
call esi
test eax, eax
mov ebx, str.360Start.exe
je 0x40dcef
push 0
push 1
push 0x401
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
and dword [ebp - 8], 0
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push edi
call esi
test eax, eax
je 0x40dccc
push 0
push 1
push 0x401
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 8]
inc dword [ebp - 8]
cmp eax, 0xa
jle 0x40dc9d
mov edi, dword [ebp - 0x10]
push ebx
lea eax, [edi + 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00410e94
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x10]
call fcn.00403e0f
jmp 0x40dcf2
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + 4]
cmp dword [eax + 4], 9
jge 0x40deab
lea esi, [edi + 0x18]
push ebx
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.00410e94
mov eax, dword [eax]
add edi, 0x1c
mov dword [ebp - 0x14], eax
push ebx
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x18]
call fcn.00403e0f
lea ecx, [ebp - 0x1c]
call fcn.00403e0f
mov eax, dword [0x424504]
push dword [esi]
mov dword [ebp - 4], eax
mov ebx, str._sShield
lea eax, [ebp - 4]
push ebx
push eax
call fcn.00403a35
add esp, 0xc
push 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [0x424504]
push dword [edi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00403a35
add esp, 0xc
lea eax, [ebp - 4]
push str.Sandboxie.ini
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00410e94
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
lea ecx, [ebp - 0x1c]
neg ebx
sbb bl, bl
inc bl
call fcn.00403e0f
test bl, bl
je 0x40de0c
mov ebx, str.Sandboxie.ini
lea eax, [ebp - 4]
push ebx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00410e94
mov eax, dword [eax]
push ebx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x18]
call fcn.00403e0f
lea ecx, [ebp - 0x14]
call fcn.00403e0f
mov ebx, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push str.SYSTEMCurrentControlSetServicesSbieDrv
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
push str.SYSTEMCurrentControlSetServicesSbieSvc
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
mov eax, dword [0x424504]
push dword [esi]
mov dword [ebp - 8], eax
mov ebx, str._sShieldInstall360SafeModuleSkin
lea eax, [ebp - 8]
push ebx
push eax
call fcn.00403a35
push dword [ebp - 8]
call fcn.00414c27
mov eax, dword [0x424504]
add esp, 0x10
push dword [edi]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.00403a35
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.00414eca
add esp, 0x14
mov ebx, str.ShieldInstall360sandbox.exe
lea eax, [ebp - 0x18]
push ebx
push esi
push eax
call fcn.00410e94
mov esi, dword [eax]
push ebx
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x1c]
call fcn.00403e0f
lea ecx, [ebp - 0x18]
call fcn.00403e0f
lea ecx, [ebp - 0xc]
call fcn.00403e0f
lea ecx, [ebp - 8]
call fcn.00403e0f
lea ecx, [ebp - 0x10]
call fcn.00403e0f
lea ecx, [ebp - 4]
call fcn.00403e0f
pop edi
pop esi
pop ebx
leave
ret