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

Disassembly:
sub esp, 0x93c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x94c]
push 0xff
lea eax, [esp + 0x140]
push eax
mov ebx, ecx
push 2
push esi
mov dword [esp + 0x1c], ebx
mov dword [ebx + 0xcd8], 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 + 0x160]
push ecx
push str.ShockwaveFlash
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
cmp esi, ebp
jne 0x4dae31
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x93c
ret 0xc
push edi
push 1
push esi
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
push esi
mov ecx, ebx
mov dword [ebx + 0xc98], esi
call fcn.004d54d0
lea ecx, [esp + 0x28]
call fcn.0046a840
mov esi, dword [esp + 0x958]
cmp esi, ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], ebp
mov byte [esp + 0x2c], 1
je 0x4daf64
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4dae73
sub eax, edx
mov dword [esp + 0x20], eax
je 0x4daf64
call fcn.004cb0e0
test al, al
je 0x4daf1c
mov ecx, ebx
call fcn.00497d20
cmp eax, 5
jle 0x4daf1c
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp eax, ebp
je 0x4daf1c
push ebp
push eax
call fcn.004b8350
add esp, 8
cmp eax, ebp
mov dword [esp + 0x24], eax
je 0x4daf1c
mov cl, byte [eax]
cmp cl, 0x22
jne 0x4daeef
inc eax
push 0x22
push eax
call fcn.00435740
add esp, 8
cmp eax, ebp
je 0x4daf15
mov cl, byte [eax + 1]
inc eax
test cl, cl
je 0x4daf15
lea ebx, [ebx]
cmp cl, 0x20
jne 0x4daf15
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4daee0
jmp 0x4daf15
test cl, cl
je 0x4daf02
cmp cl, 0x20
je 0x4daf02
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4daef3
jmp 0x4daf15
mov cl, byte [eax]
test cl, cl
je 0x4daf15
cmp cl, 0x20
jne 0x4daf15
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4daf08
mov esi, eax
mov byte [esp + 0x2c], 0
cmp byte [esi], 0x22
jne 0x4daf5b
lea eax, [esi + 1]
lea edx, [esp + 0x3c]
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4daf30
lea eax, [esp + 0x3c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4daf41
sub eax, edx
lea edx, [esp + 0x3c]
mov byte [esp + eax + 0x3b], cl
mov dword [esp + 0x1c], edx
jmp 0x4db203
mov dword [esp + 0x1c], esi
jmp 0x4db203
call fcn.004cb0e0
test al, al
push 0x104
je 0x4dafa1
lea eax, [esp + 0x348]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebp
push 0x80
push 3
push ebp
push 1
push 0x80000000
lea ecx, [esp + 0x35c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x4dafce
lea edx, [esp + 0x244]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebp
push 0x80
push 3
push ebp
push 1
push 0x80000000
lea eax, [esp + 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4db203
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 ecx, [esi - 8]
push ecx
push edi
call ebp
push 0
lea edx, [esp + 0x34]
push edx
push 8
lea eax, [esp + 0x40]
push eax
push edi
mov dword [esp + 0x44], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x30], 8
jne 0x4db1fc
cmp dword [esp + 0x34], 0xfa123456
jne 0x4db1fc
mov ecx, dword [ebx + 0x18]
push 0
mov dword [ebx + 0xc9c], 1
call fcn.0041ca30
mov ecx, eax
call fcn.00471000
mov eax, dword [esp + 0x38]
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.004a8410
mov ebx, eax
test ebx, ebx
je 0x4db1f8
mov dword [esp + 0x18], 0
call fcn.004cb0e0
test al, al
je 0x4db102
lea ecx, [esp + 0x344]
push 0
push ecx
call fcn.004b8350
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x20], esi
je 0x4db11b
mov ecx, dword [esp + 0x10]
call fcn.00497d20
cmp eax, 5
jle 0x4db0c7
mov ecx, dword [esp + 0x10]
push 1
push esi
add ecx, 0x6fc
call fcn.004b5bd0
push esi
call fcn.00439d00
add esp, 4
jmp 0x4db11b
push 0
push esi
call fcn.004d9d70
mov esi, eax
add esp, 8
test esi, esi
je 0x4db0f3
mov ecx, dword [esp + 0x10]
push 1
push esi
add ecx, 0x6fc
call fcn.004b5bd0
push esi
call fcn.00439d00
add esp, 4
mov esi, dword [esp + 0x20]
push esi
call fcn.00439d00
add esp, 4
jmp 0x4db11b
mov ecx, dword [esp + 0x10]
push 1
lea edx, [esp + 0x244]
push edx
add ecx, 0x6fc
call fcn.004b5bd0
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x6fc]
add esi, 0x6fc
test eax, eax
je 0x4db166
push 1
push 0
push 3
push edi
call ebp
push 0
lea eax, [esp + 0x1c]
push eax
push 1
lea ecx, [esp + 0x23]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [esp + 0x17], 5
jbe 0x4db15d
push 0
mov ecx, esi
call fcn.004b55f0
push 1
push 0
push 0xfffffffffffffffc
push edi
call ebp
push esi
lea ecx, [ebx + 0xb8]
call fcn.00431800
push esi
lea ecx, [ebx + 0xf4]
call fcn.00431800
mov esi, dword [esp + 0x38]
mov dword [esp + 0x18], 0
lea ebx, [ebx]
cmp esi, 0x400
jbe 0x4db19f
mov eax, 0x400
jmp 0x4db1a5
test esi, esi
mov eax, esi
je 0x4db1de
push 0
lea edx, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0x558]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4db1de
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x550]
push ecx
mov ecx, ebx
sub esi, eax
call fcn.00491e50
mov eax, dword [esp + 0x18]
test eax, eax
ja 0x4db190
mov ecx, ebx
call fcn.00492730
mov ecx, dword [esp + 0x10]
call fcn.00497d20
push eax
push 1
mov ecx, ebx
call fcn.004929a0
mov ebx, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx + 0xc9c]
test eax, eax
jne 0x4db24a
mov ecx, dword [ebx + 0x18]
call fcn.0041ca30
mov esi, eax
push 1
mov ecx, esi
call fcn.00471000
mov edi, dword [esp + 0x1c]
test edi, edi
mov byte [esi + 1], 1
mov byte [esi + 2], 1
mov esi, dword [esp + 0x2c]
je 0x4db23f
push 0
push esi
push edi
mov ecx, ebx
call fcn.004a7de0
push esi
push edi
push ebx
call fcn.004d9f90
add esp, 0xc
mov eax, dword [esp + 0x24]
test eax, eax
pop edi
je 0x4db25c
push eax
call fcn.00439d00
add esp, 4
mov edx, dword [esp + 0x950]
mov eax, dword [ebx + 0xc98]
push edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebx + 0xc98]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x24], edx
fldcw word [esp + 0x24]
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x93c
ret 0xc