Function at 0x487b10
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 0x487b7d
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.00482e30
mov edx, dword [esp + 0x634]
test edx, edx
je 0x487c0e
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x487c0e
cmp byte [edx], 0x22
jne 0x487bfd
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.00466c20
jmp 0x487ddd
push 0
push 1
push edx
mov ecx, ebp
call fcn.00466c20
jmp 0x487ddd
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 0x487ddd
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 0x487dd5
cmp dword [esp + 0x20], 0xfa123456
jne 0x487dd5
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.00458ba0
test eax, eax
mov dword [esp + 0x1c], eax
je 0x487dd5
lea ecx, [esp + 0x28]
lea esi, [ebp + 0xec0]
push ecx
mov ecx, esi
mov dword [esp + 0x18], 0
call fcn.0046fb00
cmp dword [esi], 0
je 0x487d25
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 0x487d1c
push 0
mov ecx, esi
call fcn.00470560
push 1
push 0
push 0xfffffffffffffffc
push edi
call ebx
mov ebx, dword [esp + 0x1c]
lea ecx, [ebx + 0x208]
cmp ecx, esi
je 0x487d39
push esi
call fcn.0046fab0
lea ecx, [ebx + 0x238]
cmp ecx, esi
je 0x487d49
push esi
call fcn.0046fab0
push 0
push esi
lea ecx, [ebp + 0xde8]
call fcn.0043e520
push eax
lea ecx, [ebx + 0x110]
call fcn.00455e30
mov esi, dword [esp + 0x24]
mov dword [esp + 0x14], 0
cmp esi, 0x400
jbe 0x487d7e
mov eax, 0x400
jmp 0x487d84
test esi, esi
mov eax, esi
je 0x487dbd
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 0x487dbd
mov eax, dword [esp + 0x14]
mov ecx, ebx
sub esi, eax
push eax
lea eax, [esp + 0x230]
push eax
call fcn.00451a00
mov eax, dword [esp + 0x14]
test eax, eax
ja 0x487d6f
mov ecx, ebx
call fcn.00452020
mov ecx, ebp
call fcn.004698d0
push eax
push 1
mov ecx, ebx
call fcn.0044e3a0
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