Function at 0x403186
Capabilities:
Delete file

Disassembly:
mov eax, 0x41f8a8
call fcn.0041ef20
sub esp, 0x424
push esi
mov esi, ecx
lea ecx, [ebp - 0x1c]
call fcn.0040e1f7
and dword [ebp - 4], 0
push str.SoftwareDVDIdle_Pro
push Ordinal_3
lea ecx, [ebp - 0x1c]
call fcn.0040e270
test eax, eax
jne 0x40364b
lea eax, [ebp - 0x10]
push eax
push str.WorkDrive
lea ecx, [ebp - 0x1c]
call fcn.0040e2f7
test eax, eax
jne 0x4031e4
cmp dword [ebp - 0x10], eax
je 0x4031e4
push eax
push dword [ebp - 0x10]
mov ecx, esi
call fcn.00403948
lea eax, [ebp - 0x10]
push eax
push str.SupportAllDrive
lea ecx, [ebp - 0x1c]
call fcn.0040e2f7
test eax, eax
jne 0x4031ff
mov eax, dword [ebp - 0x10]
mov dword [esi + 8], eax
lea eax, [ebp - 0x10]
push eax
push str.FirstRun
lea ecx, [ebp - 0x1c]
call fcn.0040e2f7
test eax, eax
jne 0x40321a
mov eax, dword [ebp - 0x10]
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x10]
push eax
push str.WorkAddress
lea ecx, [ebp - 0x1c]
call fcn.0040e2f7
test eax, eax
jne 0x403235
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
lea eax, [ebp - 0x10]
push eax
push str.EnableCache
lea ecx, [ebp - 0x1c]
call fcn.0040e2f7
test eax, eax
jne 0x403250
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x10]
push eax
push str.Recommend
lea ecx, [ebp - 0x1c]
call fcn.0040e2f7
test eax, eax
jne 0x40326b
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x10]
push eax
push str.CacheSpeed
lea ecx, [ebp - 0x1c]
call fcn.0040e2f7
test eax, eax
jne 0x403286
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x10]
push eax
push str.CacheType
lea ecx, [ebp - 0x1c]
call fcn.0040e2f7
test eax, eax
jne 0x4032a1
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x10]
push eax
push str.MemCacheSize
lea ecx, [ebp - 0x1c]
call fcn.0040e2f7
test eax, eax
jne 0x4032c1
mov eax, dword [ebp - 0x10]
cmp eax, 0x20
jb 0x4032c1
mov dword [esi + 0x24], eax
push edi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x430]
push eax
push str.FileCacheName
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], 0x410
call fcn.0040e2b1
test eax, eax
jne 0x403354
lea eax, [ebp - 0x430]
push eax
call fcn.0040da34
test eax, eax
pop ecx
je 0x40330a
lea eax, [ebp - 0x430]
push eax
lea eax, [esi + 0x2c]
push eax
call sub.msvcrt.dll__mbscpy
pop ecx
pop ecx
jmp 0x403354
cmp byte [ebp - 0x430], 0
je 0x403354
lea eax, [ebp - 0x430]
push 0x42a67c
push eax
call dword [sym.imp.msvcrt.dll_fopen]
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x403354
lea eax, [ebp - 0x430]
push eax
lea eax, [esi + 0x2c]
push eax
call sub.msvcrt.dll__mbscpy
push edi
call dword [sym.imp.msvcrt.dll_fclose]
add esp, 0xc
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
lea eax, [ebp - 0x10]
push eax
push str.FileCacheSize
lea ecx, [ebp - 0x1c]
call fcn.0040e2f7
test eax, eax
jne 0x403376
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x403376
mov dword [esi + 0x130], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x430]
push eax
mov edi, 0x410
push str.WorkDir
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], edi
call fcn.0040e2b1
test eax, eax
jne 0x4033b9
lea eax, [ebp - 0x430]
push eax
call fcn.0040d987
test eax, eax
pop ecx
je 0x4033b9
lea eax, [ebp - 0x430]
push eax
mov ecx, esi
call fcn.00404215
lea eax, [ebp - 0x10]
push eax
push str.AutoRun
lea ecx, [ebp - 0x1c]
call fcn.0040e2f7
test eax, eax
jne 0x4033d7
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x23c], eax
lea eax, [ebp - 0x10]
push eax
push str.ShowSplash
lea ecx, [ebp - 0x1c]
call fcn.0040e2f7
test eax, eax
jne 0x4033f5
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x240], eax
lea eax, [ebp - 0x10]
push eax
push str.AddIcon
lea ecx, [ebp - 0x1c]
call fcn.0040e2f7
test eax, eax
jne 0x403413
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x244], eax
lea eax, [ebp - 0x10]
push eax
push str.RegionFree
lea ecx, [ebp - 0x1c]
call fcn.0040e2f7
test eax, eax
jne 0x403431
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x248], eax
lea eax, [ebp - 0x10]
push eax
push str.RegionFreeRPC2
lea ecx, [ebp - 0x1c]
call fcn.0040e2f7
test eax, eax
jne 0x40344f
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x24c], eax
lea eax, [ebp - 0x10]
push eax
push str.SimulateType
lea ecx, [ebp - 0x1c]
call fcn.0040e2f7
test eax, eax
jne 0x40346d
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x250], eax
lea eax, [ebp - 0x10]
push eax
push str.BypassRegion
lea ecx, [ebp - 0x1c]
call fcn.0040e2f7
test eax, eax
jne 0x40348b
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x278], eax
lea eax, [ebp - 0x10]
push eax
push str.RegionFreeRCE
lea ecx, [ebp - 0x1c]
call fcn.0040e2f7
test eax, eax
jne 0x4034a9
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x254], eax
lea eax, [ebp - 0x10]
push eax
push str.VirtualRegionType
lea ecx, [ebp - 0x1c]
call fcn.0040e2f7
test eax, eax
jne 0x4034c7
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x26c], eax
lea eax, [ebp - 0x10]
push eax
push str.VirtualRegion
lea ecx, [ebp - 0x1c]
call fcn.0040e2f7
test eax, eax
jne 0x4034e5
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x270], eax
lea eax, [ebp - 0x10]
push eax
push str.MacrovisionFree
lea ecx, [ebp - 0x1c]
call fcn.0040e2f7
test eax, eax
jne 0x403503
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x258], eax
lea eax, [ebp - 0x10]
push eax
push str.UopFree
lea ecx, [ebp - 0x1c]
call fcn.0040e2f7
test eax, eax
jne 0x403521
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x25c], eax
lea eax, [ebp - 0x10]
push eax
push str.DirectPlay
lea ecx, [ebp - 0x1c]
call fcn.0040e2f7
test eax, eax
jne 0x40353f
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x260], eax
lea eax, [ebp - 0x10]
push eax
push str.DirectPlayType
lea ecx, [ebp - 0x1c]
call fcn.0040e2f7
test eax, eax
jne 0x40355d
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x264], eax
jmp 0x403579
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x430]
push eax
push str.Applications
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], edi
call fcn.0040e2b1
test eax, eax
pop edi
jne 0x4035b0
cmp byte [ebp - 0x430], 0x7c
jne 0x4035b0
lea eax, [ebp - 0x430]
push eax
mov ecx, esi
call fcn.00403a0d
lea eax, [ebp - 0x10]
push eax
push str.ExtendThunk
lea ecx, [ebp - 0x1c]
call fcn.0040e2f7
test eax, eax
jne 0x4035ce
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x274], eax
lea eax, [ebp - 0x10]
push eax
push str.PopMsgUninstallOther
lea ecx, [ebp - 0x1c]
call fcn.0040e2f7
test eax, eax
jne 0x4035ec
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x694], eax
lea eax, [ebp - 0x10]
push eax
push str.CheckDMA
lea ecx, [ebp - 0x1c]
call fcn.0040e2f7
test eax, eax
jne 0x40360a
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x698], eax
lea eax, [ebp - 0x10]
push eax
push str.DisableAutoRun
lea ecx, [ebp - 0x1c]
call fcn.0040e2f7
test eax, eax
jne 0x403628
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x69c], eax
lea eax, [ebp - 0x10]
push eax
push str.ThunkAddress
lea ecx, [ebp - 0x1c]
call fcn.0040e2f7
test eax, eax
jne 0x403646
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x6a0], eax
xor esi, esi
inc esi
jmp 0x40364d
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040e220
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret