Function at 0x462bb0
Capabilities:
Get common file path
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d413e
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x50e008]
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
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0x208
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a2d80
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x29
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.MacromedFlashVersion.dll
lea ecx, [ebp - 0x280]
call fcn.00402700
mov dword [ebp - 4], 0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x268]
call fcn.00402700
mov byte [ebp - 4], 1
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.0040a200
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x268]
call fcn.00402290
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x280]
call fcn.00402290
lea eax, [ebp - 0x248]
push eax
call fcn.00407bf0
add esp, 4
mov byte [esi], al
test al, al
jne 0x462c99
xor bl, bl
jmp 0x462e6c
push 4
mov dword [ebp - 0x24c], 0
call fcn.004a101b
add esp, 4
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 5
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 4
mov dword [ebp - 0x24c], eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x248]
push 0x80
push 3
push 1
push 0x80000000
push eax
lea ecx, [ebp - 0x24c]
call fcn.00414160
mov esi, dword [ebp - 0x24c]
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test al, al
jne 0x462d08
xor bl, bl
jmp 0x462e3b
xor bl, bl
test esi, esi
je 0x462e35
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x462e21
lea ecx, [ebp - 0x230]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x224], eax
cmp eax, 0xffffffff
jne 0x462d46
call edi
test eax, eax
jne 0x462e1b
mov ecx, dword [ebp - 0x230]
xor eax, eax
add eax, dword [ebp - 0x224]
adc ecx, 0
jne 0x462d62
cmp eax, 8
jb 0x462e1b
sub eax, 8
sbb ecx, 0
cmp dword [esi], 0xffffffff
je 0x462e1b
mov dword [ebp - 0x224], ecx
lea ecx, [ebp - 0x224]
push 0
push ecx
push eax
mov dword [ebp - 0x228], eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x228], eax
cmp eax, 0xffffffff
jne 0x462da0
call edi
test eax, eax
jne 0x462e1b
mov dword [ebp - 0x22c], 0
cmp dword [esi], 0xffffffff
je 0x462e1b
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x21c]
push 0
push eax
push 4
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x21c], 0
push eax
push dword [esi]
call edi
test eax, eax
je 0x462e1b
cmp dword [ebp - 0x22c], 0xff2144
jne 0x462e1b
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x21c], 0
test eax, eax
je 0x462e1b
cmp dword [esi], 0xffffffff
je 0x462e1b
push 0
lea ecx, [ebp - 0x21c]
push ecx
push 4
push eax
push dword [esi]
call edi
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 0x462e35
push eax
call ecx
test eax, eax
je 0x462e35
mov dword [esi], 0xffffffff
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 4
test esi, esi
je 0x462e6c
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x462e57
test eax, eax
je 0x462e57
push eax
call ecx
mov dword [esi], 0
push 4
push esi
call fcn.004a12e5
add esp, 8
mov dword [ebp - 0x24c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00402290
mov al, bl
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.004a100a
mov esp, ebp
pop ebp
ret 8