Function at 0x402bd0
Capabilities:
Create process on windows
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47dc6b
mov eax, dword fs:[0]
push eax
mov eax, 0x16fc
call fcn.00465b90
mov eax, dword [0x51384c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x20a
lea eax, [ebp - 0x248]
push 0
push eax
mov edi, ecx
mov byte [ebp - 0x1699], 0
call fcn.00464140
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x248]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x402c54
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetModuleFileName_failed___d__n
call fcn.00462f72
add esp, 8
xor al, al
jmp 0x402fbf
lea edx, [ebp - 0x458]
push edx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x248]
call fcn.00401fe0
mov dword [ebp - 0x16a0], eax
lea eax, [ebp - 0x668]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
jmp 0x402ca0
movzx ecx, word [eax + str.VVXXXXXX]
mov word [ebp + eax - 0x24], cx
add eax, 2
test cx, cx
jne 0x402ca0
lea ecx, [ebp - 0x24]
push ecx
call fcn.0046312e
add esp, 4
lea edx, [ebp - 0x458]
push edx
mov ecx, edi
call fcn.004052f0
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.00405300
push str.Preparing_video_viewer_application..._n
call fcn.00462ecb
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
add esp, 4
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea ecx, [ebp - 0x248]
push ecx
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x402c4d
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
jmp 0x402d30
movzx ecx, word [eax + str.XXXXXX]
mov word [ebp + eax - 0x38], cx
add eax, 2
test cx, cx
jne 0x402d30
lea edx, [ebp - 0x38]
push edx
call fcn.0046312e
add esp, 4
lea ecx, [ebp - 0x16b0]
call fcn.004051d0
lea eax, [ebp - 0x458]
push eax
lea ecx, [ebp - 0x16b0]
mov dword [ebp - 4], 0
call fcn.004052f0
push 0x4c2f38
lea ecx, [ebp - 0x16b0]
call fcn.00405300
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x16b0]
call fcn.00405300
push str..exe
lea ecx, [ebp - 0x16b0]
call fcn.00405300
push 0
push 0x80
push 4
push 0
push 1
push 0xc0000000
lea ecx, [ebp - 0x16b0]
call fcn.00405320
push eax
call esi
mov esi, eax
cmp esi, 0xffffffff
jne 0x402dea
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x16b0]
mov dword [ebp - 4], 0xffffffff
call fcn.00405270
xor al, al
jmp 0x402fbf
mov eax, dword [ebp - 0x16a0]
test eax, eax
je 0x402df9
add eax, 0xffffffb4
jmp 0x402e19
lea edx, [ebp - 0x1698]
push edx
lea eax, [ebp - 0x248]
push eax
call fcn.00463268
add esp, 8
test eax, eax
jne 0x402dd1
mov eax, dword [ebp - 0x1684]
push esi
push ebx
call fcn.00401850
add esp, 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push esi
call ebx
push 0x44
lea ecx, [ebp - 0x1708]
push 0
push ecx
call fcn.00464140
xor eax, eax
push 0x800
push eax
lea edx, [ebp - 0x1668]
push edx
mov dword [ebp - 0x16c0], eax
mov dword [ebp - 0x16bc], eax
mov dword [ebp - 0x16b8], eax
mov dword [ebp - 0x16b4], eax
mov dword [ebp - 0x1708], 0x44
call fcn.00464140
add esp, 0x18
mov ecx, edi
call fcn.00405320
push eax
lea ecx, [ebp - 0x16b0]
call fcn.00405320
push eax
push str.__s____s___e
mov eax, 0x800
lea ebx, [ebp - 0x1668]
call fcn.00401040
mov eax, ebx
push eax
push str.Running_application:__s_n
call fcn.00462ecb
add esp, 0x14
xor ebx, ebx
lea ecx, [ebp - 0x16c0]
push ecx
lea edx, [ebp - 0x1708]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1668]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x402f08
mov ecx, dword [ebp - 0x16c0]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 0x1699], 1
jmp 0x402f40
call esi
push ebx
push ebx
lea edx, [ebp - 0x16a0]
push edx
push 0x400
push eax
push ebx
push 0x1300
mov dword [ebp - 0x16a0], ebx
call edi
mov eax, dword [ebp - 0x16a0]
push eax
call fcn.00462ecb
push 0x4c322c
call fcn.00462ecb
add esp, 8
lea ecx, [ebp - 0x16b0]
call fcn.00405320
push eax
push str.Cleaning_up__s..._n
call fcn.00462ecb
add esp, 8
lea ecx, [ebp - 0x16b0]
call fcn.00405320
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x402fa7
call esi
push ebx
push ebx
lea ecx, [ebp - 0x16a0]
push ecx
push 0x400
push eax
push ebx
push 0x1300
mov dword [ebp - 0x16a0], ebx
call edi
mov edx, dword [ebp - 0x16a0]
push edx
call fcn.00462ecb
push 0x4c322c
call fcn.00462ecb
add esp, 8
lea ecx, [ebp - 0x16b0]
mov dword [ebp - 4], 0xffffffff
call fcn.00405270
mov al, byte [ebp - 0x1699]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00462838
mov esp, ebp
pop ebp
ret