Function at 0x4fdbd0
Capabilities:
Get common file path
Get file size
Get startup folder
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x52bf6b
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov eax, dword [esp + 0x298]
mov esi, dword [esp + 0x29c]
mov dword [esp + 0x48], eax
xor eax, eax
push 0x206
push eax
mov word [esp + 0x84], ax
lea eax, [esp + 0x86]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x7c]
push eax
push 0
push 0
push 0x29
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ecx, str.MacromedFlashVersion.dll
mov dword [esp + 0x28], 0
xor eax, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fdc80
sub ecx, edx
sar ecx, 1
push ecx
push str.MacromedFlashVersion.dll
lea ecx, [esp + 0x20]
call fcn.00405240
mov dword [esp + 0x290], 0
xor eax, eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
cmp word [esp + 0x7c], ax
jne 0x4fdcdb
xor ecx, ecx
jmp 0x4fdcf1
lea ecx, [esp + 0x7c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fdce2
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x38]
call fcn.00405240
mov byte [esp + 0x290], 1
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0x34]
lea ecx, [esp + 0x68]
call fcn.00422950
add esp, 4
mov byte [esp + 0x290], 3
cmp dword [esp + 0x44], 8
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x4fdd3e
push dword [esp + 0x30]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
mov byte [esp + 0x290], 4
cmp dword [esp + 0x2c], 8
jb 0x4fdd6d
push dword [esp + 0x18]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], 7
lea ecx, [esp + 0x64]
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.0042cdb0
mov byte [esi], al
test al, al
jne 0x4fdd9a
xor bl, bl
jmp 0x4fdf57
push 4
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x54], eax
mov byte [esp + 0x290], 5
test eax, eax
je 0x4fddc3
mov dword [eax], 0
mov dword [eax], 0xffffffff
jmp 0x4fddc5
xor eax, eax
mov byte [esp + 0x290], 4
mov dword [esp + 0x50], eax
mov byte [esp + 0x290], 6
lea eax, [esp + 0x64]
push 0x80
push 3
sub esp, 8
lea ecx, [esp + 0x60]
push eax
call fcn.0045e1c0
mov esi, dword [esp + 0x50]
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test al, al
jne 0x4fde06
xor bl, bl
jmp 0x4fdf29
xor bl, bl
test esi, esi
je 0x4fdf23
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4fdf0f
lea ecx, [esp + 0x60]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x54], eax
cmp eax, 0xffffffff
jne 0x4fde40
call ebp
test eax, eax
jne 0x4fdf09
mov ecx, dword [esp + 0x60]
xor eax, eax
add eax, dword [esp + 0x54]
adc ecx, 0
jne 0x4fde58
cmp eax, 8
jb 0x4fdf09
sub eax, 8
sbb ecx, 0
cmp dword [esi], 0xffffffff
je 0x4fdf09
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x58]
push 0
push ecx
push eax
mov dword [esp + 0x60], eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 0x54], eax
cmp eax, 0xffffffff
jne 0x4fde8e
call ebp
test eax, eax
jne 0x4fdf09
mov dword [esp + 0x5c], 0
mov dword [esp + 0x4c], 0
cmp dword [esi], 0xffffffff
je 0x4fdf09
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [esp + 0x4c]
push 0
push eax
push 4
lea eax, [esp + 0x68]
mov dword [esp + 0x58], 0
push eax
push dword [esi]
call ebp
test eax, eax
je 0x4fdf09
cmp dword [esp + 0x5c], 0xff2144
jne 0x4fdf09
mov eax, dword [esp + 0x48]
mov dword [esp + 0x4c], 0
test eax, eax
je 0x4fdf09
cmp dword [esi], 0xffffffff
je 0x4fdf09
push 0
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], 0
push ecx
push 4
push eax
push dword [esi]
call ebp
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4fdf23
push eax
call ecx
test eax, eax
je 0x4fdf23
mov dword [esi], 0xffffffff
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x290], 4
test esi, esi
je 0x4fdf57
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4fdf49
test eax, eax
je 0x4fdf49
push eax
call ecx
mov dword [esi], 0
push esi
call edi
add esp, 4
mov dword [esp + 0x50], 0
mov dword [esp + 0x290], 0xffffffff
cmp dword [esp + 0x78], 8
jb 0x4fdf72
push dword [esp + 0x64]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x78], 7
mov word [esp + 0x64], ax
mov al, bl
mov dword [esp + 0x74], 0
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.00505b1e
add esp, 0x280
ret 8