Function at 0x485d70
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x61c
lea eax, [esp + 0x11c]
push ebp
push esi
mov esi, dword [esp + 0x628]
push 0xff
mov ebp, ecx
push eax
push 2
push esi
mov dword [ebp + 0x1220], esi
call dword [sym.imp.USER32.dll_LoadStringA]
push 0
push esi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
lea ecx, [esp + 0x144]
push 0xcf0000
push ecx
push str.ShockwaveFlash
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
jne 0x485ddd
pop esi
pop ebp
add esp, 0x61c
ret 0xc
push edi
push 1
push esi
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
push esi
mov ecx, ebp
mov dword [ebp + 0x11e0], esi
call fcn.00481310
mov edx, dword [esp + 0x634]
test edx, edx
je 0x485e6e
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x485e6e
cmp byte [edx], 0x22
jne 0x485e5d
lea edi, [edx + 1]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x28]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov byte [esp + ecx + 0x2b], al
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebp
call fcn.00465220
jmp 0x48603d
push 0
push 1
push edx
mov ecx, ebp
call fcn.00465220
jmp 0x48603d
lea edx, [esp + 0x24]
push 0x104
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0x80
push 3
push 0
push 1
lea eax, [esp + 0x38]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x48603d
push ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, eax
push 0
push 0
lea ecx, [esi - 8]
push ecx
push edi
call ebx
lea edx, [esp + 0x18]
push 0
push edx
lea eax, [esp + 0x28]
push 8
push eax
push edi
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x18], 8
jne 0x486035
cmp dword [esp + 0x20], 0xfa123456
jne 0x486035
mov ecx, dword [esp + 0x24]
push 0
sub esi, ecx
push 0
sub esi, 8
mov dword [ebp + 0x11e4], 1
push esi
push edi
call ebx
push 0
push 0
push 0
mov ecx, ebp
call fcn.004582a0
test eax, eax
mov dword [esp + 0x1c], eax
je 0x486035
lea ecx, [esp + 0x28]
lea esi, [ebp + 0xec0]
push ecx
mov ecx, esi
mov dword [esp + 0x18], 0
call fcn.0046e110
cmp dword [esi], 0
je 0x485f85
push 1
push 0
push 3
push edi
call ebx
lea edx, [esp + 0x14]
push 0
push edx
lea eax, [esp + 0x1b]
push 1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [esp + 0x13], 5
jbe 0x485f7c
push 0
mov ecx, esi
call fcn.0046eb70
push 1
push 0
push 0xfffffffffffffffc
push edi
call ebx
mov ebx, dword [esp + 0x1c]
lea ecx, [ebx + 0x208]
cmp ecx, esi
je 0x485f99
push esi
call fcn.0046e0c0
lea ecx, [ebx + 0x238]
cmp ecx, esi
je 0x485fa9
push esi
call fcn.0046e0c0
push 0
push esi
lea ecx, [ebp + 0xde8]
call fcn.0043e220
push eax
lea ecx, [ebx + 0x110]
call fcn.00455530
mov esi, dword [esp + 0x24]
mov dword [esp + 0x14], 0
cmp esi, 0x400
jbe 0x485fde
mov eax, 0x400
jmp 0x485fe4
test esi, esi
mov eax, esi
je 0x48601d
lea ecx, [esp + 0x14]
push 0
push ecx
lea edx, [esp + 0x234]
push eax
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x48601d
mov eax, dword [esp + 0x14]
mov ecx, ebx
sub esi, eax
push eax
lea eax, [esp + 0x230]
push eax
call fcn.00451100
mov eax, dword [esp + 0x14]
test eax, eax
ja 0x485fcf
mov ecx, ebx
call fcn.00451720
mov ecx, ebp
call fcn.00467ee0
push eax
push 1
mov ecx, ebx
call fcn.0044da90
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, dword [esp + 0x630]
mov edx, dword [ebp + 0x11e0]
push ecx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0x11e0]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x61c
ret 0xc