Function at 0x4011eb
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbe8
push ebx
push esi
lea eax, [ebp - 0x108]
push edi
push eax
push str.swfname
call fcn.0040108a
pop ecx
test al, al
pop ecx
je 0x401281
lea eax, [ebp - 0x108]
push 0x403014
push eax
call sub.MSVCRT.dll_fopen
mov edi, eax
xor ebx, ebx
pop ecx
cmp edi, ebx
pop ecx
jne 0x401238
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll__unlink
pop ecx
jmp 0x401281
xor esi, esi
push edi
call sub.MSVCRT.dll_fgetc
cmp eax, 0xffffffff
pop ecx
je 0x401250
mov byte [ebp + esi - 0x664], al
inc esi
jmp 0x40123a
push edi
mov byte [ebp + esi - 0x664], bl
call sub.MSVCRT.dll_fclose
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll__unlink
lea eax, [ebp - 0x20c]
push eax
push str.swffile
call fcn.0040108a
add esp, 0x10
test al, al
jne 0x401288
xor eax, eax
jmp 0x40146f
lea eax, [ebp - 0xabc]
push eax
lea eax, [ebp - 0x9bc]
push eax
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.MSVCRT.dll__splitpath
lea eax, [ebp - 0x664]
push 0x403088
push eax
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll__makepath
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll__unlink
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.MSVCRT.dll_rename
lea eax, [ebp - 0x20c]
push eax
push str.htmlfile
call fcn.0040108a
add esp, 0x3c
test al, al
jne 0x40131c
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp - 0xabc]
push eax
lea eax, [ebp - 0x9bc]
push eax
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.MSVCRT.dll__splitpath
push ebx
lea eax, [ebp - 0x30c]
push ebx
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x8bc]
push eax
call sub.MSVCRT.dll__makepath
add esp, 0x28
lea eax, [ebp - 0x790]
push eax
lea eax, [ebp - 0x8bc]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHELL32.dll_FindExecutableA]
cmp eax, 0x20
jg 0x40139d
push 0x10
push str.Instant_Demo_Error
push str.Unable_to_find_an_Internet_browser
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor esi, esi
jmp 0x401453
lea eax, [ebp - 0x8bc]
push eax
call sub.MSVCRT.dll__chdir
lea eax, [ebp - 0x790]
push eax
lea eax, [ebp - 0x563]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x564]
push 0x403040
push eax
mov byte [ebp - 0x564], 0x22
call sub.MSVCRT.dll_strcat
add esp, 0x14
lea eax, [ebp - 0x438]
push 0x12c
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
cmp byte [ebp - 0x438], bl
je 0x40140b
lea eax, [ebp - 0x438]
cmp byte [eax], 0x5c
jne 0x401406
mov byte [eax], 0x2f
inc eax
cmp byte [eax], bl
jne 0x4013fe
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0xbe8]
push str._file:____s_
push eax
call sub.MSVCRT.dll_sprintf
add esp, 0xc
lea eax, [ebp - 0xbe8]
push ebx
push eax
lea eax, [ebp - 0x564]
push eax
lea eax, [ebp - 0x790]
push eax
push ebx
call sub.MSVCRT.dll__spawnl
add esp, 0x14
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
pop esi
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll__unlink
lea eax, [ebp - 0x20c]
push eax
call sub.MSVCRT.dll__unlink
pop ecx
mov eax, esi
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0x10