Function at 0x4f8af8
Capabilities:
Delete file
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4f8b00
push ebx
push esi
push edi
mov ebx, dword [0x5002cc]
xor eax, eax
push ebp
push 0x4f8eba
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x20]
mov eax, 1
call fcn.0046fdc8
mov eax, dword [ebp - 0x20]
mov edx, 0x4f8ed0
call fcn.00409670
test eax, eax
jne 0x4f8b42
mov byte [ebp - 0x11], 1
jmp 0x4f8b68
lea edx, [ebp - 0x24]
mov eax, 1
call fcn.0046fdc8
mov eax, dword [ebp - 0x24]
mov edx, 0x4f8ee0
call fcn.00409670
test eax, eax
jne 0x4f8e92
mov byte [ebp - 0x11], 0
mov eax, dword [ebx]
mov edx, 0x4f8ef0
call fcn.0046c97c
push 5
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
call fcn.004de934
push 0x4f8ef8
push 0
push 0
call fcn.00407514
mov dword [ebp - 0x18], eax
push 0
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebp - 0x18], 0
je 0x4f8bca
mov eax, dword [ebx]
call fcn.0046cdb0
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x18]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x4f8baa
push 5
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
xor eax, eax
push ebp
push 0x4f8e8b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.0046fdc8
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 4]
mov edx, 0x4f8f18
call fcn.0046eeec
lea edx, [ebp - 0x2c]
xor eax, eax
call fcn.0046fdc8
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 8]
mov edx, 0x4f8f28
call fcn.0046eeec
mov eax, dword [ebp - 8]
call fcn.0046f694
test al, al
je 0x4f8e22
mov cl, 1
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004b1200
mov eax, dword [0x500220]
test byte [eax + 0x2c], 1
setne al
call fcn.00471748
mov edx, dword [0x5002dc]
mov edx, dword [edx + 0x250]
mov eax, dword [ebx]
call fcn.0046c97c
xor eax, eax
push ebp
push 0x4f8e1b
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004dc604
push 2
push 0
push 1
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4b007c]
call fcn.004b0304
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4f8e01
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x4f8ddb
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.004b05b4
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x4f8cae
sub esi, 4
mov esi, dword [esi]
cmp esi, 4
jle 0x4f8cbe
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0x5b
sete bl
jmp 0x4f8cc0
xor ebx, ebx
test bl, bl
je 0x4f8ddb
mov eax, dword [ebp - 0xc]
cmp byte [eax + 3], 0x5d
jne 0x4f8ddb
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x7fffffff
mov edx, 5
mov eax, dword [ebp - 0xc]
call fcn.00405368
mov eax, dword [ebp - 0xc]
cmp byte [eax + 2], 0x71
je 0x4f8d08
cmp byte [ebp - 0x11], 0
je 0x4f8d04
mov eax, dword [0x50013c]
cmp byte [eax], 0
je 0x4f8d08
xor eax, eax
jmp 0x4f8d0a
mov al, 1
mov byte [ebp - 0x12], al
xor eax, eax
push ebp
push 0x4f8d78
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + 1]
sub al, 0x53
je 0x4f8d47
dec al
je 0x4f8d64
sub al, 0x1f
je 0x4f8d34
dec al
je 0x4f8d5a
jmp 0x4f8d6e
movzx eax, byte [ebp - 0x12]
push eax
mov ecx, dword [ebp - 0x10]
xor edx, edx
xor eax, eax
call fcn.004b6fe8
jmp 0x4f8d6e
movzx eax, byte [ebp - 0x12]
push eax
mov ecx, dword [ebp - 0x10]
mov dl, 1
xor eax, eax
call fcn.004b6fe8
jmp 0x4f8d6e
mov eax, dword [ebp - 0x10]
call fcn.004b5500
jmp 0x4f8d6e
mov edx, dword [ebp - 0x10]
xor eax, eax
call fcn.004b71cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f8ddb
mov eax, dword [ebp - 0x1c]
call fcn.004b05a4
test al, al
je 0x4f8c97
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f8e08
mov eax, dword [ebp - 0x1c]
call fcn.00404040
ret
mov eax, dword [ebp - 8]
call fcn.00405300
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 4]
call fcn.00405300
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
push ebp
push 0x4f8e5b
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004f8a58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f8e65
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f8e92
cmp dword [ebp - 0x18], 0
je 0x4f8e8a
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_ReleaseMutex
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_CloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f8ec1
lea eax, [ebp - 0x38]
mov edx, 7
call fcn.00404e94
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404e94
ret