Function at 0x414b79
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 ebx, str.X360StartFrame
mov edi, ecx
push 0
push ebx
mov dword [ebp - 0x10], edi
call esi
test eax, eax
je 0x414c04
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 1
push 0x401
push eax
call edi
and dword [ebp - 8], 0
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push ebx
call esi
test eax, eax
je 0x414bdc
push 0
push 1
push 0x401
push eax
call edi
mov eax, dword [ebp - 8]
inc dword [ebp - 8]
cmp eax, 0xa
jle 0x414bb1
mov eax, dword [ebp - 0x10]
push 0x43f334
add eax, 0x38
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0041a27c
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0xc]
call fcn.00404c0d
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + 4]
cmp dword [eax + 4], 9
jge 0x414d9c
push 3
push ecx
mov ecx, esp
push str.360Start.exe
call fcn.00404729
mov ecx, edi
call fcn.00419847
mov eax, dword [0x43b50c]
push dword [edi + 0x38]
lea esi, [edi + 0x38]
mov dword [ebp - 4], eax
mov ebx, str._sShield
lea eax, [ebp - 4]
push ebx
push eax
call fcn.00409818
add esp, 0xc
push 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [0x43b50c]
push dword [edi + 0x3c]
add edi, 0x3c
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00409818
add esp, 0xc
lea eax, [ebp - 4]
push str.Sandboxie.ini
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041a27c
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
lea ecx, [ebp - 0x14]
neg ebx
sbb bl, bl
inc bl
call fcn.00404c0d
test bl, bl
je 0x414cdf
mov ebx, str.Sandboxie.ini
lea eax, [ebp - 4]
push ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041a27c
mov eax, dword [eax]
push ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041a27c
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.00404c0d
lea ecx, [ebp - 0x1c]
call fcn.00404c0d
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 [0x43b50c]
push dword [esi]
mov dword [ebp - 8], eax
mov ebx, str._sShieldInstall360SafeModuleSkin
lea eax, [ebp - 8]
push ebx
push eax
call fcn.00409818
push dword [ebp - 8]
call fcn.004216ea
mov eax, dword [0x43b50c]
add esp, 0x10
push dword [edi]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.00409818
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.0042198d
add esp, 0x14
mov ebx, str.ShieldInstall360sandbox.exe
lea eax, [ebp - 0x18]
push ebx
push esi
push eax
call fcn.0041a27c
mov esi, dword [eax]
push ebx
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.0041a27c
mov eax, dword [eax]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x1c]
call fcn.00404c0d
lea ecx, [ebp - 0x18]
call fcn.00404c0d
lea ecx, [ebp - 0xc]
call fcn.00404c0d
lea ecx, [ebp - 8]
call fcn.00404c0d
lea ecx, [ebp - 0x10]
call fcn.00404c0d
lea ecx, [ebp - 4]
call fcn.00404c0d
pop edi
pop esi
pop ebx
leave
ret