Function at 0x4015f0
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, 0x411eb0
call fcn.00409e38
sub esp, 0x3a0
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
push esi
push 0x4a5
mov dword [ebp - 0x24], esi
push dword [0x417d44]
mov dword [ebp - 4], esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
push 1
push 0x417e58
push esi
call fcn.00401daf
add esp, 0x10
mov edi, 0x402
mov ebx, 0x4b0
push esi
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 7
push edi
push ebx
push dword [0x417d44]
call esi
push 0
push 0xf
push edi
push ebx
push dword [0x417d44]
mov dword [ebp - 0x14], 2
call esi
push str.CCTV_Box
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
mov dword [ebp - 0x18], eax
je 0x4016e3
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x2c]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x1c], 0x103
jne 0x4016e3
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x64
jle 0x40181b
mov dword [ebp - 0x24], 1
inc dword [ebp - 0x14]
push 0
mov eax, dword [ebp - 0x14]
push 0xd
imul eax, eax, 0x64
cdq
pop ecx
idiv ecx
push eax
push edi
push ebx
push dword [0x417d44]
call esi
and byte [ebp - 0x2a8], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x2a7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor edi, edi
lea eax, [ebp - 0x2a8]
push edi
push edi
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x2a8]
push eax
call fcn.00409660
test eax, eax
pop ecx
je 0x401763
lea eax, [ebp - 0x2a8]
push eax
call fcn.00409660
cmp byte [ebp + eax - 0x2a9], 0x5c
pop ecx
je 0x401763
lea eax, [ebp - 0x2a8]
push 0x414480
push eax
call fcn.00409470
pop ecx
pop ecx
lea eax, [ebp - 0x2a8]
push str.cctv_box.lnk
push eax
call fcn.00409470
pop ecx
lea eax, [ebp - 0x2a8]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
inc dword [ebp - 0x14]
push edi
mov eax, dword [ebp - 0x14]
push 0xd
imul eax, eax, 0x64
cdq
pop ecx
idiv ecx
push eax
push 0x402
push ebx
push dword [0x417d44]
call esi
push str.CCTV_Live
push edi
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, edi
mov dword [ebp - 0x18], eax
je 0x40183c
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x2c]
push edi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push edi
push edi
push 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], edi
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dword [ebp - 0x1c], edi
cmp dword [ebp - 0x28], 0x103
jne 0x4017a2
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0x64
jle 0x40182d
mov dword [ebp - 0x24], 1
jmp 0x4017a2
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
jmp 0x4016be
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
jmp 0x4017f8
inc dword [ebp - 0x14]
push edi
mov eax, dword [ebp - 0x14]
push 0xd
imul eax, eax, 0x64
cdq
pop ecx
idiv ecx
push eax
push 0x402
push ebx
push dword [0x417d44]
call esi
and byte [ebp - 0x130], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x140]
push eax
call fcn.00403841
mov eax, dword [eax + 4]
pop ecx
test eax, eax
jne 0x40188b
mov eax, 0x412208
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00409460
pop ecx
pop ecx
push 1
lea ecx, [ebp - 0x140]
call fcn.00403792
lea eax, [ebp - 0x130]
push eax
call fcn.00409660
test eax, eax
pop ecx
jbe 0x4018e5
lea eax, [ebp - 0x130]
push eax
call fcn.00409660
cmp byte [ebp + eax - 0x131], 0x5c
pop ecx
je 0x4018e5
push 1
lea eax, [ebp - 0x130]
push 0x414480
push eax
call fcn.00409940
add esp, 0xc
lea eax, [ebp - 0x130]
push str.CCTV
push eax
call fcn.00409470
lea eax, [ebp - 0x130]
push eax
call fcn.004014af
add esp, 0xc
mov dword [ebp - 0x18], eax
xor edi, edi
cmp dword [ebp - 0x18], 0
jne 0x401930
cmp edi, 0x32
jg 0x401930
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x130]
inc edi
push eax
call fcn.004014af
pop ecx
mov dword [ebp - 0x18], eax
jmp 0x40190a
inc dword [ebp - 0x14]
push 0
mov eax, dword [ebp - 0x14]
push 0xd
imul eax, eax, 0x64
cdq
pop ecx
mov edi, 0x402
idiv ecx
push eax
push edi
push ebx
push dword [0x417d44]
call esi
lea eax, [ebp - 0x130]
push 0x5c
push eax
call fcn.004098d7
and byte [eax + 1], 0
lea eax, [ebp - 0x130]
push str.safenetdrm
push eax
call fcn.00409470
lea eax, [ebp - 0x130]
push eax
call fcn.004014af
and dword [ebp - 0x18], eax
add esp, 0x14
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
push 0
imul eax, eax, 0x64
push 0xd
cdq
pop ecx
idiv ecx
push eax
push edi
push ebx
push dword [0x417d44]
call esi
lea eax, [ebp - 0x130]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x130]
push 0x5c
push eax
call fcn.004098d7
and byte [eax], 0
lea eax, [ebp - 0x130]
push 0x5c
push eax
call fcn.004098d7
and byte [ebp - 0x1a4], 0
push 0x18
mov edx, eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x1a3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [edx + 1]
lea eax, [ebp - 0x1a4]
push edi
push eax
call fcn.00409460
lea eax, [ebp - 0x1a4]
push eax
call fcn.00409865
lea eax, [ebp - 0x1a4]
push 0x414528
push eax
call fcn.004097de
add esp, 0x24
test eax, eax
jne 0x401a2f
lea eax, [ebp - 0x130]
push eax
call fcn.004014af
pop ecx
inc dword [ebp - 0x14]
push 0
mov eax, dword [ebp - 0x14]
push 0xd
imul eax, eax, 0x64
cdq
pop ecx
idiv ecx
push eax
push 0x402
push ebx
push dword [0x417d44]
call esi
and byte [edi], 0
and byte [ebp - 0x3ac], 0
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x3ab]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x3ac]
push eax
call fcn.00409460
lea eax, [ebp - 0x3ac]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00409460
lea eax, [ebp - 0x130]
push str.default.kss
push eax
call fcn.00409470
add esp, 0x18
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
inc dword [ebp - 0x14]
push 0
mov eax, dword [ebp - 0x14]
push 0xd
imul eax, eax, 0x64
cdq
pop ecx
mov edi, 0x402
idiv ecx
push eax
push edi
push ebx
push dword [0x417d44]
call esi
lea eax, [ebp - 0x3ac]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00409460
lea eax, [ebp - 0x130]
push str.FlashPlayer.exe
push eax
call fcn.00409470
add esp, 0x10
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
inc dword [ebp - 0x14]
push 0
mov eax, dword [ebp - 0x14]
push 0xd
imul eax, eax, 0x64
cdq
pop ecx
idiv ecx
push eax
push edi
push ebx
push dword [0x417d44]
call esi
lea eax, [ebp - 0x3ac]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00409460
lea eax, [ebp - 0x130]
push str.dxva_sig.txt
push eax
call fcn.00409470
add esp, 0x10
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
inc dword [ebp - 0x14]
push 0
mov eax, dword [ebp - 0x14]
push 0xd
imul eax, eax, 0x64
cdq
pop ecx
idiv ecx
push eax
push edi
push ebx
push dword [0x417d44]
call esi
lea eax, [ebp - 0x3ac]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00409460
lea eax, [ebp - 0x130]
push str.update
push eax
call fcn.00409470
lea eax, [ebp - 0x130]
push eax
call fcn.004014af
add esp, 0x14
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x64
push 0
push 0xd
cdq
pop ecx
idiv ecx
push eax
push edi
push ebx
push dword [0x417d44]
call esi
lea eax, [ebp - 0x3ac]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00409460
lea eax, [ebp - 0x130]
push str.data
push eax
call fcn.00409470
lea eax, [ebp - 0x130]
push eax
call fcn.004014af
add esp, 0x14
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x64
push 0
push 0xd
cdq
pop ecx
idiv ecx
push eax
push edi
push ebx
push dword [0x417d44]
call esi
xor eax, eax
cmp dword [ebp - 0x18], eax
je 0x401ca6
cmp dword [ebp - 0x24], eax
jne 0x401ca6
lea eax, [ebp - 0x3ac]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00409460
lea eax, [ebp - 0x130]
push str.cctvbox.exe
push eax
call fcn.00409470
add esp, 0x10
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x14]
push 0
inc eax
push 0xd
imul eax, eax, 0x64
cdq
pop ecx
idiv ecx
push eax
push edi
push ebx
push dword [0x417d44]
call esi
push 0
push 0x4144d4
mov dword [0x418268], 1
push 0x4144c0
push dword [0x417d44]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret 4
push eax
push 0x4144b4
push 0x41448c
jmp 0x401c87