Function at 0x4d7e80
Capabilities:
Accept command line arguments
Get file size
Read file on windows

Disassembly:
sub esp, 0x730
push ebx
push ebp
push esi
mov esi, dword [esp + 0x740]
push 0xff
lea eax, [esp + 0x13c]
push eax
mov ebx, ecx
push 2
push esi
mov dword [esp + 0x24], ebx
mov dword [ebx + 0xcc0], esi
call dword [sym.imp.USER32.dll_LoadStringA]
xor ebp, ebp
push ebp
push esi
push ebp
push ebp
push ebp
push 0x80000000
push ebp
push 0x80000000
push 0xcf0000
lea ecx, [esp + 0x15c]
push ecx
push str.ShockwaveFlash
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
cmp esi, ebp
jne 0x4d7ef1
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x730
ret 0xc
push 1
push esi
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
push esi
mov ecx, ebx
mov dword [ebx + 0xc80], esi
call fcn.004d2870
lea ecx, [esp + 0x24]
call fcn.00469400
mov esi, dword [esp + 0x748]
cmp esi, ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], ebp
mov byte [esp + 0x28], 1
je 0x4d8024
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d7f32
sub eax, edx
mov dword [esp + 0x1c], eax
je 0x4d8024
call fcn.004c80c0
test al, al
je 0x4d7fdc
mov ecx, ebx
call fcn.00495de0
cmp eax, 5
jle 0x4d7fdc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp eax, ebp
je 0x4d7fdc
push ebp
push eax
call fcn.004b5740
add esp, 8
cmp eax, ebp
mov dword [esp + 0x20], eax
je 0x4d7fdc
mov cl, byte [eax]
cmp cl, 0x22
jne 0x4d7faf
inc eax
push 0x22
push eax
call fcn.00434e90
add esp, 8
cmp eax, ebp
je 0x4d7fd5
mov cl, byte [eax + 1]
inc eax
test cl, cl
je 0x4d7fd5
lea esp, [esp]
cmp cl, 0x20
jne 0x4d7fd5
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4d7fa0
jmp 0x4d7fd5
test cl, cl
je 0x4d7fc2
cmp cl, 0x20
je 0x4d7fc2
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4d7fb3
jmp 0x4d7fd5
mov cl, byte [eax]
test cl, cl
je 0x4d7fd5
cmp cl, 0x20
jne 0x4d7fd5
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4d7fc8
mov esi, eax
mov byte [esp + 0x28], 0
cmp byte [esi], 0x22
jne 0x4d801b
lea eax, [esi + 1]
lea edx, [esp + 0x34]
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4d7ff0
lea eax, [esp + 0x34]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d8001
sub eax, edx
lea edx, [esp + 0x34]
mov byte [esp + eax + 0x33], cl
mov dword [esp + 0x18], edx
jmp 0x4d81e9
mov dword [esp + 0x18], esi
jmp 0x4d81e9
push edi
push 0x104
lea eax, [esp + 0x240]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebp
push 0x80
push 3
push ebp
push 1
push 0x80000000
lea ecx, [esp + 0x254]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4d81e8
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebp
mov esi, eax
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea edx, [esi - 8]
push edx
push edi
call ebp
push 0
lea eax, [esp + 0x24]
push eax
push 8
lea ecx, [esp + 0x3c]
push ecx
push edi
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x20], 8
jne 0x4d81e1
cmp dword [esp + 0x30], 0xfa123456
jne 0x4d81e1
mov ecx, dword [ebx + 0x18]
push 0
mov dword [ebx + 0xc84], 1
call fcn.0041c820
mov ecx, eax
call fcn.0046f7f0
mov eax, dword [esp + 0x34]
push 0
sub esi, eax
push 0
sub esi, 8
push esi
push edi
call ebp
push 0
push 0
push 0
mov ecx, ebx
call fcn.004a5ec0
mov ebx, eax
test ebx, ebx
je 0x4d81dd
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x23c]
add esi, 0x6ec
push edx
mov ecx, esi
mov dword [esp + 0x18], 0
call fcn.004b3170
cmp dword [esi], 0
je 0x4d8151
push 1
push 0
push 3
push edi
call ebp
push 0
lea eax, [esp + 0x18]
push eax
push 1
lea ecx, [esp + 0x1f]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [esp + 0x13], 5
jbe 0x4d8148
push 0
mov ecx, esi
call fcn.004b2bf0
push 1
push 0
push 0xfffffffffffffffc
push edi
call ebp
push esi
lea ecx, [ebx + 0xb8]
call fcn.00430fb0
push esi
lea ecx, [ebx + 0xf4]
call fcn.00430fb0
mov esi, dword [esp + 0x34]
mov dword [esp + 0x14], 0
cmp esi, 0x400
jbe 0x4d8184
mov eax, 0x400
jmp 0x4d818a
test esi, esi
mov eax, esi
je 0x4d81c3
push 0
lea edx, [esp + 0x18]
push edx
push eax
lea eax, [esp + 0x34c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4d81c3
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x344]
push ecx
mov ecx, ebx
sub esi, eax
call fcn.0048fec0
mov eax, dword [esp + 0x14]
test eax, eax
ja 0x4d8175
mov ecx, ebx
call fcn.00490780
mov ecx, dword [esp + 0x18]
call fcn.00495de0
push eax
push 1
mov ecx, ebx
call fcn.00490a10
mov ebx, dword [esp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, dword [ebx + 0xc84]
test eax, eax
jne 0x4d8230
mov ecx, dword [ebx + 0x18]
call fcn.0041c820
mov esi, eax
push 1
mov ecx, esi
call fcn.0046f7f0
mov byte [esi + 1], 1
mov byte [esi + 2], 1
mov esi, dword [esp + 0x18]
test esi, esi
je 0x4d8225
mov edx, dword [esp + 0x28]
push 0
push edx
push esi
mov ecx, ebx
call fcn.004a5870
push esi
mov eax, ebx
call fcn.004d72f0
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4d8241
push eax
call fcn.00527b30
add esp, 4
mov eax, dword [esp + 0x744]
mov ecx, dword [ebx + 0xc80]
push eax
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebx + 0xc80]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
fldcw word [esp + 0x24]
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x730
ret 0xc