Function at 0x4163cf
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [0x432630]
push edi
mov ebx, str.X360StartFrame
mov edi, ecx
push 0
push ebx
mov dword [ebp - 0x10], edi
call esi
test eax, eax
je 0x41645a
mov edi, dword [0x4325c4]
push 0
push 1
push 0x401
push eax
call edi
and dword [ebp - 8], 0
push 0xc8
call dword [0x432268]
push 0
push ebx
call esi
test eax, eax
je 0x416432
push 0
push 1
push 0x401
push eax
call edi
mov eax, dword [ebp - 8]
inc dword [ebp - 8]
cmp eax, 0xa
jle 0x416407
mov eax, dword [ebp - 0x10]
push 0x43d4c0
add eax, 0x34
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0041b302
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 0x4165f2
push 3
push ecx
mov ecx, esp
push str.360Start.exe
call fcn.00404729
mov ecx, edi
call fcn.0041a9d1
mov eax, dword [0x43950c]
push dword [edi + 0x34]
lea esi, [edi + 0x34]
mov dword [ebp - 4], eax
mov ebx, str._sShield
lea eax, [ebp - 4]
push ebx
push eax
call fcn.0040a3c5
add esp, 0xc
push 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [0x43950c]
push dword [edi + 0x38]
add edi, 0x38
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.0040a3c5
add esp, 0xc
lea eax, [ebp - 4]
push str.Sandboxie.ini
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041b302
push dword [eax]
call dword [0x432520]
mov ebx, eax
lea ecx, [ebp - 0x14]
neg ebx
sbb bl, bl
inc bl
call fcn.00404c0d
test bl, bl
je 0x416535
mov ebx, str.Sandboxie.ini
lea eax, [ebp - 4]
push ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041b302
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.0041b302
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 [0x4324fc]
push str.SYSTEMCurrentControlSetServicesSbieDrv
push 0x80000002
call ebx
push str.SYSTEMCurrentControlSetServicesSbieSvc
push 0x80000002
call ebx
mov eax, dword [0x43950c]
push dword [esi]
mov dword [ebp - 8], eax
mov ebx, str._sShieldInstall360SafeModuleSkin
lea eax, [ebp - 8]
push ebx
push eax
call fcn.0040a3c5
push dword [ebp - 8]
call fcn.0042059f
mov eax, dword [0x43950c]
add esp, 0x10
push dword [edi]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.0040a3c5
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.00420842
add esp, 0x14
mov ebx, str.ShieldInstall360sandbox.exe
lea eax, [ebp - 0x18]
push ebx
push esi
push eax
call fcn.0041b302
mov esi, dword [eax]
push ebx
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.0041b302
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